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

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 +83 -83
  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/{pty-256nx13v.js → command-08rawchj.js} +3 -3
  8. package/dist/chunks/{pty-aay1zk17.js → command-0bbg5mgz.js} +11 -11
  9. package/dist/chunks/{pty-0s0y88vc.js → command-0f00b5dx.js} +17 -17
  10. package/dist/chunks/{pty-dvyvddm3.js → command-0grgek18.js} +29 -29
  11. package/dist/chunks/{pty-ghk9cxjs.js → command-0hf9g8pg.js} +6 -6
  12. package/dist/chunks/{pty-3q71xbme.js → command-0jq7xanq.js} +8 -8
  13. package/dist/chunks/{pty-mkw5hrks.js → command-0jq9fyba.js} +9 -9
  14. package/dist/chunks/{pty-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{pty-k6wc7sjx.js → command-0tsnk9s4.js} +26 -26
  16. package/dist/chunks/{pty-m9wy7qrr.js → command-0z8vjex2.js} +9 -9
  17. package/dist/chunks/{pty-xx8yj516.js → command-12wyshmk.js} +15 -15
  18. package/dist/chunks/{pty-9v1cvbjh.js → command-133zd6pq.js} +13 -13
  19. package/dist/chunks/{pty-vwf8v7dm.js → command-173e3mya.js} +3 -3
  20. package/dist/chunks/{pty-tcvdrfa5.js → command-17zy7cfp.js} +12 -12
  21. package/dist/chunks/{pty-t6vsspdg.js → command-19vf66h0.js} +7 -7
  22. package/dist/chunks/{pty-2gk02e42.js → command-1a79m22w.js} +9 -9
  23. package/dist/chunks/{pty-1acjjqhc.js → command-1acjjqhc.js} +1 -1
  24. package/dist/chunks/{pty-de077sac.js → command-1awajp9d.js} +11 -11
  25. package/dist/chunks/{pty-73tb2d7t.js → command-1bbkgx8g.js} +3 -3
  26. package/dist/chunks/{pty-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{pty-pzv6qmsd.js → command-1g734vay.js} +16 -16
  28. package/dist/chunks/{pty-nv3zfv5m.js → command-1h6krnfg.js} +19 -19
  29. package/dist/chunks/{pty-30t862yp.js → command-1k3w44xe.js} +31 -31
  30. package/dist/chunks/{pty-jws6fkes.js → command-1p07q0wb.js} +6 -6
  31. package/dist/chunks/{pty-e3dkwfpd.js → command-1p8321re.js} +4 -4
  32. package/dist/chunks/{pty-kpbhz432.js → command-20g5pfhx.js} +10 -10
  33. package/dist/chunks/{pty-21r38tys.js → command-21r38tys.js} +1 -1
  34. package/dist/chunks/{pty-jkgp4bya.js → command-26wd49eb.js} +24 -24
  35. package/dist/chunks/{pty-z63w68vq.js → command-29x78va6.js} +6 -6
  36. package/dist/chunks/{pty-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{pty-7nejhbzv.js → command-2j34hmmc.js} +9 -9
  38. package/dist/chunks/{pty-e6qckmx8.js → command-2p8k3371.js} +8 -8
  39. package/dist/chunks/{pty-3cfzdc8e.js → command-2qp6y8xf.js} +5 -5
  40. package/dist/chunks/{pty-dbgdcep4.js → command-2r6ezsm1.js} +15 -15
  41. package/dist/chunks/{pty-90evrgjx.js → command-2ta6pfy2.js} +12 -12
  42. package/dist/chunks/{pty-2hg7qvzt.js → command-2vgzs72b.js} +5 -5
  43. package/dist/chunks/{pty-xwrmeaqy.js → command-32eqhqc9.js} +37 -37
  44. package/dist/chunks/{pty-mysz3zax.js → command-35zdg7pf.js} +38 -38
  45. package/dist/chunks/{pty-fvpy227v.js → command-36pz7r0j.js} +27 -27
  46. package/dist/chunks/{pty-f0ftzx98.js → command-3b9qt4hj.js} +9 -9
  47. package/dist/chunks/{pty-h6n6beer.js → command-3ce9fkjd.js} +20 -20
  48. package/dist/chunks/{pty-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{pty-7ffjd9nn.js → command-3h2pgdn1.js} +13 -13
  50. package/dist/chunks/{pty-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{pty-pa8pe2x7.js → command-3hfr6h8q.js} +6 -6
  52. package/dist/chunks/{pty-3155ewe9.js → command-3njz9hw1.js} +5 -5
  53. package/dist/chunks/{pty-pnv527nz.js → command-3pe7sts8.js} +9 -9
  54. package/dist/chunks/{pty-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{pty-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{pty-pr3nsq2d.js → command-3yrc8p0f.js} +32 -32
  57. package/dist/chunks/{pty-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  58. package/dist/chunks/{pty-s41e7rcq.js → command-407bfz6x.js} +54 -54
  59. package/dist/chunks/{pty-b4tr3200.js → command-41kk9vt4.js} +35 -35
  60. package/dist/chunks/{pty-de52ckkz.js → command-44pdqs77.js} +4 -4
  61. package/dist/chunks/{pty-703jyx7f.js → command-4c2df9zx.js} +8 -8
  62. package/dist/chunks/{pty-e0j2qvqa.js → command-4xb4td9x.js} +23 -23
  63. package/dist/chunks/{pty-7rq54f71.js → command-52tmng8s.js} +26 -26
  64. package/dist/chunks/{pty-54ma36ye.js → command-54ma36ye.js} +1 -1
  65. package/dist/chunks/{pty-ckecvw8r.js → command-54tcyq79.js} +2 -2
  66. package/dist/chunks/{pty-e1717p4y.js → command-55149hb6.js} +27 -27
  67. package/dist/chunks/{pty-srzvg8rp.js → command-55mw5dew.js} +3 -3
  68. package/dist/chunks/{pty-1ygqh575.js → command-56gdpj1q.js} +9 -9
  69. package/dist/chunks/{pty-qqeeq2t9.js → command-57b9ws8p.js} +4 -4
  70. package/dist/chunks/{pty-4sn99hha.js → command-57ez7d0k.js} +7 -7
  71. package/dist/chunks/{pty-5daktx2q.js → command-5daktx2q.js} +1 -1
  72. package/dist/chunks/{pty-m79451vn.js → command-5fr28cxv.js} +17 -17
  73. package/dist/chunks/{pty-cn17vkgn.js → command-5gydy8qd.js} +16 -16
  74. package/dist/chunks/{pty-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  75. package/dist/chunks/{pty-2yxfa91q.js → command-5tc03052.js} +4 -4
  76. package/dist/chunks/{pty-50mzsvk4.js → command-5wtwrezn.js} +21 -21
  77. package/dist/chunks/{pty-11wds091.js → command-5xampkzv.js} +22 -22
  78. package/dist/chunks/{pty-am3jb77f.js → command-5ysec52w.js} +24 -24
  79. package/dist/chunks/{pty-669tq793.js → command-669tq793.js} +1 -1
  80. package/dist/chunks/{pty-eg7p5t05.js → command-67a3m4yw.js} +5 -5
  81. package/dist/chunks/{pty-ebb8qs7w.js → command-68g7trhf.js} +6 -6
  82. package/dist/chunks/{pty-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  83. package/dist/chunks/{pty-4qyq7ysy.js → command-6p36spce.js} +9 -9
  84. package/dist/chunks/{pty-357ynq7f.js → command-6t2wbhs5.js} +4 -4
  85. package/dist/chunks/{pty-y2ab8x41.js → command-6z9y85k1.js} +12 -12
  86. package/dist/chunks/{pty-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{pty-vet0644j.js → command-7cqkmc07.js} +13 -13
  88. package/dist/chunks/{pty-qgn6gcr1.js → command-7dqw4kz8.js} +5 -5
  89. package/dist/chunks/{pty-yt0fqk68.js → command-7gvwkz6m.js} +5 -5
  90. package/dist/chunks/{pty-b3sw95b3.js → command-81pgz9gn.js} +5 -5
  91. package/dist/chunks/{pty-w1eejvng.js → command-84txncab.js} +5 -5
  92. package/dist/chunks/{pty-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{pty-y3q03scc.js → command-8hgfhrm0.js} +11 -11
  94. package/dist/chunks/{pty-83rrd27w.js → command-8p6hdx4a.js} +51 -51
  95. package/dist/chunks/{pty-bgxcxs0p.js → command-92a4ap4w.js} +5 -5
  96. package/dist/chunks/{pty-h6v00njn.js → command-93r6kb0j.js} +8 -8
  97. package/dist/chunks/{pty-g3ede0c3.js → command-9bye45vx.js} +34 -31
  98. package/dist/chunks/{pty-yw8t9dwe.js → command-9jbvj98d.js} +8 -8
  99. package/dist/chunks/{pty-ymjd80ya.js → command-9tw8yaak.js} +11 -11
  100. package/dist/chunks/{pty-f50z3byn.js → command-9x57qh30.js} +18 -18
  101. package/dist/chunks/{pty-th2fx4nm.js → command-a49t4mpe.js} +25 -25
  102. package/dist/chunks/{pty-a91670k2.js → command-a4jz5h7x.js} +24 -24
  103. package/dist/chunks/{pty-4e8hyveh.js → command-a7xxapnj.js} +8 -8
  104. package/dist/chunks/{pty-aaet6srn.js → command-aaet6srn.js} +2 -2
  105. package/dist/chunks/command-achjr09z.js +26 -0
  106. package/dist/chunks/{pty-qf5fgtzs.js → command-achky8s5.js} +43 -43
  107. package/dist/chunks/{pty-rbrht0p3.js → command-ad1se6we.js} +8 -8
  108. package/dist/chunks/{pty-q7jg25mm.js → command-ahnc2hpr.js} +11 -11
  109. package/dist/chunks/{pty-y38ja4bc.js → command-ak9msbxp.js} +6 -6
  110. package/dist/chunks/{pty-pmr4s4kc.js → command-an7cqtb7.js} +4 -4
  111. package/dist/chunks/{pty-6swcvh2w.js → command-atk3new3.js} +31 -31
  112. package/dist/chunks/{pty-aqgw5bb6.js → command-aze5dktd.js} +30 -30
  113. package/dist/chunks/{pty-1s35068b.js → command-b06mxnn4.js} +23 -23
  114. package/dist/chunks/{pty-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{pty-f62qkzqr.js → command-b7b4ctej.js} +5 -5
  116. package/dist/chunks/{pty-z07pqspn.js → command-bjtzbw4r.js} +3 -3
  117. package/dist/chunks/{pty-kdvzk119.js → command-bk7jaeqh.js} +4 -4
  118. package/dist/chunks/{pty-6567567a.js → command-bq6be9me.js} +16 -16
  119. package/dist/chunks/{pty-9qbzbnrx.js → command-bqwcv1te.js} +3 -3
  120. package/dist/chunks/{pty-zzh5t8zs.js → command-brbc9hym.js} +17 -17
  121. package/dist/chunks/{pty-bwdamcq2.js → command-c3btd4vx.js} +37 -37
  122. package/dist/chunks/{pty-qgsvmkm8.js → command-cca4q062.js} +25 -25
  123. package/dist/chunks/{pty-nf278a5w.js → command-ccq9v9cm.js} +13 -11
  124. package/dist/chunks/{pty-zpkx8m7q.js → command-ctmf4cjh.js} +9 -9
  125. package/dist/chunks/{pty-325f4v0d.js → command-d8jep961.js} +6 -6
  126. package/dist/chunks/{pty-jfna3bad.js → command-d8xd8q6j.js} +10 -10
  127. package/dist/chunks/{pty-xr4gjzhd.js → command-dzqgar42.js} +27 -27
  128. package/dist/chunks/{pty-a8mz3dzk.js → command-e1cpzhmy.js} +28 -28
  129. package/dist/chunks/{pty-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
  130. package/dist/chunks/{pty-p6sw6t37.js → command-e73y8s3p.js} +13 -13
  131. package/dist/chunks/{pty-ecfe7b91.js → command-ecfe7b91.js} +2 -2
  132. package/dist/chunks/{pty-bjj3a5nq.js → command-edgjk5pb.js} +15 -15
  133. package/dist/chunks/{pty-14436fm0.js → command-eeavwd92.js} +3 -3
  134. package/dist/chunks/{pty-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{pty-etqm6ew7.js → command-ehzgjc3e.js} +27 -27
  136. package/dist/chunks/{pty-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{pty-raaksh1t.js → command-eyhtqccb.js} +7 -7
  138. package/dist/chunks/{pty-7ptzzj42.js → command-ezw3czwx.js} +48 -48
  139. package/dist/chunks/{pty-m7va1g8x.js → command-f38wsw69.js} +2 -2
  140. package/dist/chunks/{pty-ccjxb5pr.js → command-f3c11mr4.js} +187 -187
  141. package/dist/chunks/{pty-frj0gj8n.js → command-f7arvf55.js} +9 -9
  142. package/dist/chunks/{pty-xk0yttex.js → command-fdjp4t8r.js} +11 -11
  143. package/dist/chunks/{pty-2917nqpv.js → command-fmsg4ra7.js} +29 -29
  144. package/dist/chunks/{pty-cfct8xv3.js → command-fraeex00.js} +5 -5
  145. package/dist/chunks/{pty-xvp1j2dc.js → command-g5agzp2h.js} +5 -5
  146. package/dist/chunks/{pty-v09f5ftj.js → command-g5g6qkd8.js} +3 -3
  147. package/dist/chunks/{pty-gdfekrc1.js → command-g8k5egew.js} +19 -19
  148. package/dist/chunks/{pty-1wxgmaf2.js → command-ga3d7eyp.js} +58 -58
  149. package/dist/chunks/{pty-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{pty-p482tycy.js → command-gfkmrq4p.js} +25 -25
  151. package/dist/chunks/{pty-94ek1h2f.js → command-gfvb90ym.js} +2 -2
  152. package/dist/chunks/{pty-zm0694m6.js → command-gjbqwzd2.js} +49 -49
  153. package/dist/chunks/{pty-c765mh8b.js → command-gjwgx2c5.js} +9 -9
  154. package/dist/chunks/{pty-zet84qb7.js → command-gkgr9f8v.js} +33 -33
  155. package/dist/chunks/{pty-n0eq19s0.js → command-gkkss05z.js} +4 -4
  156. package/dist/chunks/{pty-ne6nw42t.js → command-gmjj820p.js} +23 -23
  157. package/dist/chunks/{pty-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{pty-d0rt25wb.js → command-h0z3n8yt.js} +12 -12
  159. package/dist/chunks/{pty-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{pty-p6wxjpka.js → command-h9wp8z5w.js} +4 -4
  161. package/dist/chunks/{pty-jm72s75x.js → command-hk140s3y.js} +22 -22
  162. package/dist/chunks/{pty-sbqctm1g.js → command-hpjjk0gj.js} +5 -5
  163. package/dist/chunks/command-ht5y0zrb.js +18 -0
  164. package/dist/chunks/{pty-j56e64zr.js → command-j56e64zr.js} +1 -1
  165. package/dist/chunks/{pty-c58ks3y1.js → command-j6q1cfcf.js} +10 -10
  166. package/dist/chunks/{pty-a2wz46gb.js → command-j6y5gsxd.js} +24 -24
  167. package/dist/chunks/{pty-v76zgedn.js → command-jc8cd7se.js} +10 -10
  168. package/dist/chunks/{pty-d9n03hwg.js → command-jcvmways.js} +43 -43
  169. package/dist/chunks/{pty-vbfgae2j.js → command-jewzahs7.js} +4 -4
  170. package/dist/chunks/{pty-2pkxka52.js → command-jjc9h9gx.js} +10 -10
  171. package/dist/chunks/{pty-ks3rvccb.js → command-jygjpmnc.js} +17 -17
  172. package/dist/chunks/{pty-cddhxtfh.js → command-k458ssz6.js} +22 -22
  173. package/dist/chunks/{pty-2h7nr2dq.js → command-k8zgzs4j.js} +7 -7
  174. package/dist/chunks/{pty-s3tjp3s7.js → command-kfv2zn0s.js} +28 -28
  175. package/dist/chunks/{pty-hcgr32kr.js → command-kha295zz.js} +8 -8
  176. package/dist/chunks/{pty-wxxqj8y2.js → command-knpa7q1k.js} +44 -44
  177. package/dist/chunks/{pty-ktbx0pdv.js → command-kpycjfkz.js} +31 -31
  178. package/dist/chunks/{pty-skhecnb2.js → command-ks2axvh4.js} +17 -17
  179. package/dist/chunks/{pty-h1gr63pp.js → command-m18nzyk6.js} +43 -43
  180. package/dist/chunks/{pty-m3fdjcah.js → command-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{pty-9n2j9wwa.js → command-m6bfk4mw.js} +19 -19
  182. package/dist/chunks/{pty-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{pty-1fgh79gw.js → command-md4m2kyr.js} +18 -18
  184. package/dist/chunks/{pty-w4c76nsq.js → command-mfz89tqk.js} +35 -35
  185. package/dist/chunks/{pty-56m60q16.js → command-mm5kxf07.js} +8 -8
  186. package/dist/chunks/{pty-5c3sm4vt.js → command-mmeqzzre.js} +25 -25
  187. package/dist/chunks/command-mp2jdty2.js +252 -0
  188. package/dist/chunks/{pty-kc0rwcmg.js → command-mpc5v7rs.js} +34 -34
  189. package/dist/chunks/{pty-x661k3y3.js → command-mpk0rfs5.js} +4 -4
  190. package/dist/chunks/{pty-ygx1qhaf.js → command-mqafpt2f.js} +1 -1
  191. package/dist/chunks/{pty-x5f3h710.js → command-n9p09fbd.js} +37 -37
  192. package/dist/chunks/{pty-xz46ks89.js → command-nd3zz1gr.js} +5 -5
  193. package/dist/chunks/{pty-beycjfkd.js → command-nr8aa75s.js} +33 -33
  194. package/dist/chunks/{pty-ss0rzm77.js → command-nsdyb8pw.js} +18 -18
  195. package/dist/chunks/{pty-k80936kv.js → command-nx1xqst5.js} +3 -3
  196. package/dist/chunks/{pty-v979hmqb.js → command-nxawm2f0.js} +26 -26
  197. package/dist/chunks/{pty-vtgv0bzx.js → command-nzj20ack.js} +15 -15
  198. package/dist/chunks/{pty-nzks3jc8.js → command-nzks3jc8.js} +3 -3
  199. package/dist/chunks/{pty-g9me8x3m.js → command-nzyyvfzd.js} +56 -56
  200. package/dist/chunks/{pty-9cev0hxa.js → command-p1s99nq8.js} +11 -11
  201. package/dist/chunks/{pty-fk7hsds5.js → command-p64sp65g.js} +45 -45
  202. package/dist/chunks/{pty-zf1kfpxj.js → command-p7j22ek7.js} +11 -11
  203. package/dist/chunks/{pty-xpc77ah9.js → command-pgfgfh2x.js} +22 -22
  204. package/dist/chunks/{pty-8pqaysd2.js → command-phsdeme5.js} +18 -18
  205. package/dist/chunks/{pty-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{pty-pknna89w.js → command-pknna89w.js} +1 -1
  207. package/dist/chunks/{pty-xpa1x964.js → command-pmmvzvq4.js} +87 -87
  208. package/dist/chunks/{pty-tw4fgwkc.js → command-pppvxay8.js} +33 -33
  209. package/dist/chunks/{pty-wd3x2cqz.js → command-psazpmmj.js} +2 -2
  210. package/dist/chunks/{pty-p7atxmve.js → command-q5ekdvah.js} +33 -33
  211. package/dist/chunks/{pty-nxavjaqk.js → command-qd8zrxrt.js} +7 -7
  212. package/dist/chunks/{pty-dmv2xfrr.js → command-qkpjvsg2.js} +11 -11
  213. package/dist/chunks/{pty-qsdy395h.js → command-qsdy395h.js} +1 -1
  214. package/dist/chunks/{pty-r2cvksq4.js → command-qw2yw8z7.js} +22 -22
  215. package/dist/chunks/{pty-rph3zd4r.js → command-qz49fwgp.js} +6 -6
  216. package/dist/chunks/{pty-nxtr8th6.js → command-r6q2c161.js} +11 -11
  217. package/dist/chunks/{pty-gj4kh9zb.js → command-r7cqnzm4.js} +24 -24
  218. package/dist/chunks/{pty-6nkj5wpf.js → command-rcj1qd62.js} +71 -71
  219. package/dist/chunks/{pty-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{pty-gbt6w4kb.js → command-rhjbct0v.js} +8 -8
  221. package/dist/chunks/{pty-k2ypctgb.js → command-rpabj4tm.js} +15 -15
  222. package/dist/chunks/{pty-tz4n1mmd.js → command-rpg9c19m.js} +4 -4
  223. package/dist/chunks/{pty-fz1xeq2j.js → command-rw4kw2hm.js} +9 -9
  224. package/dist/chunks/{pty-3500r4jn.js → command-s4b4q9yc.js} +12 -12
  225. package/dist/chunks/{pty-yrznvahk.js → command-s4enseaf.js} +2 -2
  226. package/dist/chunks/{pty-0rabspjk.js → command-s4x18w05.js} +1 -1
  227. package/dist/chunks/{pty-t5bcrkja.js → command-s53bx6aa.js} +16 -16
  228. package/dist/chunks/{pty-8zm4zhyk.js → command-sb221pn8.js} +32 -32
  229. package/dist/chunks/{pty-jhn6cv3t.js → command-sf4638mk.js} +17 -17
  230. package/dist/chunks/{pty-zdfh86pt.js → command-sk5hhzgy.js} +20 -20
  231. package/dist/chunks/{pty-634gzr1f.js → command-sp6nzw66.js} +25 -25
  232. package/dist/chunks/{pty-ksnxxryk.js → command-t0xpt4yf.js} +31 -31
  233. package/dist/chunks/{pty-0ezaj5b7.js → command-t2445nzz.js} +32 -32
  234. package/dist/chunks/{pty-5cnqx41v.js → command-t4g45am5.js} +6 -6
  235. package/dist/chunks/{pty-xbzg2b7z.js → command-t7pash87.js} +10 -10
  236. package/dist/chunks/{pty-8g5e2f0w.js → command-tahyjvza.js} +22 -22
  237. package/dist/chunks/{pty-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{pty-dcey28wr.js → command-tcdggtwa.js} +23 -23
  239. package/dist/chunks/{pty-89znhe33.js → command-tcezcvh9.js} +4 -4
  240. package/dist/chunks/{pty-tdstcens.js → command-tdstcens.js} +1 -1
  241. package/dist/chunks/{pty-pkpxeptk.js → command-tea88xkw.js} +89 -89
  242. package/dist/chunks/{pty-gr4v7nh8.js → command-tn9j577v.js} +11 -11
  243. package/dist/chunks/{pty-g8nt03wg.js → command-tsbqqcav.js} +4 -4
  244. package/dist/chunks/{pty-tvtrv512.js → command-tvtrv512.js} +1 -1
  245. package/dist/chunks/{pty-dcfrr12t.js → command-tyq8797k.js} +37 -37
  246. package/dist/chunks/{pty-pbfch3ec.js → command-v556y4yv.js} +11 -11
  247. package/dist/chunks/{pty-03c3mj7d.js → command-v9chgcj3.js} +10 -10
  248. package/dist/chunks/{pty-qbdw2qyr.js → command-vb1y33sc.js} +11 -11
  249. package/dist/chunks/{pty-veqvce7d.js → command-veqvce7d.js} +1 -1
  250. package/dist/chunks/{pty-b596zvfn.js → command-vptby8qv.js} +14 -14
  251. package/dist/chunks/{pty-qca4j8wz.js → command-vr9bpkcp.js} +20 -20
  252. package/dist/chunks/{pty-s4jk5hcs.js → command-vtyptmt5.js} +337 -337
  253. package/dist/chunks/{pty-0gggs5ty.js → command-vy4zg7qh.js} +12 -12
  254. package/dist/chunks/{pty-yhmyzjvr.js → command-vyxeydcn.js} +21 -21
  255. package/dist/chunks/{pty-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{pty-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{pty-af4h48h1.js → command-w0a3dsx5.js} +11 -11
  258. package/dist/chunks/{pty-hydq9jhc.js → command-w2z5746y.js} +19 -19
  259. package/dist/chunks/{pty-rzmjh6v0.js → command-w37rjecm.js} +42 -42
  260. package/dist/chunks/{pty-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{pty-hc3jgfyg.js → command-w7kn78ad.js} +34 -34
  262. package/dist/chunks/{pty-7tjpr1wg.js → command-w9kg2djp.js} +21 -21
  263. package/dist/chunks/{pty-t7vrx9w9.js → command-wbbwn8b4.js} +16 -16
  264. package/dist/chunks/{pty-wd87259q.js → command-wd87259q.js} +1 -1
  265. package/dist/chunks/{pty-x4r0j41c.js → command-wr1nh5zj.js} +6 -6
  266. package/dist/chunks/{pty-1q1npaf2.js → command-wwm9drsm.js} +35 -35
  267. package/dist/chunks/{pty-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{pty-w41k9e71.js → command-x4qspy2c.js} +33 -33
  269. package/dist/chunks/{pty-mqckkp0h.js → command-x7va2pbz.js} +10 -10
  270. package/dist/chunks/{pty-ppzfs3bq.js → command-xezhsny9.js} +3 -3
  271. package/dist/chunks/{pty-xkntkrq7.js → command-xkntkrq7.js} +2 -2
  272. package/dist/chunks/{pty-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{pty-a3c7ahw6.js → command-y5rf7nzv.js} +4 -4
  274. package/dist/chunks/{pty-jwcy2c2z.js → command-y71avatq.js} +4 -4
  275. package/dist/chunks/{pty-94h3pznz.js → command-y875hksg.js} +28 -28
  276. package/dist/chunks/{pty-8kvav1mw.js → command-yb94rfg9.js} +9 -9
  277. package/dist/chunks/{pty-8paq7gnc.js → command-yf10kn3d.js} +8 -8
  278. package/dist/chunks/{pty-3qg3nnba.js → command-yk71r04e.js} +23 -23
  279. package/dist/chunks/{pty-thzndzdk.js → command-ykzc6cfj.js} +11 -11
  280. package/dist/chunks/{pty-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{pty-3m46hkaz.js → command-ytws7ykb.js} +2 -2
  282. package/dist/chunks/{pty-fme3prkd.js → command-yybzjk8b.js} +5 -5
  283. package/dist/chunks/{pty-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{pty-78jke5fa.js → command-z3kd0n8s.js} +29 -29
  285. package/dist/chunks/{pty-zeh9ct20.js → command-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{pty-d8gmv99d.js → command-zfa7ynd8.js} +10 -10
  287. package/dist/chunks/{pty-n485pk79.js → command-zg0g1dmr.js} +3 -3
  288. package/dist/chunks/{pty-w9n84znz.js → command-zmj32qq0.js} +8 -8
  289. package/dist/chunks/{pty-hekxc47r.js → command-znsx74x0.js} +1 -1
  290. package/dist/chunks/{pty-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{pty-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{pty-zr38cwz4.js → command-zz0gf2gv.js} +11 -11
  293. package/dist/chunks/{pty-6etjtjrs.js → command-zzn75vcn.js} +26 -26
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +83 -83
  299. package/dist/config/discovery.js +84 -84
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +228 -228
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +108 -108
  433. package/dist/form.js +86 -86
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +87 -87
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +103 -103
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +129 -129
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +99 -99
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +115 -115
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +102 -102
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +3 -3
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +95 -95
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +72 -72
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -354
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +230 -230
  563. package/dist/project/schema.js +6 -6
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +88 -88
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +133 -133
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +225 -225
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +1 -1
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +221 -221
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +15 -15
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +128 -128
  641. package/dist/tool/plugin/edit.js +118 -118
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +120 -120
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +120 -120
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/types/form.d.ts +5 -1
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +7 -7
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +4 -4
  675. package/dist/v1/config/formatter.js +7 -7
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +5 -5
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +7 -7
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +91 -91
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +82 -82
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +5 -5
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +78 -78
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/pty-hm972mn6.js +0 -252
  703. package/dist/chunks/pty-mbgj3mnw.js +0 -26
  704. package/dist/chunks/pty-vnkjks7b.js +0 -18
  705. /package/dist/chunks/{pty-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{pty-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{pty-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{pty-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{pty-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{pty-24dcb14g.js → command-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{pty-2710q6r3.js → command-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{pty-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{pty-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{pty-34c7v6d4.js → command-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{pty-359p4xyc.js → command-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{pty-3asan66x.js → command-3asan66x.js} +0 -0
  717. /package/dist/chunks/{pty-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{pty-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{pty-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{pty-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{pty-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{pty-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{pty-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{pty-53557ph1.js → command-53557ph1.js} +0 -0
  725. /package/dist/chunks/{pty-550bvhaj.js → command-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{pty-6prwharc.js → command-6prwharc.js} +0 -0
  727. /package/dist/chunks/{pty-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{pty-7m9af43g.js → command-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{pty-822emrt2.js → command-822emrt2.js} +0 -0
  730. /package/dist/chunks/{pty-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{pty-8n3pysct.js → command-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{pty-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{pty-922hggd3.js → command-922hggd3.js} +0 -0
  734. /package/dist/chunks/{pty-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{pty-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{pty-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{pty-af5trqkr.js → command-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{pty-afrmfg78.js → command-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{pty-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{pty-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{pty-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{pty-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{pty-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{pty-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{pty-d9fn303g.js → command-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{pty-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{pty-dajrwvna.js → command-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{pty-dap0rakb.js → command-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{pty-df08tz66.js → command-df08tz66.js} +0 -0
  750. /package/dist/chunks/{pty-dy18nga0.js → command-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{pty-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{pty-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{pty-ec1grn59.js → command-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{pty-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{pty-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{pty-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{pty-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{pty-faypxj3z.js → command-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{pty-fd410y7t.js → command-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{pty-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{pty-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{pty-g86h250q.js → command-g86h250q.js} +0 -0
  763. /package/dist/chunks/{pty-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{pty-gftt206x.js → command-gftt206x.js} +0 -0
  765. /package/dist/chunks/{pty-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{pty-hk9envan.js → command-hk9envan.js} +0 -0
  767. /package/dist/chunks/{pty-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{pty-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{pty-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{pty-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{pty-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{pty-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{pty-mp448xyj.js → command-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{pty-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{pty-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{pty-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{pty-njntx4h6.js → command-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{pty-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{pty-q74kybfr.js → command-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{pty-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{pty-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{pty-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{pty-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{pty-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{pty-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{pty-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{pty-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{pty-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{pty-w803qqfp.js → command-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{pty-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{pty-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{pty-wtztk69x.js → command-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{pty-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{pty-x61499pn.js → command-x61499pn.js} +0 -0
  795. /package/dist/chunks/{pty-y44na4kk.js → command-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{pty-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{pty-y8f7s663.js → command-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{pty-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{pty-ym463w8f.js → command-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{pty-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./pty-tcvdrfa5.js";
2
+ Service83,
3
+ node87
4
+ } from "./command-17zy7cfp.js";
5
5
  import {
6
- parse5,
6
+ parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./pty-w1eejvng.js";
11
+ } from "./command-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./pty-922hggd3.js";
14
+ } from "./command-922hggd3.js";
15
15
  import {
16
- Service66,
17
- node69
18
- } from "./pty-dcey28wr.js";
16
+ Service43,
17
+ node46
18
+ } from "./command-tcdggtwa.js";
19
19
  import {
20
20
  create3
21
- } from "./pty-rdw6cm16.js";
21
+ } from "./command-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./command-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event17,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info26,
31
+ Info: () => Info6,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service65,
35
- Source: () => Source4,
36
- node: () => node68
34
+ Service: () => Service39,
35
+ Source: () => Source3,
36
+ node: () => node42
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 Event17 } 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
- var Source4 = Reference.Source;
46
- var Info26 = Reference.Info;
45
+ var Source3 = Reference.Source;
46
+ var Info6 = Reference.Info;
47
47
 
48
- class Service65 extends Context.Service()("@opencode/Reference") {
48
+ class Service39 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service65, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service81;
53
- const cache = yield* Service66;
52
+ const bus = yield* Service83;
53
+ const cache = yield* Service43;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info26.make({ ...info, path: source.path })];
64
- const repository = parse5(source.repository);
63
+ return [Info6.make({ ...info, path: source.path })];
64
+ const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info26.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(Service65, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service65.of({
107
+ return Service39.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(Service65, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node68 = makeLocationNode({
116
- service: Service65,
115
+ var node42 = makeLocationNode({
116
+ service: Service39,
117
117
  layer,
118
- deps: [Global.node, node85, node69]
118
+ deps: [Global.node, node87, node46]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info26, Service65, node68, exports_reference2, Event17 };
121
+ export { LocalSource2, GitSource2, Source3, Info6, Service39, node42, exports_reference2, Event7 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render2
3
- } from "./pty-qqeeq2t9.js";
3
+ } from "./command-57b9ws8p.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./command-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,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./pty-0paq2nw3.js";
4
+ } from "./command-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./pty-1q1npaf2.js";
7
+ } from "./command-wwm9drsm.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./pty-w4c76nsq.js";
11
+ } from "./command-mfz89tqk.js";
12
12
  import {
13
13
  __export
14
- } from "./pty-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID7,
2
+ ID10,
3
3
  Family2
4
- } from "./pty-w4c76nsq.js";
4
+ } from "./command-mfz89tqk.js";
5
5
  import {
6
- Service50
7
- } from "./pty-zm0694m6.js";
6
+ Service66
7
+ } from "./command-gjbqwzd2.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./pty-ebb8qs7w.js";
10
+ } from "./command-68g7trhf.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make3(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service50;
39
+ const config = yield* Service66;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  providers.models.update(providerID, item.key, (model) => {
66
- model.modelID = ID7.make(item.key);
66
+ model.modelID = ID10.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make7();
128
+ var LMStudioPlugin2 = make3();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make7, LMStudioPlugin2 };
145
+ export { make3, LMStudioPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./pty-50mzsvk4.js";
7
- import {
8
- Info12
9
- } from "./pty-y3q03scc.js";
6
+ } from "./command-5wtwrezn.js";
10
7
  import {
11
8
  Info16
12
- } from "./pty-3cfzdc8e.js";
9
+ } from "./command-8hgfhrm0.js";
10
+ import {
11
+ Info20
12
+ } from "./command-2qp6y8xf.js";
13
13
  import {
14
- Info9
15
- } from "./pty-t6vsspdg.js";
14
+ Info22
15
+ } from "./command-19vf66h0.js";
16
16
  import {
17
- Info17
18
- } from "./pty-yt0fqk68.js";
17
+ Info19
18
+ } from "./command-7gvwkz6m.js";
19
19
  import {
20
20
  Spec2
21
- } from "./pty-qgn6gcr1.js";
21
+ } from "./command-7dqw4kz8.js";
22
22
  import {
23
- Info10
24
- } from "./pty-bgxcxs0p.js";
23
+ Info24
24
+ } from "./command-92a4ap4w.js";
25
25
  import {
26
- Info8
27
- } from "./pty-h1gr63pp.js";
26
+ Info15
27
+ } from "./command-m18nzyk6.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./pty-e3dkwfpd.js";
36
+ } from "./command-1p8321re.js";
37
37
  import {
38
38
  __export
39
- } from "./pty-9rqn6x4v.js";
39
+ } from "./command-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info15.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info16, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info20, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info22, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info17, value, path, diagnostics);
228
+ const server = decodeValue(Info19, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info10, raw, path, diagnostics);
424
+ const provider = decodeValue(Info24, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./pty-2axfhc9x.js";
3
+ } from "./command-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error = {};
10
- __export(exports_error, {
11
- ConfigErrorV1: () => exports_error,
9
+ var exports_error2 = {};
10
+ __export(exports_error2, {
11
+ ConfigErrorV1: () => exports_error2,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service38
3
- } from "./pty-ghk9cxjs.js";
2
+ Service53
3
+ } from "./command-0hf9g8pg.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./pty-vnkjks7b.js";
6
+ } from "./command-ht5y0zrb.js";
7
7
  import {
8
- Service30
9
- } from "./pty-83rrd27w.js";
8
+ Service45
9
+ } from "./command-8p6hdx4a.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./pty-vzs5sf6e.js";
12
+ } from "./command-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./pty-9rqn6x4v.js";
15
+ } from "./command-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service38;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service30), instances.provide(input.session));
25
+ const instances = yield* Service53;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service80
3
- } from "./pty-0gggs5ty.js";
2
+ Service82
3
+ } from "./command-vy4zg7qh.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./pty-gv6a8nnw.js";
7
+ } from "./command-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make16
16
+ make: () => make12
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make16 = Effect.gen(function* () {
21
+ var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service80;
23
+ const git = yield* Service82;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make16 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make16, exports_git2 };
49
+ export { make12, exports_git2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info16
13
+ Info: () => Info20
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info16 = Schema.Struct({
30
+ var Info20 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info16, exports_attachment };
34
+ export { Image2, Info20, exports_attachment };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  Info7,
6
- ID3,
6
+ ID4,
7
7
  Name2
8
- } from "./pty-k6wc7sjx.js";
8
+ } from "./command-0tsnk9s4.js";
9
9
  import {
10
- Service50
11
- } from "./pty-zm0694m6.js";
10
+ Service66
11
+ } from "./command-gjbqwzd2.js";
12
12
  import {
13
13
  __export
14
- } from "./pty-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill3 = {};
18
+ __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin14,
21
+ Plugin: () => Plugin41,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill3
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin14 = define({
428
+ var Plugin41 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
433
  editor.add(Info7.make({
434
- id: ID3.make("opencode"),
434
+ id: ID4.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
440
  editor.add(Info7.make({
441
- id: ID3.make("report"),
441
+ id: ID4.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service50;
469
+ const config = yield* Service66;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin14, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service50
3
- } from "./pty-zm0694m6.js";
2
+ Service66
3
+ } from "./command-gjbqwzd2.js";
4
4
  import {
5
- Service58
6
- } from "./pty-8paq7gnc.js";
5
+ Service17
6
+ } from "./command-yf10kn3d.js";
7
7
  import {
8
8
  match2
9
- } from "./pty-y1fvbwt7.js";
9
+ } from "./command-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./pty-qsdy395h.js";
12
+ } from "./command-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./pty-9rqn6x4v.js";
15
+ } from "./command-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin24
21
+ Plugin: () => Plugin19
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin24 = define({
25
+ var Plugin19 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service50;
29
- const managed = yield* Service58;
28
+ const config = yield* Service66;
29
+ const managed = yield* Service17;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin24 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin24, exports_policy };
60
+ export { Plugin19, exports_policy };