@opencode/core 0.0.0-dev-21240 → 0.0.0-dev-21246

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{location-7pp8v8cz.js → model-07pzcvjy.js} +4 -4
  8. package/dist/chunks/{location-3zcnh6p5.js → model-097tdram.js} +12 -12
  9. package/dist/chunks/{location-rhjbct0v.js → model-0gdmqesm.js} +4 -4
  10. package/dist/chunks/{location-36sqq72v.js → model-0m7ycz82.js} +24 -24
  11. package/dist/chunks/{location-q1w4ag7r.js → model-0p8327n1.js} +11 -11
  12. package/dist/chunks/{location-0emb60td.js → model-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{location-b59088ky.js → model-0z1664j4.js} +3 -3
  14. package/dist/chunks/{location-7y4n3x9r.js → model-15wyy7w2.js} +5 -5
  15. package/dist/chunks/{location-v5vvs3bk.js → model-1aqxs61q.js} +13 -13
  16. package/dist/chunks/{location-1ep4rre3.js → model-1ep4rre3.js} +1 -1
  17. package/dist/chunks/{location-y645j4dr.js → model-1gdg00yg.js} +7 -7
  18. package/dist/chunks/{location-xw16hbb2.js → model-1hq49wfp.js} +33 -33
  19. package/dist/chunks/{location-wzfw0r1q.js → model-1jyb01pe.js} +15 -15
  20. package/dist/chunks/{location-hadrdvqz.js → model-1khnc541.js} +13 -13
  21. package/dist/chunks/{location-ecntzyvb.js → model-1n2tbqxy.js} +13 -13
  22. package/dist/chunks/{location-9qee0jk3.js → model-1t0smfc2.js} +5 -5
  23. package/dist/chunks/{location-e2jk5y12.js → model-1v2yvtm3.js} +27 -27
  24. package/dist/chunks/{location-dwa92pvc.js → model-1xfgz0sp.js} +6 -6
  25. package/dist/chunks/{location-fg19zjyy.js → model-21apjdyf.js} +9 -9
  26. package/dist/chunks/{location-ente2efs.js → model-22x4nvy2.js} +19 -19
  27. package/dist/chunks/{location-2s32b1pm.js → model-251hxpd6.js} +2 -2
  28. package/dist/chunks/{location-pkr96zq9.js → model-281szs7x.js} +50 -50
  29. package/dist/chunks/{location-wxgp157e.js → model-2dfjzq3d.js} +12 -12
  30. package/dist/chunks/{location-16qr8wfy.js → model-2g6dfhex.js} +28 -28
  31. package/dist/chunks/{location-zct001gj.js → model-2kmfbs7e.js} +5 -5
  32. package/dist/chunks/{location-ft3hqk2c.js → model-2sejkfem.js} +9 -9
  33. package/dist/chunks/{location-6yva2bse.js → model-2shkhq8w.js} +88 -88
  34. package/dist/chunks/{location-z3507kbh.js → model-32y4ehgv.js} +11 -11
  35. package/dist/chunks/{location-m15ha2ry.js → model-3d73cf36.js} +6 -6
  36. package/dist/chunks/{location-q8va88r3.js → model-3ev0eyv6.js} +18 -18
  37. package/dist/chunks/{location-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{location-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
  39. package/dist/chunks/{location-sxzvkvgj.js → model-3ppptnan.js} +6 -6
  40. package/dist/chunks/{location-j1nd8abd.js → model-3pwzytv4.js} +24 -24
  41. package/dist/chunks/{location-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{location-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{location-1ddym2mh.js → model-41wwwxfc.js} +5 -5
  45. package/dist/chunks/{location-65fdem8g.js → model-4347sc3p.js} +85 -85
  46. package/dist/chunks/{location-e06rrywx.js → model-44zr7wmx.js} +4 -4
  47. package/dist/chunks/{location-sf7qeb8m.js → model-49npcfp6.js} +2 -2
  48. package/dist/chunks/{location-fz5mkw7q.js → model-4fj1av0q.js} +42 -42
  49. package/dist/chunks/{location-nz5xz1n7.js → model-4maedhka.js} +3 -3
  50. package/dist/chunks/{location-nq33nhzr.js → model-4npcy765.js} +4 -4
  51. package/dist/chunks/{location-cqv5jj6t.js → model-4pkmv55a.js} +15 -15
  52. package/dist/chunks/{location-n4k7r7f4.js → model-4tr9sj3s.js} +3 -3
  53. package/dist/chunks/model-4v23spqy.js +257 -0
  54. package/dist/chunks/{location-paby7f9d.js → model-4w4b1d7d.js} +23 -23
  55. package/dist/chunks/{location-5twn198y.js → model-4xpgt2w9.js} +5 -5
  56. package/dist/chunks/{location-82bv0hx8.js → model-4zknrba3.js} +10 -10
  57. package/dist/chunks/{location-b0tpm66f.js → model-51gxmejf.js} +35 -35
  58. package/dist/chunks/{location-26fskhr4.js → model-52dsmx63.js} +25 -25
  59. package/dist/chunks/{location-54ma36ye.js → model-54ma36ye.js} +1 -1
  60. package/dist/chunks/{location-4z58m4b4.js → model-5dkn69vz.js} +4 -4
  61. package/dist/chunks/{location-1j6m29mr.js → model-5fec3t3w.js} +4 -4
  62. package/dist/chunks/{location-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{location-zjmprxn1.js → model-5nszh0bg.js} +24 -24
  64. package/dist/chunks/{location-7erj7fjt.js → model-5r6fx5kf.js} +29 -29
  65. package/dist/chunks/{location-e80seqcp.js → model-5rzwp8tz.js} +3 -3
  66. package/dist/chunks/{location-2ewxebqs.js → model-5z23qfcc.js} +21 -21
  67. package/dist/chunks/{location-j5qwz8we.js → model-625mrsyp.js} +45 -45
  68. package/dist/chunks/{location-ewmg55kq.js → model-64wcp3ah.js} +24 -24
  69. package/dist/chunks/{location-6827pfxn.js → model-6827pfxn.js} +1 -1
  70. package/dist/chunks/{location-4hvcvget.js → model-69dwh4me.js} +12 -12
  71. package/dist/chunks/{location-py3kkmfq.js → model-6pc27hjz.js} +6 -6
  72. package/dist/chunks/{location-emfv9g84.js → model-6qr4j83s.js} +7 -7
  73. package/dist/chunks/{location-38jcv3yh.js → model-6rz1y2wy.js} +26 -26
  74. package/dist/chunks/{location-6xb47vfp.js → model-6xb47vfp.js} +1 -1
  75. package/dist/chunks/{location-m7mg6z5e.js → model-70hdk6w9.js} +17 -17
  76. package/dist/chunks/{location-gbeakqqf.js → model-71vf3ngy.js} +51 -51
  77. package/dist/chunks/{location-j143ef64.js → model-73e3zp3f.js} +38 -38
  78. package/dist/chunks/{location-r61qxybf.js → model-757464b7.js} +8 -8
  79. package/dist/chunks/{location-775gj3j1.js → model-775gj3j1.js} +2 -2
  80. package/dist/chunks/model-7bkvk8rj.js +26 -0
  81. package/dist/chunks/{location-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{location-s8k2chda.js → model-7bs235hv.js} +11 -11
  83. package/dist/chunks/{location-7dqw4kz8.js → model-7dqw4kz8.js} +1 -1
  84. package/dist/chunks/{location-wb1vxtey.js → model-7s91hvyw.js} +18 -18
  85. package/dist/chunks/{location-r64n44sy.js → model-7wjtm8pe.js} +23 -23
  86. package/dist/chunks/{location-yhszmqfx.js → model-7xbjxe45.js} +14 -14
  87. package/dist/chunks/{location-bkbywy3k.js → model-80c2k4k7.js} +25 -25
  88. package/dist/chunks/{location-02kx3tbe.js → model-87y04qby.js} +18 -18
  89. package/dist/chunks/{location-2g814kqn.js → model-887mgra2.js} +51 -51
  90. package/dist/chunks/{location-3ts4rwt9.js → model-8fqv1czf.js} +18 -18
  91. package/dist/chunks/{location-8m6m0r52.js → model-8m6m0r52.js} +1 -1
  92. package/dist/chunks/{location-3qrn957t.js → model-8qrvq6xp.js} +18 -18
  93. package/dist/chunks/{location-nb9p6b26.js → model-8tsdq50x.js} +4 -4
  94. package/dist/chunks/{location-839dsb85.js → model-8wvywagr.js} +34 -34
  95. package/dist/chunks/{location-91qna3x0.js → model-91qna3x0.js} +3 -3
  96. package/dist/chunks/{location-hx734pww.js → model-91rcp8sj.js} +3 -3
  97. package/dist/chunks/{location-z1j2pzfs.js → model-95vh4d4w.js} +39 -39
  98. package/dist/chunks/{location-0v7eyxsd.js → model-9880wbbs.js} +11 -11
  99. package/dist/chunks/{location-s2e8778m.js → model-9ersraf9.js} +36 -36
  100. package/dist/chunks/{location-gm5yckp5.js → model-9knpn9fj.js} +7 -7
  101. package/dist/chunks/{location-09zy2qv2.js → model-9n6penxb.js} +9 -9
  102. package/dist/chunks/{location-bqwheb6v.js → model-a3jygwg9.js} +11 -11
  103. package/dist/chunks/{location-t67svzf9.js → model-a9g1m0ex.js} +18 -18
  104. package/dist/chunks/{location-3d48mnvn.js → model-aam1wbba.js} +16 -16
  105. package/dist/chunks/{location-9tc0jcfa.js → model-ad0pmgce.js} +12 -12
  106. package/dist/chunks/{location-mxvxcxwy.js → model-addxnjmp.js} +4 -4
  107. package/dist/chunks/{location-j1j4kkfc.js → model-aeda8hqw.js} +18 -18
  108. package/dist/chunks/{location-jdg1karv.js → model-aft55nha.js} +11 -11
  109. package/dist/chunks/{location-2e91r8ns.js → model-agbqvzyh.js} +45 -45
  110. package/dist/chunks/{location-1be3me4v.js → model-ancsbgw1.js} +32 -32
  111. package/dist/chunks/{location-p9d54bvt.js → model-ankjvyyp.js} +17 -17
  112. package/dist/chunks/{location-qkkeybah.js → model-aq8vh238.js} +38 -38
  113. package/dist/chunks/{location-tq44hnx5.js → model-atgtgdsa.js} +16 -16
  114. package/dist/chunks/{location-ekd657r5.js → model-athpecc5.js} +20 -20
  115. package/dist/chunks/{location-dwvsy3nv.js → model-awbtd0yc.js} +14 -14
  116. package/dist/chunks/{location-np3vtmgz.js → model-awpj2eee.js} +20 -20
  117. package/dist/chunks/{location-g3jf8veg.js → model-aykdkgmz.js} +28 -28
  118. package/dist/chunks/{location-swsbk68p.js → model-b8q0dhmk.js} +32 -32
  119. package/dist/chunks/{location-vxcce85q.js → model-b8q5jebn.js} +19 -19
  120. package/dist/chunks/{location-qny204zj.js → model-be0c020n.js} +4 -4
  121. package/dist/chunks/{location-8p10m0h9.js → model-bn1qxpvg.js} +18 -18
  122. package/dist/chunks/{location-es1vcfrp.js → model-c1fqxshp.js} +3 -3
  123. package/dist/chunks/{location-4ekscj25.js → model-c41dsvxf.js} +5 -5
  124. package/dist/chunks/{location-cq4af28t.js → model-c7e58gyn.js} +17 -17
  125. package/dist/chunks/{location-efattxwn.js → model-ca0q5yrm.js} +23 -23
  126. package/dist/chunks/{location-1xcwytz6.js → model-cdzn34jf.js} +11 -11
  127. package/dist/chunks/{location-hn53eq1n.js → model-ckyjf00w.js} +45 -45
  128. package/dist/chunks/{location-qgrkf2kv.js → model-czn9w0x8.js} +11 -11
  129. package/dist/chunks/{location-032jfrr5.js → model-d0r6ezqk.js} +8 -8
  130. package/dist/chunks/{location-d1a28jh7.js → model-d1a28jh7.js} +2 -2
  131. package/dist/chunks/{location-ztp3s23f.js → model-ddf16z40.js} +26 -26
  132. package/dist/chunks/{location-w2pw2zr6.js → model-dqkkx36v.js} +4 -4
  133. package/dist/chunks/{location-xfkkasph.js → model-drwq78ky.js} +4 -4
  134. package/dist/chunks/{location-nmcmr329.js → model-dw7nrsaq.js} +324 -320
  135. package/dist/chunks/{location-xckvy3p8.js → model-dxbxxdsx.js} +3 -3
  136. package/dist/chunks/{location-646b8sf1.js → model-dxe8y5pz.js} +4 -4
  137. package/dist/chunks/{location-m49t52b5.js → model-e4n90qqz.js} +20 -20
  138. package/dist/chunks/{location-0cbjkd5m.js → model-e5shmecn.js} +33 -25
  139. package/dist/chunks/{location-eej6y6fw.js → model-eej6y6fw.js} +2 -2
  140. package/dist/chunks/{location-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{location-0kh9z3js.js → model-ej3ps13p.js} +11 -11
  142. package/dist/chunks/{location-91erwma2.js → model-es2a07ty.js} +13 -13
  143. package/dist/chunks/{location-1acjjqhc.js → model-f2n192rq.js} +4 -4
  144. package/dist/chunks/{location-fcy631f0.js → model-fcy631f0.js} +1 -1
  145. package/dist/chunks/{location-c9pafwgt.js → model-fe6t81kk.js} +31 -31
  146. package/dist/chunks/{location-fegk541e.js → model-fwfdmgk0.js} +5 -5
  147. package/dist/chunks/{location-4cq1c4nh.js → model-fz60qaa0.js} +1 -1
  148. package/dist/chunks/{location-5mh53trv.js → model-g70banep.js} +21 -21
  149. package/dist/chunks/{location-jrnq1yzd.js → model-g9senpad.js} +26 -26
  150. package/dist/chunks/{location-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{location-5qvfym9p.js → model-gkp0ddc4.js} +8 -8
  152. package/dist/chunks/{location-x8nz1cbt.js → model-gprk1h4z.js} +3 -3
  153. package/dist/chunks/{location-dj69npnr.js → model-graqqgqk.js} +13 -13
  154. package/dist/chunks/{location-ecvncs9t.js → model-gsf378dw.js} +35 -35
  155. package/dist/chunks/{location-4nk0sezm.js → model-gvq4k2rx.js} +3 -3
  156. package/dist/chunks/{location-ydgy0jv4.js → model-h5b4kcx3.js} +4 -4
  157. package/dist/chunks/{location-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{location-hz955cxv.js → model-hgtsck7j.js} +20 -20
  159. package/dist/chunks/{location-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
  160. package/dist/chunks/{location-xx71wknj.js → model-hmn8skn7.js} +32 -32
  161. package/dist/chunks/{location-2vs2nh1n.js → model-hn57h045.js} +4 -4
  162. package/dist/chunks/{location-p3dsvwjj.js → model-hrd0r9w9.js} +31 -31
  163. package/dist/chunks/{location-1n4r682m.js → model-hyhre3w8.js} +3 -3
  164. package/dist/chunks/{location-1wyc8y7g.js → model-hyq6bs5b.js} +28 -28
  165. package/dist/chunks/{location-b7j1nepq.js → model-hz4f5mwj.js} +9 -9
  166. package/dist/chunks/{location-z5vjvv3z.js → model-j1aawj34.js} +24 -24
  167. package/dist/chunks/{location-zy43x3f1.js → model-j8m1p4p1.js} +4 -4
  168. package/dist/chunks/{location-gd0tnyjc.js → model-jhdf29st.js} +1 -1
  169. package/dist/chunks/{location-t3w66r2s.js → model-jpnzyfkp.js} +17 -17
  170. package/dist/chunks/{location-pwx39njg.js → model-k14cytbx.js} +23 -18
  171. package/dist/chunks/{location-xk8qaj8b.js → model-k5asgy6z.js} +37 -37
  172. package/dist/chunks/{location-wan1txhx.js → model-k6zys8zm.js} +17 -17
  173. package/dist/chunks/{location-khmqacep.js → model-khmqacep.js} +1 -1
  174. package/dist/chunks/{location-fn9t717r.js → model-kmj26603.js} +6 -6
  175. package/dist/chunks/{location-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
  176. package/dist/chunks/{location-hyem0413.js → model-kwrthnf5.js} +11 -11
  177. package/dist/chunks/{location-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{location-maspj1v3.js → model-maspj1v3.js} +1 -1
  179. package/dist/chunks/{location-p7d55m61.js → model-mnwdfy6v.js} +40 -40
  180. package/dist/chunks/{location-ss358qx3.js → model-my4zabxr.js} +3 -3
  181. package/dist/chunks/{location-xhg7ze7g.js → model-mzv3dx1f.js} +23 -23
  182. package/dist/chunks/{location-p4gjeqhz.js → model-n4c5dz5t.js} +8 -8
  183. package/dist/chunks/{location-yk2qpeaw.js → model-n7y0njwp.js} +27 -27
  184. package/dist/chunks/{location-bggc72t2.js → model-n9rxncxh.js} +21 -21
  185. package/dist/chunks/{location-cfd40scj.js → model-n9wyj86f.js} +8 -8
  186. package/dist/chunks/{location-27mmh661.js → model-ne4b8g45.js} +46 -46
  187. package/dist/chunks/{location-7wg9zefd.js → model-nqan7h4w.js} +5 -5
  188. package/dist/chunks/{location-ky3cgvwd.js → model-ny8kxbfq.js} +8 -8
  189. package/dist/chunks/{location-ggpkv6dp.js → model-p2a5t6n1.js} +15 -15
  190. package/dist/chunks/{location-pa8pe2x7.js → model-p4mj4rdp.js} +8 -8
  191. package/dist/chunks/{location-qjxgyyqm.js → model-p7pxayv7.js} +23 -23
  192. package/dist/chunks/{location-630y3v0d.js → model-p9ejm27k.js} +185 -185
  193. package/dist/chunks/{location-wk0bzpnn.js → model-pcvvctms.js} +21 -21
  194. package/dist/chunks/{location-p0swpct4.js → model-pdpqmpbc.js} +10 -10
  195. package/dist/chunks/{location-kymtw6sz.js → model-pe8kdg2p.js} +17 -17
  196. package/dist/chunks/{location-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{location-8x62mzeg.js → model-pkd7a947.js} +29 -29
  198. package/dist/chunks/{location-pknna89w.js → model-pknna89w.js} +1 -1
  199. package/dist/chunks/{location-zm69bbn9.js → model-pmrbxne1.js} +16 -16
  200. package/dist/chunks/{location-4r5v39fv.js → model-q0nrsbdj.js} +10 -10
  201. package/dist/chunks/{location-n9mzspqs.js → model-q38gq3gg.js} +15 -15
  202. package/dist/chunks/{location-rm4mkcw0.js → model-q9s78hn2.js} +9 -9
  203. package/dist/chunks/{location-a2ew8a62.js → model-qa3qhgw8.js} +4 -4
  204. package/dist/chunks/{location-rsvjy1hm.js → model-qcr1ft2j.js} +16 -16
  205. package/dist/chunks/{location-1m9tv0k3.js → model-qg72ng58.js} +30 -30
  206. package/dist/chunks/{location-h4e45ygc.js → model-qge264qz.js} +28 -28
  207. package/dist/chunks/{location-t2zy804g.js → model-qhqzagh6.js} +11 -11
  208. package/dist/chunks/{location-4jbaex4p.js → model-qn5g76bm.js} +11 -11
  209. package/dist/chunks/{location-qnc92qwc.js → model-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{location-fgx42ntb.js → model-qne3fa44.js} +5 -5
  211. package/dist/chunks/{location-qsdy395h.js → model-qsdy395h.js} +1 -1
  212. package/dist/chunks/{location-m8p5ty25.js → model-qzyrmewc.js} +10 -10
  213. package/dist/chunks/{location-5s5bfnr6.js → model-r3berafb.js} +30 -30
  214. package/dist/chunks/{location-34zpk2m0.js → model-r5atchfd.js} +29 -29
  215. package/dist/chunks/{location-0rm38x63.js → model-r8h9xppv.js} +9 -9
  216. package/dist/chunks/model-rap9a73h.js +18 -0
  217. package/dist/chunks/{location-qdxpp4ce.js → model-rcz188q3.js} +4 -4
  218. package/dist/chunks/{location-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{location-tkb22qbm.js → model-rert0e01.js} +2 -2
  220. package/dist/chunks/{location-c41wscbt.js → model-rj3eygr5.js} +2 -2
  221. package/dist/chunks/{location-z4005aq0.js → model-rr7kcg9w.js} +19 -19
  222. package/dist/chunks/{location-zfhna5dg.js → model-rtaw32ca.js} +9 -9
  223. package/dist/chunks/{location-e4pt97mw.js → model-rym9dfdm.js} +17 -17
  224. package/dist/chunks/{location-6fatt4mk.js → model-s1kvmffy.js} +9 -9
  225. package/dist/chunks/{location-2ktf0ed2.js → model-s5met55r.js} +8 -8
  226. package/dist/chunks/{location-c8ax2afj.js → model-sa8ekw3f.js} +2 -2
  227. package/dist/chunks/{location-pnkbpv6t.js → model-scv7p57g.js} +9 -9
  228. package/dist/chunks/{location-eq88vr3p.js → model-sf5qjhtj.js} +11 -11
  229. package/dist/chunks/model-sgtrt5z9.js +97 -0
  230. package/dist/chunks/{location-2766hrpb.js → model-ssjyj57x.js} +6 -6
  231. package/dist/chunks/{location-2fz504me.js → model-stapj22y.js} +18 -18
  232. package/dist/chunks/{location-ekmn27dt.js → model-sxjbcd6h.js} +22 -22
  233. package/dist/chunks/{location-czamcpfm.js → model-syqwr3zh.js} +14 -14
  234. package/dist/chunks/{location-syv4x271.js → model-syv4x271.js} +1 -1
  235. package/dist/chunks/{location-7cdnq8hx.js → model-t0h2n3rs.js} +13 -13
  236. package/dist/chunks/{location-vw4xzb9e.js → model-t0kn5a8z.js} +21 -21
  237. package/dist/chunks/{location-h8ngs2s3.js → model-t1jfcm4z.js} +9 -9
  238. package/dist/chunks/{location-06pf4dgp.js → model-t32m0x77.js} +16 -16
  239. package/dist/chunks/{location-e7qaqr7r.js → model-t9p9ds3w.js} +43 -43
  240. package/dist/chunks/{location-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{location-tcezcvh9.js → model-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{location-tdstcens.js → model-tdstcens.js} +1 -1
  243. package/dist/chunks/{location-xwjdvtn9.js → model-te6jzdmb.js} +5 -5
  244. package/dist/chunks/{location-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
  245. package/dist/chunks/{location-vtt0yr3x.js → model-tnj6rg6w.js} +13 -13
  246. package/dist/chunks/{location-dn7gk5nr.js → model-tqfze7qe.js} +34 -34
  247. package/dist/chunks/{location-ehkp9wrv.js → model-tyj5kcgj.js} +5 -5
  248. package/dist/chunks/{location-tyytaxap.js → model-tyytaxap.js} +1 -1
  249. package/dist/chunks/{location-n477w9kb.js → model-v3ff97sk.js} +42 -42
  250. package/dist/chunks/{location-rwpyag6c.js → model-v5t5db04.js} +13 -13
  251. package/dist/chunks/{location-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
  252. package/dist/chunks/{location-w9vjgmgf.js → model-vaj0eftp.js} +5 -5
  253. package/dist/chunks/{location-jfn3ppc2.js → model-vcvrskz7.js} +14 -14
  254. package/dist/chunks/{location-trskfet7.js → model-vd0d0qbj.js} +4 -4
  255. package/dist/chunks/{location-veqvce7d.js → model-veqvce7d.js} +1 -1
  256. package/dist/chunks/{location-pvd1kp2q.js → model-vsd1gfwp.js} +12 -12
  257. package/dist/chunks/{location-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{location-aygc7d7x.js → model-w0wzfpd6.js} +22 -22
  259. package/dist/chunks/{location-84txncab.js → model-w1eejvng.js} +5 -5
  260. package/dist/chunks/{location-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{location-wd87259q.js → model-wd87259q.js} +1 -1
  262. package/dist/chunks/{location-531wkgpw.js → model-ws4vyhwj.js} +8 -8
  263. package/dist/chunks/{location-5g0zwpkx.js → model-wv1zjxz8.js} +69 -69
  264. package/dist/chunks/{location-7zst7kbs.js → model-xatn3567.js} +15 -15
  265. package/dist/chunks/{location-ktyahk7g.js → model-xyskky0w.js} +24 -24
  266. package/dist/chunks/{location-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{location-s8eppwwz.js → model-y43trhdb.js} +5 -5
  268. package/dist/chunks/{location-y71avatq.js → model-y71avatq.js} +1 -1
  269. package/dist/chunks/{location-gaa92h44.js → model-y7nndgyc.js} +2 -2
  270. package/dist/chunks/{location-bdb3egq1.js → model-yex8rs33.js} +19 -19
  271. package/dist/chunks/{location-npyv4msc.js → model-yg1rf1wp.js} +4 -4
  272. package/dist/chunks/{location-ykd62qee.js → model-yg5d8nnt.js} +33 -33
  273. package/dist/chunks/{location-2cg16nxe.js → model-yhd4kr0d.js} +34 -34
  274. package/dist/chunks/{location-w382j1sg.js → model-ysf596fe.js} +1 -1
  275. package/dist/chunks/{location-1ffvrpkg.js → model-ywt8jp22.js} +6 -6
  276. package/dist/chunks/{location-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{location-3fc6dm20.js → model-z18fegx4.js} +4 -4
  278. package/dist/chunks/{location-ffgh9twm.js → model-z4gkakm8.js} +13 -13
  279. package/dist/chunks/{location-nwz3xn1w.js → model-z5cwttbn.js} +6 -6
  280. package/dist/chunks/{location-mmve37cn.js → model-z8ajx630.js} +10 -10
  281. package/dist/chunks/{location-8d765g8y.js → model-zkzbh4fe.js} +10 -10
  282. package/dist/chunks/{location-3a0fe738.js → model-zps3pk6h.js} +10 -10
  283. package/dist/chunks/{location-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{location-xxqqcrba.js → model-zv6mcmn5.js} +10 -10
  285. package/dist/chunks/{location-9etjxb25.js → model-zx174a2x.js} +19 -19
  286. package/dist/chunks/{location-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -79
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +82 -82
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +104 -104
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -357
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +104 -104
  480. package/dist/models-dev.js +105 -105
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +80 -80
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +109 -109
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -331
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -346
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +5 -5
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +221 -221
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +92 -92
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +157 -157
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +211 -211
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +2 -2
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +130 -130
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +111 -111
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +147 -0
  650. package/dist/tool/plugin/webfetch.js +110 -110
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/types/tool/plugin/todo.d.ts +29 -0
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +1 -1
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +85 -85
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +3 -3
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/location-ht5y0zrb.js +0 -18
  693. package/dist/chunks/location-j6js6ktv.js +0 -26
  694. package/dist/chunks/location-ng2x5jnt.js +0 -257
  695. /package/dist/chunks/{location-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{location-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{location-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{location-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{location-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{location-24dcb14g.js → model-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{location-2710q6r3.js → model-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{location-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{location-2bv980vf.js → model-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{location-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{location-359p4xyc.js → model-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{location-3asan66x.js → model-3asan66x.js} +0 -0
  707. /package/dist/chunks/{location-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{location-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{location-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{location-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{location-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{location-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{location-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{location-53557ph1.js → model-53557ph1.js} +0 -0
  715. /package/dist/chunks/{location-550bvhaj.js → model-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{location-6prwharc.js → model-6prwharc.js} +0 -0
  717. /package/dist/chunks/{location-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{location-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{location-7m9af43g.js → model-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{location-822emrt2.js → model-822emrt2.js} +0 -0
  721. /package/dist/chunks/{location-84wd9syh.js → model-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{location-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{location-8n3pysct.js → model-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{location-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{location-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{location-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{location-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{location-af5trqkr.js → model-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{location-afrmfg78.js → model-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{location-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{location-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{location-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{location-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{location-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{location-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{location-d9fn303g.js → model-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{location-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{location-dajrwvna.js → model-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{location-dap0rakb.js → model-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{location-df08tz66.js → model-df08tz66.js} +0 -0
  741. /package/dist/chunks/{location-dy18nga0.js → model-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{location-e3qxr5gk.js → model-e3qxr5gk.js} +0 -0
  743. /package/dist/chunks/{location-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{location-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{location-ec1grn59.js → model-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{location-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{location-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{location-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{location-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{location-faypxj3z.js → model-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{location-fd410y7t.js → model-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{location-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{location-g86h250q.js → model-g86h250q.js} +0 -0
  754. /package/dist/chunks/{location-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{location-gftt206x.js → model-gftt206x.js} +0 -0
  756. /package/dist/chunks/{location-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{location-hk9envan.js → model-hk9envan.js} +0 -0
  758. /package/dist/chunks/{location-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{location-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{location-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{location-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{location-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{location-jze0r7bz.js → model-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{location-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{location-m18g726c.js → model-m18g726c.js} +0 -0
  766. /package/dist/chunks/{location-mp448xyj.js → model-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{location-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{location-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{location-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{location-njntx4h6.js → model-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{location-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{location-pyv0edze.js → model-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{location-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{location-q74kybfr.js → model-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{location-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{location-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{location-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{location-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{location-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{location-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{location-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{location-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{location-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{location-w803qqfp.js → model-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{location-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{location-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{location-wjj7prxr.js → model-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{location-wtztk69x.js → model-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{location-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{location-x61499pn.js → model-x61499pn.js} +0 -0
  791. /package/dist/chunks/{location-y44na4kk.js → model-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{location-y8f7s663.js → model-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{location-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{location-ym463w8f.js → model-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{location-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{location-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service82
3
- } from "./location-zm69bbn9.js";
2
+ Service80
3
+ } from "./model-pmrbxne1.js";
4
4
  import {
5
- Service78
6
- } from "./location-zjmprxn1.js";
5
+ Service63
6
+ } from "./model-5nszh0bg.js";
7
7
  import {
8
- Service59,
8
+ Service46,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./location-91erwma2.js";
11
+ } from "./model-es2a07ty.js";
12
12
  import {
13
- Service14
14
- } from "./location-7zst7kbs.js";
13
+ Service71
14
+ } from "./model-xatn3567.js";
15
15
  import {
16
- Service61
17
- } from "./location-z1j2pzfs.js";
16
+ Service50
17
+ } from "./model-95vh4d4w.js";
18
18
  import {
19
- Service54,
19
+ Service45,
20
20
  resolvePath2
21
- } from "./location-wb1vxtey.js";
21
+ } from "./model-7s91hvyw.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./location-6prwharc.js";
24
+ } from "./model-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./location-9rqn6x4v.js";
27
+ } from "./model-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input4,
34
- Output: () => Output3,
35
- Plugin: () => Plugin6,
36
- name: () => name4
33
+ Input: () => Input2,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin2,
36
+ name: () => name2
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name4 = "edit";
43
- var Input4 = Schema.Struct({
42
+ var name2 = "edit";
43
+ var Input2 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output3 = Schema.Struct({
53
+ var Output2 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin6 = {
193
+ var Plugin2 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service54;
197
- const fileMutation = yield* Service59;
198
- const environment = yield* Service78;
199
- const formatter = yield* Service14;
200
- const location = yield* Service82;
201
- const permission = yield* Service61;
196
+ const access = yield* Service45;
197
+ const fileMutation = yield* Service46;
198
+ const environment = yield* Service63;
199
+ const formatter = yield* Service71;
200
+ const location = yield* Service80;
201
+ const permission = yield* Service50;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name4,
203
+ name: name2,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input4,
207
- output: Output3,
206
+ input: Input2,
207
+ output: Output2,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin6 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name4, Input4, Output3, Plugin6, exports_edit };
279
+ export { name2, Input2, Output2, Plugin2, exports_edit };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service44,
3
- node46
4
- } from "./location-rsvjy1hm.js";
2
+ Service43,
3
+ node45
4
+ } from "./model-qcr1ft2j.js";
5
5
  import {
6
- Service19,
7
- node22
8
- } from "./location-6yva2bse.js";
6
+ Service22,
7
+ node25
8
+ } from "./model-2shkhq8w.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./location-6xb47vfp.js";
12
+ } from "./model-6xb47vfp.js";
13
13
  import {
14
14
  __export
15
- } from "./location-9rqn6x4v.js";
15
+ } from "./model-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service9,
20
+ Service: () => Service8,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node11
22
+ node: () => node10
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service9 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service8 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service19;
30
- const jobs = yield* Service44;
29
+ const sessions = yield* Service22;
30
+ const jobs = yield* Service43;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service9.of({
45
+ return Service8.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node11 = Node.makeGlobalNode({
68
- service: Service9,
69
- layer: Layer.effect(Service9, make),
70
- deps: [node22, node46]
67
+ var node10 = Node.makeGlobalNode({
68
+ service: Service8,
69
+ layer: Layer.effect(Service8, make),
70
+ deps: [node25, node45]
71
71
  });
72
72
 
73
- export { Service9, node11, exports_subagent_job };
73
+ export { Service8, node10, exports_subagent_job };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./location-yhszmqfx.js";
3
+ } from "./model-7xbjxe45.js";
4
4
 
5
5
  // src/plugin/provider/vllm.ts
6
6
  import { Effect, Schema } from "effect";
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
11
11
  max_model_len: Schema.NullOr(Schema.Int)
12
12
  });
13
13
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
14
- var make7 = createLocalProviderPlugin2({
14
+ var make9 = createLocalProviderPlugin2({
15
15
  id: "opencode.provider.vllm",
16
16
  providerID,
17
17
  name: "vLLM",
@@ -26,6 +26,6 @@ var make7 = createLocalProviderPlugin2({
26
26
  context: item.max_model_len
27
27
  })
28
28
  });
29
- var VLLMPlugin2 = make7();
29
+ var VLLMPlugin2 = make9();
30
30
 
31
- export { make7, VLLMPlugin2 };
31
+ export { make9, VLLMPlugin2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service85
3
- } from "./location-trskfet7.js";
3
+ } from "./model-vd0d0qbj.js";
4
4
  import {
5
- ID13,
6
- Event19,
7
- Service75
8
- } from "./location-h4e45ygc.js";
5
+ ID14,
6
+ Event18,
7
+ Service78
8
+ } from "./model-qge264qz.js";
9
9
  import {
10
- ID11
11
- } from "./location-5s5bfnr6.js";
10
+ ID12
11
+ } from "./model-r3berafb.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./location-dwa92pvc.js";
14
+ } from "./model-1xfgz0sp.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service75;
44
+ const credentials = yield* Service78;
45
45
  const bus = yield* Service85;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID12.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID12.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID12.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID11.googleVertex,
81
+ integrationID: ID12.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID11.googleVertex,
85
+ integrationID: ID12.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event18.Updated, Event18.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./location-qnc92qwc.js";
4
+ } from "./model-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./location-qfa1cgps.js";
7
+ } from "./model-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./location-c41wscbt.js";
10
+ } from "./model-rj3eygr5.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./location-pyv0edze.js";
3
+ } from "./model-pyv0edze.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin29,
11
+ Plugin: () => Plugin41,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin29 = define({
18
+ var Plugin41 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin29, exports_tool_input_repair };
123
+ export { Plugin41, exports_tool_input_repair };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service69
3
- } from "./location-2fz504me.js";
2
+ Service62
3
+ } from "./model-stapj22y.js";
4
4
  import {
5
- Service82
6
- } from "./location-zm69bbn9.js";
5
+ Service80
6
+ } from "./model-pmrbxne1.js";
7
7
  import {
8
- Service68
9
- } from "./location-n477w9kb.js";
8
+ Service61
9
+ } from "./model-v3ff97sk.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./location-rhjbct0v.js";
12
+ } from "./model-0gdmqesm.js";
13
13
  import {
14
14
  File2,
15
- Service35
16
- } from "./location-efattxwn.js";
15
+ Service36
16
+ } from "./model-ca0q5yrm.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./model-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin49
25
+ Plugin: () => Plugin20
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin49 = define({
34
+ var Plugin20 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service35;
37
+ const discovery = yield* Service36;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service68;
39
+ const config = yield* Service61;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service82;
44
- const watcher = yield* Service69;
43
+ const location = yield* Service80;
44
+ const watcher = yield* Service62;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -174,4 +174,4 @@ function isUrl(source) {
174
174
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
175
175
  }
176
176
 
177
- export { Plugin49, exports_instruction };
177
+ export { Plugin20, exports_instruction };
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./location-trskfet7.js";
5
+ } from "./model-vd0d0qbj.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make18,
11
11
  diffByKey2
12
- } from "./location-rhjbct0v.js";
12
+ } from "./model-0gdmqesm.js";
13
13
  import {
14
14
  create3
15
- } from "./location-rdw6cm16.js";
15
+ } from "./model-rdw6cm16.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./model-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event5,
23
+ Event: () => Event6,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options3,
27
- Service: () => Service35,
28
- configured: () => configured3,
29
- layer: () => layer15,
30
- node: () => node38
26
+ Options: () => Options5,
27
+ Service: () => Service36,
28
+ configured: () => configured5,
29
+ layer: () => layer19,
30
+ node: () => node39
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,17 +39,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key3.make("core/instructions");
42
- var Event5 = {
42
+ var Event6 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options3 = Schema.Struct({
45
+ var Options5 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service35 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service36 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
52
+ var layer19 = (options) => Layer.effect(Service36, Effect.gen(function* () {
53
53
  const bus = yield* Service85;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -69,9 +69,9 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
- const source = (value) => make20({
74
+ const source = (value) => make18({
75
75
  key,
76
76
  codec: Schema.toCodecJson(Files),
77
77
  read: Effect.succeed(value),
@@ -87,7 +87,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service35.of({
90
+ return Service36.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured3(options) {
104
+ function configured5(options) {
105
105
  return makeLocationNode({
106
- service: Service35,
107
- layer: layer15(options),
106
+ service: Service36,
107
+ layer: layer19(options),
108
108
  deps: [node89]
109
109
  });
110
110
  }
111
- var node38 = configured3();
111
+ var node39 = configured5();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event5, Options3, Service35, layer15, configured3, node38, exports_instruction_discovery };
142
+ export { File2, Event6, Options5, Service36, layer19, configured5, node39, exports_instruction_discovery };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info17
7
- } from "./location-1j6m29mr.js";
6
+ Info16
7
+ } from "./model-5fec3t3w.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- ConfigAgentV1: () => exports_agent4,
16
- Info: () => Info14
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ ConfigAgentV1: () => exports_agent3,
16
+ Info: () => Info15
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info17)
48
+ permission: Schema.optional(Info16)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info14 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info15 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info14, exports_agent4 };
72
+ export { Info15, exports_agent3 };