@opencode/core 0.0.0-dev-20947 → 0.0.0-dev-20950

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 (789) 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-3jw5ar1f.js → model-resolver-017v6ka8.js} +24 -24
  8. package/dist/chunks/{form-rw4qcwcj.js → model-resolver-01s1begh.js} +15 -15
  9. package/dist/chunks/{form-zcrspsvn.js → model-resolver-06x8he3q.js} +4 -4
  10. package/dist/chunks/{form-zn4sg67n.js → model-resolver-076tdj8j.js} +11 -11
  11. package/dist/chunks/{form-6e4c5wka.js → model-resolver-09rrpfny.js} +25 -25
  12. package/dist/chunks/{form-wk5z6jzv.js → model-resolver-0jq9fyba.js} +9 -9
  13. package/dist/chunks/{form-vppcbm3y.js → model-resolver-0p78r4x4.js} +10 -10
  14. package/dist/chunks/{form-y2a9r24h.js → model-resolver-0rf3mqqe.js} +15 -15
  15. package/dist/chunks/{form-kgkjns6k.js → model-resolver-0satj92y.js} +14 -14
  16. package/dist/chunks/{form-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{form-9rdbteg8.js → model-resolver-125fewv7.js} +11 -11
  18. package/dist/chunks/{form-822y64vb.js → model-resolver-12tpmng7.js} +73 -73
  19. package/dist/chunks/{form-tzcg4n0g.js → model-resolver-1fsm553b.js} +13 -13
  20. package/dist/chunks/{form-5yxp05h0.js → model-resolver-1kswe1g3.js} +46 -46
  21. package/dist/chunks/{form-82t7k0nh.js → model-resolver-1sr5z03x.js} +33 -33
  22. package/dist/chunks/{form-n6ge0jbz.js → model-resolver-1wp3hb2k.js} +9 -9
  23. package/dist/chunks/{form-09r737me.js → model-resolver-1z02ee6a.js} +18 -18
  24. package/dist/chunks/{form-df6fnvr5.js → model-resolver-21jrmc9g.js} +12 -12
  25. package/dist/chunks/{form-zbtmdah5.js → model-resolver-26tsy11a.js} +11 -11
  26. package/dist/chunks/{form-jb41p51h.js → model-resolver-276bngqz.js} +10 -10
  27. package/dist/chunks/{form-ax3tz5jt.js → model-resolver-2erc5g3s.js} +4 -4
  28. package/dist/chunks/{form-e0gqyvam.js → model-resolver-2qnat7dc.js} +16 -16
  29. package/dist/chunks/{form-vfa4vt6e.js → model-resolver-2r93mh4x.js} +12 -12
  30. package/dist/chunks/{form-41qfwe6g.js → model-resolver-2ryng5r3.js} +4 -4
  31. package/dist/chunks/{form-8v8ce5z1.js → model-resolver-2y74b1pt.js} +30 -30
  32. package/dist/chunks/{form-2v32gvte.js → model-resolver-2zd7cxc8.js} +14 -14
  33. package/dist/chunks/{form-7pv7hw7n.js → model-resolver-31knp78d.js} +14 -14
  34. package/dist/chunks/{form-jpz1sbwc.js → model-resolver-31v9pj2m.js} +11 -11
  35. package/dist/chunks/{form-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{form-33sn4450.js → model-resolver-3g3fherm.js} +37 -37
  37. package/dist/chunks/{form-tz53ddc1.js → model-resolver-3ggd8s46.js} +5 -5
  38. package/dist/chunks/{form-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{form-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{form-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{form-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{form-vxnjn3gy.js → model-resolver-3vswmpk1.js} +33 -33
  43. package/dist/chunks/{form-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{form-y29v8fx6.js → model-resolver-4az1a8cs.js} +6 -6
  45. package/dist/chunks/{form-dnrfz0q2.js → model-resolver-4djhckew.js} +28 -28
  46. package/dist/chunks/{form-t99511nd.js → model-resolver-4j05sq0m.js} +21 -21
  47. package/dist/chunks/{form-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  48. package/dist/chunks/{form-bqnw4zcg.js → model-resolver-5926cwpj.js} +8 -8
  49. package/dist/chunks/{form-8atgx3ya.js → model-resolver-5fqe9rrs.js} +13 -13
  50. package/dist/chunks/{form-nq2b8p7n.js → model-resolver-5jc797f7.js} +21 -21
  51. package/dist/chunks/{form-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{form-n7qacaxh.js → model-resolver-5nns0kdt.js} +20 -20
  53. package/dist/chunks/{form-1txvh394.js → model-resolver-5x1d34z2.js} +3 -3
  54. package/dist/chunks/{form-g0mjhmpg.js → model-resolver-5x4mgjyy.js} +33 -33
  55. package/dist/chunks/{form-5ga5b214.js → model-resolver-5y2nakwc.js} +22 -22
  56. package/dist/chunks/{form-b1vf1kh0.js → model-resolver-69nevm9g.js} +87 -87
  57. package/dist/chunks/{form-x0zjna7n.js → model-resolver-6r5rwgtp.js} +13 -13
  58. package/dist/chunks/{form-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{form-75t9bye9.js → model-resolver-7014qyn6.js} +6 -6
  60. package/dist/chunks/{form-ytkpp1sy.js → model-resolver-72qbjese.js} +14 -14
  61. package/dist/chunks/{form-27vdz40p.js → model-resolver-73bangna.js} +15 -15
  62. package/dist/chunks/{form-775gj3j1.js → model-resolver-775gj3j1.js} +2 -2
  63. package/dist/chunks/{form-f45c2wqa.js → model-resolver-7968cave.js} +33 -33
  64. package/dist/chunks/{form-8nc6zkts.js → model-resolver-7a3t7few.js} +28 -28
  65. package/dist/chunks/{form-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{form-pexjtwtd.js → model-resolver-7e1nrk9x.js} +11 -11
  67. package/dist/chunks/{form-w2z33w1j.js → model-resolver-7e6b2cwb.js} +32 -32
  68. package/dist/chunks/{form-30wfj1n4.js → model-resolver-7h0gvqqa.js} +8 -8
  69. package/dist/chunks/{form-fawedr2k.js → model-resolver-7haz9w5k.js} +3 -3
  70. package/dist/chunks/{form-6qze8ysb.js → model-resolver-7j0h8tbw.js} +23 -23
  71. package/dist/chunks/{form-w2n6rccj.js → model-resolver-7kpkhag7.js} +51 -51
  72. package/dist/chunks/{form-tm98w8z9.js → model-resolver-7xfrtcks.js} +18 -18
  73. package/dist/chunks/{form-277eer69.js → model-resolver-80scg3y3.js} +4 -4
  74. package/dist/chunks/{form-ed3133pq.js → model-resolver-81rxcsqc.js} +20 -20
  75. package/dist/chunks/{form-w1eejvng.js → model-resolver-84txncab.js} +5 -5
  76. package/dist/chunks/{form-jf06h9wq.js → model-resolver-89j1w47y.js} +27 -27
  77. package/dist/chunks/{form-y2mqfp0b.js → model-resolver-8c3hmt3w.js} +6 -6
  78. package/dist/chunks/{form-2zd83npj.js → model-resolver-8e2jakfn.js} +11 -11
  79. package/dist/chunks/{form-fy85dzp7.js → model-resolver-8hje7a9v.js} +24 -24
  80. package/dist/chunks/{form-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{form-6pc27hjz.js → model-resolver-8sze2n9a.js} +2 -2
  82. package/dist/chunks/{form-91qna3x0.js → model-resolver-91qna3x0.js} +3 -3
  83. package/dist/chunks/{form-mqqhst8y.js → model-resolver-97aeaand.js} +4 -4
  84. package/dist/chunks/{form-bpy5r15a.js → model-resolver-97bpphjt.js} +11 -11
  85. package/dist/chunks/{form-3eaxan5r.js → model-resolver-9hcy9v3f.js} +5 -5
  86. package/dist/chunks/{form-zha2r5bt.js → model-resolver-9hfpa9m9.js} +28 -28
  87. package/dist/chunks/{form-b674v2dg.js → model-resolver-9hwaqfsw.js} +5 -5
  88. package/dist/chunks/{form-0e5d1q09.js → model-resolver-9mtvkt7f.js} +21 -21
  89. package/dist/chunks/{form-dfjck66s.js → model-resolver-9y5jvg7a.js} +34 -34
  90. package/dist/chunks/{form-127b9nq3.js → model-resolver-9y9sk2j9.js} +2 -2
  91. package/dist/chunks/model-resolver-9zdhvgqs.js +18 -0
  92. package/dist/chunks/{form-82kf3jg0.js → model-resolver-a634dvb9.js} +13 -13
  93. package/dist/chunks/{form-gqtdsdt7.js → model-resolver-addxnjmp.js} +4 -4
  94. package/dist/chunks/{form-kecqjjhm.js → model-resolver-aj3rbcf1.js} +5 -5
  95. package/dist/chunks/{form-f1qh747r.js → model-resolver-apj3cz87.js} +14 -14
  96. package/dist/chunks/{form-mtpeagzc.js → model-resolver-axe3mf62.js} +3 -3
  97. package/dist/chunks/{form-xtqgywq0.js → model-resolver-b0dxm10x.js} +34 -34
  98. package/dist/chunks/{form-j4mjwbh7.js → model-resolver-b134vsz7.js} +7 -7
  99. package/dist/chunks/{form-hpfvhvya.js → model-resolver-be7qvw84.js} +8 -8
  100. package/dist/chunks/{form-pfenne1w.js → model-resolver-bhhmns0g.js} +44 -44
  101. package/dist/chunks/{form-2j7m7xd2.js → model-resolver-bsagyafn.js} +11 -11
  102. package/dist/chunks/{form-6k6bnagh.js → model-resolver-bwd9ews5.js} +13 -13
  103. package/dist/chunks/{form-rj3eygr5.js → model-resolver-c41wscbt.js} +2 -2
  104. package/dist/chunks/{form-sa8ekw3f.js → model-resolver-c8ax2afj.js} +2 -2
  105. package/dist/chunks/{form-eg5kq0wk.js → model-resolver-ch7mpmes.js} +11 -11
  106. package/dist/chunks/{form-0br3sbwn.js → model-resolver-cp937pt4.js} +4 -4
  107. package/dist/chunks/{form-keswfrch.js → model-resolver-cvkyw9pt.js} +15 -15
  108. package/dist/chunks/{form-syf57q56.js → model-resolver-d2czbp48.js} +4 -4
  109. package/dist/chunks/{form-q4gtn4tc.js → model-resolver-d8d1mz9r.js} +24 -24
  110. package/dist/chunks/{form-rmm45jmv.js → model-resolver-d9wzmzc3.js} +5 -5
  111. package/dist/chunks/{form-ebvbgbap.js → model-resolver-der77a5r.js} +43 -43
  112. package/dist/chunks/{form-e21t7egf.js → model-resolver-dmq48mpy.js} +38 -38
  113. package/dist/chunks/{form-dqxsqydv.js → model-resolver-dqxsqydv.js} +1 -1
  114. package/dist/chunks/{form-g6yfr6ja.js → model-resolver-dssbfrwz.js} +5 -5
  115. package/dist/chunks/{form-hy3jsexh.js → model-resolver-dx3sr3as.js} +44 -44
  116. package/dist/chunks/{form-9tnx4h2s.js → model-resolver-dy66nzqs.js} +3 -3
  117. package/dist/chunks/model-resolver-e34gd66c.js +26 -0
  118. package/dist/chunks/{form-4d5txdkp.js → model-resolver-e5xwx9q2.js} +1 -1
  119. package/dist/chunks/{form-e80seqcp.js → model-resolver-e80seqcp.js} +1 -1
  120. package/dist/chunks/{form-p688wjw9.js → model-resolver-e9azs9n6.js} +9 -9
  121. package/dist/chunks/{form-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
  122. package/dist/chunks/{form-hz6ef5h4.js → model-resolver-ef5bn39a.js} +34 -34
  123. package/dist/chunks/{form-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{form-p22nwjv1.js → model-resolver-egwn3b3z.js} +2 -2
  125. package/dist/chunks/{form-d79x3a1q.js → model-resolver-erdcs917.js} +9 -9
  126. package/dist/chunks/{form-c1fqxshp.js → model-resolver-es1vcfrp.js} +3 -3
  127. package/dist/chunks/{form-rhvsmm7d.js → model-resolver-et8wf2kw.js} +21 -21
  128. package/dist/chunks/{form-n84mec99.js → model-resolver-ev42rs7f.js} +12 -12
  129. package/dist/chunks/{form-bxsrt1rp.js → model-resolver-eyc9h8gm.js} +4 -4
  130. package/dist/chunks/{form-nznf04hb.js → model-resolver-f14hekp8.js} +9 -9
  131. package/dist/chunks/{form-pa1r1w26.js → model-resolver-f1nae5s7.js} +11 -11
  132. package/dist/chunks/{form-vs030j7e.js → model-resolver-fftm5veb.js} +14 -14
  133. package/dist/chunks/{form-9av87sgt.js → model-resolver-fhr47e0j.js} +43 -43
  134. package/dist/chunks/{form-hym2f59v.js → model-resolver-fqn434s7.js} +6 -6
  135. package/dist/chunks/{form-2sejkfem.js → model-resolver-ft3hqk2c.js} +9 -9
  136. package/dist/chunks/{form-7j6s122j.js → model-resolver-fvjzj6fm.js} +9 -9
  137. package/dist/chunks/{form-5xtgfte3.js → model-resolver-g0445xdp.js} +6 -6
  138. package/dist/chunks/{form-w6k8tkd2.js → model-resolver-g05j57d7.js} +5 -5
  139. package/dist/chunks/{form-6mqp682y.js → model-resolver-g828bkxh.js} +8 -8
  140. package/dist/chunks/{form-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{form-y9k3q9ka.js → model-resolver-ggp1egtm.js} +3 -3
  142. package/dist/chunks/{form-cnzq3x3k.js → model-resolver-gw3qbjtg.js} +5 -5
  143. package/dist/chunks/{form-w02h5ydj.js → model-resolver-gwwgnv03.js} +15 -15
  144. package/dist/chunks/{form-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  145. package/dist/chunks/{form-31xfzrxg.js → model-resolver-h7s7r6s9.js} +5 -5
  146. package/dist/chunks/{form-k18re6s4.js → model-resolver-h8v25wh0.js} +21 -21
  147. package/dist/chunks/{form-0ndg0faa.js → model-resolver-hba5qx00.js} +15 -15
  148. package/dist/chunks/{form-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
  149. package/dist/chunks/{form-fgznzfpn.js → model-resolver-hjn6f328.js} +32 -32
  150. package/dist/chunks/{form-e8fts9y6.js → model-resolver-hws0p7qv.js} +18 -18
  151. package/dist/chunks/{form-cserprn9.js → model-resolver-hyym503s.js} +25 -25
  152. package/dist/chunks/{form-nc4bet3h.js → model-resolver-hz5abz9m.js} +11 -11
  153. package/dist/chunks/{form-afe92jp7.js → model-resolver-j9r8495c.js} +1 -1
  154. package/dist/chunks/{form-mj04efr5.js → model-resolver-jdqskayt.js} +32 -32
  155. package/dist/chunks/{form-jk540des.js → model-resolver-jk540des.js} +2 -2
  156. package/dist/chunks/{form-pk7kp0ha.js → model-resolver-jsjp95jt.js} +13 -13
  157. package/dist/chunks/{form-3k7apka1.js → model-resolver-jyrkv4gc.js} +1 -1
  158. package/dist/chunks/{form-nydqvqd1.js → model-resolver-k03dsn1k.js} +21 -21
  159. package/dist/chunks/{form-f2nkc2bd.js → model-resolver-k0pj753z.js} +11 -11
  160. package/dist/chunks/{form-had4kgfk.js → model-resolver-k18ytf7m.js} +6 -6
  161. package/dist/chunks/{form-k99j0hdv.js → model-resolver-k1d2vept.js} +22 -22
  162. package/dist/chunks/{form-sjs8znna.js → model-resolver-k1qskgm1.js} +14 -14
  163. package/dist/chunks/{form-m6aapqtj.js → model-resolver-k64pj0tg.js} +21 -21
  164. package/dist/chunks/{form-bg3gckj7.js → model-resolver-kdkn6452.js} +19 -19
  165. package/dist/chunks/{form-6emmestt.js → model-resolver-kf8jqwvn.js} +38 -38
  166. package/dist/chunks/{form-fxaymqdw.js → model-resolver-khmqacep.js} +4 -4
  167. package/dist/chunks/{form-tpbr7x97.js → model-resolver-kjxvkwmy.js} +18 -18
  168. package/dist/chunks/{form-amy9nr96.js → model-resolver-kk3mpyge.js} +23 -23
  169. package/dist/chunks/{form-xxmvpg75.js → model-resolver-kkhtdzsm.js} +12 -12
  170. package/dist/chunks/{form-h46ghbar.js → model-resolver-kwjtxjfb.js} +21 -21
  171. package/dist/chunks/{form-ny2rxstd.js → model-resolver-m93cgr6s.js} +8 -8
  172. package/dist/chunks/{form-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{form-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  174. package/dist/chunks/{form-4gx6x74g.js → model-resolver-mejf7p9j.js} +13 -13
  175. package/dist/chunks/{form-25h130a1.js → model-resolver-mk389d74.js} +17 -17
  176. package/dist/chunks/{form-48d837cs.js → model-resolver-n28jv3gc.js} +11 -11
  177. package/dist/chunks/{form-059731j3.js → model-resolver-n61013np.js} +8 -8
  178. package/dist/chunks/{form-0w2v831d.js → model-resolver-n6r6gr2k.js} +3 -3
  179. package/dist/chunks/{form-jv2kaqdm.js → model-resolver-nhd34jsd.js} +13 -13
  180. package/dist/chunks/{form-em2x5nm4.js → model-resolver-nnfex98a.js} +15 -15
  181. package/dist/chunks/{form-tq7zt23m.js → model-resolver-nq9f5nkx.js} +5 -5
  182. package/dist/chunks/{form-3zesr7q7.js → model-resolver-ntwdp302.js} +4 -4
  183. package/dist/chunks/{form-hbn2k00m.js → model-resolver-ny62zz38.js} +11 -11
  184. package/dist/chunks/{form-1wzqzz22.js → model-resolver-p4613v5m.js} +5 -5
  185. package/dist/chunks/{form-nj2kvgja.js → model-resolver-pdtwfjed.js} +4 -4
  186. package/dist/chunks/{form-9fpyc4y1.js → model-resolver-phvmwwrc.js} +16 -16
  187. package/dist/chunks/{form-4k2ddg7n.js → model-resolver-pj45xpz4.js} +3 -3
  188. package/dist/chunks/{form-19ezngz8.js → model-resolver-pjsqfx9m.js} +3 -3
  189. package/dist/chunks/{form-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{form-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  191. package/dist/chunks/{form-f58gpcny.js → model-resolver-pnkbpv6t.js} +9 -9
  192. package/dist/chunks/{form-0fd51wbp.js → model-resolver-pr6x9sxx.js} +4 -4
  193. package/dist/chunks/{form-pnkvp2wh.js → model-resolver-psde1en3.js} +4 -4
  194. package/dist/chunks/model-resolver-px39bg4v.js +513 -0
  195. package/dist/chunks/{form-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
  196. package/dist/chunks/model-resolver-q2d1k2hk.js +253 -0
  197. package/dist/chunks/{form-d9jccbc4.js → model-resolver-q2g3ps59.js} +47 -47
  198. package/dist/chunks/{form-ac21eqq7.js → model-resolver-qeafh5k3.js} +8 -8
  199. package/dist/chunks/{form-2k8khapm.js → model-resolver-qgn6gcr1.js} +5 -5
  200. package/dist/chunks/{form-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{form-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  202. package/dist/chunks/{form-qy4q8v6w.js → model-resolver-qsry094s.js} +5 -5
  203. package/dist/chunks/{form-80qt5czk.js → model-resolver-r05rzvq1.js} +50 -50
  204. package/dist/chunks/{form-d9ph3ygh.js → model-resolver-r24h05zg.js} +28 -28
  205. package/dist/chunks/{form-g686f6pq.js → model-resolver-r70na3yp.js} +9 -9
  206. package/dist/chunks/{form-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{form-02nrjc1r.js → model-resolver-rhjbct0v.js} +6 -6
  208. package/dist/chunks/{form-a9qkr9g3.js → model-resolver-rkp05d3h.js} +33 -33
  209. package/dist/chunks/{form-0r60aszv.js → model-resolver-s57pv86b.js} +30 -30
  210. package/dist/chunks/{form-5hj9z6kr.js → model-resolver-s73414qt.js} +16 -16
  211. package/dist/chunks/{form-scgrse2b.js → model-resolver-scgrse2b.js} +2 -2
  212. package/dist/chunks/{form-2eqqy56z.js → model-resolver-sm1cpy88.js} +14 -14
  213. package/dist/chunks/{form-4mwpykj0.js → model-resolver-sxzvkvgj.js} +6 -6
  214. package/dist/chunks/{form-syv4x271.js → model-resolver-syv4x271.js} +1 -1
  215. package/dist/chunks/{form-p6grt35w.js → model-resolver-t5345zfw.js} +4 -4
  216. package/dist/chunks/{form-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  217. package/dist/chunks/{form-5y0tywp4.js → model-resolver-tbxprhjc.js} +48 -48
  218. package/dist/chunks/{form-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  219. package/dist/chunks/{form-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  220. package/dist/chunks/{form-rert0e01.js → model-resolver-tkb22qbm.js} +2 -2
  221. package/dist/chunks/{form-qa3qhgw8.js → model-resolver-tkmwgdpd.js} +7 -7
  222. package/dist/chunks/{form-tm0kqsz3.js → model-resolver-tm0kqsz3.js} +1 -1
  223. package/dist/chunks/{form-3y53v1bx.js → model-resolver-tm6yce80.js} +2 -2
  224. package/dist/chunks/{form-4bj1b5bj.js → model-resolver-tsktfrs2.js} +84 -84
  225. package/dist/chunks/{form-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
  226. package/dist/chunks/{form-v0es1rhs.js → model-resolver-v0es1rhs.js} +2 -2
  227. package/dist/chunks/{form-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
  228. package/dist/chunks/{form-4rqs6yce.js → model-resolver-v8cmy866.js} +8 -8
  229. package/dist/chunks/{form-ha8954d1.js → model-resolver-v8hntyfk.js} +29 -29
  230. package/dist/chunks/{form-kd3nkf6b.js → model-resolver-vb82663b.js} +23 -23
  231. package/dist/chunks/{form-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  232. package/dist/chunks/{form-96zrc6ax.js → model-resolver-vh39qgwm.js} +7 -7
  233. package/dist/chunks/{form-fg72yp13.js → model-resolver-vhxz3vg8.js} +19 -19
  234. package/dist/chunks/{form-yj3x42dc.js → model-resolver-vqv75wwx.js} +11 -11
  235. package/dist/chunks/{form-j5yap3y4.js → model-resolver-vrcgr47b.js} +4 -4
  236. package/dist/chunks/{form-q76vn8xq.js → model-resolver-vsx5rp07.js} +33 -33
  237. package/dist/chunks/{form-7ejdeqms.js → model-resolver-vtt0yr3x.js} +11 -11
  238. package/dist/chunks/{form-a9731p8k.js → model-resolver-vx7qmf9g.js} +176 -176
  239. package/dist/chunks/{form-cmmdg65p.js → model-resolver-vxby77fw.js} +8 -8
  240. package/dist/chunks/{form-fwpheymm.js → model-resolver-vxvsynfj.js} +22 -22
  241. package/dist/chunks/{form-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{form-kyfczz2e.js → model-resolver-w0qm4gzb.js} +13 -13
  243. package/dist/chunks/{form-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{form-a824cvcf.js → model-resolver-w8t2jk6x.js} +10 -10
  245. package/dist/chunks/{form-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  246. package/dist/chunks/{form-xye03hfh.js → model-resolver-wh1hjrhc.js} +20 -20
  247. package/dist/chunks/{form-bjx1sjef.js → model-resolver-wjr9rjd7.js} +6 -6
  248. package/dist/chunks/{form-3sraz6ss.js → model-resolver-wphhsbqm.js} +45 -45
  249. package/dist/chunks/{form-rgrnpx6b.js → model-resolver-wrkpgzm9.js} +29 -29
  250. package/dist/chunks/{form-xxhd6h3y.js → model-resolver-xd4yhhbd.js} +30 -30
  251. package/dist/chunks/{form-f8d1cjf3.js → model-resolver-xdrp1hb6.js} +14 -14
  252. package/dist/chunks/{form-drwq78ky.js → model-resolver-xfkkasph.js} +4 -4
  253. package/dist/chunks/{form-9sn33rqc.js → model-resolver-xjdp5kgq.js} +3 -3
  254. package/dist/chunks/{form-3qyv7vzy.js → model-resolver-xpf8z4nb.js} +8 -8
  255. package/dist/chunks/{form-npayzc43.js → model-resolver-xpkszdg2.js} +6 -6
  256. package/dist/chunks/{form-zr5p0t8y.js → model-resolver-xqsvy1tg.js} +11 -11
  257. package/dist/chunks/{form-bczx5ry5.js → model-resolver-xybefm6f.js} +1 -1
  258. package/dist/chunks/{form-axx5sjxa.js → model-resolver-y11gfp3c.js} +22 -22
  259. package/dist/chunks/{form-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  260. package/dist/chunks/{form-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  261. package/dist/chunks/{form-f78dsz6n.js → model-resolver-y87z2683.js} +11 -11
  262. package/dist/chunks/{form-sas4s4zn.js → model-resolver-y9rz79sf.js} +30 -30
  263. package/dist/chunks/{form-qdjnfcj8.js → model-resolver-ya3jbp1k.js} +24 -24
  264. package/dist/chunks/{form-0x2ae93g.js → model-resolver-yahdewcc.js} +32 -32
  265. package/dist/chunks/{form-a55amyvq.js → model-resolver-yhd2m4kx.js} +32 -32
  266. package/dist/chunks/{form-yp2x3t23.js → model-resolver-yp2x3t23.js} +1 -1
  267. package/dist/chunks/{form-stgt6n7x.js → model-resolver-yqev8n43.js} +18 -18
  268. package/dist/chunks/{form-19j39p6z.js → model-resolver-ytye8eex.js} +28 -28
  269. package/dist/chunks/{form-w7hte7gg.js → model-resolver-yw18zvsa.js} +7 -7
  270. package/dist/chunks/{form-xms7d978.js → model-resolver-yxxmeqn1.js} +9 -9
  271. package/dist/chunks/{form-5ybdevb0.js → model-resolver-yyc693px.js} +26 -26
  272. package/dist/chunks/{form-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{form-sh5z954b.js → model-resolver-z2ce4t34.js} +22 -22
  274. package/dist/chunks/{form-hj4ygqcq.js → model-resolver-zaatn0x7.js} +10 -10
  275. package/dist/chunks/{form-wvpc58r4.js → model-resolver-ze7t1560.js} +46 -46
  276. package/dist/chunks/{form-306a0exk.js → model-resolver-zeadje1f.js} +19 -19
  277. package/dist/chunks/{form-7vnh4v92.js → model-resolver-zhzk0jbj.js} +11 -11
  278. package/dist/chunks/{form-e16j1n5r.js → model-resolver-zk8b9ssq.js} +15 -15
  279. package/dist/chunks/{form-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{form-eb6wq3zy.js → model-resolver-zwq9gsm5.js} +5 -5
  281. package/dist/chunks/{form-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{form-zwrfsjfy.js → model-resolver-zxz20fz9.js} +21 -21
  283. package/dist/chunks/{form-tmzc3aj8.js → model-resolver-zza4sf78.js} +21 -21
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +92 -92
  300. package/dist/config/plugin/location-watcher.js +120 -120
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +120 -120
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +87 -87
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +102 -102
  424. package/dist/form.js +80 -80
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +107 -107
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +87 -87
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +83 -83
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +100 -100
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +111 -111
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +92 -92
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +118 -118
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +82 -82
  557. package/dist/provider.js +103 -103
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +91 -91
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +135 -135
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +88 -88
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +2 -2
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +203 -203
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +212 -212
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +209 -209
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +114 -114
  627. package/dist/snapshot.js +93 -93
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +130 -130
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +124 -124
  635. package/dist/tool/plugin/grep.js +124 -124
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +105 -105
  640. package/dist/tool/plugin/read.js +121 -121
  641. package/dist/tool/plugin/shell.js +212 -212
  642. package/dist/tool/plugin/skill.js +115 -115
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +108 -108
  645. package/dist/tool/plugin/websearch.js +116 -116
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +81 -81
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +100 -100
  683. package/package.json +8 -8
  684. package/dist/chunks/form-pq18g9mh.js +0 -26
  685. package/dist/chunks/form-q509s3k3.js +0 -18
  686. package/dist/chunks/form-x32mvc4s.js +0 -513
  687. package/dist/chunks/form-y14nt2w1.js +0 -253
  688. /package/dist/chunks/{form-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{form-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{form-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{form-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{form-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{form-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{form-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{form-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{form-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{form-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{form-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{form-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  700. /package/dist/chunks/{form-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{form-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{form-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{form-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{form-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{form-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{form-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{form-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  708. /package/dist/chunks/{form-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{form-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{form-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  711. /package/dist/chunks/{form-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{form-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{form-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{form-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  715. /package/dist/chunks/{form-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{form-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{form-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{form-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{form-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{form-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{form-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{form-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{form-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{form-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{form-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{form-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{form-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{form-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{form-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{form-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{form-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{form-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{form-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{form-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  735. /package/dist/chunks/{form-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{form-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{form-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{form-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{form-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{form-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{form-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{form-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{form-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{form-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{form-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{form-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  747. /package/dist/chunks/{form-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{form-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  749. /package/dist/chunks/{form-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{form-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  751. /package/dist/chunks/{form-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{form-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{form-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{form-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{form-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{form-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{form-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{form-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  759. /package/dist/chunks/{form-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{form-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{form-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{form-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{form-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{form-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{form-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{form-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{form-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{form-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{form-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{form-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{form-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{form-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{form-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{form-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{form-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{form-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{form-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{form-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{form-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{form-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{form-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{form-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{form-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  784. /package/dist/chunks/{form-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{form-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{form-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{form-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{form-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{form-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-zr5p0t8y.js";
3
+ } from "./model-resolver-xqsvy1tg.js";
4
4
  import {
5
- Service83
6
- } from "./form-df6fnvr5.js";
5
+ Service84
6
+ } from "./model-resolver-21jrmc9g.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17,
10
- Service63
11
- } from "./form-vxnjn3gy.js";
9
+ Event19,
10
+ Service79
11
+ } from "./model-resolver-3vswmpk1.js";
12
12
  import {
13
- ID9,
13
+ ID14,
14
14
  MethodID2
15
- } from "./form-f45c2wqa.js";
15
+ } from "./model-resolver-7968cave.js";
16
16
  import {
17
- ID8,
17
+ ID13,
18
18
  mergeOverlay2
19
- } from "./form-w2z33w1j.js";
19
+ } from "./model-resolver-7e6b2cwb.js";
20
20
  import {
21
21
  ID7,
22
22
  VariantID2,
23
23
  Info16
24
- } from "./form-5ybdevb0.js";
24
+ } from "./model-resolver-yyc693px.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./form-pjvnvgmy.js";
28
+ } from "./model-resolver-pjvnvgmy.js";
29
29
  import {
30
30
  get5
31
- } from "./form-54ma36ye.js";
31
+ } from "./model-resolver-54ma36ye.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./form-75t9bye9.js";
34
+ } from "./model-resolver-7014qyn6.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID8.openai;
47
- var integrationID = ID9.make("openai");
46
+ var providerID = ID13.openai;
47
+ var integrationID = ID14.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -179,8 +179,8 @@ function listen(server) {
179
179
  var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
- const bus = yield* Service83;
183
- const credentials = yield* Service63;
182
+ const bus = yield* Service84;
183
+ const credentials = yield* Service79;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID9.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID8.openai, ID7.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID13.openai, ID7.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./form-rdw6cm16.js";
3
+ } from "./model-resolver-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./form-qaymkmh1.js";
6
+ } from "./model-resolver-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options10,
15
- Service: () => Service65,
14
+ Options: () => Options9,
15
+ Service: () => Service56,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured8,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node68,
24
+ node: () => node58,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve4
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options10 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service65 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service56 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service65.of({
202
+ return Service56.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured10(options) {
210
- return makeLocationNode({ service: Service65, layer: layer(options), deps: [Global.node] });
209
+ function configured8(options) {
210
+ return makeLocationNode({ service: Service56, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node68 = configured10();
212
+ var node58 = configured8();
213
213
 
214
- export { Options10, Service65, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node68, exports_select };
214
+ export { Options9, Service56, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured8, node58, exports_select };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,99 +1,99 @@
1
1
  import {
2
2
  AmazonBedrockPlugin2
3
- } from "./form-eb6wq3zy.js";
3
+ } from "./model-resolver-zwq9gsm5.js";
4
4
  import {
5
5
  AzurePlugin2
6
- } from "./form-hy3jsexh.js";
6
+ } from "./model-resolver-dx3sr3as.js";
7
7
  import {
8
8
  CerebrasPlugin2
9
- } from "./form-wc3fc9cn.js";
9
+ } from "./model-resolver-wc3fc9cn.js";
10
10
  import {
11
11
  ChatGPTPlugin2
12
- } from "./form-k18re6s4.js";
12
+ } from "./model-resolver-h8v25wh0.js";
13
13
  import {
14
14
  CloudflareAIGatewayPlugin2
15
- } from "./form-nj2kvgja.js";
15
+ } from "./model-resolver-pdtwfjed.js";
16
16
  import {
17
17
  CloudflareWorkersAIPlugin2
18
- } from "./form-3eaxan5r.js";
18
+ } from "./model-resolver-9hcy9v3f.js";
19
19
  import {
20
20
  CoherePlugin2
21
- } from "./form-z0bkrqjs.js";
21
+ } from "./model-resolver-z0bkrqjs.js";
22
22
  import {
23
23
  DatabricksPlugin2
24
- } from "./form-wjj7prxr.js";
24
+ } from "./model-resolver-wjj7prxr.js";
25
25
  import {
26
26
  DigitalOceanPlugin2
27
- } from "./form-rw4qcwcj.js";
27
+ } from "./model-resolver-01s1begh.js";
28
28
  import {
29
29
  DynamicProviderPlugin2
30
- } from "./form-5m9w47nd.js";
30
+ } from "./model-resolver-5m9w47nd.js";
31
31
  import {
32
32
  GithubCopilotPlugin2
33
- } from "./form-82t7k0nh.js";
33
+ } from "./model-resolver-1sr5z03x.js";
34
34
  import {
35
35
  GitLabPlugin2
36
- } from "./form-306a0exk.js";
36
+ } from "./model-resolver-zeadje1f.js";
37
37
  import {
38
38
  GoogleVertexPlugin2
39
- } from "./form-xye03hfh.js";
39
+ } from "./model-resolver-wh1hjrhc.js";
40
40
  import {
41
41
  KiloPlugin2
42
- } from "./form-qg3g05ea.js";
42
+ } from "./model-resolver-qg3g05ea.js";
43
43
  import {
44
44
  LLMGatewayPlugin2
45
- } from "./form-tz53ddc1.js";
45
+ } from "./model-resolver-3ggd8s46.js";
46
46
  import {
47
47
  LMStudioPlugin2
48
- } from "./form-3zesr7q7.js";
48
+ } from "./model-resolver-ntwdp302.js";
49
49
  import {
50
50
  ModalPlugin2
51
- } from "./form-w02h5ydj.js";
51
+ } from "./model-resolver-gwwgnv03.js";
52
52
  import {
53
53
  NeonPlugin2
54
- } from "./form-ve7vex1e.js";
54
+ } from "./model-resolver-ve7vex1e.js";
55
55
  import {
56
56
  NvidiaPlugin2
57
- } from "./form-24dcb14g.js";
57
+ } from "./model-resolver-24dcb14g.js";
58
58
  import {
59
59
  OllamaPlugin2
60
- } from "./form-bxsrt1rp.js";
60
+ } from "./model-resolver-eyc9h8gm.js";
61
61
  import {
62
62
  OpenAIPlugin3
63
- } from "./form-rhvsmm7d.js";
63
+ } from "./model-resolver-et8wf2kw.js";
64
64
  import {
65
65
  SnowflakeCortexPlugin2
66
- } from "./form-fg72yp13.js";
66
+ } from "./model-resolver-vhxz3vg8.js";
67
67
  import {
68
68
  OpencodePlugin2
69
- } from "./form-axx5sjxa.js";
69
+ } from "./model-resolver-y11gfp3c.js";
70
70
  import {
71
71
  OpenRouterPlugin2
72
- } from "./form-afe92jp7.js";
72
+ } from "./model-resolver-j9r8495c.js";
73
73
  import {
74
74
  PerplexityPlugin2
75
- } from "./form-veqvce7d.js";
75
+ } from "./model-resolver-veqvce7d.js";
76
76
  import {
77
77
  PoePlugin2
78
- } from "./form-tq7zt23m.js";
78
+ } from "./model-resolver-nq9f5nkx.js";
79
79
  import {
80
80
  PromptCacheKeyPlugin2
81
- } from "./form-hcxmzztb.js";
81
+ } from "./model-resolver-hcxmzztb.js";
82
82
  import {
83
83
  SapAICorePlugin2
84
- } from "./form-qy4q8v6w.js";
84
+ } from "./model-resolver-qsry094s.js";
85
85
  import {
86
86
  VercelPlugin2
87
- } from "./form-4d5txdkp.js";
87
+ } from "./model-resolver-e5xwx9q2.js";
88
88
  import {
89
89
  VLLMPlugin2
90
- } from "./form-pnkvp2wh.js";
90
+ } from "./model-resolver-psde1en3.js";
91
91
  import {
92
92
  XAIPlugin2
93
- } from "./form-7vnh4v92.js";
93
+ } from "./model-resolver-zhzk0jbj.js";
94
94
  import {
95
95
  ZenmuxPlugin2
96
- } from "./form-jjkms2e6.js";
96
+ } from "./model-resolver-jjkms2e6.js";
97
97
 
98
98
  // src/plugin/provider.ts
99
99
  var ProviderPlugins2 = [
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
- Info10,
6
- ID6,
5
+ Info17,
6
+ ID8,
7
7
  Name2
8
- } from "./form-dnrfz0q2.js";
8
+ } from "./model-resolver-4djhckew.js";
9
9
  import {
10
- Service55
11
- } from "./form-pfenne1w.js";
10
+ Service47
11
+ } from "./model-resolver-bhhmns0g.js";
12
12
  import {
13
13
  __export
14
- } from "./form-9rqn6x4v.js";
14
+ } from "./model-resolver-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill2 = {};
18
+ __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin13,
21
+ Plugin: () => Plugin32,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill2
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 Plugin13 = define({
428
+ var Plugin32 = 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
- editor.add(Info10.make({
434
- id: ID6.make("opencode"),
433
+ editor.add(Info17.make({
434
+ id: ID8.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
- editor.add(Info10.make({
441
- id: ID6.make("report"),
440
+ editor.add(Info17.make({
441
+ id: ID8.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -467,7 +467,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
467
467
  `);
468
468
  });
469
469
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
470
- const config = yield* Service55;
470
+ const config = yield* Service47;
471
471
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
472
472
  });
473
473
  function terminal() {
@@ -481,4 +481,4 @@ function shell() {
481
481
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
482
482
  }
483
483
 
484
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin13, exports_skill };
484
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin32, exports_skill2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./form-775gj3j1.js";
3
+ } from "./model-resolver-775gj3j1.js";
4
4
  import {
5
- Service45,
6
- node47
7
- } from "./form-6emmestt.js";
5
+ Service66,
6
+ node69
7
+ } from "./model-resolver-kf8jqwvn.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate = {};
14
- __export(exports_generate, {
15
- Generate: () => exports_generate,
13
+ var exports_generate2 = {};
14
+ __export(exports_generate2, {
15
+ Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service19,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer11,
20
- node: () => node22
17
+ Service: () => Service58,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer22,
20
+ node: () => node60
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
28
28
  }) {
29
29
  }
30
30
 
31
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
32
32
  message: Schema.String,
33
33
  service: Schema.optional(Schema.String)
34
34
  }) {
35
35
  }
36
36
 
37
- class Service19 extends Context.Service()("@opencode/Generate") {
37
+ class Service58 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer11 = Layer.effect(Service19, Effect.gen(function* () {
39
+ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service45;
41
+ const resolver = yield* Service66;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -48,7 +48,7 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
48
48
  "SessionRunnerModel.UnresolvedProviderVariablesError",
49
49
  "SessionRunnerModel.UnsupportedCompactionError"
50
50
  ], (error) => {
51
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
59
59
  model: resolved.model,
60
60
  prompt: input.prompt,
61
61
  http: { headers: { "x-opencode-session": SessionID.create() } }
62
- })).pipe(Effect.mapError((error) => new UnavailableError2({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError3({
63
63
  message: error.message,
64
64
  service: resolved.ref.providerID
65
65
  })));
66
66
  return response.text;
67
67
  });
68
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service19.of({ text });
71
+ return Service58.of({ text });
72
72
  }));
73
- var node22 = makeLocationNode({
74
- service: Service19,
75
- layer: layer11,
76
- deps: [node47, llmClient2]
73
+ var node60 = makeLocationNode({
74
+ service: Service58,
75
+ layer: layer22,
76
+ deps: [node69, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError2, Service19, layer11, node22, exports_generate };
79
+ export { ModelSelectionError2, UnavailableError3, Service58, layer22, node60, exports_generate2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./form-tazgh4e4.js";
3
+ } from "./model-resolver-tazgh4e4.js";
4
4
  import {
5
- ID5,
6
- Service49
7
- } from "./form-k99j0hdv.js";
5
+ ID3,
6
+ Service36
7
+ } from "./model-resolver-k1d2vept.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./form-mtpeagzc.js";
10
+ } from "./model-resolver-axe3mf62.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./form-19ezngz8.js";
13
+ } from "./model-resolver-pjsqfx9m.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./form-c1fqxshp.js";
16
+ } from "./model-resolver-es1vcfrp.js";
17
17
  import {
18
18
  __export
19
- } from "./form-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service49;
84
+ const snapshot = yield* Service36;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID5.make(from),
91
- to: ID5.make(to),
90
+ from: ID3.make(from),
91
+ to: ID3.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID7
3
- } from "./form-5ybdevb0.js";
3
+ } from "./model-resolver-yyc693px.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./form-df6fnvr5.js";
2
+ Service84,
3
+ node88
4
+ } from "./model-resolver-21jrmc9g.js";
5
5
  import {
6
- Service29,
7
- node32
8
- } from "./form-5y0tywp4.js";
6
+ Service35,
7
+ node38
8
+ } from "./model-resolver-tbxprhjc.js";
9
9
  import {
10
- Service69,
11
- node72
12
- } from "./form-d9jccbc4.js";
10
+ Service71,
11
+ node74
12
+ } from "./model-resolver-q2g3ps59.js";
13
13
  import {
14
- Service36,
15
- node39
16
- } from "./form-qdjnfcj8.js";
14
+ Service50,
15
+ node52
16
+ } from "./model-resolver-ya3jbp1k.js";
17
17
  import {
18
18
  __export
19
- } from "./form-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service27,
26
- layer: () => layer13,
27
- name: () => name13,
25
+ Service: () => Service34,
26
+ layer: () => layer16,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node30
29
+ node: () => node37
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service27 extends Context.Service()("@opencode/McpTool") {
38
+ class Service34 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service27, Effect.gen(function* () {
41
- const mcp = yield* Service29;
42
- const tools = yield* Service36;
43
- const bus = yield* Service83;
44
- const permission = yield* Service69;
40
+ var layer16 = Layer.effect(Service34, Effect.gen(function* () {
41
+ const mcp = yield* Service35;
42
+ const tools = yield* Service50;
43
+ const bus = yield* Service84;
44
+ const permission = yield* Service71;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node30 = makeLocationNode({
124
- service: Service27,
125
- layer: layer13,
126
- deps: [node39, node32, node87, node72]
123
+ var node37 = makeLocationNode({
124
+ service: Service34,
125
+ layer: layer16,
126
+ deps: [node52, node38, node88, node74]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service27, layer13, node30, exports_mcp3 };
129
+ export { namespace2, name14, Service34, layer16, node37, exports_mcp3 };