@opencode/core 0.0.0-dev-20264 → 0.0.0-dev-20268

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +73 -73
  7. package/dist/chunks/{workspace-a0we4caf.js → pty-02kyjrrf.js} +19 -19
  8. package/dist/chunks/{workspace-yqny3wzb.js → pty-08jzjes0.js} +14 -14
  9. package/dist/chunks/{workspace-hbrrph54.js → pty-0bgm2scx.js} +6 -6
  10. package/dist/chunks/{workspace-thb2qt97.js → pty-0dax1ved.js} +10 -10
  11. package/dist/chunks/{workspace-msn9b09r.js → pty-0g3691s2.js} +3 -3
  12. package/dist/chunks/{workspace-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{workspace-d1khqved.js → pty-0r7yqxbf.js} +5 -5
  14. package/dist/chunks/{workspace-byg8ehtd.js → pty-0tdmjwb2.js} +8 -8
  15. package/dist/chunks/{workspace-adcnt4rv.js → pty-13jpn9qf.js} +22 -22
  16. package/dist/chunks/{workspace-qnszwk7c.js → pty-1a6dfp6a.js} +29 -29
  17. package/dist/chunks/{workspace-8f89cdk6.js → pty-1bb8svhn.js} +2 -2
  18. package/dist/chunks/{workspace-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{workspace-amvk3m0k.js → pty-1fa79a5x.js} +17 -17
  20. package/dist/chunks/{workspace-7ed7xqaw.js → pty-1hkz1vbe.js} +43 -43
  21. package/dist/chunks/{workspace-jnt7j0mw.js → pty-1htqca44.js} +24 -24
  22. package/dist/chunks/{workspace-a8d65xm0.js → pty-1k60at64.js} +18 -18
  23. package/dist/chunks/{workspace-1dh04bw7.js → pty-1nmamnpy.js} +11 -11
  24. package/dist/chunks/{workspace-anm4ebge.js → pty-1ts3bv9c.js} +5 -5
  25. package/dist/chunks/{workspace-bv2494fp.js → pty-1wjdvt08.js} +11 -11
  26. package/dist/chunks/{workspace-0esv0v2f.js → pty-1xr69c2t.js} +18 -18
  27. package/dist/chunks/{workspace-j5rxtxht.js → pty-1y283654.js} +4 -4
  28. package/dist/chunks/{workspace-hhbksee2.js → pty-1zqvwrvt.js} +1 -1
  29. package/dist/chunks/{workspace-21r38tys.js → pty-21r38tys.js} +1 -1
  30. package/dist/chunks/{workspace-yy4mhxfw.js → pty-24mw9w70.js} +45 -45
  31. package/dist/chunks/{workspace-n7d88tpn.js → pty-256nx13v.js} +3 -3
  32. package/dist/chunks/{workspace-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{workspace-tn3cms9e.js → pty-2afcb8r8.js} +3 -3
  34. package/dist/chunks/{workspace-asn2fj91.js → pty-2carkhwg.js} +29 -29
  35. package/dist/chunks/{workspace-qkpn2zhg.js → pty-2d8cdpea.js} +11 -11
  36. package/dist/chunks/{workspace-2qp6y8xf.js → pty-2f0bjgcj.js} +5 -5
  37. package/dist/chunks/{workspace-hxtm6n0v.js → pty-2h35z0wh.js} +5 -5
  38. package/dist/chunks/{workspace-05h3ajhe.js → pty-2hj0m5wb.js} +32 -32
  39. package/dist/chunks/{workspace-7dqw4kz8.js → pty-2k8khapm.js} +5 -5
  40. package/dist/chunks/{workspace-dpgqf81p.js → pty-2kmckccx.js} +6 -6
  41. package/dist/chunks/{workspace-fyy579se.js → pty-2rpgwtpn.js} +15 -15
  42. package/dist/chunks/{workspace-yh17q2z3.js → pty-2xz8gpqm.js} +17 -17
  43. package/dist/chunks/{workspace-tj8wya5m.js → pty-34e05b1q.js} +43 -43
  44. package/dist/chunks/{workspace-21cvqpf2.js → pty-380y1y2g.js} +5 -5
  45. package/dist/chunks/{workspace-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{workspace-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{workspace-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{workspace-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{workspace-zma5ph91.js → pty-3x346wy7.js} +7 -7
  50. package/dist/chunks/{workspace-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{workspace-2wzn9pgf.js → pty-49d2x1ay.js} +9 -9
  52. package/dist/chunks/{workspace-h6r3nrb9.js → pty-4dgbcxzg.js} +4 -4
  53. package/dist/chunks/{workspace-6gnkbb9f.js → pty-4mznkh6v.js} +13 -13
  54. package/dist/chunks/{workspace-fvs88h35.js → pty-4p83bz2m.js} +14 -14
  55. package/dist/chunks/{workspace-57ez7d0k.js → pty-4sn99hha.js} +7 -7
  56. package/dist/chunks/{workspace-zj25y3vw.js → pty-4x8rwf1z.js} +10 -10
  57. package/dist/chunks/{workspace-7r1am2av.js → pty-4xm1nyz8.js} +26 -26
  58. package/dist/chunks/{workspace-armm5zzb.js → pty-502jrry9.js} +35 -35
  59. package/dist/chunks/pty-54ma36ye.js +13 -0
  60. package/dist/chunks/{workspace-mfqp6xfm.js → pty-56gdpj1q.js} +6 -6
  61. package/dist/chunks/{workspace-b7h5w75k.js → pty-5crqxzqh.js} +22 -22
  62. package/dist/chunks/{workspace-5daktx2q.js → pty-5daktx2q.js} +1 -1
  63. package/dist/chunks/{workspace-7txctfqm.js → pty-5dhb501x.js} +29 -29
  64. package/dist/chunks/{workspace-mcn8xyhc.js → pty-5hzwz31f.js} +31 -31
  65. package/dist/chunks/{workspace-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  66. package/dist/chunks/{workspace-xxndcd6m.js → pty-5qwkxp89.js} +4 -4
  67. package/dist/chunks/{workspace-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{workspace-p8tghp2z.js → pty-5tcqb85s.js} +4 -4
  69. package/dist/chunks/{workspace-3eh8hbe0.js → pty-5xxdmyws.js} +23 -23
  70. package/dist/chunks/{workspace-4ks2jedg.js → pty-5zpkgqsx.js} +15 -15
  71. package/dist/chunks/{workspace-yf10kn3d.js → pty-63j7grd1.js} +7 -7
  72. package/dist/chunks/{workspace-669tq793.js → pty-669tq793.js} +1 -1
  73. package/dist/chunks/{workspace-35agz59w.js → pty-6ersrjne.js} +6 -6
  74. package/dist/chunks/{workspace-9nvvrd04.js → pty-6h7g19nv.js} +5 -5
  75. package/dist/chunks/{workspace-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{workspace-33embpqp.js → pty-6qthb5g6.js} +38 -38
  77. package/dist/chunks/{workspace-k47d8epf.js → pty-6sjv1yn4.js} +17 -17
  78. package/dist/chunks/{workspace-sz4m7fdc.js → pty-6zxr1haw.js} +14 -14
  79. package/dist/chunks/{workspace-jcw0exzd.js → pty-73eaq82f.js} +46 -46
  80. package/dist/chunks/{workspace-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
  81. package/dist/chunks/{workspace-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{workspace-9v9gaw3z.js → pty-7cgsffzd.js} +25 -25
  83. package/dist/chunks/{workspace-3j2ten6t.js → pty-7g8jrxe6.js} +13 -13
  84. package/dist/chunks/{workspace-fy5ggzyd.js → pty-7jxp6c8r.js} +4 -4
  85. package/dist/chunks/{workspace-tt1jn7yq.js → pty-7nf46ayk.js} +28 -22
  86. package/dist/chunks/{workspace-ggb9jc81.js → pty-7pgzc71a.js} +22 -22
  87. package/dist/chunks/{workspace-y90bxx1r.js → pty-7tcwyjc5.js} +23 -23
  88. package/dist/chunks/{workspace-acp7khxw.js → pty-818pfwc9.js} +11 -11
  89. package/dist/chunks/{workspace-84txncab.js → pty-84txncab.js} +1 -1
  90. package/dist/chunks/{workspace-2xz11qcd.js → pty-86bgrgvg.js} +11 -11
  91. package/dist/chunks/{workspace-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{workspace-pqm1rhk2.js → pty-8kkrevze.js} +12 -12
  93. package/dist/chunks/{workspace-vy4ycdfn.js → pty-8v3yzv2h.js} +9 -9
  94. package/dist/chunks/{workspace-47n05jd8.js → pty-8vw6f0y9.js} +8 -8
  95. package/dist/chunks/{workspace-g5agzp2h.js → pty-8zh4h089.js} +5 -5
  96. package/dist/chunks/{workspace-gfvb90ym.js → pty-94ek1h2f.js} +2 -2
  97. package/dist/chunks/{workspace-0jq9fyba.js → pty-9c5ctaw2.js} +9 -9
  98. package/dist/chunks/{workspace-se38fxxv.js → pty-9cgpdx50.js} +35 -35
  99. package/dist/chunks/{workspace-pjpskrfk.js → pty-9hk91h5t.js} +4 -4
  100. package/dist/chunks/{workspace-svzm8hw8.js → pty-9pe3kqxd.js} +10 -10
  101. package/dist/chunks/{workspace-d99a0xzw.js → pty-9q688fhg.js} +20 -20
  102. package/dist/chunks/{workspace-rjn9akkc.js → pty-9r1kpfzv.js} +22 -22
  103. package/dist/chunks/{workspace-3tzv1h6v.js → pty-9xbw9ht5.js} +23 -23
  104. package/dist/chunks/{workspace-904hh5b8.js → pty-a0d1xb7f.js} +25 -26
  105. package/dist/chunks/{workspace-qb8mnfmj.js → pty-a8zzg8q6.js} +36 -36
  106. package/dist/chunks/{workspace-aaet6srn.js → pty-aaet6srn.js} +2 -2
  107. package/dist/chunks/{workspace-q0r4yfw6.js → pty-amsmzym1.js} +11 -11
  108. package/dist/chunks/{workspace-zyvaghy6.js → pty-atgg4bc2.js} +7 -7
  109. package/dist/chunks/{workspace-ytgexr68.js → pty-axjgxag5.js} +18 -18
  110. package/dist/chunks/{workspace-r8j5hrnp.js → pty-b25kyxm0.js} +13 -13
  111. package/dist/chunks/pty-b5ngr1ky.js +252 -0
  112. package/dist/chunks/{workspace-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{workspace-07h32jh0.js → pty-ba85j57v.js} +12 -12
  114. package/dist/chunks/{workspace-pbwbcs2p.js → pty-bb3ggaws.js} +18 -18
  115. package/dist/chunks/{workspace-n6hrp3vy.js → pty-bcx8t3jh.js} +30 -30
  116. package/dist/chunks/{workspace-mdgk69cg.js → pty-be2e2rmc.js} +89 -89
  117. package/dist/chunks/{workspace-52fpbh6z.js → pty-bh0zzf2s.js} +8 -8
  118. package/dist/chunks/{workspace-stp04w3x.js → pty-bn3y9jg9.js} +10 -10
  119. package/dist/chunks/{workspace-qq8x5mwt.js → pty-bscb95cy.js} +6 -6
  120. package/dist/chunks/{workspace-n8dykrk6.js → pty-bw9zjykr.js} +6 -6
  121. package/dist/chunks/{workspace-p49brwaq.js → pty-bxg1h86k.js} +37 -37
  122. package/dist/chunks/{workspace-zvfpjs5v.js → pty-bz150c0w.js} +35 -35
  123. package/dist/chunks/{workspace-2y3fx3w1.js → pty-bzsja1m4.js} +15 -15
  124. package/dist/chunks/{workspace-54tcyq79.js → pty-ckecvw8r.js} +2 -2
  125. package/dist/chunks/{workspace-e895wtaf.js → pty-cnn51gq9.js} +8 -8
  126. package/dist/chunks/{workspace-2c70nd61.js → pty-czj2jzje.js} +21 -21
  127. package/dist/chunks/{workspace-6hr9dd4j.js → pty-cztxt40h.js} +24 -24
  128. package/dist/chunks/{workspace-wzpx768g.js → pty-d1x2vcvb.js} +5 -5
  129. package/dist/chunks/{workspace-qey0t35a.js → pty-da3t3c1a.js} +29 -29
  130. package/dist/chunks/{workspace-z0t8fm4a.js → pty-dcq5f67f.js} +54 -54
  131. package/dist/chunks/{workspace-xsgk3b13.js → pty-dda0p7y7.js} +9 -9
  132. package/dist/chunks/{workspace-an7cqtb7.js → pty-dfe8djrf.js} +4 -4
  133. package/dist/chunks/{workspace-djszqvmq.js → pty-djszqvmq.js} +2 -2
  134. package/dist/chunks/{workspace-dmqcgk4z.js → pty-dmqcgk4z.js} +2 -2
  135. package/dist/chunks/{workspace-eb1przc2.js → pty-ds1793d3.js} +4 -4
  136. package/dist/chunks/{workspace-y0sfaewn.js → pty-dtk78y7z.js} +9 -9
  137. package/dist/chunks/{workspace-3qgk2cp1.js → pty-dweqnfec.js} +16 -16
  138. package/dist/chunks/{workspace-b3k69wk1.js → pty-dzm75127.js} +27 -27
  139. package/dist/chunks/{workspace-qax1zhmv.js → pty-e098c5nd.js} +11 -11
  140. package/dist/chunks/{workspace-zb7dvrzd.js → pty-e1ttr1vf.js} +3 -3
  141. package/dist/chunks/{workspace-rt0e5hny.js → pty-e2e3ejy6.js} +6 -6
  142. package/dist/chunks/{workspace-b6k2g2aw.js → pty-e3d33s46.js} +10 -10
  143. package/dist/chunks/pty-e6qpbzva.js +65 -0
  144. package/dist/chunks/{workspace-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
  145. package/dist/chunks/{workspace-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{workspace-6139trde.js → pty-ejnjzycc.js} +3 -3
  147. package/dist/chunks/{workspace-cjwramev.js → pty-esjfm2jj.js} +8 -8
  148. package/dist/chunks/{workspace-vfjhn2wd.js → pty-espax8zg.js} +4 -4
  149. package/dist/chunks/{workspace-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{workspace-55ka69d6.js → pty-ey798p8x.js} +23 -23
  151. package/dist/chunks/{workspace-4z58m4b4.js → pty-f29mbr7f.js} +4 -4
  152. package/dist/chunks/pty-f81tjggh.js +18 -0
  153. package/dist/chunks/{workspace-pvp4hp30.js → pty-fqc83w48.js} +26 -26
  154. package/dist/chunks/{workspace-mm7e9znx.js → pty-fyr884dn.js} +22 -22
  155. package/dist/chunks/{workspace-kk00bynn.js → pty-g190xswt.js} +21 -21
  156. package/dist/chunks/{workspace-tc4qg87r.js → pty-g2yqr101.js} +40 -40
  157. package/dist/chunks/{workspace-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{workspace-e1rm96se.js → pty-gkkx8aj6.js} +321 -321
  159. package/dist/chunks/{workspace-a4xwz2dd.js → pty-gr2zgnkv.js} +8 -8
  160. package/dist/chunks/{workspace-ch4t865s.js → pty-gv66gg0x.js} +5 -5
  161. package/dist/chunks/{workspace-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{workspace-e1gm7gnr.js → pty-gzeebjq4.js} +7 -7
  163. package/dist/chunks/{workspace-gafkvcrz.js → pty-h0vkjtgq.js} +9 -9
  164. package/dist/chunks/{workspace-xrgwyj2y.js → pty-h1ccr47d.js} +9 -9
  165. package/dist/chunks/{workspace-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{workspace-fct3jm02.js → pty-h8k7e6cy.js} +23 -23
  167. package/dist/chunks/{workspace-vsvh96pm.js → pty-hcspxn5n.js} +33 -33
  168. package/dist/chunks/{workspace-dn4q5z5h.js → pty-hm56a3s4.js} +16 -16
  169. package/dist/chunks/{workspace-n4j0bwm2.js → pty-hme2pbyj.js} +11 -11
  170. package/dist/chunks/{workspace-j56e64zr.js → pty-j56e64zr.js} +1 -1
  171. package/dist/chunks/{workspace-2gczsa3d.js → pty-j96vhws7.js} +11 -11
  172. package/dist/chunks/{workspace-362cfxp2.js → pty-ja83vbyg.js} +48 -48
  173. package/dist/chunks/{workspace-qn3pj8t7.js → pty-jcng7cb1.js} +13 -13
  174. package/dist/chunks/{workspace-h22xjybc.js → pty-jkg30kz0.js} +12 -12
  175. package/dist/chunks/{workspace-y04bkcxp.js → pty-jpqmydm4.js} +28 -28
  176. package/dist/chunks/{workspace-z1gdfwgp.js → pty-jw7hkzk6.js} +5 -5
  177. package/dist/chunks/{workspace-y71avatq.js → pty-jwcy2c2z.js} +4 -4
  178. package/dist/chunks/{workspace-vb67tcvd.js → pty-jx2ev558.js} +11 -11
  179. package/dist/chunks/{workspace-rsc9fyh1.js → pty-jxnddvck.js} +8 -8
  180. package/dist/chunks/{workspace-4rjj1nnn.js → pty-k0af0wc4.js} +22 -22
  181. package/dist/chunks/{workspace-k3c624dm.js → pty-k3c624dm.js} +3 -3
  182. package/dist/chunks/{workspace-jwr1tq60.js → pty-kcpkb08r.js} +10 -10
  183. package/dist/chunks/{workspace-khp6e3r9.js → pty-kcrpm209.js} +36 -33
  184. package/dist/chunks/{workspace-891558g8.js → pty-khw8rk4h.js} +88 -88
  185. package/dist/chunks/{workspace-s56z6xwq.js → pty-kjhxpvza.js} +25 -25
  186. package/dist/chunks/{workspace-yq6v8tcv.js → pty-krmxyf0d.js} +25 -25
  187. package/dist/chunks/{workspace-tv5yn0qk.js → pty-kv8zkh1g.js} +26 -26
  188. package/dist/chunks/{workspace-s5r3t8tv.js → pty-kwq0bhn5.js} +3 -3
  189. package/dist/chunks/{workspace-g1p3ax05.js → pty-kwv0ec6e.js} +9 -4
  190. package/dist/chunks/{workspace-bey1rn81.js → pty-m0afwaej.js} +15 -15
  191. package/dist/chunks/{workspace-19vyxm7g.js → pty-m2nqxzae.js} +16 -16
  192. package/dist/chunks/{workspace-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  193. package/dist/chunks/{workspace-kbegyq1c.js → pty-m7va1g8x.js} +2 -2
  194. package/dist/chunks/{workspace-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{workspace-5j4za14s.js → pty-mfb84nzt.js} +28 -28
  196. package/dist/chunks/{workspace-6sksgwqs.js → pty-mfz952mq.js} +11 -11
  197. package/dist/chunks/{workspace-vrpz8t5t.js → pty-mjagy123.js} +5 -5
  198. package/dist/chunks/{workspace-k5fkyrge.js → pty-mmnw2dm8.js} +21 -21
  199. package/dist/chunks/{workspace-784hb5j4.js → pty-mvksx64m.js} +4 -4
  200. package/dist/chunks/{workspace-wkb5v2dq.js → pty-mwjfjsx4.js} +20 -20
  201. package/dist/chunks/{workspace-6ywc98p8.js → pty-n33g3f6z.js} +16 -16
  202. package/dist/chunks/{workspace-xdjq0qq8.js → pty-nrp9mwhy.js} +5 -5
  203. package/dist/chunks/{workspace-5amwhyk8.js → pty-ns15zm60.js} +6 -6
  204. package/dist/chunks/{workspace-b5dzbz8y.js → pty-p0hymv7m.js} +9 -9
  205. package/dist/chunks/{workspace-3gy2gz1p.js → pty-p2zp5k1h.js} +27 -27
  206. package/dist/chunks/{workspace-t0w6xk4d.js → pty-pe348q3c.js} +38 -38
  207. package/dist/chunks/{workspace-809q4hne.js → pty-pecb0brz.js} +5 -5
  208. package/dist/chunks/{workspace-g0445xdp.js → pty-phstrbs2.js} +8 -8
  209. package/dist/chunks/{workspace-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{workspace-pknna89w.js → pty-pknna89w.js} +1 -1
  211. package/dist/chunks/{workspace-j3s2z371.js → pty-pnv527nz.js} +9 -9
  212. package/dist/chunks/{workspace-x22dcc52.js → pty-ppxmacq5.js} +6 -6
  213. package/dist/chunks/{workspace-q8cd557v.js → pty-pt4qm015.js} +9 -9
  214. package/dist/chunks/{workspace-qv8pqxg3.js → pty-pxwtvwnd.js} +1 -1
  215. package/dist/chunks/{workspace-6pc27hjz.js → pty-py3kkmfq.js} +6 -6
  216. package/dist/chunks/{workspace-aqya6993.js → pty-q1fsfhde.js} +43 -43
  217. package/dist/chunks/{workspace-tmqzzmrr.js → pty-qc833vcy.js} +27 -27
  218. package/dist/chunks/{workspace-qcy9t0vc.js → pty-qk6jy71g.js} +13 -13
  219. package/dist/chunks/{workspace-6184ykyn.js → pty-qkvbc3b4.js} +33 -33
  220. package/dist/chunks/{workspace-t82t8sqa.js → pty-qn6wy31b.js} +32 -32
  221. package/dist/chunks/{workspace-qsdy395h.js → pty-qsdy395h.js} +1 -1
  222. package/dist/chunks/{workspace-pn3cc07s.js → pty-qwjmgwmn.js} +8 -8
  223. package/dist/chunks/{workspace-j6g7bvva.js → pty-qxyg3cpe.js} +24 -24
  224. package/dist/chunks/{workspace-dj5tf2vm.js → pty-r1fjzajf.js} +32 -32
  225. package/dist/chunks/{workspace-80wndp0v.js → pty-r554yfq4.js} +11 -11
  226. package/dist/chunks/{workspace-hs64b4t9.js → pty-r6yz2jv0.js} +14 -14
  227. package/dist/chunks/{workspace-yp2x3t23.js → pty-r8xr0va3.js} +4 -4
  228. package/dist/chunks/{workspace-nwyx06m3.js → pty-raaksh1t.js} +7 -7
  229. package/dist/chunks/{workspace-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{workspace-t550f9t1.js → pty-rhjbct0v.js} +4 -4
  231. package/dist/chunks/{workspace-3556dn8t.js → pty-rk1r2hx8.js} +1 -1
  232. package/dist/chunks/{workspace-stdrmdv2.js → pty-rn906758.js} +17 -17
  233. package/dist/chunks/{workspace-vafrjbqb.js → pty-ry74srx0.js} +10 -10
  234. package/dist/chunks/{workspace-dfy8jncq.js → pty-s2fe5yee.js} +15 -15
  235. package/dist/chunks/{workspace-s6td23qz.js → pty-s5ezmp18.js} +3 -3
  236. package/dist/chunks/{workspace-90t43mk5.js → pty-sn2139ra.js} +46 -46
  237. package/dist/chunks/{workspace-63djj9ck.js → pty-sngffazn.js} +15 -15
  238. package/dist/chunks/{workspace-sz2735r6.js → pty-snv4mqbq.js} +50 -50
  239. package/dist/chunks/{workspace-2pcwh8hd.js → pty-sp3tb7eb.js} +35 -32
  240. package/dist/chunks/{workspace-7vpk705g.js → pty-sz559pvg.js} +22 -22
  241. package/dist/chunks/{workspace-j31eqrn6.js → pty-t4sx140a.js} +24 -24
  242. package/dist/chunks/{workspace-nxc1gwm5.js → pty-t5er0ca3.js} +13 -13
  243. package/dist/chunks/{workspace-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{workspace-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{workspace-tdstcens.js → pty-tdstcens.js} +1 -1
  246. package/dist/chunks/{workspace-2n58yfcg.js → pty-tjt041fv.js} +11 -11
  247. package/dist/chunks/{workspace-tvtrv512.js → pty-tvtrv512.js} +1 -1
  248. package/dist/chunks/{workspace-56j9mr8z.js → pty-v1q5vzy1.js} +30 -30
  249. package/dist/chunks/{workspace-fm2qvscf.js → pty-v5dkyp31.js} +4 -4
  250. package/dist/chunks/{workspace-veqvce7d.js → pty-veqvce7d.js} +1 -1
  251. package/dist/chunks/{workspace-9q1aa7mh.js → pty-vt3tdkn6.js} +180 -180
  252. package/dist/chunks/{workspace-xqmnnsfj.js → pty-vvwye2nj.js} +12 -12
  253. package/dist/chunks/{workspace-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{workspace-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{workspace-kxhy6ymf.js → pty-w0fatpdm.js} +11 -11
  256. package/dist/chunks/{workspace-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{workspace-5063wg77.js → pty-w4yf5md3.js} +6 -6
  258. package/dist/chunks/{workspace-9rhprmrd.js → pty-w5tae9vr.js} +5 -5
  259. package/dist/chunks/{workspace-b83f2vrv.js → pty-w8qg93vv.js} +3 -3
  260. package/dist/chunks/{workspace-psazpmmj.js → pty-wd3x2cqz.js} +2 -2
  261. package/dist/chunks/{workspace-wd87259q.js → pty-wd87259q.js} +1 -1
  262. package/dist/chunks/{workspace-tfebfy6e.js → pty-wdm89pze.js} +26 -26
  263. package/dist/chunks/pty-x0tv82ed.js +26 -0
  264. package/dist/chunks/{workspace-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{workspace-5zga58qv.js → pty-x1nmkajp.js} +19 -19
  266. package/dist/chunks/{workspace-8dz0wm0f.js → pty-x6mcsa6z.js} +12 -12
  267. package/dist/chunks/{workspace-2cxrmyms.js → pty-xb8h79t6.js} +22 -22
  268. package/dist/chunks/{workspace-drwq78ky.js → pty-xfkkasph.js} +4 -4
  269. package/dist/chunks/{workspace-z8fpy401.js → pty-xrdbxh55.js} +8 -8
  270. package/dist/chunks/{workspace-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{workspace-kr37grpa.js → pty-ya6d4wsg.js} +12 -12
  272. package/dist/chunks/{workspace-dhnj6tay.js → pty-yacpk8s2.js} +43 -43
  273. package/dist/chunks/{workspace-pe0sy5kw.js → pty-yc98vja2.js} +71 -71
  274. package/dist/chunks/{workspace-0fg9afnv.js → pty-yfyxqpka.js} +19 -19
  275. package/dist/chunks/{workspace-jrg8ysyy.js → pty-yjjnrnmm.js} +11 -11
  276. package/dist/chunks/{workspace-qvk2gm1h.js → pty-ykm8y97q.js} +44 -44
  277. package/dist/chunks/{workspace-vy4zg7qh.js → pty-yn0sp2c9.js} +12 -12
  278. package/dist/chunks/{workspace-e2g9a36b.js → pty-ypfpty4j.js} +21 -21
  279. package/dist/chunks/{workspace-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{workspace-s4enseaf.js → pty-yrznvahk.js} +2 -2
  281. package/dist/chunks/{workspace-4p2g859r.js → pty-yswe8ex8.js} +23 -23
  282. package/dist/chunks/{workspace-yq14pbr7.js → pty-yt3hy1g9.js} +5 -5
  283. package/dist/chunks/{workspace-bxqvavhm.js → pty-ytpc42gn.js} +50 -50
  284. package/dist/chunks/{workspace-bjtzbw4r.js → pty-z07pqspn.js} +3 -3
  285. package/dist/chunks/{workspace-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{workspace-29x78va6.js → pty-z63w68vq.js} +6 -6
  287. package/dist/chunks/{workspace-y3b884q5.js → pty-z6wkpgve.js} +23 -23
  288. package/dist/chunks/{workspace-ttqh24zm.js → pty-zee1rnkq.js} +4 -4
  289. package/dist/chunks/{workspace-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{workspace-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{workspace-68wemvkx.js → pty-zv28qa6p.js} +32 -32
  292. package/dist/chunks/{workspace-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +3 -3
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -212
  303. package/dist/config/plugin/compaction.js +161 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +81 -81
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -370
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +228 -227
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -361
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +84 -84
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -358
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +3 -3
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +106 -106
  477. package/dist/mcp/instructions.js +124 -124
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +98 -98
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +109 -109
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +99 -99
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +334 -333
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -94
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +120 -120
  527. package/dist/plugin/provider/openai.js +95 -94
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -161
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +353 -352
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +5 -5
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +6 -6
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +230 -229
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +88 -88
  564. package/dist/provider.js +97 -97
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +95 -95
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +8 -0
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +129 -128
  579. package/dist/session/context.js +153 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +225 -224
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +154 -153
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +84 -84
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -210
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +157 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +221 -220
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +217 -216
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +121 -121
  648. package/dist/tool/plugin/shell.js +218 -217
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +220 -219
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/types/instructions/builtins.d.ts +1 -2
  659. package/dist/types/session/affinity.d.ts +4 -0
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +82 -82
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +7 -7
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/workspace-31yf23ch.js +0 -63
  702. package/dist/chunks/workspace-9zdhvgqs.js +0 -18
  703. package/dist/chunks/workspace-fdjdfwsh.js +0 -252
  704. package/dist/chunks/workspace-k32qtvdn.js +0 -26
  705. /package/dist/chunks/{workspace-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{workspace-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{workspace-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{workspace-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{workspace-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{workspace-24dcb14g.js → pty-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{workspace-2710q6r3.js → pty-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{workspace-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{workspace-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{workspace-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{workspace-359p4xyc.js → pty-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{workspace-3asan66x.js → pty-3asan66x.js} +0 -0
  717. /package/dist/chunks/{workspace-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{workspace-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{workspace-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{workspace-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{workspace-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{workspace-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{workspace-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{workspace-53557ph1.js → pty-53557ph1.js} +0 -0
  725. /package/dist/chunks/{workspace-550bvhaj.js → pty-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{workspace-6prwharc.js → pty-6prwharc.js} +0 -0
  727. /package/dist/chunks/{workspace-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{workspace-7m9af43g.js → pty-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{workspace-822emrt2.js → pty-822emrt2.js} +0 -0
  730. /package/dist/chunks/{workspace-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{workspace-8n3pysct.js → pty-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{workspace-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{workspace-922hggd3.js → pty-922hggd3.js} +0 -0
  734. /package/dist/chunks/{workspace-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{workspace-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{workspace-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{workspace-af5trqkr.js → pty-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{workspace-afrmfg78.js → pty-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{workspace-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{workspace-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{workspace-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{workspace-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{workspace-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{workspace-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{workspace-d9fn303g.js → pty-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{workspace-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{workspace-dajrwvna.js → pty-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{workspace-dap0rakb.js → pty-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{workspace-df08tz66.js → pty-df08tz66.js} +0 -0
  750. /package/dist/chunks/{workspace-dy18nga0.js → pty-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{workspace-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{workspace-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{workspace-ec1grn59.js → pty-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{workspace-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{workspace-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{workspace-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{workspace-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{workspace-faypxj3z.js → pty-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{workspace-fd410y7t.js → pty-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{workspace-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{workspace-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{workspace-g86h250q.js → pty-g86h250q.js} +0 -0
  763. /package/dist/chunks/{workspace-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{workspace-gftt206x.js → pty-gftt206x.js} +0 -0
  765. /package/dist/chunks/{workspace-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{workspace-hk9envan.js → pty-hk9envan.js} +0 -0
  767. /package/dist/chunks/{workspace-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{workspace-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{workspace-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{workspace-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{workspace-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{workspace-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{workspace-mp448xyj.js → pty-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{workspace-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{workspace-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{workspace-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{workspace-njntx4h6.js → pty-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{workspace-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{workspace-q74kybfr.js → pty-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{workspace-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{workspace-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{workspace-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{workspace-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{workspace-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{workspace-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{workspace-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{workspace-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{workspace-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{workspace-w803qqfp.js → pty-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{workspace-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{workspace-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{workspace-wtztk69x.js → pty-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{workspace-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{workspace-x61499pn.js → pty-x61499pn.js} +0 -0
  795. /package/dist/chunks/{workspace-y44na4kk.js → pty-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{workspace-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{workspace-y8f7s663.js → pty-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{workspace-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{workspace-ym463w8f.js → pty-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{workspace-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info25,
12
+ Info: () => Info10,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info25 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info25, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service11,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node13
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service11 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service5,
18
+ var node13 = makeLocationNode({
19
+ service: Service11,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service11, Service11.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node6, bound2, exports_instance2 };
32
+ export { Service11, node13, bound2, exports_instance2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./workspace-qfa1cgps.js";
3
+ } from "./pty-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service6,
11
+ Service: () => Service9,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node7
13
+ node: () => node11
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service6, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service6.of({
66
+ return Service9.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node7 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node11 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service6, node7, exports_discovery };
155
+ export { Service9, node11, exports_discovery };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./workspace-n4j0bwm2.js";
3
+ } from "./pty-hme2pbyj.js";
4
4
  import {
5
5
  call2
6
- } from "./workspace-mfqp6xfm.js";
6
+ } from "./pty-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin27,
14
+ Plugin: () => Plugin37,
15
15
  WebSearchParallel: () => exports_parallel,
16
16
  endpoint: () => endpoint5
17
17
  });
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin27 = define({
50
+ var Plugin37 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -93,4 +93,4 @@ var Plugin27 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint5, Plugin27, exports_parallel };
96
+ export { endpoint5, Plugin37, exports_parallel };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./workspace-tazgh4e4.js";
10
+ } from "./pty-tazgh4e4.js";
11
11
  import {
12
- Service80
13
- } from "./workspace-dn4q5z5h.js";
12
+ Service78
13
+ } from "./pty-hm56a3s4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./workspace-3tzv1h6v.js";
16
+ } from "./pty-9xbw9ht5.js";
17
17
  import {
18
18
  __export
19
- } from "./workspace-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin20,
24
+ Plugin: () => Plugin40,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin20 = define({
33
+ var Plugin40 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service80;
36
+ const location = yield* Service78;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin20, exports_hg };
191
+ export { Plugin40, exports_hg };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./workspace-8f89cdk6.js";
5
+ } from "./pty-1bb8svhn.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./workspace-drwq78ky.js";
3
+ } from "./pty-xfkkasph.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node86
7
- } from "./workspace-vy4zg7qh.js";
6
+ node84
7
+ } from "./pty-yn0sp2c9.js";
8
8
  import {
9
9
  Slug2
10
- } from "./workspace-gebd4c9n.js";
10
+ } from "./pty-gebd4c9n.js";
11
11
  import {
12
12
  Service84,
13
13
  node88
14
- } from "./workspace-s5r3t8tv.js";
14
+ } from "./pty-kwq0bhn5.js";
15
15
  import {
16
- Service83,
17
- node87
18
- } from "./workspace-pqm1rhk2.js";
16
+ Service81,
17
+ node85
18
+ } from "./pty-8kkrevze.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./workspace-psazpmmj.js";
21
+ } from "./pty-wd3x2cqz.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./workspace-gfvb90ym.js";
24
+ } from "./pty-94ek1h2f.js";
25
25
  import {
26
- ID17,
26
+ ID16,
27
27
  NotFoundError11
28
- } from "./workspace-33embpqp.js";
28
+ } from "./pty-6qthb5g6.js";
29
29
  import {
30
30
  Ref4
31
- } from "./workspace-dn4q5z5h.js";
31
+ } from "./pty-hm56a3s4.js";
32
32
  import {
33
- Service59,
34
- node61
35
- } from "./workspace-y0sfaewn.js";
33
+ Service70,
34
+ node74
35
+ } from "./pty-dtk78y7z.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./workspace-gv6a8nnw.js";
39
+ } from "./pty-gv6a8nnw.js";
40
40
  import {
41
- make15
42
- } from "./workspace-rsc9fyh1.js";
41
+ make12
42
+ } from "./pty-jxnddvck.js";
43
43
  import {
44
- Service38
45
- } from "./workspace-k5fkyrge.js";
44
+ Service28
45
+ } from "./pty-mmnw2dm8.js";
46
46
  import {
47
47
  __export
48
- } from "./workspace-9rqn6x4v.js";
48
+ } from "./pty-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
52
52
  __export(exports_worktree2, {
53
- CreateInput: () => CreateInput3,
53
+ CreateInput: () => CreateInput2,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event7,
57
- Info: () => Info5,
56
+ Event: () => Event6,
57
+ Info: () => Info4,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service37,
63
+ Service: () => Service27,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node40
68
+ node: () => node30
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -77,13 +77,13 @@ import { AppProcess } from "@opencode/util/process";
77
77
  import { ChildProcess } from "effect/unstable/process";
78
78
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
- var CreateInput3 = Worktree.CreateInput;
80
+ var CreateInput2 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info5 = Worktree.Info;
82
+ var Info4 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
86
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
86
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
87
87
  }
88
88
 
89
89
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event7 = Worktree.Event;
97
+ var Event6 = Worktree.Event;
98
98
 
99
- class Service37 extends Context.Service()("@opencode/Worktree") {
99
+ class Service27 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service37, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service84;
104
104
  const db = database.db;
105
- const bus = yield* Service83;
105
+ const bus = yield* Service81;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service59;
108
- const gitStrategy = yield* make15;
107
+ const locations = yield* Service70;
108
+ const gitStrategy = yield* make12;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service38).get();
123
+ return Context.get(context, Service28).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event7.Updated, { projectID });
127
+ yield* bus.publish(Event6.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service37.of({
254
+ return Service27.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node40 = Node.makeGlobalNode({
265
- service: Service37,
264
+ var node30 = Node.makeGlobalNode({
265
+ service: Service27,
266
266
  layer,
267
- deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node61]
267
+ deps: [FSUtil.node, node84, node85, node88, AppProcess.node, node74]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service37, node40, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service27, node30, exports_worktree2, OperationError2 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./workspace-pqm1rhk2.js";
2
+ Service81,
3
+ node85
4
+ } from "./pty-8kkrevze.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./workspace-84txncab.js";
11
+ } from "./pty-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./workspace-922hggd3.js";
14
+ } from "./pty-922hggd3.js";
15
15
  import {
16
- Service45,
17
- node48
18
- } from "./workspace-wkb5v2dq.js";
16
+ Service44,
17
+ node47
18
+ } from "./pty-mwjfjsx4.js";
19
19
  import {
20
20
  create3
21
- } from "./workspace-rdw6cm16.js";
21
+ } from "./pty-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./workspace-9rqn6x4v.js";
24
+ } from "./pty-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event8,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info6,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service44,
34
+ Service: () => Service42,
35
35
  Source: () => Source3,
36
- node: () => node47
36
+ node: () => node45
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event8 } from "@opencode/schema/reference";
42
+ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info7 = Reference.Info;
46
+ var Info6 = Reference.Info;
47
47
 
48
- class Service44 extends Context.Service()("@opencode/Reference") {
48
+ class Service42 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service44, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service83;
53
- const cache = yield* Service45;
52
+ const bus = yield* Service81;
53
+ const cache = yield* Service44;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
63
+ return [Info6.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info6.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service44.of({
107
+ return Service42.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node47 = makeLocationNode({
116
- service: Service44,
115
+ var node45 = makeLocationNode({
116
+ service: Service42,
117
117
  layer,
118
- deps: [Global.node, node87, node48]
118
+ deps: [Global.node, node85, node47]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service44, node47, exports_reference2, Event8 };
121
+ export { LocalSource2, GitSource2, Source3, Info6, Service42, node45, exports_reference2, Event7 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service83
3
- } from "./workspace-pqm1rhk2.js";
2
+ Service81
3
+ } from "./pty-8kkrevze.js";
4
4
  import {
5
- Service80
6
- } from "./workspace-dn4q5z5h.js";
5
+ Service78
6
+ } from "./pty-hm56a3s4.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service34
10
- } from "./workspace-bxqvavhm.js";
9
+ Service41
10
+ } from "./pty-ytpc42gn.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin29
19
+ Plugin: () => Plugin49
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin29 = define({
196
+ var Plugin49 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service80;
200
- const mcp = yield* Service34;
201
- const bus = yield* Service83;
199
+ const location = yield* Service78;
200
+ const mcp = yield* Service41;
201
+ const bus = yield* Service81;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin29, exports_command2 };
283
+ export { Plugin49, exports_command2 };