@opencode/core 0.0.0-dev-20316 → 0.0.0-dev-20318

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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/{project-ve8aas4y.js → pty-03c3mj7d.js} +10 -10
  8. package/dist/chunks/{project-3fvrem5n.js → pty-0ezaj5b7.js} +28 -28
  9. package/dist/chunks/{project-607q5haz.js → pty-0gggs5ty.js} +12 -12
  10. package/dist/chunks/{project-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{project-gq19827e.js → pty-0rabspjk.js} +1 -1
  12. package/dist/chunks/{project-2v338a3n.js → pty-0s0y88vc.js} +17 -17
  13. package/dist/chunks/{project-ed2m8rt6.js → pty-11wds091.js} +22 -22
  14. package/dist/chunks/{project-dnaw0pkd.js → pty-14436fm0.js} +6 -6
  15. package/dist/chunks/{project-1acjjqhc.js → pty-1acjjqhc.js} +1 -1
  16. package/dist/chunks/{project-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{project-3c9vxe8z.js → pty-1fgh79gw.js} +18 -18
  18. package/dist/chunks/{project-vf98g9bw.js → pty-1q1npaf2.js} +35 -35
  19. package/dist/chunks/{project-atrcd26x.js → pty-1s35068b.js} +20 -20
  20. package/dist/chunks/{project-b6vdck89.js → pty-1wxgmaf2.js} +51 -51
  21. package/dist/chunks/{project-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  22. package/dist/chunks/{project-21r38tys.js → pty-21r38tys.js} +1 -1
  23. package/dist/chunks/{project-k6yq57aq.js → pty-256nx13v.js} +3 -3
  24. package/dist/chunks/{project-f3zdv7ej.js → pty-2917nqpv.js} +29 -29
  25. package/dist/chunks/{project-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{project-7gfsvgty.js → pty-2gk02e42.js} +9 -9
  27. package/dist/chunks/{project-16s6chgv.js → pty-2h7nr2dq.js} +7 -7
  28. package/dist/chunks/{project-2xwkyk0m.js → pty-2hg7qvzt.js} +5 -5
  29. package/dist/chunks/{project-7pcrhvh4.js → pty-2pkxka52.js} +10 -10
  30. package/dist/chunks/{project-b227wj0j.js → pty-2yxfa91q.js} +4 -4
  31. package/dist/chunks/{project-n5g5f6a9.js → pty-30t862yp.js} +29 -29
  32. package/dist/chunks/{project-bneggmm6.js → pty-3155ewe9.js} +5 -5
  33. package/dist/chunks/{project-tvyg9cvp.js → pty-325f4v0d.js} +6 -6
  34. package/dist/chunks/{project-s2fyaqj8.js → pty-3500r4jn.js} +12 -12
  35. package/dist/chunks/{project-5ejns0m0.js → pty-357ynq7f.js} +4 -4
  36. package/dist/chunks/{project-37s12vcn.js → pty-3cfzdc8e.js} +5 -5
  37. package/dist/chunks/{project-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{project-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{project-06nv7jxy.js → pty-3m46hkaz.js} +2 -2
  40. package/dist/chunks/{project-d4fbvmpv.js → pty-3q71xbme.js} +8 -8
  41. package/dist/chunks/{project-x2y9dr9x.js → pty-3qg3nnba.js} +15 -15
  42. package/dist/chunks/{project-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{project-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{project-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{project-98eksqsr.js → pty-4e8hyveh.js} +8 -8
  46. package/dist/chunks/{project-wcqyh1ts.js → pty-4qyq7ysy.js} +9 -9
  47. package/dist/chunks/{project-57ez7d0k.js → pty-4sn99hha.js} +7 -7
  48. package/dist/chunks/{project-g190xswt.js → pty-50mzsvk4.js} +4 -4
  49. package/dist/chunks/{project-54ma36ye.js → pty-54ma36ye.js} +1 -1
  50. package/dist/chunks/{project-was7srj9.js → pty-56m60q16.js} +8 -8
  51. package/dist/chunks/{project-c5bjafsp.js → pty-5c3sm4vt.js} +22 -22
  52. package/dist/chunks/{project-b7t4d0bx.js → pty-5cnqx41v.js} +6 -6
  53. package/dist/chunks/{project-5daktx2q.js → pty-5daktx2q.js} +1 -1
  54. package/dist/chunks/{project-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{project-xbk7y0ps.js → pty-634gzr1f.js} +22 -22
  56. package/dist/chunks/{project-7dnkkhh4.js → pty-6567567a.js} +16 -16
  57. package/dist/chunks/{project-669tq793.js → pty-669tq793.js} +1 -1
  58. package/dist/chunks/{project-128pgwnk.js → pty-6etjtjrs.js} +31 -31
  59. package/dist/chunks/{project-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  60. package/dist/chunks/{project-2jpf0fvd.js → pty-6nkj5wpf.js} +61 -61
  61. package/dist/chunks/{project-df7trzx9.js → pty-6swcvh2w.js} +21 -21
  62. package/dist/chunks/{project-25cs5cen.js → pty-703jyx7f.js} +8 -8
  63. package/dist/chunks/{project-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
  64. package/dist/chunks/{project-8496rxe5.js → pty-78jke5fa.js} +32 -32
  65. package/dist/chunks/{project-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{project-65ptgm6v.js → pty-7ffjd9nn.js} +13 -13
  67. package/dist/chunks/{project-7gaega4f.js → pty-7nejhbzv.js} +9 -9
  68. package/dist/chunks/{project-6k23k7vx.js → pty-7ptzzj42.js} +48 -48
  69. package/dist/chunks/{project-0x3qcm03.js → pty-7rq54f71.js} +23 -23
  70. package/dist/chunks/{project-rfj00t6s.js → pty-7tjpr1wg.js} +21 -21
  71. package/dist/chunks/{project-hnmy0hsy.js → pty-83rrd27w.js} +51 -51
  72. package/dist/chunks/{project-89znhe33.js → pty-89znhe33.js} +1 -1
  73. package/dist/chunks/{project-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{project-a1by8739.js → pty-8g5e2f0w.js} +22 -22
  75. package/dist/chunks/{project-hn43hy9v.js → pty-8kvav1mw.js} +9 -9
  76. package/dist/chunks/{project-m6f3t844.js → pty-8paq7gnc.js} +8 -8
  77. package/dist/chunks/{project-5yv68qc1.js → pty-8pqaysd2.js} +15 -15
  78. package/dist/chunks/{project-q19fen1v.js → pty-8zm4zhyk.js} +28 -28
  79. package/dist/chunks/{project-e2qcx340.js → pty-90evrgjx.js} +12 -12
  80. package/dist/chunks/{project-94ek1h2f.js → pty-94ek1h2f.js} +2 -2
  81. package/dist/chunks/{project-9herab98.js → pty-94h3pznz.js} +36 -36
  82. package/dist/chunks/{project-n9brwhfv.js → pty-9cev0hxa.js} +11 -11
  83. package/dist/chunks/{project-tr8mceaa.js → pty-9n2j9wwa.js} +19 -19
  84. package/dist/chunks/{project-8f78v9qy.js → pty-9qbzbnrx.js} +3 -3
  85. package/dist/chunks/{project-q03xkger.js → pty-9v1cvbjh.js} +13 -13
  86. package/dist/chunks/{project-1hskrfnt.js → pty-a2wz46gb.js} +24 -24
  87. package/dist/chunks/{project-knevfgda.js → pty-a3c7ahw6.js} +4 -4
  88. package/dist/chunks/{project-e0t5n6h4.js → pty-a8mz3dzk.js} +28 -28
  89. package/dist/chunks/{project-xzb2kbk8.js → pty-a91670k2.js} +24 -24
  90. package/dist/chunks/{project-aaet6srn.js → pty-aaet6srn.js} +2 -2
  91. package/dist/chunks/{project-e049drp9.js → pty-aay1zk17.js} +9 -9
  92. package/dist/chunks/{project-b9ycemf2.js → pty-af4h48h1.js} +11 -11
  93. package/dist/chunks/{project-8ezkp1w1.js → pty-am3jb77f.js} +24 -24
  94. package/dist/chunks/{project-ffmtnmcc.js → pty-aqgw5bb6.js} +30 -30
  95. package/dist/chunks/{project-96n2ccqs.js → pty-b3sw95b3.js} +5 -5
  96. package/dist/chunks/{project-6wg8zrc8.js → pty-b4tr3200.js} +21 -21
  97. package/dist/chunks/{project-b18wbhdm.js → pty-b596zvfn.js} +9 -9
  98. package/dist/chunks/{project-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{project-14wgfyw1.js → pty-beycjfkd.js} +33 -33
  100. package/dist/chunks/{project-e6hmchc5.js → pty-bgxcxs0p.js} +5 -5
  101. package/dist/chunks/{project-563x647v.js → pty-bjj3a5nq.js} +15 -15
  102. package/dist/chunks/{project-q9jkegzq.js → pty-bwdamcq2.js} +37 -37
  103. package/dist/chunks/{project-swk1efsm.js → pty-c58ks3y1.js} +10 -10
  104. package/dist/chunks/{project-c765mh8b.js → pty-c765mh8b.js} +2 -2
  105. package/dist/chunks/{project-8fqdsx23.js → pty-ccjxb5pr.js} +178 -178
  106. package/dist/chunks/{project-w2236gjw.js → pty-cddhxtfh.js} +17 -17
  107. package/dist/chunks/{project-9cw7v7t0.js → pty-cfct8xv3.js} +5 -5
  108. package/dist/chunks/{project-ckecvw8r.js → pty-ckecvw8r.js} +2 -2
  109. package/dist/chunks/{project-qaqjyhfq.js → pty-cn17vkgn.js} +16 -16
  110. package/dist/chunks/{project-qhvf56dz.js → pty-d0rt25wb.js} +9 -9
  111. package/dist/chunks/{project-41wzkj33.js → pty-d8gmv99d.js} +17 -17
  112. package/dist/chunks/{project-6zsmm6dr.js → pty-d9n03hwg.js} +43 -43
  113. package/dist/chunks/{project-j8f5yte4.js → pty-dbgdcep4.js} +18 -18
  114. package/dist/chunks/{project-vf87633e.js → pty-dcey28wr.js} +23 -23
  115. package/dist/chunks/{project-17y0377r.js → pty-dcfrr12t.js} +35 -35
  116. package/dist/chunks/{project-wpeqwd3m.js → pty-de077sac.js} +11 -11
  117. package/dist/chunks/{project-xb50yt4b.js → pty-de52ckkz.js} +4 -4
  118. package/dist/chunks/{project-zf1fk0v2.js → pty-dmv2xfrr.js} +11 -11
  119. package/dist/chunks/{project-kjkxz51n.js → pty-dvyvddm3.js} +19 -19
  120. package/dist/chunks/{project-9rybd2zw.js → pty-e0j2qvqa.js} +23 -23
  121. package/dist/chunks/{project-h8hwphbd.js → pty-e1717p4y.js} +22 -22
  122. package/dist/chunks/{project-far2xf0m.js → pty-e3dkwfpd.js} +4 -4
  123. package/dist/chunks/{project-mksgfzgs.js → pty-e6qckmx8.js} +8 -8
  124. package/dist/chunks/{project-atjyqtyt.js → pty-ebb8qs7w.js} +6 -6
  125. package/dist/chunks/{project-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
  126. package/dist/chunks/{project-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{project-v89ca3yf.js → pty-eg7p5t05.js} +5 -5
  128. package/dist/chunks/{project-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{project-2mzfjhd5.js → pty-etqm6ew7.js} +27 -27
  130. package/dist/chunks/{project-y0mc46pw.js → pty-f0ftzx98.js} +9 -9
  131. package/dist/chunks/{project-zc89qxvr.js → pty-f50z3byn.js} +18 -18
  132. package/dist/chunks/{project-axs6pdy0.js → pty-f62qkzqr.js} +5 -5
  133. package/dist/chunks/{project-s825grcd.js → pty-fk7hsds5.js} +45 -45
  134. package/dist/chunks/{project-2vfwjvt0.js → pty-fme3prkd.js} +5 -5
  135. package/dist/chunks/{project-ptf9bkze.js → pty-frj0gj8n.js} +9 -9
  136. package/dist/chunks/{project-e63gg9ae.js → pty-fvpy227v.js} +23 -23
  137. package/dist/chunks/{project-t41mts01.js → pty-fz1xeq2j.js} +9 -9
  138. package/dist/chunks/{project-cebq52h3.js → pty-g3ede0c3.js} +29 -29
  139. package/dist/chunks/{project-4n26wkx8.js → pty-g8nt03wg.js} +4 -4
  140. package/dist/chunks/{project-nykjhsrz.js → pty-g9me8x3m.js} +56 -56
  141. package/dist/chunks/{project-s8d7rejh.js → pty-gbt6w4kb.js} +8 -8
  142. package/dist/chunks/{project-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{project-erkqxs4v.js → pty-gdfekrc1.js} +19 -19
  144. package/dist/chunks/{project-4mwpykj0.js → pty-ghk9cxjs.js} +6 -6
  145. package/dist/chunks/{project-2wnd0vm8.js → pty-gj4kh9zb.js} +20 -20
  146. package/dist/chunks/{project-czg9x4h8.js → pty-gr4v7nh8.js} +11 -11
  147. package/dist/chunks/{project-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{project-4tzsdqn7.js → pty-h1gr63pp.js} +40 -40
  149. package/dist/chunks/{project-zfgkzra5.js → pty-h6n6beer.js} +20 -20
  150. package/dist/chunks/{project-ew3ps6bh.js → pty-h6v00njn.js} +8 -8
  151. package/dist/chunks/{project-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{project-bn399aes.js → pty-hc3jgfyg.js} +34 -34
  153. package/dist/chunks/{project-3ff3e122.js → pty-hcgr32kr.js} +13 -13
  154. package/dist/chunks/{project-hd8vw2pw.js → pty-hekxc47r.js} +1 -1
  155. package/dist/chunks/pty-hm972mn6.js +252 -0
  156. package/dist/chunks/{project-gq3bt1cd.js → pty-hydq9jhc.js} +22 -22
  157. package/dist/chunks/{project-j56e64zr.js → pty-j56e64zr.js} +1 -1
  158. package/dist/chunks/{project-09w06n2q.js → pty-jfna3bad.js} +10 -10
  159. package/dist/chunks/{project-hz5p8n7r.js → pty-jhn6cv3t.js} +17 -17
  160. package/dist/chunks/{project-x176zp1b.js → pty-jkgp4bya.js} +22 -22
  161. package/dist/chunks/{project-624xt6we.js → pty-jm72s75x.js} +22 -22
  162. package/dist/chunks/{project-dpkg50ah.js → pty-jwcy2c2z.js} +4 -4
  163. package/dist/chunks/{project-py3kkmfq.js → pty-jws6fkes.js} +8 -8
  164. package/dist/chunks/{project-6pwz9vdm.js → pty-k2ypctgb.js} +15 -15
  165. package/dist/chunks/{project-1t90kb9x.js → pty-k6wc7sjx.js} +26 -26
  166. package/dist/chunks/{project-gyjy55vd.js → pty-k80936kv.js} +3 -3
  167. package/dist/chunks/{project-wnkxv0q5.js → pty-kc0rwcmg.js} +34 -34
  168. package/dist/chunks/{project-5xpznt2d.js → pty-kdvzk119.js} +4 -4
  169. package/dist/chunks/{project-2tr1k1b8.js → pty-kpbhz432.js} +10 -10
  170. package/dist/chunks/{project-ncpnxt6w.js → pty-ks3rvccb.js} +15 -15
  171. package/dist/chunks/{project-75mzgwkf.js → pty-ksnxxryk.js} +31 -31
  172. package/dist/chunks/{project-tv78pmrq.js → pty-ktbx0pdv.js} +32 -32
  173. package/dist/chunks/{project-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{project-2e8hs3n1.js → pty-m79451vn.js} +17 -17
  175. package/dist/chunks/{project-wqc6684y.js → pty-m7va1g8x.js} +2 -2
  176. package/dist/chunks/{project-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{project-fjvydvzm.js → pty-m9wy7qrr.js} +6 -6
  178. package/dist/chunks/pty-mbgj3mnw.js +26 -0
  179. package/dist/chunks/{project-sk2hk6tq.js → pty-mkw5hrks.js} +9 -9
  180. package/dist/chunks/{project-benezg7w.js → pty-mqckkp0h.js} +10 -10
  181. package/dist/chunks/{project-3jq7hafk.js → pty-mysz3zax.js} +38 -38
  182. package/dist/chunks/{project-d6dqh9nb.js → pty-n0eq19s0.js} +4 -4
  183. package/dist/chunks/{project-0vfkfsvf.js → pty-n485pk79.js} +3 -3
  184. package/dist/chunks/{project-v2gj3r6j.js → pty-ne6nw42t.js} +23 -23
  185. package/dist/chunks/{project-tzxknpb8.js → pty-nf278a5w.js} +11 -11
  186. package/dist/chunks/{project-a1jns5ne.js → pty-nv3zfv5m.js} +19 -19
  187. package/dist/chunks/{project-3k28x0rq.js → pty-nxavjaqk.js} +7 -7
  188. package/dist/chunks/{project-c8j29rkk.js → pty-nxtr8th6.js} +11 -11
  189. package/dist/chunks/{project-k3c624dm.js → pty-nzks3jc8.js} +3 -3
  190. package/dist/chunks/{project-fzp769bc.js → pty-p482tycy.js} +22 -22
  191. package/dist/chunks/{project-83nh47t2.js → pty-p6sw6t37.js} +13 -13
  192. package/dist/chunks/{project-4j4tgtq5.js → pty-p6wxjpka.js} +4 -4
  193. package/dist/chunks/{project-460prvfa.js → pty-p7atxmve.js} +36 -36
  194. package/dist/chunks/{project-cmwkp3r5.js → pty-pa8pe2x7.js} +8 -8
  195. package/dist/chunks/{project-pv66basf.js → pty-pbfch3ec.js} +11 -11
  196. package/dist/chunks/{project-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{project-pknna89w.js → pty-pknna89w.js} +1 -1
  198. package/dist/chunks/{project-w893fnt1.js → pty-pkpxeptk.js} +88 -88
  199. package/dist/chunks/{project-00z3vp5f.js → pty-pmr4s4kc.js} +4 -4
  200. package/dist/chunks/{project-jjs74g98.js → pty-pnv527nz.js} +9 -9
  201. package/dist/chunks/{project-wyjk5hfb.js → pty-ppzfs3bq.js} +3 -3
  202. package/dist/chunks/{project-3e15rq0w.js → pty-pr3nsq2d.js} +26 -26
  203. package/dist/chunks/{project-3x2h1jqq.js → pty-pzv6qmsd.js} +12 -12
  204. package/dist/chunks/{project-c874zv42.js → pty-q7jg25mm.js} +11 -11
  205. package/dist/chunks/{project-gt50eczq.js → pty-qbdw2qyr.js} +11 -11
  206. package/dist/chunks/{project-1xweqgb1.js → pty-qca4j8wz.js} +20 -20
  207. package/dist/chunks/{project-pm3a7hnh.js → pty-qf5fgtzs.js} +41 -41
  208. package/dist/chunks/{project-qgn6gcr1.js → pty-qgn6gcr1.js} +1 -1
  209. package/dist/chunks/{project-pfnjx98c.js → pty-qgsvmkm8.js} +20 -20
  210. package/dist/chunks/{project-xfkkasph.js → pty-qqeeq2t9.js} +7 -7
  211. package/dist/chunks/{project-qsdy395h.js → pty-qsdy395h.js} +1 -1
  212. package/dist/chunks/{project-9qkx95r0.js → pty-r2cvksq4.js} +19 -19
  213. package/dist/chunks/{project-884bfwk0.js → pty-raaksh1t.js} +3 -3
  214. package/dist/chunks/{project-7w0y71jc.js → pty-rbrht0p3.js} +8 -8
  215. package/dist/chunks/{project-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{project-cqg8v4c7.js → pty-rph3zd4r.js} +6 -6
  217. package/dist/chunks/{project-mk2wn6nt.js → pty-rzmjh6v0.js} +40 -40
  218. package/dist/chunks/{project-3sg0jw0d.js → pty-s3tjp3s7.js} +28 -28
  219. package/dist/chunks/{project-048xc26x.js → pty-s41e7rcq.js} +52 -52
  220. package/dist/chunks/{project-h15qk984.js → pty-s4jk5hcs.js} +320 -320
  221. package/dist/chunks/{project-enmvcg2s.js → pty-sbqctm1g.js} +5 -5
  222. package/dist/chunks/{project-0z5seett.js → pty-skhecnb2.js} +16 -16
  223. package/dist/chunks/{project-7kjckr2c.js → pty-srzvg8rp.js} +3 -3
  224. package/dist/chunks/{project-5beq9rmc.js → pty-ss0rzm77.js} +18 -18
  225. package/dist/chunks/{project-32jw649k.js → pty-t5bcrkja.js} +16 -16
  226. package/dist/chunks/{project-fdv30zvt.js → pty-t6vsspdg.js} +4 -4
  227. package/dist/chunks/{project-6w454pee.js → pty-t7vrx9w9.js} +12 -12
  228. package/dist/chunks/{project-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{project-vhs061t7.js → pty-tcvdrfa5.js} +12 -12
  230. package/dist/chunks/{project-tdstcens.js → pty-tdstcens.js} +1 -1
  231. package/dist/chunks/{project-nm4b89zg.js → pty-th2fx4nm.js} +25 -25
  232. package/dist/chunks/{project-9qvr998c.js → pty-thzndzdk.js} +11 -11
  233. package/dist/chunks/{project-tvtrv512.js → pty-tvtrv512.js} +1 -1
  234. package/dist/chunks/{project-n3csagb3.js → pty-tw4fgwkc.js} +33 -33
  235. package/dist/chunks/{project-zcrspsvn.js → pty-tz4n1mmd.js} +4 -4
  236. package/dist/chunks/{project-339h4057.js → pty-v09f5ftj.js} +5 -5
  237. package/dist/chunks/{project-9stnwpgq.js → pty-v76zgedn.js} +10 -10
  238. package/dist/chunks/{project-nm0q2jgj.js → pty-v979hmqb.js} +24 -24
  239. package/dist/chunks/{project-qbqbaz6q.js → pty-vbfgae2j.js} +4 -4
  240. package/dist/chunks/{project-veqvce7d.js → pty-veqvce7d.js} +1 -1
  241. package/dist/chunks/{project-azzr0vhd.js → pty-vet0644j.js} +13 -13
  242. package/dist/chunks/pty-vnkjks7b.js +18 -0
  243. package/dist/chunks/{project-045baswh.js → pty-vtgv0bzx.js} +15 -15
  244. package/dist/chunks/{project-2n37e6w7.js → pty-vwf8v7dm.js} +3 -3
  245. package/dist/chunks/{project-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{project-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{project-84txncab.js → pty-w1eejvng.js} +5 -5
  248. package/dist/chunks/{project-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{project-8p2pmgw9.js → pty-w41k9e71.js} +33 -33
  250. package/dist/chunks/{project-nmbqr5ec.js → pty-w4c76nsq.js} +35 -35
  251. package/dist/chunks/{project-7kb53k34.js → pty-w9n84znz.js} +8 -8
  252. package/dist/chunks/{project-wd3x2cqz.js → pty-wd3x2cqz.js} +2 -2
  253. package/dist/chunks/{project-wd87259q.js → pty-wd87259q.js} +1 -1
  254. package/dist/chunks/{project-7v99a3s2.js → pty-wxxqj8y2.js} +44 -44
  255. package/dist/chunks/{project-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{project-yfc128y6.js → pty-x4r0j41c.js} +8 -8
  257. package/dist/chunks/{project-cwv7yqrw.js → pty-x5f3h710.js} +35 -35
  258. package/dist/chunks/{project-dnxkq42g.js → pty-x661k3y3.js} +4 -4
  259. package/dist/chunks/{project-1c29hv3p.js → pty-xbzg2b7z.js} +5 -5
  260. package/dist/chunks/{project-j50a6jve.js → pty-xk0yttex.js} +11 -11
  261. package/dist/chunks/{project-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{project-jdtykp26.js → pty-xpa1x964.js} +87 -87
  263. package/dist/chunks/{project-kfewz56y.js → pty-xpc77ah9.js} +22 -22
  264. package/dist/chunks/{project-b9krrcn2.js → pty-xr4gjzhd.js} +27 -27
  265. package/dist/chunks/{project-7pr2hkwv.js → pty-xvp1j2dc.js} +5 -5
  266. package/dist/chunks/{project-619t0cxh.js → pty-xwrmeaqy.js} +35 -35
  267. package/dist/chunks/{project-1n2pc2hr.js → pty-xx8yj516.js} +15 -15
  268. package/dist/chunks/{project-d3fj698k.js → pty-xz46ks89.js} +5 -5
  269. package/dist/chunks/{project-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{project-j26sntzs.js → pty-y2ab8x41.js} +12 -12
  271. package/dist/chunks/{project-w6zk8pbt.js → pty-y38ja4bc.js} +6 -6
  272. package/dist/chunks/{project-818pfwc9.js → pty-y3q03scc.js} +8 -8
  273. package/dist/chunks/{project-8wvrh9f5.js → pty-ygx1qhaf.js} +1 -1
  274. package/dist/chunks/{project-r14vm1xa.js → pty-yhmyzjvr.js} +21 -21
  275. package/dist/chunks/{project-n7kq7syy.js → pty-ymjd80ya.js} +11 -11
  276. package/dist/chunks/{project-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{project-yrznvahk.js → pty-yrznvahk.js} +2 -2
  278. package/dist/chunks/{project-s8zy8myc.js → pty-yt0fqk68.js} +5 -5
  279. package/dist/chunks/{project-0xezjjjn.js → pty-yw8t9dwe.js} +8 -8
  280. package/dist/chunks/{project-z07pqspn.js → pty-z07pqspn.js} +3 -3
  281. package/dist/chunks/{project-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{project-z63w68vq.js → pty-z63w68vq.js} +2 -2
  283. package/dist/chunks/{project-dryza082.js → pty-zdfh86pt.js} +22 -22
  284. package/dist/chunks/{project-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{project-3by8z3q7.js → pty-zet84qb7.js} +31 -31
  286. package/dist/chunks/{project-8fq5ayth.js → pty-zf1kfpxj.js} +8 -8
  287. package/dist/chunks/{project-s04yvqe9.js → pty-zm0694m6.js} +44 -44
  288. package/dist/chunks/{project-403m2ss4.js → pty-zpkx8m7q.js} +9 -9
  289. package/dist/chunks/{project-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{project-6a8xraeq.js → pty-zr38cwz4.js} +13 -13
  291. package/dist/chunks/{project-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{project-dbggsdn6.js → pty-zzh5t8zs.js} +17 -17
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  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 +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  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 +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  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 +123 -123
  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 +122 -122
  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 +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +372 -372
  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 +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +99 -99
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +104 -104
  432. package/dist/form.js +86 -86
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  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 +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  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 +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +127 -127
  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 +102 -102
  484. package/dist/models-dev.js +101 -101
  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 +111 -111
  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 +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  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/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +129 -129
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +124 -124
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +230 -230
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +151 -151
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +221 -221
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +215 -215
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +108 -108
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +87 -87
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/project-0adt99ty.js +0 -252
  701. package/dist/chunks/project-619r8v3y.js +0 -18
  702. package/dist/chunks/project-8nxkrca3.js +0 -26
  703. /package/dist/chunks/{project-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{project-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{project-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{project-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{project-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{project-24dcb14g.js → pty-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{project-2710q6r3.js → pty-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{project-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{project-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{project-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{project-359p4xyc.js → pty-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{project-3asan66x.js → pty-3asan66x.js} +0 -0
  715. /package/dist/chunks/{project-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{project-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{project-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{project-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{project-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{project-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{project-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{project-53557ph1.js → pty-53557ph1.js} +0 -0
  723. /package/dist/chunks/{project-550bvhaj.js → pty-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{project-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{project-6prwharc.js → pty-6prwharc.js} +0 -0
  726. /package/dist/chunks/{project-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{project-7m9af43g.js → pty-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{project-822emrt2.js → pty-822emrt2.js} +0 -0
  729. /package/dist/chunks/{project-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{project-8n3pysct.js → pty-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{project-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{project-922hggd3.js → pty-922hggd3.js} +0 -0
  733. /package/dist/chunks/{project-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{project-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{project-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{project-af5trqkr.js → pty-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{project-afrmfg78.js → pty-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{project-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{project-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{project-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{project-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{project-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{project-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{project-d9fn303g.js → pty-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{project-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{project-dajrwvna.js → pty-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{project-dap0rakb.js → pty-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{project-df08tz66.js → pty-df08tz66.js} +0 -0
  749. /package/dist/chunks/{project-dy18nga0.js → pty-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{project-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{project-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{project-ec1grn59.js → pty-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{project-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{project-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{project-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{project-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{project-faypxj3z.js → pty-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{project-fd410y7t.js → pty-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{project-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{project-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{project-g86h250q.js → pty-g86h250q.js} +0 -0
  762. /package/dist/chunks/{project-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{project-gftt206x.js → pty-gftt206x.js} +0 -0
  764. /package/dist/chunks/{project-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{project-hk9envan.js → pty-hk9envan.js} +0 -0
  766. /package/dist/chunks/{project-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{project-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{project-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{project-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{project-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{project-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{project-mp448xyj.js → pty-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{project-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{project-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{project-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{project-njntx4h6.js → pty-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{project-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{project-q74kybfr.js → pty-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{project-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{project-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{project-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{project-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{project-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{project-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{project-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{project-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{project-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{project-w803qqfp.js → pty-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{project-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{project-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{project-wtztk69x.js → pty-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{project-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{project-x61499pn.js → pty-x61499pn.js} +0 -0
  794. /package/dist/chunks/{project-y44na4kk.js → pty-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{project-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{project-y8f7s663.js → pty-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{project-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{project-ym463w8f.js → pty-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{project-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./project-vhs061t7.js";
2
+ Service81,
3
+ node85
4
+ } from "./pty-tcvdrfa5.js";
5
5
  import {
6
- Key4,
7
- Service79,
8
- node83
9
- } from "./project-8p2pmgw9.js";
6
+ Key3,
7
+ Service63,
8
+ node66
9
+ } from "./pty-w41k9e71.js";
10
10
  import {
11
11
  create3
12
- } from "./project-rdw6cm16.js";
12
+ } from "./pty-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./project-dnxkq42g.js";
15
+ } from "./pty-x661k3y3.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./project-cebq52h3.js";
19
+ } from "./pty-g3ede0c3.js";
20
20
  import {
21
21
  __export
22
- } from "./project-9rqn6x4v.js";
22
+ } from "./pty-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event18,
38
- ID: () => ID14,
39
- Info: () => Info28,
37
+ Event: () => Event14,
38
+ ID: () => ID9,
39
+ Info: () => Info22,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service77,
47
- node: () => node81
46
+ Service: () => Service61,
47
+ node: () => node64
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event18 } from "@opencode/schema/integration";
70
- var ID14 = Integration.ID;
69
+ import { Event as Event14 } from "@opencode/schema/integration";
70
+ var ID9 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info28 = Integration.Info;
78
+ var Info22 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID14,
101
+ integrationID: ID9,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service77 extends Context.Service()("@opencode/Integration") {
107
+ class Service61 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service77, Effect.gen(function* () {
113
- const credentials = yield* Service79;
114
- const bus = yield* Service83;
112
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
113
+ const credentials = yield* Service63;
114
+ const bus = yield* Service81;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
117
117
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info28.make({
210
+ const project = (entry, connections) => Info22.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
294
294
  const persistence = yield* createCredential({
295
295
  integrationID: attempt.integrationID,
296
296
  label: attempt.label,
297
- value: Key4.make({ type: "key", key: exit.value })
297
+ value: Key3.make({ type: "key", key: exit.value })
298
298
  }).pipe(Effect.asVoid, Effect.exit);
299
299
  const settledAt = yield* Clock.currentTimeMillis;
300
300
  const terminal = Exit.isSuccess(persistence) ? {
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service77.of({
443
+ return Service61.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
462
462
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
463
463
  if (connection.type === "env") {
464
464
  const key = process.env[connection.name];
465
- return key ? Key4.make({ type: "key", key }) : undefined;
465
+ return key ? Key3.make({ type: "key", key }) : undefined;
466
466
  }
467
467
  const credential = yield* credentials.get(connection.id);
468
468
  if (!credential)
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
495
495
  yield* createCredential({
496
496
  integrationID: input.integrationID,
497
497
  label: input.label,
498
- value: Key4.make({
498
+ value: Key3.make({
499
499
  type: "key",
500
500
  key: input.key,
501
501
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node81 = makeLocationNode({
603
- service: Service77,
602
+ var node64 = makeLocationNode({
603
+ service: Service61,
604
604
  layer,
605
- deps: [node83, node87, AppProcess.node]
605
+ deps: [node66, node85, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
608
+ export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service61, node64, exports_integration, Event14 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service41,
9
+ Service: () => Service35,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service41 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service35 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service41, exports_runner };
18
+ export { DrainResult2, Service35, exports_runner };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./project-8wvrh9f5.js";
5
+ } from "./pty-ygx1qhaf.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make22,
9
+ make23,
10
10
  makeWithDefaults2
11
- } from "./project-dnaw0pkd.js";
11
+ } from "./pty-14436fm0.js";
12
12
  import {
13
13
  __export
14
- } from "./project-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make22,
25
+ make: () => make23,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID12
3
- } from "./project-nmbqr5ec.js";
2
+ ID7
3
+ } from "./pty-w4c76nsq.js";
4
4
  import {
5
- Service49
6
- } from "./project-s04yvqe9.js";
5
+ Service50
6
+ } from "./pty-zm0694m6.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./project-atjyqtyt.js";
9
+ } from "./pty-ebb8qs7w.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service49;
29
+ const config = yield* Service50;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID12.make(item.id);
56
+ model.modelID = ID7.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make7();
115
+ var VLLMPlugin2 = make5();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make7, VLLMPlugin2 };
137
+ export { make5, VLLMPlugin2 };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service78
3
- } from "./project-cebq52h3.js";
2
+ Service62
3
+ } from "./pty-g3ede0c3.js";
4
4
  import {
5
- Service66
6
- } from "./project-b6vdck89.js";
5
+ Service68
6
+ } from "./pty-1wxgmaf2.js";
7
7
  import {
8
8
  ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service21
14
- } from "./project-c5bjafsp.js";
13
+ Service42
14
+ } from "./pty-5c3sm4vt.js";
15
15
  import {
16
16
  __export
17
- } from "./project-9rqn6x4v.js";
17
+ } from "./pty-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch2 = {};
21
21
  __export(exports_websearch2, {
22
- Input: () => Input12,
22
+ Input: () => Input9,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin33,
24
+ Plugin: () => Plugin45,
25
25
  WebSearchTool: () => exports_websearch2,
26
- description: () => description5,
27
- name: () => name12
26
+ description: () => description4,
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name12 = "websearch";
32
+ var name9 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input12 = Schema.Struct({
42
+ var Input9 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin33 = {
49
+ var Plugin45 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service66;
53
- const forms = yield* Service78;
54
- const websearch = yield* Service21;
52
+ const permission = yield* Service68;
53
+ const forms = yield* Service62;
54
+ const websearch = yield* Service42;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name12,
56
+ name: name9,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input12,
58
+ description: description4,
59
+ input: Input9,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name12,
63
+ action: name9,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name12];
179
+ delete event.tools[name9];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name12, NO_RESULTS2, description5, Input12, Plugin33, exports_websearch2 };
187
+ export { name9, NO_RESULTS2, description4, Input9, Plugin45, exports_websearch2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin49,
9
+ Plugin: () => Plugin10,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin49 = define({
25
+ var Plugin10 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin49 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin49, exports_identity };
38
+ export { identity2, Plugin10, exports_identity };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./project-ym463w8f.js";
3
+ } from "./pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service73,
3
- node77
4
- } from "./project-7v99a3s2.js";
2
+ Service46,
3
+ node49
4
+ } from "./pty-wxxqj8y2.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./project-k6yq57aq.js";
7
+ } from "./pty-256nx13v.js";
8
8
  import {
9
9
  __export
10
- } from "./project-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service44,
17
+ Service: () => Service37,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node46,
19
+ node: () => node40,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service44 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service37 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service44, Effect.gen(function* () {
58
- const resolver = yield* Service73;
59
- return Service44.of({
57
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
58
+ const resolver = yield* Service46;
59
+ return Service37.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node46 = makeLocationNode({ service: Service44, layer, deps: [node77] });
77
+ var node40 = makeLocationNode({ service: Service37, layer, deps: [node49] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service44, resolved2, node46, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service37, resolved2, node40, exports_model };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./pty-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service22,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service22 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service22.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service22, awaitActivation2, exports_service };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83
3
- } from "./project-vhs061t7.js";
2
+ Service81
3
+ } from "./pty-tcvdrfa5.js";
4
4
  import {
5
5
  key2
6
- } from "./project-dnxkq42g.js";
6
+ } from "./pty-x661k3y3.js";
7
7
  import {
8
- Event20
9
- } from "./project-8p2pmgw9.js";
8
+ Event16
9
+ } from "./pty-w41k9e71.js";
10
10
  import {
11
- ID14
12
- } from "./project-n3csagb3.js";
11
+ ID9
12
+ } from "./pty-tw4fgwkc.js";
13
13
  import {
14
- ID13,
15
- Service76
16
- } from "./project-vf98g9bw.js";
14
+ ID8,
15
+ Service60
16
+ } from "./pty-1q1npaf2.js";
17
17
  import {
18
18
  load2,
19
19
  derive2
20
- } from "./project-s2fyaqj8.js";
20
+ } from "./pty-3500r4jn.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID8.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service76;
30
- const bus = yield* Service83;
29
+ const providers = yield* Service60;
30
+ const bus = yield* Service81;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./project-vf98g9bw.js";
2
+ ID8
3
+ } from "./pty-1q1npaf2.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID13.make(id);
27
+ const providerID = ID8.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./project-hjbc5kem.js";
3
+ } from "./pty-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse4,
16
+ parse: () => parse5,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse4(input) {
42
+ function parse5(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse4(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse4(input);
75
+ const reference = parse5(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./project-emrn6kk6.js";
4
+ } from "./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";