@opencode/core 0.0.0-dev-21022 → 0.0.0-dev-21026

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 (788) 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 +71 -71
  7. package/dist/chunks/{generate-5fhve76z.js → model-01rfddxe.js} +36 -36
  8. package/dist/chunks/{generate-c9wbyant.js → model-0b5g1ynf.js} +4 -4
  9. package/dist/chunks/{generate-nz00s972.js → model-0cqcz89e.js} +9 -9
  10. package/dist/chunks/{generate-8g2t0nrb.js → model-0g9exnkr.js} +11 -11
  11. package/dist/chunks/{generate-2mr82eke.js → model-0grnp236.js} +4 -4
  12. package/dist/chunks/{generate-nyb09g2v.js → model-0hmbxfvk.js} +21 -21
  13. package/dist/chunks/{generate-2k8khapm.js → model-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{generate-51qcsxgk.js → model-0k9wf2hg.js} +11 -11
  15. package/dist/chunks/{generate-kdn70dry.js → model-0kgrmwp0.js} +23 -23
  16. package/dist/chunks/{generate-0vbcp93d.js → model-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{generate-xtbhb3vb.js → model-124s7jg1.js} +4 -4
  18. package/dist/chunks/{generate-6xg49yv5.js → model-15cj51dt.js} +22 -22
  19. package/dist/chunks/model-19rpp6m5.js +253 -0
  20. package/dist/chunks/{generate-71c3ma91.js → model-1hc858k7.js} +5 -5
  21. package/dist/chunks/{generate-gr2xtfax.js → model-1pgs1s3m.js} +11 -11
  22. package/dist/chunks/{generate-mv100j38.js → model-1ttk16ha.js} +8 -8
  23. package/dist/chunks/{generate-m3emc3g7.js → model-20f5kd3r.js} +47 -47
  24. package/dist/chunks/{generate-y932fbb5.js → model-21xby13n.js} +18 -18
  25. package/dist/chunks/{generate-hzkveby0.js → model-21yyccfm.js} +3 -3
  26. package/dist/chunks/{generate-8npnmh1j.js → model-2aegfh2p.js} +11 -11
  27. package/dist/chunks/{generate-h7s7r6s9.js → model-31xfzrxg.js} +5 -5
  28. package/dist/chunks/{generate-f5xe0mk2.js → model-31zph7gx.js} +30 -30
  29. package/dist/chunks/{generate-4z39z968.js → model-358yc98n.js} +1 -1
  30. package/dist/chunks/{generate-k01atk97.js → model-36sc5tph.js} +46 -46
  31. package/dist/chunks/{generate-03qpgtxm.js → model-3855cc73.js} +49 -49
  32. package/dist/chunks/{generate-bg9pb3hs.js → model-3cqwnyj9.js} +8 -8
  33. package/dist/chunks/{generate-3fc6dm20.js → model-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{generate-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{generate-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{generate-ad8sbtaf.js → model-3mvas6ge.js} +5 -5
  37. package/dist/chunks/{generate-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{generate-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{generate-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{generate-jsre8083.js → model-40fe41y2.js} +33 -33
  41. package/dist/chunks/{generate-yzt2x2kg.js → model-40sbw5pj.js} +33 -33
  42. package/dist/chunks/{generate-dw8wxjxb.js → model-43xeh9aq.js} +4 -4
  43. package/dist/chunks/{generate-8tm3358f.js → model-454sa7n0.js} +11 -11
  44. package/dist/chunks/{generate-svmrvdvs.js → model-45mc4at0.js} +11 -11
  45. package/dist/chunks/{generate-319jyy1m.js → model-46mt6x8j.js} +14 -14
  46. package/dist/chunks/{generate-1wqw6d7n.js → model-4acmj4he.js} +7 -7
  47. package/dist/chunks/{generate-whebsv80.js → model-4dbz3zxd.js} +89 -89
  48. package/dist/chunks/{generate-eabkatpb.js → model-4q7c2z0k.js} +1 -1
  49. package/dist/chunks/{generate-vjkbc1z2.js → model-4qa4eb2f.js} +10 -10
  50. package/dist/chunks/{generate-90nc1nhv.js → model-559cv5mq.js} +43 -43
  51. package/dist/chunks/{generate-4ekscj25.js → model-58hng72m.js} +5 -5
  52. package/dist/chunks/{generate-vnv9wwnh.js → model-5bcww33d.js} +9 -9
  53. package/dist/chunks/{generate-ws8gre0k.js → model-5deaz9jv.js} +1 -1
  54. package/dist/chunks/{generate-4rx0zshk.js → model-5gagafpw.js} +6 -6
  55. package/dist/chunks/{generate-3cb4vsbh.js → model-5m24e1bs.js} +30 -30
  56. package/dist/chunks/{generate-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{generate-tgk3qf8f.js → model-6b06eyw5.js} +12 -12
  58. package/dist/chunks/{generate-9d8ha7wk.js → model-6g25qtd6.js} +3 -3
  59. package/dist/chunks/{generate-y6nmpnm5.js → model-6jxha2sg.js} +31 -31
  60. package/dist/chunks/{generate-8xf62mhm.js → model-6vvy3pkk.js} +20 -20
  61. package/dist/chunks/{generate-6xb47vfp.js → model-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{generate-q5e7cmwt.js → model-6xcvt31d.js} +1 -1
  63. package/dist/chunks/{generate-vpxrjyh9.js → model-70spc8zb.js} +17 -17
  64. package/dist/chunks/{generate-775gj3j1.js → model-775gj3j1.js} +2 -2
  65. package/dist/chunks/{generate-9xxh1q1e.js → model-77bypgyx.js} +5 -5
  66. package/dist/chunks/{generate-rr58t4fd.js → model-79vjxwag.js} +23 -23
  67. package/dist/chunks/{generate-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{generate-0a8ksa24.js → model-7ca3xte1.js} +10 -10
  69. package/dist/chunks/{generate-ck04n157.js → model-7cmh32yw.js} +23 -23
  70. package/dist/chunks/{generate-d9wzmzc3.js → model-7d2a7xbs.js} +5 -5
  71. package/dist/chunks/{generate-q0bv3cn2.js → model-7kesx33y.js} +54 -54
  72. package/dist/chunks/{generate-8k39r2mp.js → model-7pvy9pzv.js} +11 -11
  73. package/dist/chunks/{generate-qaw4ptrj.js → model-7rxph2nn.js} +13 -13
  74. package/dist/chunks/{generate-tcezcvh9.js → model-89znhe33.js} +4 -4
  75. package/dist/chunks/{generate-6424kev6.js → model-8fh9asg7.js} +15 -15
  76. package/dist/chunks/{generate-yz9yqyt1.js → model-8hdm4x97.js} +8 -8
  77. package/dist/chunks/{generate-rr2frrzn.js → model-8kfrjq0p.js} +19 -19
  78. package/dist/chunks/{generate-8m6m0r52.js → model-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{generate-ypw91m64.js → model-8mbscqky.js} +8 -8
  80. package/dist/chunks/{generate-wkcx7fj9.js → model-8ng4acg9.js} +6 -6
  81. package/dist/chunks/{generate-b3sm7x6w.js → model-8rw8yr2z.js} +28 -28
  82. package/dist/chunks/{generate-kxxbqm5f.js → model-8x2j076n.js} +52 -52
  83. package/dist/chunks/{generate-h61jsw8z.js → model-8y6qxnd2.js} +30 -30
  84. package/dist/chunks/{generate-91qna3x0.js → model-91qna3x0.js} +3 -3
  85. package/dist/chunks/{generate-1stxgd8c.js → model-99wq20s7.js} +12 -12
  86. package/dist/chunks/{generate-909p1r3q.js → model-9ae44cfy.js} +6 -6
  87. package/dist/chunks/{generate-mfxyg6fd.js → model-9nthj2st.js} +2 -2
  88. package/dist/chunks/{generate-wb0v33rf.js → model-9sbgnbhh.js} +17 -17
  89. package/dist/chunks/{generate-y6t3xqc7.js → model-9xc4s1wq.js} +34 -34
  90. package/dist/chunks/{generate-vw95np9e.js → model-a3s2mkkw.js} +34 -34
  91. package/dist/chunks/{generate-pe1ys5ng.js → model-a4r1667r.js} +18 -18
  92. package/dist/chunks/{generate-qbkpptp7.js → model-afb9wseb.js} +18 -18
  93. package/dist/chunks/{generate-7r0r2nec.js → model-am4dv7bb.js} +32 -32
  94. package/dist/chunks/{generate-q92qcf3t.js → model-b096sb2f.js} +9 -9
  95. package/dist/chunks/{generate-ff1ymwtx.js → model-b0w22pfr.js} +12 -12
  96. package/dist/chunks/model-b54ntt24.js +26 -0
  97. package/dist/chunks/{generate-b65pmv0k.js → model-b77ja0wt.js} +27 -27
  98. package/dist/chunks/{generate-qmkghy1h.js → model-bbnjt3hf.js} +14 -14
  99. package/dist/chunks/{generate-68yg9n24.js → model-bd498wnj.js} +14 -14
  100. package/dist/chunks/{generate-y6agp0rp.js → model-bf8cw6nk.js} +20 -20
  101. package/dist/chunks/{generate-0crr0gfc.js → model-bfh1r411.js} +17 -17
  102. package/dist/chunks/{generate-yfxs65tx.js → model-bhdyt95r.js} +21 -21
  103. package/dist/chunks/{generate-1ffvrpkg.js → model-bjx1sjef.js} +6 -6
  104. package/dist/chunks/{generate-4evbv4gb.js → model-bxp5y3gq.js} +11 -11
  105. package/dist/chunks/{generate-2hk2ydh2.js → model-c0q9byrh.js} +3 -3
  106. package/dist/chunks/{generate-c1fqxshp.js → model-c1fqxshp.js} +3 -3
  107. package/dist/chunks/{generate-njf7rzjw.js → model-c3arycbm.js} +17 -17
  108. package/dist/chunks/{generate-ak963xne.js → model-cc080dhf.js} +32 -32
  109. package/dist/chunks/{generate-q0wwkmtc.js → model-csjs0rgm.js} +16 -16
  110. package/dist/chunks/{generate-1eg42xax.js → model-ctn84etg.js} +24 -24
  111. package/dist/chunks/{generate-h2mwb1rt.js → model-d022x100.js} +8 -8
  112. package/dist/chunks/{generate-m1efmtwr.js → model-d70j4vcr.js} +51 -51
  113. package/dist/chunks/{generate-tdf8hw5n.js → model-d7bz7cyc.js} +87 -87
  114. package/dist/chunks/{generate-db2wf4at.js → model-db2wf4at.js} +1 -1
  115. package/dist/chunks/{generate-rqa1jxse.js → model-dqvv6bdz.js} +2 -2
  116. package/dist/chunks/{generate-dqxsqydv.js → model-dqxsqydv.js} +1 -1
  117. package/dist/chunks/{generate-drwq78ky.js → model-drwq78ky.js} +1 -1
  118. package/dist/chunks/{generate-z8fpjdp3.js → model-dz1h6v1j.js} +42 -42
  119. package/dist/chunks/{generate-agbrrg4r.js → model-e70pe916.js} +22 -22
  120. package/dist/chunks/{generate-e80seqcp.js → model-e80seqcp.js} +1 -1
  121. package/dist/chunks/{generate-q1x1rvbe.js → model-e9ap395p.js} +29 -29
  122. package/dist/chunks/{generate-ryr25ayn.js → model-edrmdtr5.js} +7 -7
  123. package/dist/chunks/{generate-eej6y6fw.js → model-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{generate-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{generate-s3cm33sf.js → model-f0d2hz6a.js} +10 -10
  126. package/dist/chunks/{generate-gcb2m958.js → model-f2dsq0sx.js} +32 -32
  127. package/dist/chunks/{generate-f2n192rq.js → model-f2n192rq.js} +1 -1
  128. package/dist/chunks/{generate-ed2aanj4.js → model-fd5g32kx.js} +3 -3
  129. package/dist/chunks/{generate-0jq9fyba.js → model-fdms3n6w.js} +9 -9
  130. package/dist/chunks/{generate-hsakzz9a.js → model-fs5hygsn.js} +14 -14
  131. package/dist/chunks/{generate-m1ywmr27.js → model-fx9ycnc9.js} +5 -5
  132. package/dist/chunks/{generate-j3nkb9wj.js → model-g0d965vs.js} +4 -4
  133. package/dist/chunks/{generate-y9pr6q2f.js → model-g5y76h12.js} +30 -30
  134. package/dist/chunks/{generate-rhk74dyv.js → model-gb2d0a3q.js} +34 -34
  135. package/dist/chunks/{generate-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{generate-k2esz74z.js → model-gd6gh308.js} +188 -188
  137. package/dist/chunks/{generate-amcg9hk8.js → model-gnngpsss.js} +34 -34
  138. package/dist/chunks/{generate-v5p3rnnz.js → model-gpdxzypf.js} +329 -329
  139. package/dist/chunks/{generate-zy43x3f1.js → model-h6310vsd.js} +4 -4
  140. package/dist/chunks/{generate-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  141. package/dist/chunks/{generate-457s9w80.js → model-h99738j4.js} +10 -10
  142. package/dist/chunks/{generate-q806gczq.js → model-hgqgzfp7.js} +13 -13
  143. package/dist/chunks/{generate-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
  144. package/dist/chunks/{generate-9cgjtbjp.js → model-ht3067rw.js} +18 -18
  145. package/dist/chunks/{generate-82jnz8vq.js → model-jfw34q2z.js} +15 -15
  146. package/dist/chunks/{generate-9mp1bzg1.js → model-jhr8jnrw.js} +19 -19
  147. package/dist/chunks/{generate-jk540des.js → model-jk540des.js} +2 -2
  148. package/dist/chunks/{generate-ph6a4evn.js → model-jke95dby.js} +13 -13
  149. package/dist/chunks/{generate-66x3e96s.js → model-k1ck9wgq.js} +14 -14
  150. package/dist/chunks/{generate-4e0p0fpd.js → model-k4xvcd80.js} +50 -50
  151. package/dist/chunks/{generate-jj2708p2.js → model-kfrz2jxp.js} +5 -5
  152. package/dist/chunks/{generate-dc5wd9ye.js → model-kt26yds1.js} +15 -15
  153. package/dist/chunks/{generate-6gkwybtq.js → model-kwjpkb26.js} +17 -17
  154. package/dist/chunks/{generate-pab3ay35.js → model-m2y34ngg.js} +15 -15
  155. package/dist/chunks/{generate-647metxh.js → model-m9m2bw1x.js} +63 -63
  156. package/dist/chunks/{generate-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  157. package/dist/chunks/{generate-maspj1v3.js → model-maspj1v3.js} +1 -1
  158. package/dist/chunks/{generate-nq3r004t.js → model-md6a2bpm.js} +6 -6
  159. package/dist/chunks/{generate-z0bysbaa.js → model-mm2924pv.js} +35 -35
  160. package/dist/chunks/{generate-9jhc6p5j.js → model-mnypcc0v.js} +9 -9
  161. package/dist/chunks/{generate-fa0b3k97.js → model-mp3rbb49.js} +8 -8
  162. package/dist/chunks/{generate-8j6692t6.js → model-mq6shjb6.js} +9 -9
  163. package/dist/chunks/{generate-azdezd4n.js → model-mrpe8yp5.js} +35 -35
  164. package/dist/chunks/{generate-820m75ay.js → model-mw0c0vj6.js} +26 -26
  165. package/dist/chunks/{generate-4fvt83t5.js → model-mz8as577.js} +3 -3
  166. package/dist/chunks/{generate-ewprqnzw.js → model-n52gv0t2.js} +25 -25
  167. package/dist/chunks/{generate-32gpd1xw.js → model-nms2wt4g.js} +14 -14
  168. package/dist/chunks/{generate-pvywfm1n.js → model-nw1b9wk3.js} +4 -4
  169. package/dist/chunks/{generate-f29mbr7f.js → model-nxe4pcap.js} +4 -4
  170. package/dist/chunks/{generate-rgy34r50.js → model-nxj57cfn.js} +4 -4
  171. package/dist/chunks/{generate-ny8edt06.js → model-ny8edt06.js} +1 -1
  172. package/dist/chunks/{generate-jm2dqw0s.js → model-nym9wyb3.js} +6 -6
  173. package/dist/chunks/{generate-gwaq8jy9.js → model-p1pg3s4t.js} +24 -24
  174. package/dist/chunks/{generate-p5p106c5.js → model-p2x1ybm5.js} +26 -26
  175. package/dist/chunks/{generate-g0445xdp.js → model-p37cw4rj.js} +8 -8
  176. package/dist/chunks/{generate-8aaqm6qj.js → model-pakcngh0.js} +8 -8
  177. package/dist/chunks/{generate-xnt6fver.js → model-pcpm970h.js} +29 -29
  178. package/dist/chunks/model-pf31ssb9.js +18 -0
  179. package/dist/chunks/{generate-b1nmds8p.js → model-pg3yv55e.js} +17 -17
  180. package/dist/chunks/{generate-kgs10km5.js → model-pj9xvhw4.js} +1 -1
  181. package/dist/chunks/{generate-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  182. package/dist/chunks/{generate-pknna89w.js → model-pknna89w.js} +1 -1
  183. package/dist/chunks/{generate-0sg4sx3g.js → model-pqrr6518.js} +39 -39
  184. package/dist/chunks/{generate-ctzqdfkd.js → model-pt8t6bwe.js} +15 -15
  185. package/dist/chunks/{generate-48kw51zw.js → model-pyzjd10w.js} +3 -3
  186. package/dist/chunks/{generate-z964fg8a.js → model-pzhd9fhs.js} +21 -21
  187. package/dist/chunks/{generate-q0xm7vwc.js → model-q0xm7vwc.js} +2 -2
  188. package/dist/chunks/{generate-y39tjqdd.js → model-q45w12d8.js} +25 -25
  189. package/dist/chunks/{generate-mtntnqk5.js → model-q8smq9rm.js} +26 -26
  190. package/dist/chunks/{generate-hbqwyh5b.js → model-q9z6c42s.js} +9 -9
  191. package/dist/chunks/{generate-8yrtv903.js → model-qfxf707x.js} +14 -14
  192. package/dist/chunks/{generate-qnc92qwc.js → model-qnc92qwc.js} +1 -1
  193. package/dist/chunks/{generate-e4p24ara.js → model-qq8gj99e.js} +18 -18
  194. package/dist/chunks/{generate-qsdy395h.js → model-qsdy395h.js} +1 -1
  195. package/dist/chunks/{generate-pe36awch.js → model-qxfsh50a.js} +16 -16
  196. package/dist/chunks/{generate-2zq4dj3s.js → model-qysp5m4p.js} +18 -18
  197. package/dist/chunks/{generate-qmqgtz8f.js → model-r2m716tb.js} +9 -9
  198. package/dist/chunks/{generate-9znwrv1e.js → model-r7wmahnz.js} +27 -27
  199. package/dist/chunks/{generate-e7n3ya83.js → model-r85h4k88.js} +31 -31
  200. package/dist/chunks/{generate-54ma36ye.js → model-r94pvvab.js} +4 -4
  201. package/dist/chunks/{generate-q4q0tmjh.js → model-r9jzxqvq.js} +34 -34
  202. package/dist/chunks/{generate-g686f6pq.js → model-ra67jj04.js} +9 -9
  203. package/dist/chunks/{generate-yeereb2r.js → model-rd1cgpxp.js} +24 -24
  204. package/dist/chunks/{generate-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  205. package/dist/chunks/{generate-rert0e01.js → model-rert0e01.js} +2 -2
  206. package/dist/chunks/{generate-c3k8fx1y.js → model-rffh3mqk.js} +16 -16
  207. package/dist/chunks/{generate-rj3eygr5.js → model-rj3eygr5.js} +2 -2
  208. package/dist/chunks/{generate-6pc27hjz.js → model-rkprpv83.js} +6 -6
  209. package/dist/chunks/{generate-gm2e0st7.js → model-rp09h2a9.js} +18 -18
  210. package/dist/chunks/{generate-2fkkh717.js → model-rx4wz1w4.js} +10 -10
  211. package/dist/chunks/{generate-mrm6qzaa.js → model-s13c7292.js} +27 -27
  212. package/dist/chunks/{generate-sz15zhhw.js → model-s2z0d44b.js} +4 -4
  213. package/dist/chunks/{generate-sa8ekw3f.js → model-sa8ekw3f.js} +2 -2
  214. package/dist/chunks/{generate-scgrse2b.js → model-scgrse2b.js} +2 -2
  215. package/dist/chunks/{generate-dr348f92.js → model-scgz3sns.js} +24 -24
  216. package/dist/chunks/{generate-xy02r08k.js → model-sp1bq8t5.js} +4 -4
  217. package/dist/chunks/{generate-evsxga0j.js → model-stpcs325.js} +11 -11
  218. package/dist/chunks/{generate-syv4x271.js → model-syv4x271.js} +1 -1
  219. package/dist/chunks/{generate-kne8f3cn.js → model-t2az9yje.js} +4 -4
  220. package/dist/chunks/{generate-02nrjc1r.js → model-t550f9t1.js} +8 -8
  221. package/dist/chunks/{generate-xdx7acry.js → model-t79s17n5.js} +9 -9
  222. package/dist/chunks/{generate-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  223. package/dist/chunks/{generate-bjnagtpr.js → model-tbkx8g7m.js} +7 -7
  224. package/dist/chunks/{generate-tdstcens.js → model-tdstcens.js} +1 -1
  225. package/dist/chunks/{generate-fpecnkgp.js → model-tg7bkhef.js} +5 -5
  226. package/dist/chunks/{generate-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
  227. package/dist/chunks/{generate-m6twg17p.js → model-trrs9qjc.js} +13 -13
  228. package/dist/chunks/{generate-7ph0vnsv.js → model-trya7axm.js} +8 -8
  229. package/dist/chunks/{generate-bt618zmv.js → model-ty6kwv90.js} +19 -19
  230. package/dist/chunks/{generate-tyytaxap.js → model-tyytaxap.js} +1 -1
  231. package/dist/chunks/{generate-vhtfstd8.js → model-v6wtv6sh.js} +14 -14
  232. package/dist/chunks/{generate-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
  233. package/dist/chunks/{generate-veqvce7d.js → model-veqvce7d.js} +1 -1
  234. package/dist/chunks/{generate-5pr12dw0.js → model-vfw5w8v2.js} +17 -17
  235. package/dist/chunks/{generate-0d5fjz2h.js → model-vppcbm3y.js} +9 -9
  236. package/dist/chunks/{generate-xhtmvx5q.js → model-vq4kdd46.js} +18 -18
  237. package/dist/chunks/{generate-h3k0sdzw.js → model-vqk1e85q.js} +6 -6
  238. package/dist/chunks/{generate-wh6zw745.js → model-vrrq7v3g.js} +5 -5
  239. package/dist/chunks/{generate-yc4d889b.js → model-vw126e4d.js} +15 -15
  240. package/dist/chunks/{generate-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  241. package/dist/chunks/{generate-w1eejvng.js → model-w1eejvng.js} +1 -1
  242. package/dist/chunks/{generate-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{generate-cfybw0sz.js → model-w4j701p4.js} +8 -8
  244. package/dist/chunks/{generate-bmz30bfc.js → model-w6h1y6dq.js} +11 -11
  245. package/dist/chunks/{generate-wd87259q.js → model-wd87259q.js} +1 -1
  246. package/dist/chunks/{generate-fs96esax.js → model-wdz250da.js} +28 -28
  247. package/dist/chunks/{generate-0ywb27hw.js → model-wfq6jpmw.js} +31 -31
  248. package/dist/chunks/{generate-qfzqcc6n.js → model-wmcaf8ca.js} +33 -33
  249. package/dist/chunks/{generate-qjvd7p01.js → model-wp97teag.js} +17 -17
  250. package/dist/chunks/{generate-sjqh3mj3.js → model-wr1ewhk4.js} +5 -5
  251. package/dist/chunks/{generate-t5wwwxkh.js → model-wt6b9xn1.js} +5 -5
  252. package/dist/chunks/{generate-3pm9ry58.js → model-wtqshrcq.js} +11 -11
  253. package/dist/chunks/{generate-8qqj46vq.js → model-x17e2yyb.js} +20 -20
  254. package/dist/chunks/{generate-k1bs2h3f.js → model-x2jnxxy0.js} +23 -23
  255. package/dist/chunks/{generate-9at6tv1c.js → model-x5ay7k0w.js} +9 -9
  256. package/dist/chunks/{generate-dk51qrek.js → model-xbnpeec3.js} +34 -34
  257. package/dist/chunks/{generate-p9r2c5t1.js → model-xfrnbqxb.js} +7 -7
  258. package/dist/chunks/{generate-wafexnmx.js → model-xgwqb5jk.js} +26 -26
  259. package/dist/chunks/{generate-nhyepbsc.js → model-xs3x383r.js} +14 -14
  260. package/dist/chunks/{generate-nb9p6b26.js → model-xxxym934.js} +4 -4
  261. package/dist/chunks/{generate-k045zbz9.js → model-y0ymffas.js} +45 -45
  262. package/dist/chunks/{generate-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{generate-p1thmww4.js → model-y2kcrf7q.js} +9 -9
  264. package/dist/chunks/{generate-sfhqvnpf.js → model-y52pq506.js} +24 -24
  265. package/dist/chunks/{generate-fsj12tdk.js → model-y6cwq76b.js} +11 -11
  266. package/dist/chunks/{generate-xkm5zh6x.js → model-y6xhfxcm.js} +23 -23
  267. package/dist/chunks/{generate-y71avatq.js → model-y71avatq.js} +1 -1
  268. package/dist/chunks/{generate-k7qgnp9n.js → model-y8zy7amg.js} +11 -11
  269. package/dist/chunks/{generate-61va9acd.js → model-y9y8j1f2.js} +16 -16
  270. package/dist/chunks/{generate-7hhqs9ev.js → model-yg62bcth.js} +11 -11
  271. package/dist/chunks/{generate-ygdna4kr.js → model-ygdna4kr.js} +2 -2
  272. package/dist/chunks/{generate-1w8fdk0d.js → model-yhtxwa5q.js} +10 -10
  273. package/dist/chunks/{generate-p79ar1np.js → model-yv09eh8f.js} +8 -8
  274. package/dist/chunks/{generate-9eb0cyrw.js → model-ywkcfvf7.js} +11 -11
  275. package/dist/chunks/{generate-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{generate-08xsmh6n.js → model-z75pxxh7.js} +3 -3
  277. package/dist/chunks/{generate-v4mqz3w8.js → model-ze19dk6b.js} +3 -3
  278. package/dist/chunks/{generate-pnq2asy9.js → model-zf7skas7.js} +22 -22
  279. package/dist/chunks/{generate-w5zzhgd0.js → model-zfq801h6.js} +6 -6
  280. package/dist/chunks/{generate-jerzhz83.js → model-zpegy5y1.js} +13 -13
  281. package/dist/chunks/{generate-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{generate-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{generate-v4zj8138.js → model-zzzv4s15.js} +27 -27
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +86 -86
  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 +118 -118
  300. package/dist/config/plugin/location-watcher.js +120 -120
  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 +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +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 +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +94 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +108 -108
  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 +105 -105
  428. package/dist/git.js +8 -8
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +133 -133
  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 +87 -87
  465. package/dist/managed-policy.js +6 -6
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +111 -111
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +103 -103
  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 +113 -113
  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 +90 -90
  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 +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  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 +116 -116
  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 +125 -125
  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 +120 -120
  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 +125 -125
  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 +348 -348
  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 +220 -220
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +88 -88
  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 +99 -99
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +133 -133
  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 +216 -216
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +154 -154
  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 +203 -203
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +212 -212
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +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 +116 -116
  627. package/dist/snapshot.js +89 -89
  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 +122 -122
  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 +126 -126
  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 +107 -107
  640. package/dist/tool/plugin/read.js +127 -127
  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 +16 -16
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +2 -2
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +86 -86
  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 +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/generate-38rcd1wy.js +0 -26
  685. package/dist/chunks/generate-by5v678g.js +0 -18
  686. package/dist/chunks/generate-pp5qxgcs.js +0 -253
  687. /package/dist/chunks/{generate-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{generate-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{generate-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{generate-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{generate-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{generate-24dcb14g.js → model-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{generate-2710q6r3.js → model-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{generate-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{generate-2bv980vf.js → model-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{generate-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{generate-359p4xyc.js → model-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{generate-3asan66x.js → model-3asan66x.js} +0 -0
  699. /package/dist/chunks/{generate-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{generate-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{generate-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{generate-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{generate-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{generate-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{generate-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{generate-53557ph1.js → model-53557ph1.js} +0 -0
  707. /package/dist/chunks/{generate-550bvhaj.js → model-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{generate-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{generate-6prwharc.js → model-6prwharc.js} +0 -0
  710. /package/dist/chunks/{generate-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{generate-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{generate-7m9af43g.js → model-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{generate-822emrt2.js → model-822emrt2.js} +0 -0
  714. /package/dist/chunks/{generate-84wd9syh.js → model-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{generate-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{generate-8n3pysct.js → model-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{generate-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{generate-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{generate-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{generate-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{generate-af5trqkr.js → model-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{generate-afrmfg78.js → model-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{generate-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{generate-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{generate-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{generate-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{generate-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{generate-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{generate-d9fn303g.js → model-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{generate-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{generate-dajrwvna.js → model-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{generate-dap0rakb.js → model-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{generate-df08tz66.js → model-df08tz66.js} +0 -0
  734. /package/dist/chunks/{generate-dy18nga0.js → model-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{generate-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{generate-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{generate-ec1grn59.js → model-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{generate-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{generate-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{generate-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{generate-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{generate-faypxj3z.js → model-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{generate-fd410y7t.js → model-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{generate-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{generate-g86h250q.js → model-g86h250q.js} +0 -0
  746. /package/dist/chunks/{generate-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{generate-gftt206x.js → model-gftt206x.js} +0 -0
  748. /package/dist/chunks/{generate-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{generate-hk9envan.js → model-hk9envan.js} +0 -0
  750. /package/dist/chunks/{generate-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{generate-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{generate-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{generate-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{generate-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{generate-jze0r7bz.js → model-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{generate-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{generate-m18g726c.js → model-m18g726c.js} +0 -0
  758. /package/dist/chunks/{generate-mp448xyj.js → model-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{generate-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{generate-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{generate-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{generate-njntx4h6.js → model-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{generate-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{generate-pyv0edze.js → model-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{generate-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{generate-q74kybfr.js → model-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{generate-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{generate-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{generate-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{generate-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{generate-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{generate-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{generate-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{generate-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{generate-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{generate-w803qqfp.js → model-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{generate-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{generate-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{generate-wjj7prxr.js → model-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{generate-wtztk69x.js → model-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{generate-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{generate-x61499pn.js → model-x61499pn.js} +0 -0
  783. /package/dist/chunks/{generate-y44na4kk.js → model-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{generate-y8f7s663.js → model-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{generate-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{generate-ym463w8f.js → model-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{generate-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{generate-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./generate-j3nkb9wj.js";
4
+ } from "./model-g0d965vs.js";
5
5
  import {
6
- Service80,
7
- node83
8
- } from "./generate-319jyy1m.js";
6
+ Service78,
7
+ node82
8
+ } from "./model-46mt6x8j.js";
9
9
  import {
10
- Service55,
11
- node57
12
- } from "./generate-1eg42xax.js";
10
+ Service71,
11
+ node74
12
+ } from "./model-ctn84etg.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./generate-gd4qta3r.js";
15
+ } from "./model-gd4qta3r.js";
16
16
  import {
17
- Service57,
17
+ Service74,
18
18
  args2,
19
- node60
20
- } from "./generate-wb0v33rf.js";
19
+ node78
20
+ } from "./model-9sbgnbhh.js";
21
21
  import {
22
- Service78,
23
- node81
24
- } from "./generate-ypw91m64.js";
22
+ Service60,
23
+ node63
24
+ } from "./model-8mbscqky.js";
25
25
  import {
26
- Service48,
27
- node50
28
- } from "./generate-8aaqm6qj.js";
26
+ Service41,
27
+ node43
28
+ } from "./model-pakcngh0.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./generate-48kw51zw.js";
31
+ } from "./model-pyzjd10w.js";
32
32
  import {
33
33
  latest2,
34
- Service49,
35
- node51
36
- } from "./generate-03qpgtxm.js";
34
+ Service42,
35
+ node44
36
+ } from "./model-3855cc73.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./generate-7hhqs9ev.js";
40
+ } from "./model-yg62bcth.js";
41
41
  import {
42
42
  __export
43
- } from "./generate-9rqn6x4v.js";
43
+ } from "./model-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError7,
49
+ NotFoundError: () => NotFoundError3,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service47,
51
+ Service: () => Service40,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node49
54
+ node: () => node42
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service47 extends Context.Service()("@opencode/Shell") {
74
+ class Service40 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service47, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
91
91
  const bus = yield* Service84;
92
- const location = yield* Service80;
92
+ const location = yield* Service78;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service57;
95
- const environment = yield* Service55;
96
- const hooks = yield* Service78;
97
- const environments = yield* Service48;
98
- const config = yield* Service49;
94
+ const shell = yield* Service74;
95
+ const environment = yield* Service71;
96
+ const hooks = yield* Service60;
97
+ const environments = yield* Service41;
98
+ const config = yield* Service42;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError7({ id });
119
+ return yield* new NotFoundError3({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError7({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError3({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service47.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service40.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node49 = makeLocationNode({
329
- service: Service47,
328
+ var node42 = makeLocationNode({
329
+ service: Service40,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node88,
333
- node83,
333
+ node82,
334
334
  Global.node,
335
- node60,
336
- node57,
337
- node81,
338
- node50,
339
- node51,
335
+ node78,
336
+ node74,
337
+ node63,
338
+ node43,
339
+ node44,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError7, RETENTION2, DIRECTORY2, Service47, cleanup2, node49, exports_shell4 };
344
+ export { NotFoundError3, RETENTION2, DIRECTORY2, Service40, cleanup2, node42, exports_shell4 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  Service82,
6
- node85
7
- } from "./generate-fa0b3k97.js";
6
+ node86
7
+ } from "./model-mp3rbb49.js";
8
8
  import {
9
9
  parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./generate-w1eejvng.js";
13
+ } from "./model-w1eejvng.js";
14
14
  import {
15
- Service61,
16
- node64
17
- } from "./generate-1w8fdk0d.js";
15
+ Service81,
16
+ node85
17
+ } from "./model-yhtxwa5q.js";
18
18
  import {
19
19
  __export
20
- } from "./generate-9rqn6x4v.js";
20
+ } from "./model-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service41,
33
+ Service: () => Service80,
34
34
  isError: () => isError2,
35
- node: () => node44,
35
+ node: () => node84,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service41 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service80 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service41, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service61;
110
- return Service41.of({
109
+ const kv = yield* Service81;
110
+ return Service80.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node44 = makeGlobalNode({
171
- service: Service41,
170
+ var node84 = makeGlobalNode({
171
+ service: Service80,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node64]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node85]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service41, isError2, validateBranch2, node44, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service80, isError2, validateBranch2, node84, exports_repository_cache };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./generate-7r0r2nec.js";
3
+ } from "./model-am4dv7bb.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./generate-y6nmpnm5.js";
6
+ } from "./model-6jxha2sg.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured11,
11
- layer: () => layer27,
12
- make: () => make21,
13
- node: () => node87,
10
+ configured: () => configured8,
11
+ layer: () => layer24,
12
+ make: () => make18,
13
+ node: () => node55,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make21()
19
+ defaultValue: () => make18()
20
20
  });
21
- function make21(input = {}) {
21
+ function make18(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer27 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer27(input), deps: [] });
33
- var node87 = configured11();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make18(input));
32
+ var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node55 = configured8();
34
34
 
35
- export { Metadata2, make21, useragent2, layer27, configured11, node87, exports_app };
35
+ export { Metadata2, make18, useragent2, layer24, configured8, node55, exports_app };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./generate-gftt206x.js";
3
+ } from "./model-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update2
12
+ update: () => update3
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update2(adapter, event) {
24
+ function update3(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -403,4 +403,4 @@ function update2(adapter, event) {
403
403
  return project(event);
404
404
  }
405
405
 
406
- export { update2, exports_message_updater };
406
+ export { update3, exports_message_updater };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service55
3
- } from "./generate-1eg42xax.js";
2
+ Service71
3
+ } from "./model-ctn84etg.js";
4
4
  import {
5
5
  Service15,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./generate-q92qcf3t.js";
8
+ } from "./model-b096sb2f.js";
9
9
  import {
10
- Service16
11
- } from "./generate-ctzqdfkd.js";
10
+ Service52
11
+ } from "./model-pt8t6bwe.js";
12
12
  import {
13
- Service74
14
- } from "./generate-kxxbqm5f.js";
13
+ Service56
14
+ } from "./model-8x2j076n.js";
15
15
  import {
16
- Service24
17
- } from "./generate-gm2e0st7.js";
16
+ Service55
17
+ } from "./model-rp09h2a9.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./generate-6prwharc.js";
20
+ } from "./model-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./generate-9rqn6x4v.js";
23
+ } from "./model-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input5,
29
- Output: () => Output3,
30
- Plugin: () => Plugin5,
28
+ Input: () => Input9,
29
+ Output: () => Output7,
30
+ Plugin: () => Plugin45,
31
31
  WriteTool: () => exports_write,
32
- name: () => name5,
33
- toModelContent: () => toModelContent4
32
+ name: () => name9,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name5 = "write";
39
- var Input5 = Schema.Struct({
38
+ var name9 = "write";
39
+ var Input9 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output3 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin5 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin45 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service24;
55
+ const access = yield* Service55;
56
56
  const fileMutation = yield* Service15;
57
- const environment = yield* Service55;
58
- const formatter = yield* Service16;
59
- const permission = yield* Service74;
57
+ const environment = yield* Service71;
58
+ const formatter = yield* Service52;
59
+ const permission = yield* Service56;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name5,
61
+ name: name9,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input5,
69
- output: Output3,
68
+ input: Input9,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name5, Input5, Output3, toModelContent4, Plugin5, exports_write };
101
+ export { name9, Input9, Output7, toModelContent5, Plugin45, exports_write };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./generate-7r0r2nec.js";
4
+ } from "./model-am4dv7bb.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service49
7
- } from "./generate-03qpgtxm.js";
6
+ Service42
7
+ } from "./model-3855cc73.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./generate-hgz4x7wa.js";
10
+ } from "./model-hgz4x7wa.js";
11
11
  import {
12
- Service55
13
- } from "./generate-1eg42xax.js";
12
+ Service71
13
+ } from "./model-ctn84etg.js";
14
14
  import {
15
- Service60
16
- } from "./generate-pe36awch.js";
15
+ Service44
16
+ } from "./model-qxfsh50a.js";
17
17
  import {
18
- Service74
19
- } from "./generate-kxxbqm5f.js";
18
+ Service56
19
+ } from "./model-8x2j076n.js";
20
20
  import {
21
- Service24,
21
+ Service55,
22
22
  resolvePath2
23
- } from "./generate-gm2e0st7.js";
23
+ } from "./model-rp09h2a9.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./generate-vzs5sf6e.js";
29
+ } from "./model-vzs5sf6e.js";
30
30
  import {
31
- Service57,
31
+ Service74,
32
32
  name15
33
- } from "./generate-wb0v33rf.js";
33
+ } from "./model-9sbgnbhh.js";
34
34
  import {
35
- NotFoundError7,
36
- Service47
37
- } from "./generate-m3emc3g7.js";
35
+ NotFoundError3,
36
+ Service40
37
+ } from "./model-20f5kd3r.js";
38
38
  import {
39
- Service26
40
- } from "./generate-whebsv80.js";
39
+ Service18
40
+ } from "./model-4dbz3zxd.js";
41
41
  import {
42
42
  scan2
43
- } from "./generate-xy02r08k.js";
43
+ } from "./model-sp1bq8t5.js";
44
44
  import {
45
45
  __export
46
- } from "./generate-9rqn6x4v.js";
46
+ } from "./model-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input12,
53
- Plugin: () => Plugin13,
54
- ShellTool: () => exports_shell,
55
- name: () => name12
52
+ Input: () => Input10,
53
+ Plugin: () => Plugin46,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name10
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name12 = "shell";
60
+ var name10 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input12 = Schema.Struct({
74
+ var Input10 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin13 = {
120
+ var Plugin46 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service26;
124
- const jobs = yield* Service60;
123
+ const sessions = yield* Service18;
124
+ const jobs = yield* Service44;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service55;
127
- const access = yield* Service24;
128
- const shell = yield* Service47;
129
- const shellSelect = yield* Service57;
126
+ const environment = yield* Service71;
127
+ const access = yield* Service55;
128
+ const shell = yield* Service40;
129
+ const shellSelect = yield* Service74;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service74;
132
- const config = yield* Service49;
131
+ const permission = yield* Service56;
132
+ const config = yield* Service42;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin13 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name12,
151
+ action: name10,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin13 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name12,
188
+ name: name10,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input12,
191
+ input: Input10,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin13 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError7({ id: info.id });
214
+ return yield* new NotFoundError3({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name12,
228
+ type: name10,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name12];
258
+ const tool = event.tools[name10];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin13, exports_shell };
269
+ export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin46, exports_shell2 };