@opencode/core 0.0.0-dev-20948 → 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 +77 -77
  7. package/dist/chunks/{git-ga2wxmhq.js → model-resolver-017v6ka8.js} +15 -15
  8. package/dist/chunks/{git-rjdbxett.js → model-resolver-01s1begh.js} +17 -17
  9. package/dist/chunks/{git-t7n9q6bq.js → model-resolver-06x8he3q.js} +4 -4
  10. package/dist/chunks/{git-frkqgfsy.js → model-resolver-076tdj8j.js} +11 -11
  11. package/dist/chunks/{git-600a0prn.js → model-resolver-09rrpfny.js} +28 -28
  12. package/dist/chunks/{git-r9w3djhf.js → model-resolver-0jq9fyba.js} +9 -9
  13. package/dist/chunks/{git-fww2ha2b.js → model-resolver-0p78r4x4.js} +10 -10
  14. package/dist/chunks/{git-h12cqrs8.js → model-resolver-0rf3mqqe.js} +18 -18
  15. package/dist/chunks/{git-kar1yzx3.js → model-resolver-0satj92y.js} +11 -11
  16. package/dist/chunks/{git-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{git-y19c8s10.js → model-resolver-125fewv7.js} +11 -11
  18. package/dist/chunks/{git-45a6yaqd.js → model-resolver-12tpmng7.js} +71 -71
  19. package/dist/chunks/{git-4pznzvvb.js → model-resolver-1fsm553b.js} +16 -16
  20. package/dist/chunks/{git-tgyfqjhv.js → model-resolver-1kswe1g3.js} +51 -51
  21. package/dist/chunks/{git-9jsjce8g.js → model-resolver-1sr5z03x.js} +40 -40
  22. package/dist/chunks/{git-yy2qn57n.js → model-resolver-1wp3hb2k.js} +9 -9
  23. package/dist/chunks/{git-gy3ewsg1.js → model-resolver-1z02ee6a.js} +28 -28
  24. package/dist/chunks/{git-j840x00t.js → model-resolver-21jrmc9g.js} +14 -14
  25. package/dist/chunks/{git-v2qjv84n.js → model-resolver-26tsy11a.js} +15 -15
  26. package/dist/chunks/{git-jbbhbnm9.js → model-resolver-276bngqz.js} +14 -14
  27. package/dist/chunks/{git-f5gqx7z5.js → model-resolver-2erc5g3s.js} +4 -4
  28. package/dist/chunks/{git-8rz8ve1a.js → model-resolver-2qnat7dc.js} +16 -16
  29. package/dist/chunks/{git-5mvg709s.js → model-resolver-2r93mh4x.js} +12 -12
  30. package/dist/chunks/{git-c9wbyant.js → model-resolver-2ryng5r3.js} +4 -4
  31. package/dist/chunks/{git-cp9q7vf4.js → model-resolver-2y74b1pt.js} +36 -36
  32. package/dist/chunks/{git-bbafnyd0.js → model-resolver-2zd7cxc8.js} +11 -11
  33. package/dist/chunks/{git-aaz2ppa0.js → model-resolver-31knp78d.js} +18 -18
  34. package/dist/chunks/{git-5a633k63.js → model-resolver-31v9pj2m.js} +11 -11
  35. package/dist/chunks/{git-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{git-hafwy6wt.js → model-resolver-3g3fherm.js} +30 -30
  37. package/dist/chunks/{git-7epp4vs3.js → model-resolver-3ggd8s46.js} +5 -5
  38. package/dist/chunks/{git-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{git-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{git-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{git-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{git-efybvz04.js → model-resolver-3vswmpk1.js} +33 -33
  43. package/dist/chunks/{git-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{git-rc1szs54.js → model-resolver-4az1a8cs.js} +6 -6
  45. package/dist/chunks/{git-6tzebk0j.js → model-resolver-4djhckew.js} +26 -26
  46. package/dist/chunks/{git-pqmybdq4.js → model-resolver-4j05sq0m.js} +28 -28
  47. package/dist/chunks/{git-r94pvvab.js → model-resolver-54ma36ye.js} +4 -4
  48. package/dist/chunks/{git-qytsfeh6.js → model-resolver-5926cwpj.js} +8 -8
  49. package/dist/chunks/{git-8h8303va.js → model-resolver-5fqe9rrs.js} +10 -10
  50. package/dist/chunks/{git-0hvtwp3s.js → model-resolver-5jc797f7.js} +21 -21
  51. package/dist/chunks/{git-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{git-e1yb93hp.js → model-resolver-5nns0kdt.js} +22 -22
  53. package/dist/chunks/{git-m87300ey.js → model-resolver-5x1d34z2.js} +3 -3
  54. package/dist/chunks/{git-7yjsdw3n.js → model-resolver-5x4mgjyy.js} +27 -27
  55. package/dist/chunks/{git-9qnraezg.js → model-resolver-5y2nakwc.js} +22 -22
  56. package/dist/chunks/{git-dvdnw3cp.js → model-resolver-69nevm9g.js} +92 -92
  57. package/dist/chunks/{git-w53aabxs.js → model-resolver-6r5rwgtp.js} +13 -13
  58. package/dist/chunks/{git-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{git-mz5a208t.js → model-resolver-7014qyn6.js} +6 -6
  60. package/dist/chunks/{git-ydxn63dc.js → model-resolver-72qbjese.js} +14 -14
  61. package/dist/chunks/{git-thz8mtkz.js → model-resolver-73bangna.js} +15 -15
  62. package/dist/chunks/{git-775gj3j1.js → model-resolver-775gj3j1.js} +2 -2
  63. package/dist/chunks/{git-78er6hm2.js → model-resolver-7968cave.js} +33 -33
  64. package/dist/chunks/{git-gmmxkbmv.js → model-resolver-7a3t7few.js} +28 -28
  65. package/dist/chunks/{git-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{git-dxvcp820.js → model-resolver-7e1nrk9x.js} +19 -19
  67. package/dist/chunks/{git-j6ne1s41.js → model-resolver-7e6b2cwb.js} +35 -35
  68. package/dist/chunks/{git-raz7r69d.js → model-resolver-7h0gvqqa.js} +10 -10
  69. package/dist/chunks/{git-p42rbx7w.js → model-resolver-7haz9w5k.js} +5 -5
  70. package/dist/chunks/{git-zcxtw1zj.js → model-resolver-7j0h8tbw.js} +23 -23
  71. package/dist/chunks/{git-btn9ak2p.js → model-resolver-7kpkhag7.js} +58 -58
  72. package/dist/chunks/{git-3ck1y37x.js → model-resolver-7xfrtcks.js} +11 -11
  73. package/dist/chunks/{git-bacyadyn.js → model-resolver-80scg3y3.js} +4 -4
  74. package/dist/chunks/{git-6525tgc4.js → model-resolver-81rxcsqc.js} +17 -17
  75. package/dist/chunks/{git-w1eejvng.js → model-resolver-84txncab.js} +5 -5
  76. package/dist/chunks/{git-kpe031v2.js → model-resolver-89j1w47y.js} +27 -27
  77. package/dist/chunks/{git-gnnz5nnv.js → model-resolver-8c3hmt3w.js} +22 -22
  78. package/dist/chunks/{git-3fv9tas6.js → model-resolver-8e2jakfn.js} +11 -11
  79. package/dist/chunks/{git-q6avzzpv.js → model-resolver-8hje7a9v.js} +24 -24
  80. package/dist/chunks/{git-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{git-8sze2n9a.js → model-resolver-8sze2n9a.js} +2 -2
  82. package/dist/chunks/{git-j09zfasm.js → model-resolver-91qna3x0.js} +3 -3
  83. package/dist/chunks/{git-waskdk5r.js → model-resolver-97aeaand.js} +4 -4
  84. package/dist/chunks/{git-es6qv9qs.js → model-resolver-97bpphjt.js} +13 -13
  85. package/dist/chunks/{git-2nykj5zt.js → model-resolver-9hcy9v3f.js} +5 -5
  86. package/dist/chunks/{git-tz8jdh8q.js → model-resolver-9hfpa9m9.js} +28 -28
  87. package/dist/chunks/{git-9hwaqfsw.js → model-resolver-9hwaqfsw.js} +2 -2
  88. package/dist/chunks/{git-c07qxs3a.js → model-resolver-9mtvkt7f.js} +22 -22
  89. package/dist/chunks/{git-3hhbryxg.js → model-resolver-9y5jvg7a.js} +37 -37
  90. package/dist/chunks/{git-rqa1jxse.js → model-resolver-9y9sk2j9.js} +2 -2
  91. package/dist/chunks/model-resolver-9zdhvgqs.js +18 -0
  92. package/dist/chunks/{git-01eenfpa.js → model-resolver-a634dvb9.js} +15 -15
  93. package/dist/chunks/{git-zw2hpfmh.js → model-resolver-addxnjmp.js} +4 -4
  94. package/dist/chunks/{git-qjx1ax0j.js → model-resolver-aj3rbcf1.js} +5 -5
  95. package/dist/chunks/{git-b5mayez8.js → model-resolver-apj3cz87.js} +14 -14
  96. package/dist/chunks/{git-48kw51zw.js → model-resolver-axe3mf62.js} +3 -3
  97. package/dist/chunks/{git-xn3jjke7.js → model-resolver-b0dxm10x.js} +38 -38
  98. package/dist/chunks/{git-5p3dx02w.js → model-resolver-b134vsz7.js} +7 -7
  99. package/dist/chunks/{git-7dbmnfn4.js → model-resolver-be7qvw84.js} +8 -8
  100. package/dist/chunks/{git-y3b7wprm.js → model-resolver-bhhmns0g.js} +49 -49
  101. package/dist/chunks/{git-vq1kmzy0.js → model-resolver-bsagyafn.js} +11 -11
  102. package/dist/chunks/{git-azc6s5tn.js → model-resolver-bwd9ews5.js} +13 -13
  103. package/dist/chunks/{git-rj3eygr5.js → model-resolver-c41wscbt.js} +2 -2
  104. package/dist/chunks/{git-sa8ekw3f.js → model-resolver-c8ax2afj.js} +2 -2
  105. package/dist/chunks/{git-bzbkpqhk.js → model-resolver-ch7mpmes.js} +11 -11
  106. package/dist/chunks/{git-espax8zg.js → model-resolver-cp937pt4.js} +4 -4
  107. package/dist/chunks/{git-142mvydr.js → model-resolver-cvkyw9pt.js} +18 -18
  108. package/dist/chunks/{git-4j4tgtq5.js → model-resolver-d2czbp48.js} +4 -4
  109. package/dist/chunks/{git-eecv355n.js → model-resolver-d8d1mz9r.js} +25 -25
  110. package/dist/chunks/{git-pfq1ksym.js → model-resolver-d9wzmzc3.js} +5 -5
  111. package/dist/chunks/{git-9kza9pnb.js → model-resolver-der77a5r.js} +43 -43
  112. package/dist/chunks/{git-84k1wv33.js → model-resolver-dmq48mpy.js} +37 -37
  113. package/dist/chunks/{git-dqxsqydv.js → model-resolver-dqxsqydv.js} +1 -1
  114. package/dist/chunks/{git-1pxz8ven.js → model-resolver-dssbfrwz.js} +5 -5
  115. package/dist/chunks/{git-rke3dw8p.js → model-resolver-dx3sr3as.js} +47 -47
  116. package/dist/chunks/{git-4nyw54n1.js → model-resolver-dy66nzqs.js} +5 -5
  117. package/dist/chunks/model-resolver-e34gd66c.js +26 -0
  118. package/dist/chunks/{git-pv0qkrbb.js → model-resolver-e5xwx9q2.js} +1 -1
  119. package/dist/chunks/{git-e80seqcp.js → model-resolver-e80seqcp.js} +1 -1
  120. package/dist/chunks/{git-bbmabm9f.js → model-resolver-e9azs9n6.js} +9 -9
  121. package/dist/chunks/{git-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
  122. package/dist/chunks/{git-z7b3fry8.js → model-resolver-ef5bn39a.js} +36 -36
  123. package/dist/chunks/{git-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{git-ytjkwh0b.js → model-resolver-egwn3b3z.js} +2 -2
  125. package/dist/chunks/{git-3dyta72r.js → model-resolver-erdcs917.js} +12 -12
  126. package/dist/chunks/{git-c1fqxshp.js → model-resolver-es1vcfrp.js} +3 -3
  127. package/dist/chunks/{git-mvftxahx.js → model-resolver-et8wf2kw.js} +23 -23
  128. package/dist/chunks/{git-b2sh5862.js → model-resolver-ev42rs7f.js} +12 -12
  129. package/dist/chunks/{git-pep7hara.js → model-resolver-eyc9h8gm.js} +4 -4
  130. package/dist/chunks/{git-s6a0m454.js → model-resolver-f14hekp8.js} +9 -9
  131. package/dist/chunks/{git-ygt24qhf.js → model-resolver-f1nae5s7.js} +11 -11
  132. package/dist/chunks/{git-ydykb0bb.js → model-resolver-fftm5veb.js} +11 -11
  133. package/dist/chunks/{git-dn734jx6.js → model-resolver-fhr47e0j.js} +45 -45
  134. package/dist/chunks/{git-v0p1yc4r.js → model-resolver-fqn434s7.js} +9 -9
  135. package/dist/chunks/{git-cwa6csj7.js → model-resolver-ft3hqk2c.js} +9 -9
  136. package/dist/chunks/{git-4gbfhf8t.js → model-resolver-fvjzj6fm.js} +9 -9
  137. package/dist/chunks/{git-9hn6k4tm.js → model-resolver-g0445xdp.js} +8 -8
  138. package/dist/chunks/{git-h2ps0vhb.js → model-resolver-g05j57d7.js} +5 -5
  139. package/dist/chunks/{git-1xqxdv1f.js → model-resolver-g828bkxh.js} +8 -8
  140. package/dist/chunks/{git-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{git-dpdj1ayc.js → model-resolver-ggp1egtm.js} +6 -6
  142. package/dist/chunks/{git-ghcndwhm.js → model-resolver-gw3qbjtg.js} +23 -23
  143. package/dist/chunks/{git-tbwjy4jx.js → model-resolver-gwwgnv03.js} +19 -19
  144. package/dist/chunks/{git-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  145. package/dist/chunks/{git-31xfzrxg.js → model-resolver-h7s7r6s9.js} +5 -5
  146. package/dist/chunks/{git-sreec1n3.js → model-resolver-h8v25wh0.js} +25 -25
  147. package/dist/chunks/{git-vc4tj14c.js → model-resolver-hba5qx00.js} +17 -17
  148. package/dist/chunks/{git-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
  149. package/dist/chunks/{git-trr6sjah.js → model-resolver-hjn6f328.js} +32 -32
  150. package/dist/chunks/{git-v4h4tcaj.js → model-resolver-hws0p7qv.js} +18 -18
  151. package/dist/chunks/{git-yhsvpzag.js → model-resolver-hyym503s.js} +25 -25
  152. package/dist/chunks/{git-cj3e383x.js → model-resolver-hz5abz9m.js} +11 -11
  153. package/dist/chunks/{git-zkxb83dh.js → model-resolver-j9r8495c.js} +3 -3
  154. package/dist/chunks/{git-yhw8c8y5.js → model-resolver-jdqskayt.js} +28 -28
  155. package/dist/chunks/{git-jk540des.js → model-resolver-jk540des.js} +2 -2
  156. package/dist/chunks/{git-phtdqv75.js → model-resolver-jsjp95jt.js} +13 -13
  157. package/dist/chunks/{git-t1d5g21r.js → model-resolver-jyrkv4gc.js} +1 -1
  158. package/dist/chunks/{git-m4eh47d0.js → model-resolver-k03dsn1k.js} +21 -21
  159. package/dist/chunks/{git-vxssbp9k.js → model-resolver-k0pj753z.js} +12 -12
  160. package/dist/chunks/{git-wgahhr0x.js → model-resolver-k18ytf7m.js} +6 -6
  161. package/dist/chunks/{git-ngrent29.js → model-resolver-k1d2vept.js} +24 -24
  162. package/dist/chunks/{git-xbrfyfsb.js → model-resolver-k1qskgm1.js} +41 -41
  163. package/dist/chunks/{git-hh35cv3q.js → model-resolver-k64pj0tg.js} +21 -21
  164. package/dist/chunks/{git-d6bawxmv.js → model-resolver-kdkn6452.js} +22 -22
  165. package/dist/chunks/{git-e6snzbr7.js → model-resolver-kf8jqwvn.js} +45 -45
  166. package/dist/chunks/{git-khmqacep.js → model-resolver-khmqacep.js} +1 -1
  167. package/dist/chunks/{git-npa0ynms.js → model-resolver-kjxvkwmy.js} +14 -14
  168. package/dist/chunks/{git-zxk4qck4.js → model-resolver-kk3mpyge.js} +23 -23
  169. package/dist/chunks/{git-8n04q4wy.js → model-resolver-kkhtdzsm.js} +23 -23
  170. package/dist/chunks/{git-3mfe6nk2.js → model-resolver-kwjtxjfb.js} +23 -23
  171. package/dist/chunks/{git-10ny1wjp.js → model-resolver-m93cgr6s.js} +5 -5
  172. package/dist/chunks/{git-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{git-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  174. package/dist/chunks/{git-bwp9jw94.js → model-resolver-mejf7p9j.js} +15 -15
  175. package/dist/chunks/{git-skg7yay7.js → model-resolver-mk389d74.js} +17 -17
  176. package/dist/chunks/{git-n93jbp0k.js → model-resolver-n28jv3gc.js} +11 -11
  177. package/dist/chunks/{git-dys7k0s0.js → model-resolver-n61013np.js} +8 -8
  178. package/dist/chunks/{git-3gt2qbz4.js → model-resolver-n6r6gr2k.js} +3 -3
  179. package/dist/chunks/{git-j9vfexns.js → model-resolver-nhd34jsd.js} +13 -13
  180. package/dist/chunks/{git-yjzpsqha.js → model-resolver-nnfex98a.js} +15 -15
  181. package/dist/chunks/{git-04jwapqe.js → model-resolver-nq9f5nkx.js} +5 -5
  182. package/dist/chunks/{git-prjwzds1.js → model-resolver-ntwdp302.js} +4 -4
  183. package/dist/chunks/{git-64np693v.js → model-resolver-ny62zz38.js} +11 -11
  184. package/dist/chunks/{git-515nex7v.js → model-resolver-p4613v5m.js} +5 -5
  185. package/dist/chunks/{git-z1fqagv4.js → model-resolver-pdtwfjed.js} +4 -4
  186. package/dist/chunks/{git-np7435h2.js → model-resolver-phvmwwrc.js} +16 -16
  187. package/dist/chunks/{git-n6z2stbm.js → model-resolver-pj45xpz4.js} +3 -3
  188. package/dist/chunks/{git-twwzjqdf.js → model-resolver-pjsqfx9m.js} +6 -6
  189. package/dist/chunks/{git-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{git-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  191. package/dist/chunks/{git-xdx7acry.js → model-resolver-pnkbpv6t.js} +9 -9
  192. package/dist/chunks/{git-ph8hns1v.js → model-resolver-pr6x9sxx.js} +4 -4
  193. package/dist/chunks/{git-nmcvttpa.js → model-resolver-psde1en3.js} +4 -4
  194. package/dist/chunks/model-resolver-px39bg4v.js +513 -0
  195. package/dist/chunks/{git-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
  196. package/dist/chunks/model-resolver-q2d1k2hk.js +253 -0
  197. package/dist/chunks/{git-rrszzvxe.js → model-resolver-q2g3ps59.js} +57 -57
  198. package/dist/chunks/{git-vcjvn6yt.js → model-resolver-qeafh5k3.js} +8 -8
  199. package/dist/chunks/{git-7dqw4kz8.js → model-resolver-qgn6gcr1.js} +5 -5
  200. package/dist/chunks/{git-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{git-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  202. package/dist/chunks/{git-z86bsf9w.js → model-resolver-qsry094s.js} +5 -5
  203. package/dist/chunks/{git-q6rjgs81.js → model-resolver-r05rzvq1.js} +50 -50
  204. package/dist/chunks/{git-ept267pb.js → model-resolver-r24h05zg.js} +28 -28
  205. package/dist/chunks/{git-g686f6pq.js → model-resolver-r70na3yp.js} +9 -9
  206. package/dist/chunks/{git-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{git-02nrjc1r.js → model-resolver-rhjbct0v.js} +6 -6
  208. package/dist/chunks/{git-se2hztq6.js → model-resolver-rkp05d3h.js} +31 -31
  209. package/dist/chunks/{git-q9y8w0zk.js → model-resolver-s57pv86b.js} +32 -32
  210. package/dist/chunks/{git-f43tv5dk.js → model-resolver-s73414qt.js} +18 -18
  211. package/dist/chunks/{git-scgrse2b.js → model-resolver-scgrse2b.js} +2 -2
  212. package/dist/chunks/{git-2vrdh7d5.js → model-resolver-sm1cpy88.js} +13 -13
  213. package/dist/chunks/{git-tcay1cqt.js → model-resolver-sxzvkvgj.js} +6 -6
  214. package/dist/chunks/{git-syv4x271.js → model-resolver-syv4x271.js} +1 -1
  215. package/dist/chunks/{git-xv09z32e.js → model-resolver-t5345zfw.js} +4 -4
  216. package/dist/chunks/{git-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  217. package/dist/chunks/{git-9vx4ezry.js → model-resolver-tbxprhjc.js} +50 -50
  218. package/dist/chunks/{git-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  219. package/dist/chunks/{git-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  220. package/dist/chunks/{git-rert0e01.js → model-resolver-tkb22qbm.js} +2 -2
  221. package/dist/chunks/{git-v5dkyp31.js → model-resolver-tkmwgdpd.js} +5 -5
  222. package/dist/chunks/{git-tm0kqsz3.js → model-resolver-tm0kqsz3.js} +1 -1
  223. package/dist/chunks/{git-b4pb0qj1.js → model-resolver-tm6yce80.js} +16 -16
  224. package/dist/chunks/{git-4gkcbsf6.js → model-resolver-tsktfrs2.js} +86 -86
  225. package/dist/chunks/{git-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
  226. package/dist/chunks/{git-6g7e4dd5.js → model-resolver-v0es1rhs.js} +7 -7
  227. package/dist/chunks/{git-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
  228. package/dist/chunks/{git-w919w76e.js → model-resolver-v8cmy866.js} +8 -8
  229. package/dist/chunks/{git-nn3cvats.js → model-resolver-v8hntyfk.js} +29 -29
  230. package/dist/chunks/{git-pb9dx0b6.js → model-resolver-vb82663b.js} +21 -21
  231. package/dist/chunks/{git-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  232. package/dist/chunks/{git-xstpf91t.js → model-resolver-vh39qgwm.js} +7 -7
  233. package/dist/chunks/{git-a3tzcvfn.js → model-resolver-vhxz3vg8.js} +19 -19
  234. package/dist/chunks/{git-93f4czyq.js → model-resolver-vqv75wwx.js} +11 -11
  235. package/dist/chunks/{git-fap5gkce.js → model-resolver-vrcgr47b.js} +4 -4
  236. package/dist/chunks/{git-mdrf9c6b.js → model-resolver-vsx5rp07.js} +33 -33
  237. package/dist/chunks/{git-ggk4p413.js → model-resolver-vtt0yr3x.js} +9 -9
  238. package/dist/chunks/{git-c89c07k3.js → model-resolver-vx7qmf9g.js} +177 -177
  239. package/dist/chunks/{git-ze75yzft.js → model-resolver-vxby77fw.js} +8 -8
  240. package/dist/chunks/{git-479tyfef.js → model-resolver-vxvsynfj.js} +17 -17
  241. package/dist/chunks/{git-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{git-z00brpdj.js → model-resolver-w0qm4gzb.js} +13 -13
  243. package/dist/chunks/{git-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{git-5v5s25bq.js → model-resolver-w8t2jk6x.js} +10 -10
  245. package/dist/chunks/{git-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  246. package/dist/chunks/{git-vpsek98y.js → model-resolver-wh1hjrhc.js} +20 -20
  247. package/dist/chunks/{git-ywt8jp22.js → model-resolver-wjr9rjd7.js} +6 -6
  248. package/dist/chunks/{git-drzpnrep.js → model-resolver-wphhsbqm.js} +36 -36
  249. package/dist/chunks/{git-snaedj36.js → model-resolver-wrkpgzm9.js} +27 -27
  250. package/dist/chunks/{git-2xveab5k.js → model-resolver-xd4yhhbd.js} +29 -29
  251. package/dist/chunks/{git-y3nxpthn.js → model-resolver-xdrp1hb6.js} +14 -14
  252. package/dist/chunks/{git-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
  253. package/dist/chunks/{git-ky1kqrqq.js → model-resolver-xjdp5kgq.js} +3 -3
  254. package/dist/chunks/{git-tywzg4e5.js → model-resolver-xpf8z4nb.js} +8 -8
  255. package/dist/chunks/{git-yn2jyqqj.js → model-resolver-xpkszdg2.js} +6 -6
  256. package/dist/chunks/{git-1n4q1qt6.js → model-resolver-xqsvy1tg.js} +11 -11
  257. package/dist/chunks/{git-xt4njr3s.js → model-resolver-xybefm6f.js} +1 -1
  258. package/dist/chunks/{git-0p6m29n3.js → model-resolver-y11gfp3c.js} +24 -24
  259. package/dist/chunks/{git-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  260. package/dist/chunks/{git-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
  261. package/dist/chunks/{git-7hhqs9ev.js → model-resolver-y87z2683.js} +11 -11
  262. package/dist/chunks/{git-y7y09twx.js → model-resolver-y9rz79sf.js} +35 -35
  263. package/dist/chunks/{git-jp8kazyb.js → model-resolver-ya3jbp1k.js} +22 -22
  264. package/dist/chunks/{git-qbttvzdy.js → model-resolver-yahdewcc.js} +32 -32
  265. package/dist/chunks/{git-a797vkbp.js → model-resolver-yhd2m4kx.js} +32 -32
  266. package/dist/chunks/{git-yp2x3t23.js → model-resolver-yp2x3t23.js} +1 -1
  267. package/dist/chunks/{git-fvra4tzc.js → model-resolver-yqev8n43.js} +14 -14
  268. package/dist/chunks/{git-8s0h3786.js → model-resolver-ytye8eex.js} +28 -28
  269. package/dist/chunks/{git-3wvs8749.js → model-resolver-yw18zvsa.js} +9 -9
  270. package/dist/chunks/{git-ew4cvqfm.js → model-resolver-yxxmeqn1.js} +9 -9
  271. package/dist/chunks/{git-w0xh3rjx.js → model-resolver-yyc693px.js} +35 -35
  272. package/dist/chunks/{git-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{git-bxesqzry.js → model-resolver-z2ce4t34.js} +20 -20
  274. package/dist/chunks/{git-az1da0xs.js → model-resolver-zaatn0x7.js} +10 -10
  275. package/dist/chunks/{git-3v34x0nx.js → model-resolver-ze7t1560.js} +46 -46
  276. package/dist/chunks/{git-1vjyb0v5.js → model-resolver-zeadje1f.js} +22 -22
  277. package/dist/chunks/{git-eqrd195g.js → model-resolver-zhzk0jbj.js} +11 -11
  278. package/dist/chunks/{git-bz5sg4q4.js → model-resolver-zk8b9ssq.js} +15 -15
  279. package/dist/chunks/{git-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{git-nvtnmch9.js → model-resolver-zwq9gsm5.js} +5 -5
  281. package/dist/chunks/{git-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{git-n1ttjt0m.js → model-resolver-zxz20fz9.js} +24 -24
  283. package/dist/chunks/{git-09v7d9nf.js → model-resolver-zza4sf78.js} +21 -21
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  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 +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  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 +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  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 +115 -115
  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 +123 -123
  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 +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +3 -3
  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 +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  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 +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +103 -103
  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 +86 -86
  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 +101 -101
  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 +89 -89
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +107 -107
  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 +101 -101
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  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 +115 -115
  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 +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  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 +5 -5
  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 +117 -117
  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 +76 -76
  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 +346 -346
  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 +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +90 -90
  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 +91 -91
  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 +97 -97
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  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 +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +127 -127
  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 +125 -125
  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 +164 -164
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +107 -107
  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 +207 -207
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +157 -157
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +215 -215
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  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 +112 -112
  627. package/dist/snapshot.js +91 -91
  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 +128 -128
  632. package/dist/tool/plugin/edit.js +120 -120
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  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 +114 -114
  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 +12 -12
  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 +3 -3
  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 +2 -2
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +89 -89
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  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 +8 -8
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +87 -87
  682. package/dist/worktree.js +96 -96
  683. package/package.json +8 -8
  684. package/dist/chunks/git-619r8v3y.js +0 -18
  685. package/dist/chunks/git-g506rfke.js +0 -253
  686. package/dist/chunks/git-qdnsp6kg.js +0 -26
  687. package/dist/chunks/git-rsy9ddve.js +0 -513
  688. /package/dist/chunks/{git-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{git-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{git-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{git-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{git-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{git-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{git-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{git-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{git-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{git-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{git-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{git-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  700. /package/dist/chunks/{git-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{git-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{git-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{git-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{git-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{git-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{git-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{git-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  708. /package/dist/chunks/{git-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{git-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{git-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  711. /package/dist/chunks/{git-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{git-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{git-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{git-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  715. /package/dist/chunks/{git-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{git-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{git-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{git-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{git-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{git-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{git-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{git-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{git-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{git-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{git-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{git-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{git-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{git-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{git-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{git-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{git-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{git-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{git-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{git-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  735. /package/dist/chunks/{git-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{git-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{git-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{git-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{git-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{git-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{git-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{git-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{git-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{git-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{git-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{git-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  747. /package/dist/chunks/{git-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{git-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  749. /package/dist/chunks/{git-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{git-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  751. /package/dist/chunks/{git-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{git-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{git-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{git-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{git-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{git-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{git-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{git-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  759. /package/dist/chunks/{git-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{git-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{git-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{git-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{git-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{git-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{git-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{git-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{git-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{git-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{git-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{git-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{git-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{git-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{git-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{git-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{git-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{git-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{git-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{git-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{git-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{git-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{git-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{git-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{git-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  784. /package/dist/chunks/{git-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{git-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{git-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{git-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{git-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{git-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./git-3gt2qbz4.js";
7
+ } from "./model-resolver-n6r6gr2k.js";
8
8
  import {
9
- Service83,
10
- node86
11
- } from "./git-j840x00t.js";
9
+ Service84,
10
+ node88
11
+ } from "./model-resolver-21jrmc9g.js";
12
12
  import {
13
- Service82,
14
- node85
15
- } from "./git-5mvg709s.js";
13
+ Service83,
14
+ node87
15
+ } from "./model-resolver-2r93mh4x.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info28,
19
+ Info29,
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./git-6g7e4dd5.js";
23
+ } from "./model-resolver-v0es1rhs.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./git-rj3eygr5.js";
27
+ } from "./model-resolver-c41wscbt.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./git-sa8ekw3f.js";
30
+ } from "./model-resolver-c8ax2afj.js";
31
31
  import {
32
32
  __export
33
- } from "./git-9rqn6x4v.js";
33
+ } from "./model-resolver-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info27,
39
+ ID: () => ID17,
40
+ Info: () => Info28,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service81,
43
+ Service: () => Service82,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node84,
46
+ node: () => node86,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID16 = ID17;
59
+ var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info27 = Info28;
62
+ var Info28 = Info29;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
65
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID16
66
+ projectID: ID17
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service81 extends Context.Service()("@opencode/Project") {
77
+ class Service82 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,11 +98,11 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service81, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service82;
103
+ const git = yield* Service83;
104
104
  const proc = yield* AppProcess.Service;
105
- const bus = yield* Service83;
105
+ const bus = yield* Service84;
106
106
  const db = (yield* Service85).db;
107
107
  const announcing = new Set;
108
108
  const persist = Effect.fnUntraced(function* (project) {
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID16.global,
151
+ previous: project.previous ?? ID17.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
187
187
  yield* bus.publish(Event21.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID16.make(root) : undefined;
226
+ return root ? ID17.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID16.make(node) : undefined;
242
+ return node ? ID17.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
248
248
  const id = previous ?? (yield* hgRoot(worktree));
249
249
  return {
250
250
  previous,
251
- id: id ?? ID16.global,
251
+ id: id ?? ID17.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* persist({
267
267
  previous,
268
- id: id ?? ID16.global,
268
+ id: id ?? ID17.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID16.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -304,20 +304,20 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
304
304
  yield* bus.publish(Event21.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service81.of({ list, update, activate, resolve, sweep });
307
+ return Service82.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node84 = makeGlobalNode({
310
- service: Service81,
309
+ var node86 = makeGlobalNode({
310
+ service: Service82,
311
311
  layer,
312
- deps: [node86, node89, FSUtil.node, node85, AppProcess.node]
312
+ deps: [node88, node89, FSUtil.node, node87, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service81;
317
+ const project = yield* Service82;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node84]
320
+ deps: [node86]
321
321
  });
322
322
 
323
- export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service81, node84, sweepNode2, exports_project };
323
+ export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service82, node86, sweepNode2, exports_project };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service83,
3
- node86
4
- } from "./git-j840x00t.js";
2
+ Service84,
3
+ node88
4
+ } from "./model-resolver-21jrmc9g.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./git-tazgh4e4.js";
9
+ } from "./model-resolver-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./git-xbrfyfsb.js";
12
+ } from "./model-resolver-k1qskgm1.js";
13
13
  import {
14
- Service80,
15
- node83
16
- } from "./git-b4pb0qj1.js";
14
+ Service81,
15
+ node85
16
+ } from "./model-resolver-tm6yce80.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./git-rdw6cm16.js";
20
+ } from "./model-resolver-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./git-9rqn6x4v.js";
23
+ } from "./model-resolver-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -32,9 +32,9 @@ __export(exports_vcs, {
32
32
  Info: () => Info5,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service24,
35
+ Service: () => Service37,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node27
37
+ node: () => node40
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service24 extends Context.Service()("@opencode/Vcs") {
57
+ class Service37 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service24, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service80;
62
- const bus = yield* Service83;
61
+ const location = yield* Service81;
62
+ const bus = yield* Service84;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service24.of({
132
+ return Service37.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node27 = makeLocationNode({
191
- service: Service24,
190
+ var node40 = makeLocationNode({
191
+ service: Service37,
192
192
  layer,
193
- deps: [FSUtil.node, node83, node86]
193
+ deps: [FSUtil.node, node85, node88]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service24, node27, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service37, node40, exports_vcs };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service83,
3
- node86
4
- } from "./git-j840x00t.js";
2
+ Service84,
3
+ node88
4
+ } from "./model-resolver-21jrmc9g.js";
5
5
  import {
6
- Service80,
7
- node83
8
- } from "./git-b4pb0qj1.js";
6
+ Service81,
7
+ node85
8
+ } from "./model-resolver-tm6yce80.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./git-ec1grn59.js";
11
+ } from "./model-resolver-ec1grn59.js";
12
12
  import {
13
- Service74,
14
- node77
15
- } from "./git-b5mayez8.js";
13
+ Service73,
14
+ node76
15
+ } from "./model-resolver-apj3cz87.js";
16
16
  import {
17
17
  __export
18
- } from "./git-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service9,
23
+ Service: () => Service10,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node11
25
+ node: () => node12
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service9 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service10 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service9, Effect.gen(function* () {
38
- const bus = yield* Service83;
37
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
38
+ const bus = yield* Service84;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service74;
41
- const location = yield* Service80;
40
+ const store = yield* Service73;
41
+ const location = yield* Service81;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service9.of({ load });
87
+ return Service10.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node11 = makeLocationNode({
98
+ var node12 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node86, FSUtil.node, node83, node77]
101
+ deps: [node88, FSUtil.node, node85, node76]
102
102
  });
103
103
 
104
- export { Service9, node11, exports_instructions };
104
+ export { Service10, node12, exports_instructions };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID8,
3
- Service67,
4
- node70
5
- } from "./git-78er6hm2.js";
2
+ ID14,
3
+ Service78,
4
+ node82
5
+ } from "./model-resolver-7968cave.js";
6
6
  import {
7
- ID7,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service66,
19
- node69
20
- } from "./git-j6ne1s41.js";
18
+ Service77,
19
+ node81
20
+ } from "./model-resolver-7e6b2cwb.js";
21
21
  import {
22
- Service59,
23
- node62
24
- } from "./git-64np693v.js";
22
+ Service68,
23
+ node71
24
+ } from "./model-resolver-ny62zz38.js";
25
25
  import {
26
- ID6,
26
+ ID7,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service65,
30
- node68,
29
+ Service67,
30
+ node70,
31
31
  supportsText2
32
- } from "./git-w0xh3rjx.js";
32
+ } from "./model-resolver-yyc693px.js";
33
33
  import {
34
34
  __export
35
- } from "./git-9rqn6x4v.js";
35
+ } from "./model-resolver-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service52,
44
+ Service: () => Service66,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer21,
52
- node: () => node54,
51
+ layer: () => layer24,
52
+ node: () => node69,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID7,
63
- modelID: ID6,
62
+ providerID: ID13,
63
+ modelID: ID7,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID7,
73
- modelID: ID6,
72
+ providerID: ID13,
73
+ modelID: ID7,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID7,
84
- modelID: ID6,
83
+ providerID: ID13,
84
+ modelID: ID7,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID7,
95
- modelID: ID6,
94
+ providerID: ID13,
95
+ modelID: ID7,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID7,
107
- modelID: ID6,
106
+ providerID: ID13,
107
+ modelID: ID7,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID7,
117
- modelID: ID6,
116
+ providerID: ID13,
117
+ modelID: ID7,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service52 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service66 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
236
236
  return tokenSettings(specifier, credential.access);
237
237
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
238
238
  return { auth: "sigv4" };
239
- if (model.providerID === ID7.azure)
239
+ if (model.providerID === ID13.azure)
240
240
  return tokenSettings(specifier, "azure-cli");
241
241
  return {};
242
242
  };
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
271
271
  };
272
272
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
273
273
  var hasPackage2 = (model) => Boolean(model.package);
274
- var layer21 = Layer.effect(Service52, Effect.gen(function* () {
275
- const providers = yield* Service66;
276
- const models = yield* Service65;
277
- const integrations = yield* Service67;
274
+ var layer24 = Layer.effect(Service66, Effect.gen(function* () {
275
+ const providers = yield* Service77;
276
+ const models = yield* Service67;
277
+ const integrations = yield* Service78;
278
278
  const npm = yield* Npm.Service;
279
- const aisdk = yield* Service59;
279
+ const aisdk = yield* Service68;
280
280
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
281
281
  const provider = yield* providers.get(selected.providerID);
282
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
282
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
283
283
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
284
284
  const selectedVariant = yield* withVariant2(selected, variant);
285
285
  const runtimeInfo = {
@@ -306,7 +306,7 @@ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
306
306
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
307
307
  };
308
308
  });
309
- return Service52.of({
309
+ return Service66.of({
310
310
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
311
311
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
312
312
  if (!selected)
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
323
323
  const name = packageName2(packageName);
324
324
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
325
325
  }
326
- var node54 = makeLocationNode({
327
- service: Service52,
328
- layer: layer21,
329
- deps: [node69, node68, node70, Npm.node, node62]
326
+ var node69 = makeLocationNode({
327
+ service: Service66,
328
+ layer: layer24,
329
+ deps: [node81, node70, node82, Npm.node, node71]
330
330
  });
331
331
 
332
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node54, exports_model_resolver };
332
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service66, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node69, exports_model_resolver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};