@opencode/core 0.0.0-dev-20661 → 0.0.0-dev-20669

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-zhf35gm1.js → persistent-pty-0506etc9.js} +32 -32
  8. package/dist/chunks/{repository-6wjv80df.js → persistent-pty-0bg0bx69.js} +9 -9
  9. package/dist/chunks/{repository-7zrsqeap.js → persistent-pty-0gaxgzx6.js} +44 -44
  10. package/dist/chunks/{repository-zfs8ae4p.js → persistent-pty-0me0fk48.js} +4 -4
  11. package/dist/chunks/{repository-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{repository-0r3c1bmw.js → persistent-pty-0r3c1bmw.js} +2 -2
  13. package/dist/chunks/{repository-r4xwqsmk.js → persistent-pty-0sez9328.js} +8 -8
  14. package/dist/chunks/{repository-ceb6shg2.js → persistent-pty-0v4cpg5d.js} +11 -11
  15. package/dist/chunks/{repository-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{repository-0xezjjjn.js → persistent-pty-0xezjjjn.js} +1 -1
  17. package/dist/chunks/{repository-sq5ga9n2.js → persistent-pty-0ztzc0rc.js} +26 -26
  18. package/dist/chunks/{repository-0te6a63x.js → persistent-pty-10w4ymhy.js} +4 -4
  19. package/dist/chunks/{repository-zze7mas3.js → persistent-pty-1cgges17.js} +11 -11
  20. package/dist/chunks/{repository-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{repository-0szg9e3a.js → persistent-pty-1m6fh7c4.js} +11 -11
  22. package/dist/chunks/{repository-2na9pj0b.js → persistent-pty-1tje5prg.js} +19 -19
  23. package/dist/chunks/{repository-e5p55b06.js → persistent-pty-1vndf96e.js} +7 -7
  24. package/dist/chunks/{repository-1ghf8zs3.js → persistent-pty-1y9xp183.js} +11 -11
  25. package/dist/chunks/{repository-d1t6tc1e.js → persistent-pty-22902vxq.js} +5 -5
  26. package/dist/chunks/{repository-p558d1j2.js → persistent-pty-26ye3vwj.js} +3 -3
  27. package/dist/chunks/persistent-pty-298ac3tk.js +26 -0
  28. package/dist/chunks/{repository-748da515.js → persistent-pty-29wpv0c5.js} +17 -17
  29. package/dist/chunks/{repository-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{repository-10r6pp2x.js → persistent-pty-2dffg0nm.js} +15 -15
  31. package/dist/chunks/{repository-gpjhh13y.js → persistent-pty-2p3910rq.js} +7 -7
  32. package/dist/chunks/{repository-qvreyy9g.js → persistent-pty-2p623br6.js} +5 -5
  33. package/dist/chunks/{repository-az7tb05h.js → persistent-pty-2ss7c3mr.js} +27 -27
  34. package/dist/chunks/{repository-27b211kq.js → persistent-pty-357jqwce.js} +5 -5
  35. package/dist/chunks/{repository-ggmrdx7v.js → persistent-pty-35qw0rw5.js} +8 -8
  36. package/dist/chunks/{repository-8a6ws7jr.js → persistent-pty-3cd9n481.js} +9 -9
  37. package/dist/chunks/{repository-h2b79v29.js → persistent-pty-3cegwx68.js} +2 -2
  38. package/dist/chunks/{repository-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{repository-p9q8g7vd.js → persistent-pty-3fktkvc1.js} +4 -4
  40. package/dist/chunks/{repository-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{repository-yk3hsgx2.js → persistent-pty-3hfxhm5y.js} +8 -8
  42. package/dist/chunks/{repository-301v9tya.js → persistent-pty-3rp5as3f.js} +35 -35
  43. package/dist/chunks/{repository-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{repository-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{repository-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{repository-qxmaq0sm.js → persistent-pty-4c2df9zx.js} +8 -8
  47. package/dist/chunks/{repository-r9w3djhf.js → persistent-pty-4rt0ga34.js} +5 -5
  48. package/dist/chunks/{repository-ecmranas.js → persistent-pty-4rxwbah3.js} +5 -5
  49. package/dist/chunks/{repository-4ts7tf6z.js → persistent-pty-4ts7tf6z.js} +2 -2
  50. package/dist/chunks/{repository-7c7bareq.js → persistent-pty-521nt0x3.js} +24 -24
  51. package/dist/chunks/{repository-ea0ampwz.js → persistent-pty-52m569tx.js} +12 -12
  52. package/dist/chunks/{repository-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
  53. package/dist/chunks/{repository-5rrf9qge.js → persistent-pty-5cpejcvs.js} +9 -9
  54. package/dist/chunks/{repository-537jbssw.js → persistent-pty-5d2g1x8f.js} +37 -37
  55. package/dist/chunks/{repository-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  56. package/dist/chunks/{repository-6hvm7cgx.js → persistent-pty-5df9cmzz.js} +13 -13
  57. package/dist/chunks/{repository-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{repository-2jnxrbr3.js → persistent-pty-5ma40m5t.js} +10 -10
  59. package/dist/chunks/{repository-16f7tttd.js → persistent-pty-5pv4q8r9.js} +9 -9
  60. package/dist/chunks/{repository-4a2kvcyx.js → persistent-pty-5pyjqqve.js} +2 -2
  61. package/dist/chunks/{repository-vgznchvw.js → persistent-pty-5s1hsbk6.js} +8 -8
  62. package/dist/chunks/{repository-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{repository-f4bkz93y.js → persistent-pty-6nx6vy4k.js} +16 -16
  64. package/dist/chunks/{repository-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{repository-5g6sbyxh.js → persistent-pty-77gk4895.js} +22 -22
  66. package/dist/chunks/{repository-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{repository-kyr2t18s.js → persistent-pty-7ce5kxm3.js} +17 -17
  68. package/dist/chunks/{repository-a1pv9e77.js → persistent-pty-7d99net6.js} +5 -5
  69. package/dist/chunks/persistent-pty-7fj5dwt0.js +18 -0
  70. package/dist/chunks/{repository-an4d28vr.js → persistent-pty-7h0zcbyp.js} +20 -20
  71. package/dist/chunks/{repository-9vk7ehay.js → persistent-pty-7mqrj92y.js} +9 -9
  72. package/dist/chunks/{repository-zmnepbn3.js → persistent-pty-7y20r9ha.js} +7 -7
  73. package/dist/chunks/{repository-1dvck2a7.js → persistent-pty-84h8c373.js} +2 -2
  74. package/dist/chunks/{repository-w1eejvng.js → persistent-pty-84txncab.js} +5 -5
  75. package/dist/chunks/{repository-afssb52c.js → persistent-pty-86551w19.js} +3 -3
  76. package/dist/chunks/{repository-vwjb8r2v.js → persistent-pty-86745pec.js} +4 -4
  77. package/dist/chunks/{repository-zy2zpvm6.js → persistent-pty-8784cf3d.js} +14 -14
  78. package/dist/chunks/{repository-e7fm67xs.js → persistent-pty-8bz0awby.js} +30 -30
  79. package/dist/chunks/{repository-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{repository-8t72k94d.js → persistent-pty-8e18ys7f.js} +22 -22
  81. package/dist/chunks/{repository-h6nxw0pd.js → persistent-pty-8e1b1gzh.js} +8 -8
  82. package/dist/chunks/{repository-5meya16s.js → persistent-pty-8hmy07yn.js} +10 -10
  83. package/dist/chunks/{repository-fbtna4cy.js → persistent-pty-8pg7dxp0.js} +40 -40
  84. package/dist/chunks/{repository-ysv4x97r.js → persistent-pty-8qhgctqz.js} +10 -10
  85. package/dist/chunks/{repository-ey6rfqvz.js → persistent-pty-8tf08qh4.js} +11 -11
  86. package/dist/chunks/{repository-tcnkdppf.js → persistent-pty-9475q65j.js} +26 -26
  87. package/dist/chunks/{repository-07bwtgn1.js → persistent-pty-9bd6ejq3.js} +13 -13
  88. package/dist/chunks/{repository-74zds2q2.js → persistent-pty-9cbr7v56.js} +41 -41
  89. package/dist/chunks/{repository-ahx40rxf.js → persistent-pty-9n926yde.js} +23 -23
  90. package/dist/chunks/{repository-7n7v53sw.js → persistent-pty-9qcn7sxn.js} +9 -9
  91. package/dist/chunks/{repository-6cpse6c2.js → persistent-pty-9wbvk8fq.js} +13 -13
  92. package/dist/chunks/{repository-2vn93ng9.js → persistent-pty-9zx59zz6.js} +19 -19
  93. package/dist/chunks/{repository-vc155zt0.js → persistent-pty-a81vx8af.js} +20 -20
  94. package/dist/chunks/{repository-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  95. package/dist/chunks/{repository-dgpsrprm.js → persistent-pty-addxnjmp.js} +4 -4
  96. package/dist/chunks/{repository-nzeef16t.js → persistent-pty-ag19a3sx.js} +15 -15
  97. package/dist/chunks/{repository-106g6zzb.js → persistent-pty-agb5qaf7.js} +13 -13
  98. package/dist/chunks/{repository-8b9545xm.js → persistent-pty-ahp8ga40.js} +27 -27
  99. package/dist/chunks/{repository-cyfxky51.js → persistent-pty-apg4h2pc.js} +33 -33
  100. package/dist/chunks/{repository-ach6z8vh.js → persistent-pty-arn7aakd.js} +4 -4
  101. package/dist/chunks/{repository-hmhzhfpw.js → persistent-pty-arnhd4xy.js} +13 -13
  102. package/dist/chunks/{repository-atxy8ykf.js → persistent-pty-az0ary3d.js} +18 -18
  103. package/dist/chunks/{repository-b1ajvfw3.js → persistent-pty-b0jkajpy.js} +26 -26
  104. package/dist/chunks/{repository-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{repository-fxkzw5w5.js → persistent-pty-br5c6tzy.js} +23 -23
  106. package/dist/chunks/{repository-4zfp2qta.js → persistent-pty-bskkyr8p.js} +20 -20
  107. package/dist/chunks/{repository-043vq6jw.js → persistent-pty-bsprd9wx.js} +3 -3
  108. package/dist/chunks/{repository-0xqyf95c.js → persistent-pty-btbmdjwj.js} +4 -4
  109. package/dist/chunks/{repository-32pp5s05.js → persistent-pty-c0r9zvd5.js} +1 -1
  110. package/dist/chunks/{repository-grs6z2v9.js → persistent-pty-cfghkxm5.js} +16 -16
  111. package/dist/chunks/{repository-21jd8v9m.js → persistent-pty-cfm5e1qn.js} +18 -18
  112. package/dist/chunks/{repository-ccdkjy5j.js → persistent-pty-cg24jcsb.js} +22 -22
  113. package/dist/chunks/{repository-2jpa8mfg.js → persistent-pty-ch2k8h83.js} +13 -13
  114. package/dist/chunks/{repository-cwa6csj7.js → persistent-pty-cwa6csj7.js} +2 -2
  115. package/dist/chunks/{repository-wg56nkx8.js → persistent-pty-d267yb9a.js} +19 -19
  116. package/dist/chunks/{repository-573jdjzy.js → persistent-pty-d7s6akkx.js} +6 -6
  117. package/dist/chunks/{repository-0618chc0.js → persistent-pty-de42tf4w.js} +11 -11
  118. package/dist/chunks/{repository-nhy104pe.js → persistent-pty-dx3f013a.js} +54 -54
  119. package/dist/chunks/{repository-wmn12sgk.js → persistent-pty-dxwsbt71.js} +3 -3
  120. package/dist/chunks/{repository-eakgj8q2.js → persistent-pty-e3w9zwct.js} +39 -39
  121. package/dist/chunks/{repository-cm3vhcv0.js → persistent-pty-e6txpg2e.js} +28 -28
  122. package/dist/chunks/{repository-eqbnvekh.js → persistent-pty-e8bptm4w.js} +38 -38
  123. package/dist/chunks/{repository-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{repository-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{repository-4zws30q5.js → persistent-pty-f2vmbes1.js} +20 -20
  126. package/dist/chunks/{repository-crvx6mgt.js → persistent-pty-f3gemxdz.js} +20 -20
  127. package/dist/chunks/{repository-71az546q.js → persistent-pty-f75zav2x.js} +2 -2
  128. package/dist/chunks/persistent-pty-fdh5nygw.js +253 -0
  129. package/dist/chunks/{repository-7ahbtrex.js → persistent-pty-fk30fwzs.js} +21 -21
  130. package/dist/chunks/{repository-spgjrcy8.js → persistent-pty-fk41zhkz.js} +69 -69
  131. package/dist/chunks/{repository-ng56fafc.js → persistent-pty-fky2s0f8.js} +13 -13
  132. package/dist/chunks/{repository-nj6293bs.js → persistent-pty-fmx4tt35.js} +16 -16
  133. package/dist/chunks/{repository-10h4ddzz.js → persistent-pty-fpk887gp.js} +14 -14
  134. package/dist/chunks/{repository-j7071276.js → persistent-pty-ftt6gxvn.js} +5 -5
  135. package/dist/chunks/{repository-h7sfwyf5.js → persistent-pty-g4kgyb8v.js} +10 -10
  136. package/dist/chunks/{repository-6h5736te.js → persistent-pty-ga4m96b7.js} +30 -30
  137. package/dist/chunks/{repository-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{repository-hjm0k3fp.js → persistent-pty-gen41c14.js} +2 -2
  139. package/dist/chunks/{repository-xa3ghtvx.js → persistent-pty-ghp14vj3.js} +14 -14
  140. package/dist/chunks/{repository-vnyrj955.js → persistent-pty-gm49ncpz.js} +3 -3
  141. package/dist/chunks/{repository-z37gfj8r.js → persistent-pty-gm6yrpsp.js} +3 -3
  142. package/dist/chunks/{repository-vh7fby3r.js → persistent-pty-gxhb85xm.js} +17 -17
  143. package/dist/chunks/{repository-scp3g09m.js → persistent-pty-h08dbkgj.js} +20 -20
  144. package/dist/chunks/{repository-7kwx6gx2.js → persistent-pty-h2440tx6.js} +12 -12
  145. package/dist/chunks/{repository-yevqza3m.js → persistent-pty-h31qzmwk.js} +22 -22
  146. package/dist/chunks/{repository-bce8mqt3.js → persistent-pty-h3ek80ta.js} +8 -8
  147. package/dist/chunks/{repository-dnz8myac.js → persistent-pty-h6cyscg9.js} +9 -9
  148. package/dist/chunks/{repository-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{repository-r44petzp.js → persistent-pty-hafepx0m.js} +5 -5
  150. package/dist/chunks/{repository-9k8khh75.js → persistent-pty-hbepmwya.js} +17 -17
  151. package/dist/chunks/{repository-y5dw8kr0.js → persistent-pty-hcgg9rjw.js} +4 -4
  152. package/dist/chunks/{repository-scgrse2b.js → persistent-pty-hdkng2sj.js} +5 -5
  153. package/dist/chunks/{repository-kwqsq9eb.js → persistent-pty-hhwj2e48.js} +1 -1
  154. package/dist/chunks/{repository-1sb13fhj.js → persistent-pty-hqx0pry0.js} +44 -44
  155. package/dist/chunks/{repository-g5pr0hqg.js → persistent-pty-hycxdhqj.js} +5 -5
  156. package/dist/chunks/{repository-d9kqsdy4.js → persistent-pty-hyyhpv4k.js} +16 -16
  157. package/dist/chunks/{repository-n4hagvcf.js → persistent-pty-j1nc06n8.js} +16 -16
  158. package/dist/chunks/{repository-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  159. package/dist/chunks/{repository-4b9xfex1.js → persistent-pty-j9n9pc60.js} +18 -18
  160. package/dist/chunks/{repository-gmmdfr2g.js → persistent-pty-jervv9x6.js} +8 -8
  161. package/dist/chunks/{repository-b4twkq7r.js → persistent-pty-jktqzjpa.js} +4 -4
  162. package/dist/chunks/{repository-4mg116vk.js → persistent-pty-js61yr7p.js} +25 -25
  163. package/dist/chunks/{repository-rgbeeb12.js → persistent-pty-jsa646dy.js} +20 -20
  164. package/dist/chunks/{repository-1pt39jfx.js → persistent-pty-jvwcg364.js} +9 -9
  165. package/dist/chunks/{repository-hz0q9sdq.js → persistent-pty-k1qrnqst.js} +8 -8
  166. package/dist/chunks/{repository-6sxn0fyv.js → persistent-pty-k7110n80.js} +15 -15
  167. package/dist/chunks/{repository-xvr70the.js → persistent-pty-k7cee5jt.js} +73 -73
  168. package/dist/chunks/{repository-n8se905m.js → persistent-pty-k81m5qp3.js} +6 -6
  169. package/dist/chunks/{repository-9e5bzkjp.js → persistent-pty-kb9j3d72.js} +3 -3
  170. package/dist/chunks/{repository-he1ycz2s.js → persistent-pty-khmd8m6z.js} +4 -4
  171. package/dist/chunks/{repository-vwctd27t.js → persistent-pty-kqa5e0am.js} +4 -4
  172. package/dist/chunks/{repository-0kfggb32.js → persistent-pty-m0n08mcv.js} +4 -4
  173. package/dist/chunks/{repository-s8xbmvwb.js → persistent-pty-m2n5k0pa.js} +15 -15
  174. package/dist/chunks/{repository-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{repository-yt3fxxnb.js → persistent-pty-m5z203ha.js} +4 -4
  176. package/dist/chunks/{repository-h3g0cwjn.js → persistent-pty-m854cfv5.js} +23 -23
  177. package/dist/chunks/{repository-ja8t3wh1.js → persistent-pty-m93asd28.js} +25 -25
  178. package/dist/chunks/{repository-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{repository-33w4ejhs.js → persistent-pty-mfqp6xfm.js} +9 -9
  180. package/dist/chunks/{repository-9gaqynqt.js → persistent-pty-mgwdcceq.js} +3 -3
  181. package/dist/chunks/{repository-xw8eq9f1.js → persistent-pty-mjagy123.js} +5 -5
  182. package/dist/chunks/persistent-pty-mkjk8jrs.js +507 -0
  183. package/dist/chunks/{repository-fxgyesrr.js → persistent-pty-mwvn72c5.js} +12 -12
  184. package/dist/chunks/{repository-tvx3ewvr.js → persistent-pty-mzz5dc6v.js} +21 -21
  185. package/dist/chunks/{repository-n1n192bv.js → persistent-pty-n1n192bv.js} +1 -1
  186. package/dist/chunks/{repository-dj68pnee.js → persistent-pty-n9arjmkd.js} +4 -4
  187. package/dist/chunks/{repository-mqjzjjf0.js → persistent-pty-nkkndsd1.js} +7 -7
  188. package/dist/chunks/{repository-x9gjp2wb.js → persistent-pty-nm065sa1.js} +12 -12
  189. package/dist/chunks/{repository-205k8jhr.js → persistent-pty-nm4z1r83.js} +35 -35
  190. package/dist/chunks/{repository-j4dqt27y.js → persistent-pty-npwr55pz.js} +11 -11
  191. package/dist/chunks/{repository-magykp64.js → persistent-pty-nrdmrqsx.js} +4 -4
  192. package/dist/chunks/{repository-ns3eape4.js → persistent-pty-ns3eape4.js} +1 -1
  193. package/dist/chunks/{repository-dpkg50ah.js → persistent-pty-nxm207yx.js} +4 -4
  194. package/dist/chunks/{repository-bvjh5av3.js → persistent-pty-nzzpqbc2.js} +10 -10
  195. package/dist/chunks/{repository-g0445xdp.js → persistent-pty-p42hj8p8.js} +8 -8
  196. package/dist/chunks/{repository-benv41rp.js → persistent-pty-pbvkggcp.js} +9 -9
  197. package/dist/chunks/{repository-afr26chb.js → persistent-pty-pfhprg9x.js} +11 -11
  198. package/dist/chunks/{repository-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{repository-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  200. package/dist/chunks/{repository-nttvqnzt.js → persistent-pty-pmp1zjsv.js} +28 -28
  201. package/dist/chunks/{repository-n7avb6m5.js → persistent-pty-pvg1c9ct.js} +5 -5
  202. package/dist/chunks/{repository-dmqk4yfk.js → persistent-pty-q0tnsqxz.js} +11 -11
  203. package/dist/chunks/{repository-q0xm7vwc.js → persistent-pty-q0xm7vwc.js} +2 -2
  204. package/dist/chunks/{repository-rvnx9ynj.js → persistent-pty-qb4zbeaq.js} +15 -15
  205. package/dist/chunks/{repository-stye60hc.js → persistent-pty-qdtfwvft.js} +27 -27
  206. package/dist/chunks/{repository-fcrkznn8.js → persistent-pty-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{repository-my8tnftd.js → persistent-pty-qh933se3.js} +11 -11
  208. package/dist/chunks/{repository-b513f556.js → persistent-pty-qmx6320q.js} +12 -12
  209. package/dist/chunks/{repository-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{repository-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  211. package/dist/chunks/{repository-t3vv4d42.js → persistent-pty-qtd03s71.js} +13 -13
  212. package/dist/chunks/{repository-tcmvd7z0.js → persistent-pty-qw79ank0.js} +41 -41
  213. package/dist/chunks/{repository-xyafkbt0.js → persistent-pty-qxjc9qry.js} +3 -3
  214. package/dist/chunks/{repository-ry924fh6.js → persistent-pty-r1zwgjtb.js} +38 -38
  215. package/dist/chunks/{repository-a1gpj94z.js → persistent-pty-r5x6zcsm.js} +3 -3
  216. package/dist/chunks/{repository-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{repository-4sb6t3m1.js → persistent-pty-rgak4h0z.js} +43 -43
  218. package/dist/chunks/{repository-1acjjqhc.js → persistent-pty-rhraev7y.js} +4 -4
  219. package/dist/chunks/{repository-379b4hhp.js → persistent-pty-rx3pmkf6.js} +8 -8
  220. package/dist/chunks/{repository-ryr25ayn.js → persistent-pty-ryr25ayn.js} +1 -1
  221. package/dist/chunks/{repository-j07em0ca.js → persistent-pty-rzeq28dk.js} +42 -42
  222. package/dist/chunks/{repository-yqvvg513.js → persistent-pty-s3jwpk2a.js} +21 -21
  223. package/dist/chunks/{repository-wnmdvmz6.js → persistent-pty-s8tkytec.js} +16 -16
  224. package/dist/chunks/{repository-btcfg8pa.js → persistent-pty-sc360z45.js} +12 -12
  225. package/dist/chunks/{repository-9r8ns7n8.js → persistent-pty-sdbgje86.js} +16 -16
  226. package/dist/chunks/{repository-4pm1k6b6.js → persistent-pty-sg1gpmh1.js} +4 -4
  227. package/dist/chunks/{repository-dxr8fvgz.js → persistent-pty-shan7gyw.js} +24 -24
  228. package/dist/chunks/{repository-kg7g3ey4.js → persistent-pty-sp1327tm.js} +12 -12
  229. package/dist/chunks/{repository-h79eb4wf.js → persistent-pty-sx1dxn2r.js} +27 -27
  230. package/dist/chunks/{repository-pcr95nxz.js → persistent-pty-t8p3xnq8.js} +18 -18
  231. package/dist/chunks/{repository-y1j8epp9.js → persistent-pty-tadk88n8.js} +23 -23
  232. package/dist/chunks/{repository-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{repository-z8bvm205.js → persistent-pty-tbzz0ayx.js} +9 -9
  234. package/dist/chunks/{repository-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{repository-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  236. package/dist/chunks/{repository-40gcpxzn.js → persistent-pty-tf5fdwac.js} +26 -26
  237. package/dist/chunks/{repository-d0zee6yx.js → persistent-pty-thpxvrkg.js} +4 -4
  238. package/dist/chunks/{repository-wer47y7e.js → persistent-pty-tjp24hfy.js} +11 -11
  239. package/dist/chunks/{repository-kmy91h7k.js → persistent-pty-tjtsnnc4.js} +3 -3
  240. package/dist/chunks/{repository-9z6cmhkq.js → persistent-pty-tq524sjs.js} +3 -3
  241. package/dist/chunks/{repository-fwj22sb9.js → persistent-pty-twmcj6bq.js} +14 -14
  242. package/dist/chunks/{repository-tcay1cqt.js → persistent-pty-v6gb7zv2.js} +6 -6
  243. package/dist/chunks/{repository-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  244. package/dist/chunks/{repository-w7d850mj.js → persistent-pty-vfyjaks7.js} +17 -17
  245. package/dist/chunks/{repository-d29nyfm4.js → persistent-pty-vh5e817s.js} +22 -22
  246. package/dist/chunks/{repository-krry4gk1.js → persistent-pty-vvtb55vm.js} +37 -37
  247. package/dist/chunks/{repository-4ya93pvd.js → persistent-pty-vwgces70.js} +35 -35
  248. package/dist/chunks/{repository-btfhnvjh.js → persistent-pty-vx3jgdek.js} +3 -3
  249. package/dist/chunks/{repository-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{repository-g5w8qwbj.js → persistent-pty-w19d8598.js} +7 -7
  251. package/dist/chunks/{repository-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{repository-8vwp8w5g.js → persistent-pty-w6evsh6e.js} +18 -18
  253. package/dist/chunks/{repository-xdkfhf58.js → persistent-pty-w8n4d140.js} +48 -48
  254. package/dist/chunks/{repository-7ge4ak7p.js → persistent-pty-wctfcgtb.js} +6 -6
  255. package/dist/chunks/{repository-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  256. package/dist/chunks/{repository-wh6zw745.js → persistent-pty-wh6zw745.js} +2 -2
  257. package/dist/chunks/{repository-dax2f43k.js → persistent-pty-wqywrvhs.js} +83 -83
  258. package/dist/chunks/{repository-5j13w0pe.js → persistent-pty-wrg7f32p.js} +19 -19
  259. package/dist/chunks/{repository-jxnv3vs9.js → persistent-pty-wrkdkjy5.js} +3 -3
  260. package/dist/chunks/{repository-s8d7rejh.js → persistent-pty-wv396vej.js} +8 -8
  261. package/dist/chunks/{repository-2f8h2t77.js → persistent-pty-x09jwv3t.js} +21 -21
  262. package/dist/chunks/{repository-td335a07.js → persistent-pty-xg9719v1.js} +28 -28
  263. package/dist/chunks/{repository-xkntkrq7.js → persistent-pty-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{repository-5za7wpg2.js → persistent-pty-xkysk5pe.js} +15 -15
  265. package/dist/chunks/{repository-551p5xfx.js → persistent-pty-xpn67gvy.js} +35 -35
  266. package/dist/chunks/{repository-18g4yb7e.js → persistent-pty-xqg5y7pg.js} +24 -24
  267. package/dist/chunks/{repository-8qvzptz7.js → persistent-pty-xxndcd6m.js} +4 -4
  268. package/dist/chunks/{repository-w2c5pkxk.js → persistent-pty-xza0jhs5.js} +171 -171
  269. package/dist/chunks/{repository-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{repository-kqkwtn5n.js → persistent-pty-y84ejm2m.js} +20 -20
  271. package/dist/chunks/{repository-ravgrsv5.js → persistent-pty-ycc3dskp.js} +11 -11
  272. package/dist/chunks/{repository-ngkc5a6n.js → persistent-pty-ygszv6dm.js} +5 -5
  273. package/dist/chunks/{repository-xgwzhbhd.js → persistent-pty-ypg0fq7f.js} +14 -14
  274. package/dist/chunks/{repository-kadwda11.js → persistent-pty-yrn1qewd.js} +35 -35
  275. package/dist/chunks/{repository-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{repository-f1ry7jgz.js → persistent-pty-zebcfbc6.js} +25 -25
  277. package/dist/chunks/{repository-t7n9q6bq.js → persistent-pty-zee1rnkq.js} +4 -4
  278. package/dist/chunks/{repository-w9vf9qqj.js → persistent-pty-zg3tcem2.js} +9 -9
  279. package/dist/chunks/{repository-94heg7e8.js → persistent-pty-zn7sg468.js} +32 -32
  280. package/dist/chunks/{repository-64s65d1n.js → persistent-pty-zq6stcrg.js} +5 -5
  281. package/dist/chunks/{repository-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{repository-mm07xyj9.js → persistent-pty-zrm98xgn.js} +34 -34
  283. package/dist/chunks/{repository-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  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 +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  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 +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +66 -66
  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/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +2 -2
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +101 -101
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +100 -100
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +101 -101
  426. package/dist/git.js +6 -6
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.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 +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +85 -85
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +89 -89
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +101 -101
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +102 -102
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +78 -78
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +84 -84
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +76 -76
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +1 -1
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +4 -4
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +112 -112
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +90 -90
  553. package/dist/provider.js +97 -97
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +87 -87
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +211 -211
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +207 -207
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +203 -203
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +108 -108
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +124 -124
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +1 -1
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +2 -2
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +2 -2
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/repository-9sh4wc5j.js +0 -18
  681. package/dist/chunks/repository-bj0bcwj5.js +0 -26
  682. package/dist/chunks/repository-ssby7wmp.js +0 -507
  683. package/dist/chunks/repository-tkybgs2z.js +0 -253
  684. /package/dist/chunks/{repository-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{repository-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{repository-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{repository-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{repository-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{repository-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{repository-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{repository-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{repository-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{repository-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{repository-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{repository-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  696. /package/dist/chunks/{repository-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{repository-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{repository-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{repository-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{repository-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{repository-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{repository-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{repository-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{repository-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  705. /package/dist/chunks/{repository-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{repository-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{repository-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  708. /package/dist/chunks/{repository-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{repository-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{repository-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{repository-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  712. /package/dist/chunks/{repository-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{repository-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{repository-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{repository-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{repository-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{repository-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{repository-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{repository-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{repository-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{repository-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{repository-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{repository-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{repository-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{repository-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{repository-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{repository-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{repository-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{repository-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{repository-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  731. /package/dist/chunks/{repository-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{repository-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{repository-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{repository-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{repository-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{repository-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{repository-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{repository-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{repository-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{repository-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{repository-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{repository-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{repository-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  744. /package/dist/chunks/{repository-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{repository-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  746. /package/dist/chunks/{repository-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  747. /package/dist/chunks/{repository-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{repository-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{repository-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{repository-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{repository-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{repository-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{repository-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{repository-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{repository-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{repository-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{repository-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{repository-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{repository-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{repository-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{repository-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{repository-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{repository-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{repository-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{repository-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{repository-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{repository-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{repository-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{repository-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{repository-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{repository-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{repository-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{repository-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  774. /package/dist/chunks/{repository-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{repository-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{repository-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{repository-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{repository-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{repository-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{repository-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-wer47y7e.js";
3
+ } from "./persistent-pty-tjp24hfy.js";
4
4
  import {
5
5
  Service83
6
- } from "./repository-d0zee6yx.js";
6
+ } from "./persistent-pty-thpxvrkg.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19,
10
- Service77
11
- } from "./repository-ccdkjy5j.js";
10
+ Service78
11
+ } from "./persistent-pty-cg24jcsb.js";
12
12
  import {
13
- ID16,
13
+ ID14,
14
14
  MethodID2
15
- } from "./repository-4mg116vk.js";
15
+ } from "./persistent-pty-js61yr7p.js";
16
16
  import {
17
- ID12,
17
+ ID13,
18
18
  mergeOverlay2
19
- } from "./repository-f1ry7jgz.js";
19
+ } from "./persistent-pty-zebcfbc6.js";
20
20
  import {
21
- ID8,
21
+ ID12,
22
22
  VariantID2,
23
- Info16
24
- } from "./repository-e7fm67xs.js";
23
+ Info21
24
+ } from "./persistent-pty-8bz0awby.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./repository-pjvnvgmy.js";
28
+ } from "./persistent-pty-pjvnvgmy.js";
29
29
 
30
30
  // src/plugin/provider/chatgpt.ts
31
31
  import { define } from "@opencode/plugin/effect/plugin";
@@ -37,8 +37,8 @@ var issuer = "https://auth.openai.com";
37
37
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
38
38
  var resource = "https://api.openai.com/v1";
39
39
  var tokenSharingScope = "chatgpt.tokens.use.direct";
40
- var providerID = ID12.openai;
41
- var integrationID = ID16.make("openai");
40
+ var providerID = ID13.openai;
41
+ var integrationID = ID14.make("openai");
42
42
  var methodID = MethodID2.make("chatgpt-token-sharing");
43
43
  var modelCacheKey = (clientID) => `models:${clientID}`;
44
44
  var fallbackModels = new Set([
@@ -174,7 +174,7 @@ var ChatGPTPlugin2 = define({
174
174
  id: "opencode.provider.chatgpt",
175
175
  effect: Effect.fn(function* (ctx) {
176
176
  const bus = yield* Service83;
177
- const credentials = yield* Service77;
177
+ const credentials = yield* Service78;
178
178
  const loading = Semaphore.makeUnsafe(1);
179
179
  let chatgpt;
180
180
  let source;
@@ -189,7 +189,7 @@ var ChatGPTPlugin2 = define({
189
189
  yield* ctx.integration.transform((editor) => {
190
190
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
191
191
  });
192
- yield* Effect.forEach(yield* credentials.list(ID16.make("openai")), (entry) => {
192
+ yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
193
193
  const value = entry.value;
194
194
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
195
195
  return Effect.void;
@@ -306,7 +306,7 @@ function deriveModels2(remote, existing) {
306
306
  const found = byID.get(model.modelID);
307
307
  return found ? [deriveModel(found, model)] : [];
308
308
  }),
309
- ...remote.filter((model) => !known.has(ID8.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID12.openai, ID8.make(model.slug))))
309
+ ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
310
310
  ];
311
311
  }
312
312
  function deriveModel(remote, previous) {
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./repository-rdw6cm16.js";
3
+ } from "./persistent-pty-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./repository-qaymkmh1.js";
6
+ } from "./persistent-pty-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options6,
15
- Service: () => Service55,
14
+ Options: () => Options9,
15
+ Service: () => Service58,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured6,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list4,
21
+ list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node57,
24
+ node: () => node62,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options6 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service55 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service58 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list4(options, bin) {
187
+ async function list3(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service55.of({
202
+ return Service58.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list4(options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
+ list: () => Effect.promise(() => list3(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured6(options) {
210
- return makeLocationNode({ service: Service55, layer: layer(options), deps: [Global.node] });
209
+ function configured9(options) {
210
+ return makeLocationNode({ service: Service58, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node57 = configured6();
212
+ var node62 = configured9();
213
213
 
214
- export { Options6, Service55, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured6, node57, exports_select };
214
+ export { Options9, Service58, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list3, configured9, node62, exports_select };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-z37gfj8r.js";
4
+ } from "./persistent-pty-gm6yrpsp.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./repository-d0zee6yx.js";
8
+ } from "./persistent-pty-thpxvrkg.js";
9
9
  import {
10
- Service75,
11
- node79
12
- } from "./repository-nj6293bs.js";
10
+ Service64,
11
+ node68
12
+ } from "./persistent-pty-fmx4tt35.js";
13
13
  import {
14
- Service48,
15
- node50
16
- } from "./repository-tcay1cqt.js";
14
+ Service63,
15
+ node67
16
+ } from "./persistent-pty-v6gb7zv2.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./repository-ec1grn59.js";
19
+ } from "./persistent-pty-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./repository-1acjjqhc.js";
21
+ make19
22
+ } from "./persistent-pty-rhraev7y.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service45
26
- } from "./repository-t7n9q6bq.js";
25
+ Service60
26
+ } from "./persistent-pty-zee1rnkq.js";
27
27
  import {
28
- Service67,
29
- node71
30
- } from "./repository-kg7g3ey4.js";
28
+ Service66,
29
+ node70
30
+ } from "./persistent-pty-sp1327tm.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./repository-n7avb6m5.js";
33
+ } from "./persistent-pty-pvg1c9ct.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./repository-dxr8fvgz.js";
36
+ } from "./persistent-pty-shan7gyw.js";
37
37
  import {
38
38
  __export
39
- } from "./repository-9rqn6x4v.js";
39
+ } from "./persistent-pty-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service44,
44
+ Service: () => Service59,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer17,
47
- node: () => node47,
48
- noopLayer: () => noopLayer2,
46
+ layer: () => layer21,
47
+ node: () => node64,
48
+ noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service44 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service59 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer17 = Layer.effect(Service44, Effect.gen(function* () {
63
- const store = yield* Service67;
64
- const instances = yield* Service48;
62
+ var layer21 = Layer.effect(Service59, Effect.gen(function* () {
63
+ const store = yield* Service66;
64
+ const instances = yield* Service63;
65
65
  const bus = yield* Service83;
66
- const jobs = yield* Service75;
66
+ const jobs = yield* Service64;
67
67
  const db = (yield* Service84).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service60.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make17({
86
+ const coordinator = yield* make19({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service44.of({
107
+ return Service59.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node47 = makeGlobalNode({
127
- service: Service44,
128
- layer: layer17,
129
- deps: [node71, node50, node87, node88, node79]
126
+ var node64 = makeGlobalNode({
127
+ service: Service59,
128
+ layer: layer21,
129
+ deps: [node70, node67, node87, node88, node68]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
131
+ var noopLayer3 = Layer.succeed(Service59, Service59.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service44, terminal2, layer17, node47, noopLayer2, exports_execution };
140
+ export { Service59, terminal2, layer21, node64, noopLayer3, exports_execution };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-d0zee6yx.js";
4
+ } from "./persistent-pty-thpxvrkg.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./repository-18g4yb7e.js";
6
+ Service77,
7
+ node81
8
+ } from "./persistent-pty-xqg5y7pg.js";
9
9
  import {
10
- Service74,
11
- node78
12
- } from "./repository-eqbnvekh.js";
10
+ Service80,
11
+ node84
12
+ } from "./persistent-pty-e8bptm4w.js";
13
13
  import {
14
- Ref3,
15
- Service73,
16
- node77
17
- } from "./repository-748da515.js";
14
+ Ref4,
15
+ Service79,
16
+ node83
17
+ } from "./persistent-pty-29wpv0c5.js";
18
18
  import {
19
19
  canonical3
20
- } from "./repository-zze7mas3.js";
20
+ } from "./persistent-pty-1cgges17.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./repository-ec1grn59.js";
23
+ } from "./persistent-pty-ec1grn59.js";
24
24
  import {
25
- Service66,
26
- node70
27
- } from "./repository-j07em0ca.js";
25
+ Service65,
26
+ node69
27
+ } from "./persistent-pty-rzeq28dk.js";
28
28
  import {
29
- Service29,
30
- node32
31
- } from "./repository-rgbeeb12.js";
29
+ Service19,
30
+ node22
31
+ } from "./persistent-pty-jsa646dy.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-9rqn6x4v.js";
34
+ } from "./persistent-pty-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service18,
41
- node: () => node20
40
+ Service: () => Service16,
41
+ node: () => node18
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service18 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service18, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
- const location = yield* Service73;
53
- const permission = yield* Service66;
54
- const forms = yield* Service78;
55
- const rpc = yield* Service29;
56
- const project = yield* Service74;
52
+ const location = yield* Service79;
53
+ const permission = yield* Service65;
54
+ const forms = yield* Service77;
55
+ const rpc = yield* Service19;
56
+ const project = yield* Service80;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -72,18 +72,18 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
72
72
  yield* forms.close;
73
73
  yield* rpc.close;
74
74
  yield* bus.publish(LocationEvent.Shutdown, {}, {
75
- location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
75
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service18.of({
78
+ return Service16.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node20 = makeLocationNode({
84
- service: Service18,
83
+ var node18 = makeLocationNode({
84
+ service: Service16,
85
85
  layer,
86
- deps: [node87, node77, node70, node78, node82, node32]
86
+ deps: [node87, node83, node69, node84, node81, node22]
87
87
  });
88
88
 
89
- export { Service18, node20, exports_location_lifecycle };
89
+ export { Service16, node18, exports_location_lifecycle };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID15 = Session.ID;
5
- var Info24 = Session.Info;
4
+ var ID11 = Session.ID;
5
+ var Info20 = Session.Info;
6
6
 
7
- export { ID15, Info24, SessionSchema2 };
7
+ export { ID11, Info20, SessionSchema2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make16,
10
- render: () => render3
9
+ make: () => make15,
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make16(tools) {
33
- return render3(system_default, tools);
32
+ function make15(tools) {
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make16, render3, exports_system_prompt };
50
+ export { make15, render2, exports_system_prompt };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./repository-emrn6kk6.js";
4
+ } from "./persistent-pty-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
5
  node85
6
- } from "./repository-r44petzp.js";
6
+ } from "./persistent-pty-hafepx0m.js";
7
7
  import {
8
- Service73,
9
- node77
10
- } from "./repository-748da515.js";
8
+ Service79,
9
+ node83
10
+ } from "./persistent-pty-29wpv0c5.js";
11
11
  import {
12
12
  create3
13
- } from "./repository-rdw6cm16.js";
13
+ } from "./persistent-pty-rdw6cm16.js";
14
14
  import {
15
15
  make13
16
- } from "./repository-p558d1j2.js";
16
+ } from "./persistent-pty-26ye3vwj.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-9rqn6x4v.js";
19
+ } from "./persistent-pty-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service27,
24
+ Service: () => Service22,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node30
26
+ node: () => node25
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service27 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service22 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service27, Effect.gen(function* () {
37
- const location = yield* Service73;
36
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
37
+ const location = yield* Service79;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make13;
40
40
  const state = create3({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service27.of({ ...state, directory: location.directory });
58
+ return Service22.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node30 = makeLocationNode({
61
- service: Service27,
60
+ var node25 = makeLocationNode({
61
+ service: Service22,
62
62
  layer,
63
- deps: [node77, Global.node, node85, FSUtil.node]
63
+ deps: [node83, Global.node, node85, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service27, node30, exports_strategies };
66
+ export { Service22, node25, exports_strategies };