@opencode-ai/core 0.0.0-dev-19217 → 0.0.0-dev-19218

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 (776) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{location-services-msggbjmt.js → pty-02ak2ead.js} +9 -9
  9. package/dist/chunks/{location-services-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{location-services-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{location-services-txr8jkjb.js → pty-0mnvrx0m.js} +9 -9
  12. package/dist/chunks/{location-services-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-services-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{location-services-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{location-services-gfhhve88.js → pty-0t098hqn.js} +5 -5
  16. package/dist/chunks/{location-services-sx1n432n.js → pty-0v53mg2y.js} +4 -4
  17. package/dist/chunks/{location-services-rvwxxhqs.js → pty-0wvznmtp.js} +7 -7
  18. package/dist/chunks/{location-services-dbjehjtf.js → pty-10gqde6b.js} +4 -4
  19. package/dist/chunks/{location-services-rnynvazd.js → pty-14hmenm3.js} +3 -3
  20. package/dist/chunks/{location-services-1acjjqhc.js → pty-1acjjqhc.js} +1 -1
  21. package/dist/chunks/{location-services-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
  22. package/dist/chunks/{location-services-zg79n793.js → pty-1ernzcqn.js} +6 -6
  23. package/dist/chunks/{location-services-rmfj7rc5.js → pty-1g9nsgpp.js} +13 -13
  24. package/dist/chunks/{location-services-41mncz27.js → pty-1mrma768.js} +5 -5
  25. package/dist/chunks/{location-services-m5045k8y.js → pty-1n116cmy.js} +9 -9
  26. package/dist/chunks/{location-services-ycv9gdpt.js → pty-1qw2s0et.js} +9 -9
  27. package/dist/chunks/{location-services-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  28. package/dist/chunks/{location-services-21r38tys.js → pty-21r38tys.js} +1 -1
  29. package/dist/chunks/{location-services-2402vzrj.js → pty-2402vzrj.js} +1 -1
  30. package/dist/chunks/{location-services-z63w68vq.js → pty-29x78va6.js} +6 -6
  31. package/dist/chunks/{location-services-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{location-services-thrj3fqh.js → pty-2dg218bv.js} +3 -3
  33. package/dist/chunks/{location-services-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
  34. package/dist/chunks/{location-services-bx87j58v.js → pty-2j8qyr6z.js} +20 -20
  35. package/dist/chunks/{location-services-d80z8c0m.js → pty-2m920r7z.js} +9 -9
  36. package/dist/chunks/{location-services-2atvjna1.js → pty-2n4y20qt.js} +22 -22
  37. package/dist/chunks/{location-services-2hwvdazv.js → pty-2nf37mnc.js} +20 -20
  38. package/dist/chunks/{location-services-wbjzz41v.js → pty-2pmtacce.js} +25 -25
  39. package/dist/chunks/{location-services-qc44gpch.js → pty-2vfx8thk.js} +24 -24
  40. package/dist/chunks/{location-services-ytep83yp.js → pty-30jpz9d7.js} +41 -41
  41. package/dist/chunks/{location-services-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{location-services-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{location-services-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
  44. package/dist/chunks/{location-services-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{location-services-e7tnha1m.js → pty-3tdaxant.js} +10 -10
  46. package/dist/chunks/{location-services-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{location-services-qak3npwc.js → pty-3wfq9j39.js} +12 -12
  48. package/dist/chunks/{location-services-454k5vzh.js → pty-454k5vzh.js} +1 -1
  49. package/dist/chunks/{location-services-zkpmw5vh.js → pty-46e97tr7.js} +10 -10
  50. package/dist/chunks/{location-services-87vzjqvg.js → pty-47y1s5bh.js} +4 -4
  51. package/dist/chunks/{location-services-17kes6c3.js → pty-4jykd2y5.js} +36 -36
  52. package/dist/chunks/{location-services-pnec0z95.js → pty-4p1znhkg.js} +46 -46
  53. package/dist/chunks/{location-services-rfhfqqty.js → pty-4pg0vty6.js} +15 -15
  54. package/dist/chunks/{location-services-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
  55. package/dist/chunks/{location-services-hvwy79ny.js → pty-4z6b0fg6.js} +8 -8
  56. package/dist/chunks/{location-services-pvbx7q7g.js → pty-507bb6ht.js} +24 -24
  57. package/dist/chunks/{location-services-cm9r9xbg.js → pty-53fs9qt8.js} +8 -8
  58. package/dist/chunks/{location-services-011h4yth.js → pty-5586kr32.js} +14 -14
  59. package/dist/chunks/{location-services-xezrmqac.js → pty-56wh323j.js} +53 -53
  60. package/dist/chunks/{location-services-5daktx2q.js → pty-5daktx2q.js} +1 -1
  61. package/dist/chunks/pty-5ehapebv.js +22 -0
  62. package/dist/chunks/{location-services-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
  63. package/dist/chunks/{location-services-7zmvhjgk.js → pty-5h5ammfc.js} +31 -31
  64. package/dist/chunks/{location-services-mb1e1czd.js → pty-5hf5s1km.js} +6 -6
  65. package/dist/chunks/{location-services-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
  66. package/dist/chunks/{location-services-0cv24hqy.js → pty-5k3f87xj.js} +1 -1
  67. package/dist/chunks/{location-services-k6300pcm.js → pty-5rw6je3s.js} +3 -3
  68. package/dist/chunks/{location-services-ev0ent4x.js → pty-6249xh7p.js} +18 -18
  69. package/dist/chunks/{location-services-hrq6749d.js → pty-64dj7m14.js} +14 -14
  70. package/dist/chunks/{location-services-p519a7hj.js → pty-6bfbj7yp.js} +17 -17
  71. package/dist/chunks/{location-services-snscvb6q.js → pty-6qs8r64n.js} +9 -9
  72. package/dist/chunks/{location-services-4yp29dye.js → pty-6vfh6jv6.js} +11 -11
  73. package/dist/chunks/{location-services-711hfp6y.js → pty-711hfp6y.js} +2 -2
  74. package/dist/chunks/{location-services-72nftnjy.js → pty-72nftnjy.js} +2 -2
  75. package/dist/chunks/{location-services-7yh4e7ss.js → pty-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{location-services-mxhzfwah.js → pty-741pxbc4.js} +8 -8
  77. package/dist/chunks/{location-services-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{location-services-dw6h8nn9.js → pty-7frnnqsf.js} +21 -21
  79. package/dist/chunks/{location-services-h2p9xjbs.js → pty-7g7xeaaj.js} +19 -19
  80. package/dist/chunks/{location-services-yyq5vb4a.js → pty-7htsbzpb.js} +13 -13
  81. package/dist/chunks/{location-services-13dhzf2r.js → pty-7tde96p8.js} +11 -11
  82. package/dist/chunks/{location-services-c97n56v4.js → pty-7ttnvawf.js} +6 -6
  83. package/dist/chunks/{location-services-yqw5g7gc.js → pty-7v562ate.js} +22 -22
  84. package/dist/chunks/{location-services-drjjaw3s.js → pty-7w8fgasf.js} +5 -5
  85. package/dist/chunks/{location-services-818e5b7h.js → pty-7xr84h2v.js} +22 -22
  86. package/dist/chunks/{location-services-hrem2xze.js → pty-7zqwg6kj.js} +27 -27
  87. package/dist/chunks/{location-services-7p8ma9rt.js → pty-80z8y3y4.js} +5 -5
  88. package/dist/chunks/{location-services-jy1b6ewz.js → pty-81ehrcfm.js} +8 -8
  89. package/dist/chunks/{location-services-0jz3vdqx.js → pty-82marhfk.js} +9 -9
  90. package/dist/chunks/{location-services-va63defj.js → pty-86s3977f.js} +1 -1
  91. package/dist/chunks/{location-services-v2p4rfxw.js → pty-884h22he.js} +6 -6
  92. package/dist/chunks/{location-services-gm8dhtry.js → pty-88k962v0.js} +24 -24
  93. package/dist/chunks/{location-services-64q9m0nc.js → pty-89kmej9k.js} +22 -22
  94. package/dist/chunks/{location-services-bemd59wz.js → pty-8edgm1mj.js} +9 -9
  95. package/dist/chunks/{location-services-3hze1m31.js → pty-8jwyp78w.js} +16 -16
  96. package/dist/chunks/{location-services-ag6t9w77.js → pty-8s92c8tr.js} +14 -14
  97. package/dist/chunks/{location-services-h3ddmve3.js → pty-905bpmd9.js} +19 -19
  98. package/dist/chunks/{location-services-xgf08a2e.js → pty-90pvg1cb.js} +3 -3
  99. package/dist/chunks/{location-services-93a8yfjt.js → pty-93a8yfjt.js} +2 -2
  100. package/dist/chunks/{location-services-75yf2d83.js → pty-97f5v037.js} +8 -8
  101. package/dist/chunks/{location-services-ggvh81pv.js → pty-9a9vdrp9.js} +6 -6
  102. package/dist/chunks/{location-services-9d4efts8.js → pty-9d4efts8.js} +2 -2
  103. package/dist/chunks/{location-services-9424kmmy.js → pty-9jwnwv4p.js} +7 -7
  104. package/dist/chunks/{location-services-6aw1783e.js → pty-9pt7wtrn.js} +33 -33
  105. package/dist/chunks/{location-services-9qm9egsn.js → pty-9qm9egsn.js} +2 -2
  106. package/dist/chunks/{location-services-knhsbq7n.js → pty-9x4fbkad.js} +13 -13
  107. package/dist/chunks/{location-services-36vsdr69.js → pty-a4rgs0hc.js} +6 -6
  108. package/dist/chunks/{location-services-aaet6srn.js → pty-aaet6srn.js} +2 -2
  109. package/dist/chunks/{location-services-27qchnt0.js → pty-ab971jgm.js} +10 -10
  110. package/dist/chunks/{location-services-sye64zbn.js → pty-ac35785q.js} +11 -11
  111. package/dist/chunks/{location-services-ajtjthsy.js → pty-ajtjthsy.js} +2 -2
  112. package/dist/chunks/{location-services-sxz6gkc3.js → pty-b27vhd2z.js} +7 -7
  113. package/dist/chunks/{location-services-0jn70awm.js → pty-b3f9g3c4.js} +4 -4
  114. package/dist/chunks/{location-services-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{location-services-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
  116. package/dist/chunks/{location-services-je9hks3h.js → pty-bcezcar3.js} +5 -5
  117. package/dist/chunks/{location-services-z2je33ah.js → pty-bctm2k87.js} +11 -11
  118. package/dist/chunks/{location-services-en2byfe9.js → pty-bgj6ghn2.js} +15 -15
  119. package/dist/chunks/{location-services-vyjks95a.js → pty-bm94m7ab.js} +50 -50
  120. package/dist/chunks/{location-services-fk21kn01.js → pty-c3se2jx9.js} +7 -7
  121. package/dist/chunks/{location-services-q5asdkn4.js → pty-ca7w653e.js} +4 -4
  122. package/dist/chunks/{location-services-t0pbnp57.js → pty-cdjpjpyn.js} +17 -17
  123. package/dist/chunks/{location-services-vfxc3xsp.js → pty-cgw3eybt.js} +11 -11
  124. package/dist/chunks/{location-services-c64qezrb.js → pty-ch16cpaq.js} +21 -21
  125. package/dist/chunks/{location-services-xp2345da.js → pty-cmf1rkff.js} +30 -30
  126. package/dist/chunks/{location-services-dkshpdss.js → pty-cyzwqsn0.js} +5 -5
  127. package/dist/chunks/{location-services-8e0cxs1v.js → pty-d4xx5d2s.js} +22 -22
  128. package/dist/chunks/{location-services-d72308c8.js → pty-d72308c8.js} +2 -2
  129. package/dist/chunks/{location-services-3jqpdxqh.js → pty-da3q24vg.js} +9 -9
  130. package/dist/chunks/{location-services-t9rcpgsh.js → pty-dfm27cy2.js} +30 -30
  131. package/dist/chunks/{location-services-q65nf1dj.js → pty-e12h8ecf.js} +32 -32
  132. package/dist/chunks/pty-e3ze3pba.js +4 -0
  133. package/dist/chunks/{location-services-3yevh190.js → pty-e5b0qn1c.js} +1 -1
  134. package/dist/chunks/{location-services-w4arg62q.js → pty-e6hd9jay.js} +4 -4
  135. package/dist/chunks/{location-services-dw6cz3sh.js → pty-e892zrmk.js} +16 -16
  136. package/dist/chunks/{location-services-b900m3ym.js → pty-ebky9brj.js} +25 -25
  137. package/dist/chunks/{location-services-x6tzgbrz.js → pty-ek4gey1d.js} +18 -18
  138. package/dist/chunks/{location-services-v8phnrpr.js → pty-ene3c7ks.js} +28 -28
  139. package/dist/chunks/{location-services-kb6kqgh4.js → pty-et3de4js.js} +41 -41
  140. package/dist/chunks/{location-services-ga85tpka.js → pty-etwf05x9.js} +25 -25
  141. package/dist/chunks/{location-services-kz954rct.js → pty-ewtmwgg4.js} +10 -10
  142. package/dist/chunks/{location-services-zrw7ts6n.js → pty-f1kgb3zy.js} +17 -17
  143. package/dist/chunks/{location-services-z33f84t5.js → pty-f57y4gze.js} +6 -6
  144. package/dist/chunks/{location-services-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{location-services-fxypknc8.js → pty-fxypknc8.js} +1 -1
  146. package/dist/chunks/{location-services-vw6n2197.js → pty-g41n1fn3.js} +5 -5
  147. package/dist/chunks/{location-services-9tpb97z2.js → pty-g7ny5e8b.js} +17 -17
  148. package/dist/chunks/{location-services-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{location-services-7rp97fxb.js → pty-gr5em4p7.js} +16 -16
  150. package/dist/chunks/{location-services-59a9q0c9.js → pty-gsgaq1zt.js} +11 -11
  151. package/dist/chunks/{location-services-hha4zry8.js → pty-h2st8tcp.js} +20 -20
  152. package/dist/chunks/{location-services-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{location-services-p0z4cnf4.js → pty-h79bpvg7.js} +6 -6
  154. package/dist/chunks/{location-services-00x5t0cs.js → pty-hdv55p63.js} +19 -19
  155. package/dist/chunks/{location-services-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
  156. package/dist/chunks/{location-services-nhy5jxhy.js → pty-hjt4xg1x.js} +4 -4
  157. package/dist/chunks/{location-services-bva7vcjq.js → pty-hr77wr0b.js} +4 -4
  158. package/dist/chunks/{location-services-hrvm11jt.js → pty-hrvm11jt.js} +3 -3
  159. package/dist/chunks/{location-services-nqfx3ba2.js → pty-hse5trye.js} +10 -10
  160. package/dist/chunks/{location-services-jycq5tmb.js → pty-hw1wew3t.js} +26 -26
  161. package/dist/chunks/{location-services-nkcwakxz.js → pty-hyftv91s.js} +7 -7
  162. package/dist/chunks/{location-services-dqvvg7d5.js → pty-hzecryb5.js} +18 -18
  163. package/dist/chunks/{location-services-paphc93g.js → pty-j935v87r.js} +2 -2
  164. package/dist/chunks/{location-services-1hwe4fz6.js → pty-jf4k1cyn.js} +22 -22
  165. package/dist/chunks/{location-services-c98sk4k2.js → pty-jk6vqbyh.js} +16 -16
  166. package/dist/chunks/{location-services-9q7mdqbr.js → pty-k3fabyz6.js} +6 -6
  167. package/dist/chunks/{location-services-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
  168. package/dist/chunks/{location-services-kg06axw8.js → pty-kg06axw8.js} +1 -1
  169. package/dist/chunks/{location-services-reacnbnm.js → pty-kjeb3nmt.js} +9 -9
  170. package/dist/chunks/{location-services-ew6s4pdb.js → pty-kjr4wddc.js} +82 -82
  171. package/dist/chunks/{location-services-t0v8yr3m.js → pty-kthncd39.js} +15 -15
  172. package/dist/chunks/{location-services-2a5a6t3a.js → pty-kv6gb2vp.js} +29 -29
  173. package/dist/chunks/{location-services-hw4pv20g.js → pty-kvsjn1dr.js} +2 -2
  174. package/dist/chunks/{location-services-ghnh6cjj.js → pty-kyma94wc.js} +18 -18
  175. package/dist/chunks/{location-services-xc8jgndy.js → pty-m1mbk97x.js} +30 -30
  176. package/dist/chunks/{location-services-a18qrwy7.js → pty-m307zcn4.js} +11 -11
  177. package/dist/chunks/{location-services-a9zfrvqc.js → pty-m3fm0fm8.js} +5 -5
  178. package/dist/chunks/{location-services-7grmgsg7.js → pty-m59e1w6s.js} +4 -4
  179. package/dist/chunks/{location-services-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{location-services-xscznp95.js → pty-mcxg6pmm.js} +1 -1
  181. package/dist/chunks/{location-services-jepxwv21.js → pty-mdaqq3w0.js} +6 -6
  182. package/dist/chunks/{location-services-ksq55409.js → pty-mgns2fdh.js} +12 -12
  183. package/dist/chunks/{location-services-htfs0vqw.js → pty-mvzb9ve1.js} +34 -34
  184. package/dist/chunks/{location-services-19bt37k1.js → pty-mzjyw1z2.js} +2 -2
  185. package/dist/chunks/{location-services-k3zdj9v5.js → pty-n1s2d68q.js} +11 -11
  186. package/dist/chunks/{location-services-842ppk4g.js → pty-n8025458.js} +29 -29
  187. package/dist/chunks/{location-services-vgebfnwn.js → pty-ncj4tqnn.js} +56 -56
  188. package/dist/chunks/pty-ndaczkrh.js +460 -0
  189. package/dist/chunks/{location-services-brtzwm95.js → pty-nebhatd7.js} +10 -10
  190. package/dist/chunks/{location-services-vhbte2r2.js → pty-nryz0x3q.js} +15 -15
  191. package/dist/chunks/{location-services-m1xpw8ab.js → pty-nsy86y99.js} +21 -21
  192. package/dist/chunks/{location-services-7r58dpc0.js → pty-nx3e840r.js} +8 -8
  193. package/dist/chunks/{location-services-gyxtj4g4.js → pty-p0hhk82e.js} +4 -4
  194. package/dist/chunks/{location-services-78es4yvf.js → pty-p41j5722.js} +22 -22
  195. package/dist/chunks/{location-services-br56pb2k.js → pty-p651nqaz.js} +169 -169
  196. package/dist/chunks/{location-services-8z28gvyf.js → pty-phbgm0bx.js} +34 -34
  197. package/dist/chunks/{location-services-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{location-services-pknna89w.js → pty-pknna89w.js} +1 -1
  199. package/dist/chunks/{location-services-cmhntd7c.js → pty-ps4zxkej.js} +10 -10
  200. package/dist/chunks/{location-services-dts5axtv.js → pty-pxe384j3.js} +14 -14
  201. package/dist/chunks/pty-q509s3k3.js +18 -0
  202. package/dist/chunks/pty-qf3330hq.js +247 -0
  203. package/dist/chunks/{location-services-hc5rdzwx.js → pty-qgr3x23c.js} +11 -11
  204. package/dist/chunks/{location-services-r67ewn20.js → pty-qm8ev4wm.js} +8 -8
  205. package/dist/chunks/{location-services-qsdy395h.js → pty-qsdy395h.js} +1 -1
  206. package/dist/chunks/{location-services-x0ehmrev.js → pty-qznxkkz3.js} +15 -15
  207. package/dist/chunks/{location-services-wrcep6h9.js → pty-r312re56.js} +6 -6
  208. package/dist/chunks/{location-services-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
  209. package/dist/chunks/{location-services-m4535t75.js → pty-rae26gbb.js} +8 -8
  210. package/dist/chunks/{location-services-2j81asyh.js → pty-rb4kytq8.js} +35 -35
  211. package/dist/chunks/{location-services-yvcft4ah.js → pty-rbqs1qrs.js} +5 -5
  212. package/dist/chunks/{location-services-vrgvmwy9.js → pty-rc5masm7.js} +24 -24
  213. package/dist/chunks/{location-services-eeap19eg.js → pty-rmcmbkys.js} +26 -26
  214. package/dist/chunks/{location-services-x9k6tsrg.js → pty-rmkf6stx.js} +20 -20
  215. package/dist/chunks/{location-services-6zrjyzhx.js → pty-rw81gdbg.js} +60 -60
  216. package/dist/chunks/{location-services-jj4chnxp.js → pty-rwert6h9.js} +41 -41
  217. package/dist/chunks/{location-services-rq68kahz.js → pty-s1e2y8ed.js} +31 -31
  218. package/dist/chunks/{location-services-hw16a779.js → pty-s3eqpch7.js} +1 -1
  219. package/dist/chunks/{location-services-tvtwyg9m.js → pty-s8g36k60.js} +4 -4
  220. package/dist/chunks/{location-services-n7sc385v.js → pty-s8v1m6qw.js} +15 -15
  221. package/dist/chunks/{location-services-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
  222. package/dist/chunks/{location-services-ec7wcf70.js → pty-scwfkd84.js} +86 -86
  223. package/dist/chunks/{location-services-cs8d39tz.js → pty-sfz1z5dy.js} +28 -28
  224. package/dist/chunks/{location-services-xpx0dzdt.js → pty-sj291qve.js} +11 -11
  225. package/dist/chunks/{location-services-cad3bs4j.js → pty-snbe917c.js} +39 -39
  226. package/dist/chunks/{location-services-yssexhes.js → pty-srd1y0t3.js} +8 -8
  227. package/dist/chunks/{location-services-bj4vwm3q.js → pty-t0jn574h.js} +16 -16
  228. package/dist/chunks/{location-services-bw1qan86.js → pty-t3fqb5k3.js} +38 -38
  229. package/dist/chunks/{location-services-sfgd47vq.js → pty-t7rtampj.js} +2 -2
  230. package/dist/chunks/{location-services-41g3dawq.js → pty-t85amdhp.js} +33 -33
  231. package/dist/chunks/{location-services-11ypdpkg.js → pty-t8xj1g1x.js} +30 -30
  232. package/dist/chunks/{location-services-9sb86xv6.js → pty-t9vc0pqt.js} +37 -37
  233. package/dist/chunks/{location-services-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-services-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{location-services-x9metz0b.js → pty-tfx5kmkv.js} +26 -26
  236. package/dist/chunks/{location-services-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
  237. package/dist/chunks/{location-services-fxxa7ryp.js → pty-tqf96xv0.js} +8 -8
  238. package/dist/chunks/{location-services-stbxxgx1.js → pty-tqh0pfhw.js} +11 -11
  239. package/dist/chunks/{location-services-kj7zcbhz.js → pty-tqqej2s1.js} +7 -7
  240. package/dist/chunks/{location-services-bgbwxvyc.js → pty-ttbnpp8r.js} +21 -21
  241. package/dist/chunks/{location-services-f021cen3.js → pty-ttmf2k06.js} +8 -8
  242. package/dist/chunks/{location-services-ydpy9pg8.js → pty-tz7455vq.js} +9 -9
  243. package/dist/chunks/{location-services-ebpyyter.js → pty-v8jvsrpm.js} +30 -30
  244. package/dist/chunks/{location-services-0etsat71.js → pty-vtf99whk.js} +5 -5
  245. package/dist/chunks/{location-services-jwgx2stf.js → pty-w3gkes82.js} +4 -4
  246. package/dist/chunks/{location-services-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{location-services-zn2cbnfs.js → pty-w8py3fd5.js} +11 -11
  248. package/dist/chunks/{location-services-p9qkrcxv.js → pty-w8wgv6rg.js} +16 -16
  249. package/dist/chunks/{location-services-fqrxtbzb.js → pty-wb29ggtc.js} +9 -9
  250. package/dist/chunks/{location-services-0xv5jnwt.js → pty-wbqdy3jn.js} +36 -36
  251. package/dist/chunks/{location-services-wd87259q.js → pty-wd87259q.js} +1 -1
  252. package/dist/chunks/{location-services-gr3vkft5.js → pty-wgxn7ww3.js} +4 -4
  253. package/dist/chunks/{location-services-jv71mprp.js → pty-x0daxr85.js} +24 -24
  254. package/dist/chunks/{location-services-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{location-services-14q0m41q.js → pty-xc5kjw43.js} +13 -13
  256. package/dist/chunks/{location-services-pnkase04.js → pty-xfd6xwx1.js} +17 -17
  257. package/dist/chunks/{location-services-3r4cqkhr.js → pty-xh3q8gxs.js} +26 -26
  258. package/dist/chunks/{location-services-r2wnyzb0.js → pty-xqsy6kp0.js} +1 -1
  259. package/dist/chunks/{location-services-ztnyd3e4.js → pty-xr5vwsd4.js} +9 -9
  260. package/dist/chunks/{location-services-rsde5whr.js → pty-xs18g0gs.js} +15 -15
  261. package/dist/chunks/{location-services-4py4wtg5.js → pty-xy3betfq.js} +10 -10
  262. package/dist/chunks/{location-services-rqtk6744.js → pty-xyz49mkx.js} +13 -13
  263. package/dist/chunks/{location-services-p8hqp9sy.js → pty-y0cfrt5t.js} +20 -20
  264. package/dist/chunks/{location-services-xvv8td38.js → pty-y11beshv.js} +32 -32
  265. package/dist/chunks/{location-services-1ycr9rqm.js → pty-y18qbtn0.js} +3 -3
  266. package/dist/chunks/{location-services-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{location-services-4v96mfas.js → pty-y6hb7tkg.js} +27 -27
  268. package/dist/chunks/{location-services-ettb2whr.js → pty-y6nt3k22.js} +2 -2
  269. package/dist/chunks/{location-services-dpkg50ah.js → pty-y71avatq.js} +4 -4
  270. package/dist/chunks/{location-services-7a9665ac.js → pty-yanx3py7.js} +20 -20
  271. package/dist/chunks/{location-services-yfbd16n1.js → pty-yfbd16n1.js} +2 -2
  272. package/dist/chunks/{location-services-9tq58zg8.js → pty-ykcesz1b.js} +4 -4
  273. package/dist/chunks/{location-services-1149f9m6.js → pty-yt0vd8bd.js} +37 -37
  274. package/dist/chunks/{location-services-at9jh15n.js → pty-yv9w4q4m.js} +1 -1
  275. package/dist/chunks/{location-services-58x3rwhh.js → pty-yvbzm87r.js} +6 -6
  276. package/dist/chunks/{location-services-j4txnape.js → pty-yx4ch7q4.js} +9 -9
  277. package/dist/chunks/{location-services-enz1smv7.js → pty-yxn3jc82.js} +4 -4
  278. package/dist/chunks/{location-services-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
  279. package/dist/chunks/{location-services-c78av6ax.js → pty-z36c69bj.js} +25 -25
  280. package/dist/chunks/{location-services-qcge6tej.js → pty-z3nmht85.js} +16 -16
  281. package/dist/chunks/{location-services-wa8y595e.js → pty-z4t3eq4k.js} +10 -10
  282. package/dist/chunks/{location-services-wm0j0wtm.js → pty-zn2pq4p8.js} +5 -5
  283. package/dist/chunks/{location-services-k6d03e4p.js → pty-zp3qwqf8.js} +17 -17
  284. package/dist/chunks/{location-services-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{location-services-phk1v4hg.js → pty-zydqv254.js} +43 -43
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +77 -77
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +19 -19
  293. package/dist/config/plugin/agent.js +117 -117
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +115 -115
  299. package/dist/config/plugin/instruction.js +85 -85
  300. package/dist/config/plugin/location-watcher.js +115 -115
  301. package/dist/config/plugin/mcp.js +126 -126
  302. package/dist/config/plugin/policy.js +114 -114
  303. package/dist/config/plugin/provider.js +113 -113
  304. package/dist/config/plugin/reference.js +117 -117
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +96 -96
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +115 -115
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +64 -64
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration.gen.js +47 -47
  382. package/dist/database/migration.js +49 -49
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +74 -74
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +359 -359
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +3 -3
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +88 -88
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +90 -90
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +68 -68
  406. package/dist/file-mutation.js +89 -89
  407. package/dist/file-retention.js +1 -1
  408. package/dist/file.js +1 -1
  409. package/dist/filesystem/fff.bun.js +2 -2
  410. package/dist/filesystem/fff.js +1 -1
  411. package/dist/filesystem/fff.node.js +2 -2
  412. package/dist/filesystem/fff.workerd.js +2 -2
  413. package/dist/filesystem/ignore.js +1 -1
  414. package/dist/filesystem/location-watcher-policy.js +6 -6
  415. package/dist/filesystem/location-watcher.js +215 -215
  416. package/dist/filesystem/protected.js +1 -1
  417. package/dist/filesystem/search.js +95 -95
  418. package/dist/filesystem/watcher-binding.js +3 -3
  419. package/dist/filesystem/watcher.js +13 -13
  420. package/dist/filesystem.js +96 -96
  421. package/dist/form.js +84 -84
  422. package/dist/formatter/builtins.js +4 -4
  423. package/dist/formatter.js +84 -84
  424. package/dist/generate.js +85 -85
  425. package/dist/git.js +7 -7
  426. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  427. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  428. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  430. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  432. package/dist/github-copilot/copilot-provider.js +17 -17
  433. package/dist/github-copilot/models.js +7 -7
  434. package/dist/github-copilot/openai-compatible-error.js +1 -1
  435. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  436. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  437. package/dist/github-copilot/responses/openai-error.js +1 -1
  438. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  439. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  440. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  441. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  442. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  445. package/dist/id/id.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +350 -350
  450. package/dist/instruction-discovery.js +83 -83
  451. package/dist/instructions/builtins.js +82 -82
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +1 -1
  454. package/dist/integration.js +86 -86
  455. package/dist/job.js +75 -75
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +71 -71
  458. package/dist/location-activity.js +127 -127
  459. package/dist/location-mutation.js +81 -81
  460. package/dist/location-service-map.js +81 -81
  461. package/dist/location-services.js +347 -347
  462. package/dist/location.js +84 -84
  463. package/dist/mcp/client.js +86 -86
  464. package/dist/mcp/index.js +103 -103
  465. package/dist/mcp/instructions.js +121 -121
  466. package/dist/mcp/oauth.js +3 -3
  467. package/dist/mcp/stdio.js +85 -85
  468. package/dist/mime.js +1 -1
  469. package/dist/modal/models.js +7 -7
  470. package/dist/model-resolver.js +86 -86
  471. package/dist/model.js +8 -8
  472. package/dist/models-dev.js +86 -86
  473. package/dist/oauth/page.js +1 -1
  474. package/dist/permission/saved.js +80 -80
  475. package/dist/permission/sql.js +5 -5
  476. package/dist/permission.js +113 -113
  477. package/dist/persistent-pty/binary.bun.js +1 -1
  478. package/dist/persistent-pty/daemon.js +1 -1
  479. package/dist/persistent-pty/index.js +84 -84
  480. package/dist/persistent-pty/pty-binding.js +1 -1
  481. package/dist/persistent-pty.js +73 -73
  482. package/dist/plugin/agent.js +98 -98
  483. package/dist/plugin/command.js +96 -96
  484. package/dist/plugin/hooks.js +5 -5
  485. package/dist/plugin/host.js +212 -212
  486. package/dist/plugin/instance.js +5 -5
  487. package/dist/plugin/internal.js +321 -321
  488. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  489. package/dist/plugin/models-dev.js +75 -75
  490. package/dist/plugin/module.js +5 -5
  491. package/dist/plugin/optimize.js +4 -4
  492. package/dist/plugin/plan.js +96 -96
  493. package/dist/plugin/promise.js +1 -1
  494. package/dist/plugin/provider/alibaba.js +2 -2
  495. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  496. package/dist/plugin/provider/anthropic.js +2 -2
  497. package/dist/plugin/provider/azure.js +118 -118
  498. package/dist/plugin/provider/cerebras.js +2 -2
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +114 -114
  503. package/dist/plugin/provider/dynamic.js +2 -2
  504. package/dist/plugin/provider/factory.js +1 -1
  505. package/dist/plugin/provider/gateway.js +2 -2
  506. package/dist/plugin/provider/github-copilot.js +80 -80
  507. package/dist/plugin/provider/gitlab.js +3 -3
  508. package/dist/plugin/provider/google-vertex.js +2 -2
  509. package/dist/plugin/provider/kilo.js +2 -2
  510. package/dist/plugin/provider/llmgateway.js +76 -76
  511. package/dist/plugin/provider/lmstudio.js +117 -117
  512. package/dist/plugin/provider/mistral.js +2 -2
  513. package/dist/plugin/provider/modal.js +79 -79
  514. package/dist/plugin/provider/nvidia.js +2 -2
  515. package/dist/plugin/provider/ollama.js +117 -117
  516. package/dist/plugin/provider/openai-compatible.js +1 -1
  517. package/dist/plugin/provider/openai.js +80 -80
  518. package/dist/plugin/provider/opencode.js +76 -76
  519. package/dist/plugin/provider/openrouter.js +3 -3
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/sap-ai-core.js +3 -3
  522. package/dist/plugin/provider/sdk-factory.js +1 -1
  523. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  524. package/dist/plugin/provider/venice.js +2 -2
  525. package/dist/plugin/provider/vercel.js +2 -2
  526. package/dist/plugin/provider/vllm.js +117 -117
  527. package/dist/plugin/provider/xai.js +77 -77
  528. package/dist/plugin/provider/zenmux.js +2 -2
  529. package/dist/plugin/provider.js +155 -155
  530. package/dist/plugin/sdk.js +70 -70
  531. package/dist/plugin/service.js +3 -3
  532. package/dist/plugin/skill.js +132 -132
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +336 -336
  535. package/dist/plugin/update.js +6 -6
  536. package/dist/plugin/variant.js +4 -4
  537. package/dist/plugin/vcs/git.js +82 -82
  538. package/dist/plugin/vcs/hg.js +82 -82
  539. package/dist/plugin/warming.js +112 -112
  540. package/dist/plugin/websearch/exa.js +7 -7
  541. package/dist/plugin/websearch/firecrawl.js +8 -8
  542. package/dist/plugin/websearch/index.js +8 -8
  543. package/dist/plugin/websearch/mcp.js +6 -6
  544. package/dist/plugin/websearch/parallel.js +6 -6
  545. package/dist/plugin/websearch/tavily.js +6 -6
  546. package/dist/plugin.js +221 -221
  547. package/dist/project/schema.js +8 -8
  548. package/dist/project/sql.js +4 -4
  549. package/dist/project.js +83 -83
  550. package/dist/provider.js +7 -7
  551. package/dist/pty/protocol.js +1 -1
  552. package/dist/pty/schema.js +3 -3
  553. package/dist/pty/ticket.js +1 -1
  554. package/dist/pty.js +94 -94
  555. package/dist/reference/instructions.js +84 -84
  556. package/dist/reference.js +86 -86
  557. package/dist/repository-cache.js +76 -76
  558. package/dist/repository.js +1 -1
  559. package/dist/ripgrep/binary.js +2 -2
  560. package/dist/ripgrep.js +91 -91
  561. package/dist/rpc.js +81 -81
  562. package/dist/schema.js +1 -1
  563. package/dist/session/command.js +72 -72
  564. package/dist/session/compaction.js +128 -128
  565. package/dist/session/context.js +146 -146
  566. package/dist/session/environment.js +3 -3
  567. package/dist/session/error.js +7 -7
  568. package/dist/session/event.js +1 -1
  569. package/dist/session/execution/restart.js +215 -215
  570. package/dist/session/execution.js +123 -123
  571. package/dist/session/generate.js +145 -145
  572. package/dist/session/history.js +14 -14
  573. package/dist/session/inbox.js +86 -86
  574. package/dist/session/info.js +3 -3
  575. package/dist/session/instruction-entry.js +77 -77
  576. package/dist/session/instruction-state.js +8 -8
  577. package/dist/session/instructions.js +91 -91
  578. package/dist/session/message-updater.js +2 -2
  579. package/dist/session/message.js +1 -1
  580. package/dist/session/model-request.js +112 -112
  581. package/dist/session/model-transport.js +9 -9
  582. package/dist/session/move.js +125 -125
  583. package/dist/session/projector.js +84 -84
  584. package/dist/session/prompt.js +99 -99
  585. package/dist/session/revert.js +85 -85
  586. package/dist/session/run-coordinator.js +1 -1
  587. package/dist/session/runner/index.js +3 -3
  588. package/dist/session/runner/llm.js +222 -222
  589. package/dist/session/runner/max-steps.js +1 -1
  590. package/dist/session/runner/model.js +86 -86
  591. package/dist/session/runner/publish-llm-event.js +3 -3
  592. package/dist/session/runner/retry.js +4 -4
  593. package/dist/session/runner/step.js +118 -118
  594. package/dist/session/runner/to-llm-message.js +1 -1
  595. package/dist/session/schema.js +5 -5
  596. package/dist/session/session.js +168 -168
  597. package/dist/session/shell.js +131 -131
  598. package/dist/session/skill.js +97 -97
  599. package/dist/session/sql.js +5 -5
  600. package/dist/session/stats.js +71 -71
  601. package/dist/session/store.js +84 -84
  602. package/dist/session/subagent-completion.js +1 -1
  603. package/dist/session/subagent-job.js +204 -204
  604. package/dist/session/system-prompt.js +3 -3
  605. package/dist/session/title.js +144 -144
  606. package/dist/session/to-session-error.js +106 -106
  607. package/dist/session/transfer.js +211 -211
  608. package/dist/session/usage.js +1 -1
  609. package/dist/session.js +210 -210
  610. package/dist/shell/parse.js +6 -6
  611. package/dist/shell/result.js +1 -1
  612. package/dist/shell/scan.js +1 -1
  613. package/dist/shell/select.js +15 -15
  614. package/dist/shell.js +131 -131
  615. package/dist/skill/discovery.js +6 -6
  616. package/dist/skill/instructions.js +101 -101
  617. package/dist/skill.js +106 -106
  618. package/dist/snapshot.js +86 -86
  619. package/dist/state.js +1 -1
  620. package/dist/tool/html-markdown.js +1 -1
  621. package/dist/tool/http-body.js +1 -1
  622. package/dist/tool/mcp.js +120 -120
  623. package/dist/tool/plugin/edit.js +114 -114
  624. package/dist/tool/plugin/file-diff.js +1 -1
  625. package/dist/tool/plugin/glob.js +119 -119
  626. package/dist/tool/plugin/grep.js +115 -115
  627. package/dist/tool/plugin/opencode.js +3 -3
  628. package/dist/tool/plugin/patch.js +116 -116
  629. package/dist/tool/plugin/question.js +99 -99
  630. package/dist/tool/plugin/read.js +120 -120
  631. package/dist/tool/plugin/shell.js +207 -207
  632. package/dist/tool/plugin/skill.js +105 -105
  633. package/dist/tool/plugin/subagent.js +213 -213
  634. package/dist/tool/plugin/webfetch.js +100 -100
  635. package/dist/tool/plugin/websearch.js +108 -108
  636. package/dist/tool/plugin/write.js +116 -116
  637. package/dist/tool/read-filesystem.js +96 -96
  638. package/dist/tool/runtime.js +1 -1
  639. package/dist/tool-output.js +6 -6
  640. package/dist/tool.js +13 -13
  641. package/dist/util/error-summary.js +1 -1
  642. package/dist/util/error.js +1 -1
  643. package/dist/util/iife.js +1 -1
  644. package/dist/util/lazy.js +1 -1
  645. package/dist/util/slug.js +1 -1
  646. package/dist/util/token.js +1 -1
  647. package/dist/util/which.js +1 -1
  648. package/dist/util/wildcard.js +1 -1
  649. package/dist/v1/config/agent.js +5 -5
  650. package/dist/v1/config/attachment.js +4 -4
  651. package/dist/v1/config/command.js +5 -5
  652. package/dist/v1/config/config.js +16 -16
  653. package/dist/v1/config/error.js +4 -4
  654. package/dist/v1/config/formatter.js +5 -5
  655. package/dist/v1/config/layout.js +1 -1
  656. package/dist/v1/config/lsp.js +3 -3
  657. package/dist/v1/config/mcp.js +2 -2
  658. package/dist/v1/config/migrate.js +4 -4
  659. package/dist/v1/config/permission.js +7 -7
  660. package/dist/v1/config/plugin.js +3 -3
  661. package/dist/v1/config/provider-options.js +1 -1
  662. package/dist/v1/config/provider.js +4 -4
  663. package/dist/v1/config/server.js +2 -2
  664. package/dist/v1/config/skills.js +3 -3
  665. package/dist/v1/permission.js +1 -1
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +85 -85
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +74 -74
  670. package/dist/wellknown.js +77 -77
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +76 -76
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +7 -7
  676. package/dist/worktree/refresh.js +337 -337
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree.js +91 -91
  679. package/package.json +7 -7
  680. package/dist/chunks/location-services-2t5bfwnz.js +0 -460
  681. package/dist/chunks/location-services-5y1bcw76.js +0 -22
  682. package/dist/chunks/location-services-7zk4hah4.js +0 -4
  683. package/dist/chunks/location-services-9cwr0qbq.js +0 -247
  684. package/dist/chunks/location-services-by5v678g.js +0 -18
  685. /package/dist/chunks/{location-services-0fabt78z.js → pty-0fabt78z.js} +0 -0
  686. /package/dist/chunks/{location-services-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{location-services-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{location-services-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{location-services-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{location-services-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{location-services-2710q6r3.js → pty-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{location-services-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{location-services-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{location-services-359p4xyc.js → pty-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{location-services-3asan66x.js → pty-3asan66x.js} +0 -0
  696. /package/dist/chunks/{location-services-3t738kvx.js → pty-3t738kvx.js} +0 -0
  697. /package/dist/chunks/{location-services-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{location-services-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{location-services-41nvscxy.js → pty-41nvscxy.js} +0 -0
  700. /package/dist/chunks/{location-services-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{location-services-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{location-services-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{location-services-53557ph1.js → pty-53557ph1.js} +0 -0
  704. /package/dist/chunks/{location-services-550bvhaj.js → pty-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{location-services-6prwharc.js → pty-6prwharc.js} +0 -0
  706. /package/dist/chunks/{location-services-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{location-services-7m9af43g.js → pty-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{location-services-822emrt2.js → pty-822emrt2.js} +0 -0
  709. /package/dist/chunks/{location-services-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  710. /package/dist/chunks/{location-services-8n3pysct.js → pty-8n3pysct.js} +0 -0
  711. /package/dist/chunks/{location-services-982e01ww.js → pty-982e01ww.js} +0 -0
  712. /package/dist/chunks/{location-services-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  713. /package/dist/chunks/{location-services-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  714. /package/dist/chunks/{location-services-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
  715. /package/dist/chunks/{location-services-af5trqkr.js → pty-af5trqkr.js} +0 -0
  716. /package/dist/chunks/{location-services-afrmfg78.js → pty-afrmfg78.js} +0 -0
  717. /package/dist/chunks/{location-services-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  718. /package/dist/chunks/{location-services-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  719. /package/dist/chunks/{location-services-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  720. /package/dist/chunks/{location-services-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  721. /package/dist/chunks/{location-services-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  722. /package/dist/chunks/{location-services-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  723. /package/dist/chunks/{location-services-d9fn303g.js → pty-d9fn303g.js} +0 -0
  724. /package/dist/chunks/{location-services-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  725. /package/dist/chunks/{location-services-dajrwvna.js → pty-dajrwvna.js} +0 -0
  726. /package/dist/chunks/{location-services-dap0rakb.js → pty-dap0rakb.js} +0 -0
  727. /package/dist/chunks/{location-services-df08tz66.js → pty-df08tz66.js} +0 -0
  728. /package/dist/chunks/{location-services-dy18nga0.js → pty-dy18nga0.js} +0 -0
  729. /package/dist/chunks/{location-services-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  730. /package/dist/chunks/{location-services-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  731. /package/dist/chunks/{location-services-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  732. /package/dist/chunks/{location-services-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  733. /package/dist/chunks/{location-services-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  734. /package/dist/chunks/{location-services-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  735. /package/dist/chunks/{location-services-faypxj3z.js → pty-faypxj3z.js} +0 -0
  736. /package/dist/chunks/{location-services-fd410y7t.js → pty-fd410y7t.js} +0 -0
  737. /package/dist/chunks/{location-services-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  738. /package/dist/chunks/{location-services-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  739. /package/dist/chunks/{location-services-g86h250q.js → pty-g86h250q.js} +0 -0
  740. /package/dist/chunks/{location-services-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  741. /package/dist/chunks/{location-services-hk9envan.js → pty-hk9envan.js} +0 -0
  742. /package/dist/chunks/{location-services-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  743. /package/dist/chunks/{location-services-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  744. /package/dist/chunks/{location-services-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  745. /package/dist/chunks/{location-services-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  746. /package/dist/chunks/{location-services-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  747. /package/dist/chunks/{location-services-mntxs535.js → pty-mntxs535.js} +0 -0
  748. /package/dist/chunks/{location-services-mp448xyj.js → pty-mp448xyj.js} +0 -0
  749. /package/dist/chunks/{location-services-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  750. /package/dist/chunks/{location-services-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  751. /package/dist/chunks/{location-services-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  752. /package/dist/chunks/{location-services-njntx4h6.js → pty-njntx4h6.js} +0 -0
  753. /package/dist/chunks/{location-services-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
  754. /package/dist/chunks/{location-services-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  755. /package/dist/chunks/{location-services-q74kybfr.js → pty-q74kybfr.js} +0 -0
  756. /package/dist/chunks/{location-services-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  757. /package/dist/chunks/{location-services-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  758. /package/dist/chunks/{location-services-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  759. /package/dist/chunks/{location-services-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  760. /package/dist/chunks/{location-services-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  761. /package/dist/chunks/{location-services-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  762. /package/dist/chunks/{location-services-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
  763. /package/dist/chunks/{location-services-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  764. /package/dist/chunks/{location-services-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  765. /package/dist/chunks/{location-services-twg0f83k.js → pty-twg0f83k.js} +0 -0
  766. /package/dist/chunks/{location-services-w803qqfp.js → pty-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{location-services-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  768. /package/dist/chunks/{location-services-wtztk69x.js → pty-wtztk69x.js} +0 -0
  769. /package/dist/chunks/{location-services-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  770. /package/dist/chunks/{location-services-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
  771. /package/dist/chunks/{location-services-x61499pn.js → pty-x61499pn.js} +0 -0
  772. /package/dist/chunks/{location-services-y44na4kk.js → pty-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{location-services-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{location-services-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  775. /package/dist/chunks/{location-services-z9919s4g.js → pty-z9919s4g.js} +0 -0
  776. /package/dist/chunks/{location-services-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./location-services-0e0xafbb.js";
3
+ } from "./pty-0e0xafbb.js";
4
4
  import {
5
- Service59,
6
- node63
7
- } from "./location-services-cad3bs4j.js";
5
+ Service37,
6
+ node40
7
+ } from "./pty-snbe917c.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
@@ -16,7 +16,7 @@ __export(exports_generate, {
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
17
  Service: () => Service17,
18
18
  UnavailableError: () => UnavailableError2,
19
- layer: () => layer8,
19
+ layer: () => layer9,
20
20
  node: () => node21
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode-ai/ai";
@@ -35,9 +35,9 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
35
35
 
36
36
  class Service17 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer8 = Layer.effect(Service17, Effect.gen(function* () {
38
+ var layer9 = Layer.effect(Service17, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service59;
40
+ const resolver = yield* Service37;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -64,8 +64,8 @@ var layer8 = Layer.effect(Service17, Effect.gen(function* () {
64
64
  }));
65
65
  var node21 = makeLocationNode({
66
66
  service: Service17,
67
- layer: layer8,
68
- deps: [node63, llmClient2]
67
+ layer: layer9,
68
+ deps: [node40, llmClient2]
69
69
  });
70
70
 
71
- export { ModelSelectionError2, UnavailableError2, Service17, layer8, node21, exports_generate };
71
+ export { ModelSelectionError2, UnavailableError2, Service17, layer9, node21, exports_generate };
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./location-services-0jn70awm.js";
4
+ } from "./pty-b3f9g3c4.js";
5
5
  import {
6
6
  llmClient2
7
- } from "./location-services-0e0xafbb.js";
7
+ } from "./pty-0e0xafbb.js";
8
8
  import {
9
9
  SessionEvent2
10
- } from "./location-services-mntxs535.js";
10
+ } from "./pty-mntxs535.js";
11
11
  import {
12
12
  create3
13
- } from "./location-services-kg06axw8.js";
13
+ } from "./pty-kg06axw8.js";
14
14
  import {
15
15
  toLLMMessages2
16
- } from "./location-services-zbjnn3ac.js";
16
+ } from "./pty-zbjnn3ac.js";
17
17
  import {
18
18
  baseTranscript2,
19
19
  unsupportedParts2
20
- } from "./location-services-rq68kahz.js";
20
+ } from "./pty-s1e2y8ed.js";
21
21
  import {
22
22
  isRetryable2,
23
23
  policy2
24
- } from "./location-services-je9hks3h.js";
24
+ } from "./pty-bcezcar3.js";
25
25
  import {
26
26
  toSessionError2
27
- } from "./location-services-enz1smv7.js";
27
+ } from "./pty-yxn3jc82.js";
28
28
  import {
29
29
  estimate2
30
- } from "./location-services-h6vf3j39.js";
30
+ } from "./pty-h6vf3j39.js";
31
31
  import {
32
32
  record2,
33
33
  add2
34
- } from "./location-services-tjykrgmx.js";
34
+ } from "./pty-tjykrgmx.js";
35
35
  import {
36
36
  __export
37
- } from "./location-services-9rqn6x4v.js";
37
+ } from "./pty-9rqn6x4v.js";
38
38
 
39
39
  // src/session/compaction.ts
40
40
  var exports_compaction2 = {};
41
41
  __export(exports_compaction2, {
42
- Service: () => Service7,
42
+ Service: () => Service9,
43
43
  SessionCompaction: () => exports_compaction2,
44
44
  buildPrompt: () => buildPrompt2,
45
45
  estimateTokens: () => estimateTokens2,
46
- layer: () => layer7,
47
- node: () => node10,
46
+ layer: () => layer6,
47
+ node: () => node12,
48
48
  serializeToolContent: () => serializeToolContent2,
49
49
  truncateToolOutput: () => truncateToolOutput2
50
50
  });
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
108
108
  var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
109
109
  `).filter((line) => line.startsWith("##"));
110
110
 
111
- class Service7 extends Context.Service()("@opencode/SessionCompaction") {
111
+ class Service9 extends Context.Service()("@opencode/SessionCompaction") {
112
112
  }
113
113
  var estimateTokens2 = (input) => {
114
114
  const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
@@ -262,7 +262,7 @@ var buildPrompt2 = (update) => {
262
262
  };
263
263
  var hasSummarySection = (summary) => summary.split(`
264
264
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
265
- var layer7 = Layer.effect(Service7, Effect.gen(function* () {
265
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
266
266
  const bus = yield* Service79;
267
267
  const llm = yield* LLMClient.Service;
268
268
  const state = create3({
@@ -479,7 +479,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
479
479
  })
480
480
  }));
481
481
  });
482
- return Service7.of({
482
+ return Service9.of({
483
483
  transform: state.transform,
484
484
  reload: state.reload,
485
485
  enabled: () => state.get().auto,
@@ -488,10 +488,10 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
488
488
  compactManual
489
489
  });
490
490
  }));
491
- var node10 = makeLocationNode({
492
- service: Service7,
493
- layer: layer7,
491
+ var node12 = makeLocationNode({
492
+ service: Service9,
493
+ layer: layer6,
494
494
  deps: [node84, llmClient2]
495
495
  });
496
496
 
497
- export { Service7, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node10, exports_compaction2 };
497
+ export { Service9, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./location-services-0jn70awm.js";
4
+ } from "./pty-b3f9g3c4.js";
5
5
  import {
6
- node56
7
- } from "./location-services-78es4yvf.js";
6
+ node55
7
+ } from "./pty-p41j5722.js";
8
8
  import {
9
- Service4,
10
- node7
11
- } from "./location-services-4v96mfas.js";
9
+ Service11,
10
+ node14
11
+ } from "./pty-y6hb7tkg.js";
12
12
  import {
13
- Service34
14
- } from "./location-services-by5v678g.js";
13
+ Service25
14
+ } from "./pty-q509s3k3.js";
15
15
  import {
16
- node18,
17
- ID3
18
- } from "./location-services-h3ddmve3.js";
16
+ node19,
17
+ ID2
18
+ } from "./pty-905bpmd9.js";
19
19
  import {
20
- Service12,
21
- node15
22
- } from "./location-services-m4535t75.js";
20
+ Service5,
21
+ node8
22
+ } from "./pty-rae26gbb.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./location-services-2t5bfwnz.js";
26
+ } from "./pty-ndaczkrh.js";
27
27
  import {
28
28
  make7,
29
29
  LoadError2
30
- } from "./location-services-drjjaw3s.js";
30
+ } from "./pty-7w8fgasf.js";
31
31
  import {
32
32
  Updated2,
33
33
  Service6,
34
34
  node9
35
- } from "./location-services-58x3rwhh.js";
35
+ } from "./pty-yvbzm87r.js";
36
36
  import {
37
- Service5,
38
- node8
39
- } from "./location-services-ycv9gdpt.js";
37
+ Service4,
38
+ node7
39
+ } from "./pty-1qw2s0et.js";
40
40
  import {
41
41
  __export
42
- } from "./location-services-9rqn6x4v.js";
42
+ } from "./pty-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
115
115
  failures: [
116
116
  ...failures.values(),
117
117
  ...ordered.filter(duplicate).map((plugin) => ({
118
- id: ID3.make(plugin.id),
118
+ id: ID2.make(plugin.id),
119
119
  source: plugin.source ?? { type: "builtin" },
120
120
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
121
121
  features: { server: true, ...plugin.features }
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  };
126
126
  });
127
127
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service34;
128
+ const registry = yield* Service25;
129
129
  const sdk = yield* Service6;
130
- const instance = yield* Service12;
131
- const sources = yield* Service4;
130
+ const instance = yield* Service5;
131
+ const sources = yield* Service11;
132
132
  const modules = yield* make7();
133
133
  const bus = yield* Service79;
134
- const updates = yield* Service5;
134
+ const updates = yield* Service4;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node18,
209
+ node19,
210
210
  node9,
211
- node15,
212
- node7,
213
211
  node8,
212
+ node14,
213
+ node7,
214
214
  node84,
215
215
  Npm.node,
216
- node56,
216
+ node55,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./location-services-6zrjyzhx.js";
3
+ } from "./pty-rw81gdbg.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin43
12
+ Plugin: () => Plugin12
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode-ai/ai";
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin43 = define({
32
+ var Plugin12 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin43, exports_plan };
109
+ export { Plugin12, exports_plan };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./location-services-0jn70awm.js";
4
+ } from "./pty-b3f9g3c4.js";
5
5
  import {
6
6
  environment2
7
- } from "./location-services-dw6h8nn9.js";
7
+ } from "./pty-7frnnqsf.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./location-services-sk3qaz4a.js";
10
+ } from "./pty-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError7,
20
+ Options: () => Options9,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service23,
22
+ Service: () => Service68,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured3,
25
- layer: () => layer10,
26
- node: () => node27
24
+ configured: () => configured9,
25
+ layer: () => layer23,
26
+ node: () => node72
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode-ai/schema/pty";
35
35
  import { Global } from "@opencode-ai/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service23 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service68 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service68, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError7({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service23.of({
242
+ return Service68.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer10 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service23,
261
- layer: options === undefined ? layer10 : makeLayer(options),
258
+ var layer23 = makeLayer();
259
+ var configured9 = (options) => makeGlobalNode({
260
+ service: Service68,
261
+ layer: options === undefined ? layer23 : makeLayer(options),
262
262
  deps: [node84, Global.node]
263
263
  });
264
- var node27 = configured3();
264
+ var node72 = configured9();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError3, Service23, layer10, configured3, node27, exports_persistent_pty, Handoff2 };
304
+ export { Options9, UnavailableError3, NotFoundError7, Service68, layer23, configured9, node72, exports_persistent_pty, Handoff2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./location-services-qfa1cgps.js";
3
+ } from "./pty-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./location-services-9qm9egsn.js";
6
+ } from "./pty-9qm9egsn.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./location-services-hvwy79ny.js";
4
+ } from "./pty-4z6b0fg6.js";
5
5
  import {
6
6
  latest2,
7
- Service50
8
- } from "./location-services-kb6kqgh4.js";
7
+ Service51
8
+ } from "./pty-et3de4js.js";
9
9
  import {
10
10
  observe2
11
- } from "./location-services-qsdy395h.js";
11
+ } from "./pty-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./location-services-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin9
20
+ Plugin: () => Plugin44
21
21
  });
22
22
  import { define } from "@opencode-ai/plugin/effect/plugin";
23
23
  import { Money } from "@opencode-ai/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin9 = define({
25
+ var Plugin44 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service50;
28
+ const config = yield* Service51;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -151,4 +151,4 @@ function configuredProviders(entries) {
151
151
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
152
152
  }
153
153
 
154
- export { Plugin9, exports_provider };
154
+ export { Plugin44, exports_provider };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./location-services-0jn70awm.js";
4
+ } from "./pty-b3f9g3c4.js";
5
5
  import {
6
- Key3,
7
- Service67,
8
- node72
9
- } from "./location-services-11ypdpkg.js";
6
+ Key4,
7
+ Service78,
8
+ node83
9
+ } from "./pty-t8xj1g1x.js";
10
10
  import {
11
11
  create3
12
- } from "./location-services-kg06axw8.js";
12
+ } from "./pty-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./location-services-x9metz0b.js";
16
+ } from "./pty-tfx5kmkv.js";
17
17
  import {
18
18
  __export
19
- } from "./location-services-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event11,
34
- ID: () => ID7,
35
- Info: () => Info19,
33
+ Event: () => Event18,
34
+ ID: () => ID14,
35
+ Info: () => Info28,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref2,
42
- Service: () => Service61,
43
- node: () => node65
41
+ Ref: () => Ref3,
42
+ Service: () => Service76,
43
+ node: () => node81
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event11 } from "@opencode-ai/schema/integration";
65
- var ID7 = Integration.ID;
64
+ import { Event as Event18 } from "@opencode-ai/schema/integration";
65
+ var ID14 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info19 = Integration.Info;
73
+ var Info28 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref2 = Integration.Ref;
88
+ var Ref3 = Integration.Ref;
89
89
 
90
- class Service61 extends Context.Service()("@opencode/Integration") {
90
+ class Service76 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service61, Effect.gen(function* () {
96
- const credentials = yield* Service67;
95
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
96
+ const credentials = yield* Service78;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info19.make({
190
+ const project = (entry, connections) => Info28.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
271
271
  const persistence = yield* createCredential({
272
272
  integrationID: attempt.integrationID,
273
273
  label: attempt.label,
274
- value: Key3.make({ type: "key", key: exit.value })
274
+ value: Key4.make({ type: "key", key: exit.value })
275
275
  }).pipe(Effect.asVoid, Effect.exit);
276
276
  const settledAt = yield* Clock.currentTimeMillis;
277
277
  const terminal = Exit.isSuccess(persistence) ? {
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service61.of({
420
+ return Service76.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
438
438
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
439
439
  if (connection.type === "env") {
440
440
  const key = process.env[connection.name];
441
- return key ? Key3.make({ type: "key", key }) : undefined;
441
+ return key ? Key4.make({ type: "key", key }) : undefined;
442
442
  }
443
443
  const credential = yield* credentials.get(connection.id);
444
444
  if (!credential)
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
471
471
  yield* createCredential({
472
472
  integrationID: input.integrationID,
473
473
  label: input.label,
474
- value: Key3.make({
474
+ value: Key4.make({
475
475
  type: "key",
476
476
  key: input.key,
477
477
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node65 = makeLocationNode({
569
- service: Service61,
568
+ var node81 = makeLocationNode({
569
+ service: Service76,
570
570
  layer,
571
- deps: [node72, node84, AppProcess.node]
571
+ deps: [node83, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service61, node65, exports_integration, Event11 };
574
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service76, node81, exports_integration, Event18 };