@opencode/core 0.0.0-dev-21120 → 0.0.0-dev-21143

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{form-1n0bfcwe.js → model-032ktewz.js} +12 -12
  8. package/dist/chunks/{form-0b5g1ynf.js → model-0b5g1ynf.js} +4 -4
  9. package/dist/chunks/{form-w2tzvf5x.js → model-0p2v4pma.js} +27 -27
  10. package/dist/chunks/{form-3xge87wm.js → model-0pkr3k7y.js} +13 -13
  11. package/dist/chunks/model-0qdvnyhc.js +26 -0
  12. package/dist/chunks/{form-d8kzd1vm.js → model-0tz7w237.js} +5 -5
  13. package/dist/chunks/{form-0vbcp93d.js → model-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{form-1ehpw3ez.js → model-11aq9g4k.js} +29 -29
  15. package/dist/chunks/{form-cmk6452m.js → model-1p7ncxxa.js} +16 -16
  16. package/dist/chunks/{form-94ek2262.js → model-1rxgbc2t.js} +36 -36
  17. package/dist/chunks/{form-1x11rq2a.js → model-1x11rq2a.js} +1 -1
  18. package/dist/chunks/{form-fhcatk08.js → model-2e6zpqas.js} +15 -15
  19. package/dist/chunks/{form-4tbbbz73.js → model-2kd2p7qs.js} +9 -9
  20. package/dist/chunks/{form-s67b5pc2.js → model-2rj07jxf.js} +36 -36
  21. package/dist/chunks/{form-69vnnpp1.js → model-2s6bjp6v.js} +11 -11
  22. package/dist/chunks/{form-axtj0483.js → model-2taq7fdd.js} +19 -19
  23. package/dist/chunks/{form-b674v2dg.js → model-2xdh0w28.js} +5 -5
  24. package/dist/chunks/{form-rtgzv76w.js → model-2zzk95jc.js} +24 -24
  25. package/dist/chunks/{form-4fqmf91y.js → model-30qnvgsd.js} +31 -31
  26. package/dist/chunks/{form-bj33n5vb.js → model-32qa6vbj.js} +3 -3
  27. package/dist/chunks/{form-wz5ft07p.js → model-34596wkg.js} +4 -4
  28. package/dist/chunks/{form-4rb32yc9.js → model-34gry8w8.js} +4 -4
  29. package/dist/chunks/{form-3fc6dm20.js → model-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{form-9vshxhvj.js → model-3ftn6mbn.js} +13 -13
  31. package/dist/chunks/{form-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{form-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{form-33dzmsr1.js → model-3m1hm5sp.js} +7 -7
  34. package/dist/chunks/{form-kpcf1b87.js → model-3rccn82p.js} +29 -29
  35. package/dist/chunks/{form-n1n192bv.js → model-3sj8yt8v.js} +4 -4
  36. package/dist/chunks/{form-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{form-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{form-j1mj860n.js → model-3z0hjn58.js} +9 -9
  39. package/dist/chunks/{form-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{form-k333419k.js → model-47sz30n1.js} +335 -335
  41. package/dist/chunks/{form-g3jc3zyj.js → model-49fqqd4r.js} +24 -24
  42. package/dist/chunks/{form-w4f31n8a.js → model-4egvh0ae.js} +32 -32
  43. package/dist/chunks/{form-ffv63511.js → model-4p6nr7v2.js} +40 -40
  44. package/dist/chunks/{form-9x68eagp.js → model-50db7yry.js} +13 -13
  45. package/dist/chunks/{form-54ma36ye.js → model-54ma36ye.js} +1 -1
  46. package/dist/chunks/{form-b7emz3hp.js → model-56xs2vdn.js} +7 -7
  47. package/dist/chunks/{form-jb7fysj4.js → model-5gy05hhs.js} +35 -35
  48. package/dist/chunks/{form-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  49. package/dist/chunks/{form-jhzkqfpf.js → model-5mgf4sgt.js} +23 -23
  50. package/dist/chunks/{form-p6gbx0cx.js → model-5mmxse3m.js} +37 -37
  51. package/dist/chunks/{form-gmbcpvjg.js → model-5n2cq17m.js} +3 -3
  52. package/dist/chunks/{form-6rkygt3p.js → model-5pjt3m7t.js} +12 -12
  53. package/dist/chunks/model-5qat1gp6.js +257 -0
  54. package/dist/chunks/{form-3ppcjp0j.js → model-5qd8vb6z.js} +9 -9
  55. package/dist/chunks/{form-g0q7h1tf.js → model-5qj6jx0q.js} +23 -23
  56. package/dist/chunks/{form-3g8j9he4.js → model-5w9yjztw.js} +1 -1
  57. package/dist/chunks/{form-v09ncz0g.js → model-5x0sq0pb.js} +6 -6
  58. package/dist/chunks/{form-yqsddj0x.js → model-5xtfwz69.js} +47 -47
  59. package/dist/chunks/{form-w06t27q8.js → model-636h7cea.js} +14 -14
  60. package/dist/chunks/{form-m1mm5rkg.js → model-66prbn3s.js} +32 -32
  61. package/dist/chunks/{form-dqxsqydv.js → model-6827pfxn.js} +2 -2
  62. package/dist/chunks/{form-dzwaywhv.js → model-6a8atva2.js} +21 -21
  63. package/dist/chunks/{form-2qafjmnj.js → model-6caww4kb.js} +22 -22
  64. package/dist/chunks/{form-yd0za7w0.js → model-6hexesxg.js} +36 -36
  65. package/dist/chunks/{form-gz7dz21v.js → model-6nqxxja9.js} +14 -14
  66. package/dist/chunks/{form-3v1tz15k.js → model-6qgfysr7.js} +22 -22
  67. package/dist/chunks/{form-rp1tfkyg.js → model-6rgqsnph.js} +18 -18
  68. package/dist/chunks/{form-4v7wavzh.js → model-6x34hzzw.js} +23 -23
  69. package/dist/chunks/{form-6xb47vfp.js → model-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{form-hg8tkm75.js → model-6ytk35w5.js} +8 -8
  71. package/dist/chunks/{form-3vkhc6vb.js → model-70pmzrba.js} +90 -90
  72. package/dist/chunks/{form-atmfma9d.js → model-72y14xv9.js} +6 -6
  73. package/dist/chunks/{form-mybv2j83.js → model-74p5kxdx.js} +4 -4
  74. package/dist/chunks/{form-775gj3j1.js → model-775gj3j1.js} +2 -2
  75. package/dist/chunks/{form-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{form-mjagy123.js → model-7d2a7xbs.js} +5 -5
  77. package/dist/chunks/{form-5wcx3hhf.js → model-7tj55yx8.js} +4 -4
  78. package/dist/chunks/{form-d04ep358.js → model-86qjnnqk.js} +11 -11
  79. package/dist/chunks/{form-89znhe33.js → model-89znhe33.js} +1 -1
  80. package/dist/chunks/{form-333hg9k9.js → model-8bfncd3g.js} +9 -9
  81. package/dist/chunks/{form-8m6m0r52.js → model-8m6m0r52.js} +1 -1
  82. package/dist/chunks/{form-554ykhdd.js → model-8q8yj50y.js} +21 -21
  83. package/dist/chunks/{form-fqb2p7cx.js → model-8rqycdgd.js} +7 -7
  84. package/dist/chunks/{form-t829z9jw.js → model-8w8ydh14.js} +35 -35
  85. package/dist/chunks/{form-zyw6q66r.js → model-8ye8phve.js} +8 -8
  86. package/dist/chunks/{form-91qna3x0.js → model-91qna3x0.js} +3 -3
  87. package/dist/chunks/{form-bmr56wjg.js → model-97aeaand.js} +4 -4
  88. package/dist/chunks/{form-4jfg48cr.js → model-9ajnrktk.js} +34 -31
  89. package/dist/chunks/{form-tpw6cwsb.js → model-9hn6k4tm.js} +8 -8
  90. package/dist/chunks/{form-06bcre1z.js → model-9mga5c27.js} +80 -71
  91. package/dist/chunks/{form-f3kxjqbq.js → model-a0xsjpa6.js} +20 -20
  92. package/dist/chunks/{form-mfztmbmt.js → model-ab191amw.js} +19 -19
  93. package/dist/chunks/{form-fww2ha2b.js → model-am1tmpj5.js} +9 -9
  94. package/dist/chunks/{form-ve8v04jh.js → model-am4qcv70.js} +19 -19
  95. package/dist/chunks/{form-n7vvwh41.js → model-asaf6qxa.js} +79 -79
  96. package/dist/chunks/{form-waz3pgke.js → model-ay5x56j0.js} +24 -24
  97. package/dist/chunks/{form-x661k3y3.js → model-azwe5p1w.js} +4 -4
  98. package/dist/chunks/{form-8fectmjz.js → model-b2b6kptg.js} +17 -17
  99. package/dist/chunks/{form-9bbnj2zh.js → model-b4nzaj04.js} +5 -5
  100. package/dist/chunks/{form-pstx6q5y.js → model-b6eebr36.js} +13 -13
  101. package/dist/chunks/{form-1ffvrpkg.js → model-bjx1sjef.js} +6 -6
  102. package/dist/chunks/{form-aes5zrkf.js → model-bmnyjmah.js} +3 -3
  103. package/dist/chunks/{form-wzf0w051.js → model-bnk7cdjh.js} +23 -23
  104. package/dist/chunks/{form-7abp57pr.js → model-bpkktk07.js} +15 -15
  105. package/dist/chunks/{form-7eh5v8ez.js → model-bpxfg8jv.js} +18 -18
  106. package/dist/chunks/{form-0feh7jv8.js → model-bvnyck97.js} +40 -40
  107. package/dist/chunks/{form-n69hbyzs.js → model-bx8wf0xt.js} +8 -8
  108. package/dist/chunks/model-bzeyqsqd.js +42 -0
  109. package/dist/chunks/{form-c1fqxshp.js → model-c1fqxshp.js} +3 -3
  110. package/dist/chunks/{form-hmdb8984.js → model-c2dc41sf.js} +13 -13
  111. package/dist/chunks/{form-5c9yfenh.js → model-c2qhap2q.js} +46 -46
  112. package/dist/chunks/{form-0x2yja72.js → model-c975tyge.js} +10 -10
  113. package/dist/chunks/{form-2vs2nh1n.js → model-ca7w653e.js} +4 -4
  114. package/dist/chunks/{form-cwcdd0av.js → model-cc6y7f3e.js} +27 -27
  115. package/dist/chunks/{form-t6avjg5v.js → model-ceq2fdbr.js} +38 -38
  116. package/dist/chunks/{form-t50fpkdp.js → model-chb9np0b.js} +9 -9
  117. package/dist/chunks/{form-p62ee12v.js → model-cjr1yvem.js} +15 -15
  118. package/dist/chunks/{form-74dmt1g2.js → model-cr0kavpg.js} +45 -45
  119. package/dist/chunks/{form-q90t3wzh.js → model-cs7jztnn.js} +15 -15
  120. package/dist/chunks/{form-1a7h6j0e.js → model-ctr5jdva.js} +11 -11
  121. package/dist/chunks/{form-rphwv4yx.js → model-cxjn1h7n.js} +13 -13
  122. package/dist/chunks/{form-gjgtcntp.js → model-cykvf63n.js} +23 -23
  123. package/dist/chunks/{form-vge4anhq.js → model-d1mb5amx.js} +6 -6
  124. package/dist/chunks/{form-fs1azxqq.js → model-d924vz02.js} +8 -8
  125. package/dist/chunks/{form-4tr9sj3s.js → model-de12mgtc.js} +6 -6
  126. package/dist/chunks/{form-4z11seec.js → model-dm7v99da.js} +35 -35
  127. package/dist/chunks/{form-t4kaa0s4.js → model-dqcawr84.js} +41 -41
  128. package/dist/chunks/{form-drwq78ky.js → model-drwq78ky.js} +1 -1
  129. package/dist/chunks/{form-dssbfrwz.js → model-dssbfrwz.js} +2 -2
  130. package/dist/chunks/{form-kyyrwnve.js → model-dtg8b4t8.js} +15 -15
  131. package/dist/chunks/{form-g3vh8g83.js → model-dtncpdvy.js} +50 -50
  132. package/dist/chunks/{form-8s9kfkjy.js → model-e09dskc3.js} +5 -5
  133. package/dist/chunks/{form-e80seqcp.js → model-e80seqcp.js} +1 -1
  134. package/dist/chunks/{form-80scg3y3.js → model-eahhehpg.js} +4 -4
  135. package/dist/chunks/{form-5ds1zhb7.js → model-ecktab1z.js} +21 -24
  136. package/dist/chunks/{form-eej6y6fw.js → model-eej6y6fw.js} +2 -2
  137. package/dist/chunks/{form-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{form-aed95ak0.js → model-egcq7ve1.js} +23 -23
  139. package/dist/chunks/{form-jhfk9r6y.js → model-ehh902hv.js} +4 -4
  140. package/dist/chunks/{form-yp2x3t23.js → model-f2n192rq.js} +4 -4
  141. package/dist/chunks/{form-m9zsqxg5.js → model-f5q4m7s3.js} +14 -14
  142. package/dist/chunks/{form-fcy631f0.js → model-fcy631f0.js} +1 -1
  143. package/dist/chunks/{form-y56ehv6b.js → model-fdms3n6w.js} +9 -9
  144. package/dist/chunks/{form-1jnpdffm.js → model-fqab621c.js} +18 -18
  145. package/dist/chunks/{form-t89fqycx.js → model-fqhbsnr5.js} +8 -8
  146. package/dist/chunks/{form-z9h1rc8q.js → model-fqze90fq.js} +36 -36
  147. package/dist/chunks/{form-664gcsch.js → model-fts609s6.js} +11 -11
  148. package/dist/chunks/{form-2er8rx28.js → model-fygryk8m.js} +52 -52
  149. package/dist/chunks/{form-reqh9cx6.js → model-g2c9rtgb.js} +16 -16
  150. package/dist/chunks/{form-31q47af7.js → model-g4cgpsn5.js} +48 -48
  151. package/dist/chunks/{form-e0jchqh8.js → model-g70vnkxp.js} +5 -5
  152. package/dist/chunks/{form-c636ws1y.js → model-gatvqhtb.js} +33 -33
  153. package/dist/chunks/{form-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{form-w3qw7gwn.js → model-gj0f7hmv.js} +11 -11
  155. package/dist/chunks/{form-mxqwvtmd.js → model-gm6kgtxz.js} +5 -5
  156. package/dist/chunks/{form-pqqr3ecp.js → model-grz7zy3r.js} +28 -28
  157. package/dist/chunks/{form-krf9n45e.js → model-h2ebcmnw.js} +5 -5
  158. package/dist/chunks/{form-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{form-h7s7r6s9.js → model-h7s7r6s9.js} +2 -2
  160. package/dist/chunks/{form-2pdg46mn.js → model-h9mky73t.js} +7 -7
  161. package/dist/chunks/{form-fn9t717r.js → model-hbb7npd7.js} +3 -3
  162. package/dist/chunks/{form-s1y651v9.js → model-hc9nn3cp.js} +14 -14
  163. package/dist/chunks/{form-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
  164. package/dist/chunks/{form-9jawj32g.js → model-j3j05rer.js} +183 -183
  165. package/dist/chunks/{form-sxzvkvgj.js → model-j5w2yx54.js} +6 -6
  166. package/dist/chunks/{form-8a49hcsj.js → model-j8d907hd.js} +18 -18
  167. package/dist/chunks/{form-88yqk75g.js → model-jykakyyr.js} +11 -11
  168. package/dist/chunks/{form-2pjqf92f.js → model-k2qw8yh0.js} +12 -12
  169. package/dist/chunks/{form-80937yaf.js → model-kabzph0t.js} +32 -32
  170. package/dist/chunks/{form-ztk35ksq.js → model-kd2wz8ak.js} +38 -31
  171. package/dist/chunks/{form-fennk6fh.js → model-kftbgjt8.js} +8 -8
  172. package/dist/chunks/{form-3bxqa92y.js → model-kgyb2az8.js} +7 -7
  173. package/dist/chunks/{form-1mfmeq55.js → model-kj32e9g7.js} +40 -40
  174. package/dist/chunks/{form-4w995ebs.js → model-krxbrekj.js} +5 -5
  175. package/dist/chunks/{form-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
  176. package/dist/chunks/{form-my4zabxr.js → model-m5jcjszt.js} +3 -3
  177. package/dist/chunks/{form-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{form-p7k79t7z.js → model-ma6nsz3a.js} +11 -11
  179. package/dist/chunks/{form-maspj1v3.js → model-maspj1v3.js} +1 -1
  180. package/dist/chunks/{form-1ttfrgdq.js → model-mevcanmy.js} +14 -14
  181. package/dist/chunks/{form-zvb12tdz.js → model-mkj1vhfj.js} +17 -14
  182. package/dist/chunks/{form-2jt8ayr1.js → model-mnzjzk6s.js} +14 -14
  183. package/dist/chunks/{form-8ythymq7.js → model-mscbxc3d.js} +31 -31
  184. package/dist/chunks/{form-q451vyqz.js → model-mvnjff55.js} +32 -32
  185. package/dist/chunks/{form-3kpb0c37.js → model-mvtf3rh0.js} +18 -18
  186. package/dist/chunks/{form-vs2g7a9j.js → model-mx47rfmj.js} +23 -23
  187. package/dist/chunks/{form-55bcgx89.js → model-n44feps9.js} +21 -21
  188. package/dist/chunks/{form-bfegkxfd.js → model-n61013np.js} +8 -8
  189. package/dist/chunks/{form-2b3c5nqp.js → model-nbyfmbp2.js} +14 -14
  190. package/dist/chunks/{form-j5bzaa60.js → model-nfjdydxw.js} +23 -23
  191. package/dist/chunks/{form-22sd1qqc.js → model-ngts6ef0.js} +8 -8
  192. package/dist/chunks/{form-ysxjwpsm.js → model-nkeqdcfk.js} +11 -11
  193. package/dist/chunks/{form-m2ek90pq.js → model-npf2me51.js} +5 -5
  194. package/dist/chunks/{form-q2ksexwc.js → model-ntfc07z9.js} +11 -11
  195. package/dist/chunks/{form-hq3c8me3.js → model-ny8edt06.js} +4 -4
  196. package/dist/chunks/{form-x09p8ad2.js → model-p97a26wd.js} +11 -11
  197. package/dist/chunks/{form-pwzwe7dv.js → model-pdkwkcft.js} +29 -29
  198. package/dist/chunks/{form-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{form-pknna89w.js → model-pknna89w.js} +1 -1
  200. package/dist/chunks/{form-cfp9fxgn.js → model-ppmprt3f.js} +15 -15
  201. package/dist/chunks/{form-mz1vdvay.js → model-pqjw7jp7.js} +9 -9
  202. package/dist/chunks/{form-9z093brs.js → model-px34zb81.js} +2 -2
  203. package/dist/chunks/{form-e9yvmpm5.js → model-q4k2r7g2.js} +11 -11
  204. package/dist/chunks/{form-qgn6gcr1.js → model-qgn6gcr1.js} +1 -1
  205. package/dist/chunks/{form-qnc92qwc.js → model-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{form-qsdy395h.js → model-qsdy395h.js} +1 -1
  207. package/dist/chunks/{form-djszqvmq.js → model-r2m716tb.js} +9 -9
  208. package/dist/chunks/{form-wms60x7z.js → model-r2v4c7r0.js} +5 -5
  209. package/dist/chunks/{form-yx0rmv9r.js → model-r7nsrefv.js} +6 -6
  210. package/dist/chunks/{form-dmrxm2pd.js → model-r9jx05x6.js} +9 -9
  211. package/dist/chunks/{form-g686f6pq.js → model-ra67jj04.js} +9 -9
  212. package/dist/chunks/{form-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{form-rert0e01.js → model-rert0e01.js} +2 -2
  214. package/dist/chunks/{form-k6j8svq6.js → model-rfvt5x14.js} +27 -27
  215. package/dist/chunks/{form-e041byh6.js → model-rgkx77sa.js} +28 -28
  216. package/dist/chunks/{form-rj3eygr5.js → model-rj3eygr5.js} +2 -2
  217. package/dist/chunks/{form-rkprpv83.js → model-rkprpv83.js} +2 -2
  218. package/dist/chunks/{form-nn6k0wxf.js → model-rmjpaj98.js} +6 -6
  219. package/dist/chunks/{form-b63pserc.js → model-rnv29cyz.js} +4 -4
  220. package/dist/chunks/{form-ve45bn9x.js → model-s09wpg7e.js} +6 -6
  221. package/dist/chunks/{form-a5yn418x.js → model-s0hxh50y.js} +11 -11
  222. package/dist/chunks/{form-k09r0tzf.js → model-s21aqrjm.js} +13 -13
  223. package/dist/chunks/{form-m61wtnyd.js → model-s5f94422.js} +27 -27
  224. package/dist/chunks/{form-vmvgn89g.js → model-s93qc9vz.js} +14 -14
  225. package/dist/chunks/{form-sa8ekw3f.js → model-sa8ekw3f.js} +2 -2
  226. package/dist/chunks/{form-8xtmt7my.js → model-shqwqces.js} +24 -24
  227. package/dist/chunks/{form-ece89xmg.js → model-ss6w8dzv.js} +23 -23
  228. package/dist/chunks/{form-knhpxb3z.js → model-sxgptqgt.js} +10 -10
  229. package/dist/chunks/{form-syv4x271.js → model-syv4x271.js} +1 -1
  230. package/dist/chunks/{form-t550f9t1.js → model-t550f9t1.js} +1 -1
  231. package/dist/chunks/{form-17te1rrs.js → model-t83nhy2t.js} +22 -22
  232. package/dist/chunks/{form-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{form-83xwerep.js → model-tbtt1cd4.js} +5 -5
  234. package/dist/chunks/{form-tdstcens.js → model-tdstcens.js} +1 -1
  235. package/dist/chunks/{form-k1nc15sv.js → model-tebnytv8.js} +23 -23
  236. package/dist/chunks/{form-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
  237. package/dist/chunks/{form-1sbc6zvw.js → model-tp9z584j.js} +13 -13
  238. package/dist/chunks/{form-e19ks7qx.js → model-tyrv786q.js} +33 -33
  239. package/dist/chunks/{form-tyytaxap.js → model-tyytaxap.js} +1 -1
  240. package/dist/chunks/{form-v0es1rhs.js → model-v0es1rhs.js} +2 -2
  241. package/dist/chunks/{form-drnf6xwf.js → model-v0xmac3n.js} +2 -2
  242. package/dist/chunks/{form-qzby9085.js → model-v1thw1q0.js} +14 -14
  243. package/dist/chunks/{form-y3446w5g.js → model-v37eec1m.js} +11 -11
  244. package/dist/chunks/{form-skvzaa2b.js → model-v6ffca6r.js} +1 -1
  245. package/dist/chunks/{form-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{form-6rm5yzkt.js → model-v7z2bvyd.js} +4 -4
  247. package/dist/chunks/{form-mye47qdq.js → model-v9hfyz1s.js} +33 -33
  248. package/dist/chunks/{form-5730ttxm.js → model-vbyty4xy.js} +1 -1
  249. package/dist/chunks/{form-veqvce7d.js → model-veqvce7d.js} +1 -1
  250. package/dist/chunks/{form-3h6nrbc0.js → model-vhjrr7mk.js} +32 -32
  251. package/dist/chunks/{form-kveec270.js → model-vn3rjt1z.js} +8 -8
  252. package/dist/chunks/{form-vjkkm7c0.js → model-vqwxx78m.js} +14 -14
  253. package/dist/chunks/{form-0fwvyrmx.js → model-vrxmxsaq.js} +67 -67
  254. package/dist/chunks/{form-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{form-yk7byskd.js → model-w0vvr4mg.js} +45 -45
  256. package/dist/chunks/{form-84txncab.js → model-w1eejvng.js} +5 -5
  257. package/dist/chunks/{form-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{form-9rygk3cj.js → model-wa72q8a5.js} +9 -9
  259. package/dist/chunks/{form-f6trqzxt.js → model-wcgc3hss.js} +1 -1
  260. package/dist/chunks/{form-wd87259q.js → model-wd87259q.js} +1 -1
  261. package/dist/chunks/{form-p7jjw840.js → model-wdcfxsan.js} +19 -19
  262. package/dist/chunks/{form-3jctmxfg.js → model-wjcs86hs.js} +17 -17
  263. package/dist/chunks/{form-feth2w2p.js → model-wr7n6jz0.js} +24 -24
  264. package/dist/chunks/{form-fab12qp9.js → model-x32pgb56.js} +3 -3
  265. package/dist/chunks/{form-gs1bdhkb.js → model-x3mzkak9.js} +28 -28
  266. package/dist/chunks/{form-0mzckxrk.js → model-x3vxrdp4.js} +5 -5
  267. package/dist/chunks/{form-tqv0zfn4.js → model-xcf9g4kc.js} +27 -27
  268. package/dist/chunks/{form-y1z10p5c.js → model-xe9tpf1b.js} +7 -7
  269. package/dist/chunks/{form-j1nkd3qs.js → model-xnj83fhm.js} +28 -28
  270. package/dist/chunks/{form-v02w65x3.js → model-xp2z857k.js} +15 -15
  271. package/dist/chunks/{form-yw35snb5.js → model-xp70dzpx.js} +5 -5
  272. package/dist/chunks/{form-6rs5f4ws.js → model-xsa8njxy.js} +31 -31
  273. package/dist/chunks/{form-jcbnvqks.js → model-xxqg5re6.js} +17 -17
  274. package/dist/chunks/{form-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{form-dpkg50ah.js → model-y71avatq.js} +4 -4
  276. package/dist/chunks/{form-0dkm2nh8.js → model-y9kpd8s3.js} +13 -13
  277. package/dist/chunks/{form-hg537jnq.js → model-yh1hagv9.js} +11 -11
  278. package/dist/chunks/{form-7bzx8g05.js → model-yjb5b1g6.js} +58 -58
  279. package/dist/chunks/{form-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{form-cd64y48y.js → model-z5exdbxr.js} +32 -32
  281. package/dist/chunks/{form-nj7hqrdc.js → model-z8y91tz7.js} +12 -12
  282. package/dist/chunks/{form-4ydny63g.js → model-zmgnvkkw.js} +6 -6
  283. package/dist/chunks/{form-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{form-pj2hapcd.js → model-zssgvwvv.js} +15 -15
  285. package/dist/chunks/{form-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +206 -206
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -134
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +123 -123
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +10 -0
  310. package/dist/config/plugin/skill.js +138 -137
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +85 -85
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +97 -97
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +76 -76
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +221 -221
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +103 -103
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +11 -11
  426. package/dist/filesystem.js +104 -104
  427. package/dist/form.js +86 -86
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +101 -101
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -359
  455. package/dist/instruction-discovery.js +80 -80
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -89
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +136 -136
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -356
  467. package/dist/location.js +87 -87
  468. package/dist/managed-policy.js +6 -6
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +101 -101
  471. package/dist/mcp/instructions.js +123 -123
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +101 -101
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +104 -104
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +82 -82
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +111 -111
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +92 -92
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +76 -76
  490. package/dist/plugin/command.js +102 -102
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +331 -330
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +123 -123
  525. package/dist/plugin/provider/openai.js +116 -116
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +125 -125
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +1 -1
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +350 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +6 -6
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +217 -217
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +86 -86
  561. package/dist/provider.js +101 -101
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +101 -101
  565. package/dist/reference/instructions.js +87 -87
  566. package/dist/reference.js +93 -93
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +3 -3
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +97 -97
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +132 -132
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +218 -218
  582. package/dist/session/execution.js +129 -129
  583. package/dist/session/generate.js +155 -155
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -92
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +3 -3
  606. package/dist/session/runner/step.js +128 -128
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +162 -162
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +202 -202
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +214 -214
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +210 -210
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +132 -132
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +116 -116
  631. package/dist/snapshot.js +95 -95
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +130 -130
  636. package/dist/tool/plugin/edit.js +122 -122
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -126
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +124 -124
  643. package/dist/tool/plugin/question.js +107 -107
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +211 -211
  646. package/dist/tool/plugin/skill.js +115 -115
  647. package/dist/tool/plugin/subagent.js +211 -211
  648. package/dist/tool/plugin/webfetch.js +114 -114
  649. package/dist/tool/plugin/websearch.js +116 -116
  650. package/dist/tool/plugin/write.js +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +14 -14
  655. package/dist/types/config/plugin/skill-scan.d.ts +5 -0
  656. package/dist/types/skill.d.ts +1 -1
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +2 -2
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +1 -1
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +88 -88
  679. package/dist/websearch.js +84 -84
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/form-7snhtx2p.js +0 -257
  692. package/dist/chunks/form-8ad1xt0e.js +0 -26
  693. /package/dist/chunks/{form-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{form-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{form-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{form-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{form-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{form-24dcb14g.js → model-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{form-2710q6r3.js → model-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{form-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{form-2bv980vf.js → model-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{form-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{form-359p4xyc.js → model-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{form-3asan66x.js → model-3asan66x.js} +0 -0
  705. /package/dist/chunks/{form-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{form-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{form-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{form-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{form-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{form-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{form-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{form-53557ph1.js → model-53557ph1.js} +0 -0
  713. /package/dist/chunks/{form-550bvhaj.js → model-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{form-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{form-6prwharc.js → model-6prwharc.js} +0 -0
  716. /package/dist/chunks/{form-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{form-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{form-7m9af43g.js → model-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{form-822emrt2.js → model-822emrt2.js} +0 -0
  720. /package/dist/chunks/{form-84wd9syh.js → model-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{form-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{form-8n3pysct.js → model-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{form-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{form-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{form-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{form-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{form-af5trqkr.js → model-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{form-afrmfg78.js → model-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{form-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{form-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{form-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{form-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{form-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{form-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{form-d9fn303g.js → model-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{form-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{form-dajrwvna.js → model-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{form-dap0rakb.js → model-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{form-df08tz66.js → model-df08tz66.js} +0 -0
  740. /package/dist/chunks/{form-dy18nga0.js → model-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{form-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{form-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{form-ec1grn59.js → model-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{form-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{form-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{form-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{form-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{form-faypxj3z.js → model-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{form-fd410y7t.js → model-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{form-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{form-g86h250q.js → model-g86h250q.js} +0 -0
  752. /package/dist/chunks/{form-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{form-gftt206x.js → model-gftt206x.js} +0 -0
  754. /package/dist/chunks/{form-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{form-hk9envan.js → model-hk9envan.js} +0 -0
  756. /package/dist/chunks/{form-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{form-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{form-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{form-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{form-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{form-jze0r7bz.js → model-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{form-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{form-m18g726c.js → model-m18g726c.js} +0 -0
  764. /package/dist/chunks/{form-mp448xyj.js → model-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{form-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{form-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{form-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{form-njntx4h6.js → model-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{form-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{form-pyv0edze.js → model-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{form-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{form-q74kybfr.js → model-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{form-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{form-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{form-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{form-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{form-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{form-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{form-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{form-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{form-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{form-w803qqfp.js → model-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{form-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{form-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{form-wjj7prxr.js → model-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{form-wtztk69x.js → model-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{form-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{form-x61499pn.js → model-x61499pn.js} +0 -0
  789. /package/dist/chunks/{form-y44na4kk.js → model-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{form-y8f7s663.js → model-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{form-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{form-ym463w8f.js → model-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{form-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{form-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-y3446w5g.js";
3
+ } from "./model-v37eec1m.js";
4
4
  import {
5
- Service85
6
- } from "./form-2pjqf92f.js";
5
+ Service82
6
+ } from "./model-k2qw8yh0.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./form-4fqmf91y.js";
9
+ Event15
10
+ } from "./model-30qnvgsd.js";
11
11
  import {
12
- ID13,
12
+ ID12,
13
13
  MethodID2
14
- } from "./form-pwzwe7dv.js";
14
+ } from "./model-pdkwkcft.js";
15
15
  import {
16
- ID12
17
- } from "./form-c636ws1y.js";
16
+ ID11
17
+ } from "./model-gatvqhtb.js";
18
18
  import {
19
- ID11,
19
+ ID10,
20
20
  Family2
21
- } from "./form-94ek2262.js";
21
+ } from "./model-1rxgbc2t.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./form-pjvnvgmy.js";
24
+ } from "./model-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID12.make("digitalocean");
31
- var integrationID = ID13.make("digitalocean");
30
+ var providerID = ID11.make("digitalocean");
31
+ var integrationID = ID12.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service85;
119
+ const bus = yield* Service82;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID11.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID10.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make22,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make22 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make22, exports_keyed_mutex };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./form-dpkg50ah.js";
3
+ } from "./model-y71avatq.js";
4
4
  import {
5
- Service80,
6
- node83
7
- } from "./form-rtgzv76w.js";
5
+ Service73,
6
+ node76
7
+ } from "./model-2zzk95jc.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service35,
17
- node: () => node38,
16
+ Service: () => Service16,
17
+ node: () => node18,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service35 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service16 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service35, Effect.gen(function* () {
38
- const environment = yield* Service80;
37
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
38
+ const environment = yield* Service73;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service35.of({ withLock, write, writeTextPreservingBom });
59
+ return Service16.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node38 = makeLocationNode({ service: Service35, layer, deps: [node83] });
61
+ var node18 = makeLocationNode({ service: Service16, layer, deps: [node76] });
62
62
 
63
- export { Service35, readText2, syncTextBom2, node38, exports_file_mutation };
63
+ export { Service16, readText2, syncTextBom2, node18, exports_file_mutation };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-y3446w5g.js";
3
+ } from "./model-v37eec1m.js";
4
4
  import {
5
5
  OAuth3,
6
- Service75
7
- } from "./form-4fqmf91y.js";
6
+ Service66
7
+ } from "./model-30qnvgsd.js";
8
8
  import {
9
- ID13,
9
+ ID12,
10
10
  MethodID2
11
- } from "./form-pwzwe7dv.js";
11
+ } from "./model-pdkwkcft.js";
12
12
  import {
13
- ID12,
13
+ ID11,
14
14
  mergeOverlay2
15
- } from "./form-c636ws1y.js";
15
+ } from "./model-gatvqhtb.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID12.make("xai");
27
+ var providerID = ID11.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID13.make("xai"),
47
+ integrationID: ID12.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service75;
73
- yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
72
+ const credentials = yield* Service66;
73
+ yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./form-fab12qp9.js";
4
+ } from "./model-x32pgb56.js";
5
5
  import {
6
- Service85,
7
- node89
8
- } from "./form-2pjqf92f.js";
6
+ Service82,
7
+ node86
8
+ } from "./model-k2qw8yh0.js";
9
9
  import {
10
- Service42,
11
- node44
12
- } from "./form-sxzvkvgj.js";
10
+ Service36,
11
+ node38
12
+ } from "./model-j5w2yx54.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./form-z5v4ffb3.js";
16
+ } from "./model-z5v4ffb3.js";
17
17
  import {
18
- Service83,
19
- node87
20
- } from "./form-feth2w2p.js";
18
+ Service81,
19
+ node85
20
+ } from "./model-wr7n6jz0.js";
21
21
  import {
22
22
  Ref4
23
- } from "./form-m9zsqxg5.js";
23
+ } from "./model-f5q4m7s3.js";
24
24
  import {
25
- Service60,
26
- node62
27
- } from "./form-9rygk3cj.js";
25
+ Service79,
26
+ node83
27
+ } from "./model-wa72q8a5.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./form-gftt206x.js";
30
+ } from "./model-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./form-4tr9sj3s.js";
32
+ NotFoundError7
33
+ } from "./model-de12mgtc.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./form-ec1grn59.js";
36
+ } from "./model-ec1grn59.js";
37
37
  import {
38
- Service40
39
- } from "./form-2vs2nh1n.js";
38
+ Service33
39
+ } from "./model-ca7w653e.js";
40
40
  import {
41
- Service66,
42
- node68
43
- } from "./form-1n0bfcwe.js";
41
+ Service60,
42
+ node63
43
+ } from "./model-032ktewz.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service41,
48
- node43,
47
+ Service35,
48
+ node37,
49
49
  moveIDs2
50
- } from "./form-j5bzaa60.js";
50
+ } from "./model-nfjdydxw.js";
51
51
  import {
52
- Service39,
53
- node42
54
- } from "./form-1mfmeq55.js";
52
+ Service32,
53
+ node35
54
+ } from "./model-kj32e9g7.js";
55
55
  import {
56
- node24
57
- } from "./form-p7jjw840.js";
56
+ node23
57
+ } from "./model-wdcfxsan.js";
58
58
  import {
59
59
  __export
60
- } from "./form-9rqn6x4v.js";
60
+ } from "./model-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service20,
68
+ Service: () => Service19,
69
69
  SessionMove: () => exports_move,
70
- node: () => node23
70
+ node: () => node22
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service20 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service19 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service20, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service83;
92
- const locations = yield* Service60;
93
- const store = yield* Service66;
94
- const execution = yield* Service39;
95
- const instances = yield* Service42;
96
- const admission = yield* Service41;
91
+ const projects = yield* Service81;
92
+ const locations = yield* Service79;
93
+ const store = yield* Service60;
94
+ const execution = yield* Service32;
95
+ const instances = yield* Service36;
96
+ const admission = yield* Service35;
97
97
  const database = yield* Service86;
98
- const bus = yield* Service85;
98
+ const bus = yield* Service82;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError7({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service40.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service33.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service20.of({
136
+ return Service19.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node23 = makeGlobalNode({
167
- service: Service20,
166
+ var node22 = makeGlobalNode({
167
+ service: Service19,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node87,
173
- node62,
174
- node68,
175
- node42,
176
- node44,
177
- node43,
172
+ node85,
173
+ node83,
174
+ node63,
175
+ node35,
176
+ node38,
177
+ node37,
178
178
  node90,
179
- node89,
180
- node24
179
+ node86,
180
+ node23
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service20, node23, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node22, exports_move };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./form-ym463w8f.js";
3
+ } from "./model-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./form-z5v4ffb3.js";
5
+ } from "./model-z5v4ffb3.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./form-m9zsqxg5.js";
7
+ Service80,
8
+ node84
9
+ } from "./model-f5q4m7s3.js";
10
10
  import {
11
- Service78,
12
- node81
13
- } from "./form-pqqr3ecp.js";
11
+ Service71,
12
+ node74
13
+ } from "./model-grz7zy3r.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./model-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event20,
27
+ Event: () => Event18,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput5,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError10,
34
+ NotFoundError: () => NotFoundError9,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service77,
36
+ Service: () => Service70,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node80
40
+ node: () => node73
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError9 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,39 +105,39 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event20 = FileSystem.Event;
108
+ var Event18 = FileSystem.Event;
109
109
 
110
- class Service77 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service70 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service70, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service82;
115
- const search = yield* Service78;
116
- const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
114
+ const location = yield* Service80;
115
+ const search = yield* Service71;
116
+ const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
119
- if (cause.reason._tag === "PermissionDenied" || cause.reason._tag === "Unknown" && cause.reason.cause instanceof Error && "code" in cause.reason.cause && cause.reason.cause.code === "EPERM")
119
+ if (FSUtil.isAccessDenied(cause))
120
120
  return Effect.fail(new DirectoryAccessDeniedError2({ directory: location.directory, cause }));
121
121
  return Effect.die(cause);
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError10({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError9({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError10({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError9({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError10({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError9({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service77.of({
134
+ return Service70.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError10({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError9({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError9({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node80 = makeLocationNode({
175
- service: Service77,
174
+ var node73 = makeLocationNode({
175
+ service: Service70,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node86, node81]
177
+ deps: [FSUtil.node, node84, node74]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service77, node80, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError9, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event18, Service70, node73, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./form-z5v4ffb3.js";
4
+ } from "./model-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./form-dpkg50ah.js";
7
+ } from "./model-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./form-tazgh4e4.js";
12
+ } from "./model-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./form-ef5x83kb.js";
15
+ } from "./model-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./form-9rqn6x4v.js";
18
+ } from "./model-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service84,
26
+ Service: () => Service85,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node88
30
+ node: () => node89
31
31
  });
32
32
  import path from "path";
33
33
  import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
100
100
  }) {
101
101
  }
102
102
 
103
- class Service84 extends Context.Service()("@opencode/Git") {
103
+ class Service85 extends Context.Service()("@opencode/Git") {
104
104
  }
105
- var layer = Layer.effect(Service84, Effect.gen(function* () {
105
+ var layer = Layer.effect(Service85, Effect.gen(function* () {
106
106
  const fs = yield* FSUtil.Service;
107
107
  const proc = yield* AppProcess.Service;
108
108
  const locks = makeUnsafe2();
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
722
722
  kind: index === 0 ? "main" : "linked"
723
723
  }));
724
724
  });
725
- return Service84.of({
725
+ return Service85.of({
726
726
  repo: { discover, clone, create },
727
727
  remote: { get: remote },
728
728
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
739
739
  objects: { pack: packObjects }
740
740
  });
741
741
  }));
742
- var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
742
+ var node89 = makeGlobalNode({ service: Service85, layer, deps: [FSUtil.node, AppProcess.node] });
743
743
  function run(cwd, proc, args) {
744
744
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
745
745
  }
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
806
806
  return path.resolve(cwd, normalized);
807
807
  }
808
808
 
809
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
809
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service85, node89, exports_git3 };