@opencode/core 0.0.0-dev-20661 → 0.0.0-dev-20665

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{repository-kg7g3ey4.js → model-04hfwksm.js} +16 -16
  8. package/dist/chunks/{repository-gpjhh13y.js → model-05tb8896.js} +11 -11
  9. package/dist/chunks/{repository-5rrf9qge.js → model-09bawd7d.js} +12 -12
  10. package/dist/chunks/{repository-he1ycz2s.js → model-0bwx6hyg.js} +7 -7
  11. package/dist/chunks/model-0hbnkapr.js +253 -0
  12. package/dist/chunks/{repository-hmhzhfpw.js → model-0hc1cq6w.js} +13 -13
  13. package/dist/chunks/{repository-q0xm7vwc.js → model-0j77ygfz.js} +6 -6
  14. package/dist/chunks/{repository-0paq2nw3.js → model-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{repository-6h5736te.js → model-0pbe0zt0.js} +30 -30
  16. package/dist/chunks/{repository-tcnkdppf.js → model-0swnknvj.js} +23 -23
  17. package/dist/chunks/{repository-0vbcp93d.js → model-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{repository-dmqk4yfk.js → model-12dy9wgh.js} +11 -11
  19. package/dist/chunks/{repository-7c7bareq.js → model-13db7e4e.js} +24 -24
  20. package/dist/chunks/{repository-btfhnvjh.js → model-143qq2q9.js} +3 -3
  21. package/dist/chunks/{repository-zmnepbn3.js → model-143vczaq.js} +7 -7
  22. package/dist/chunks/{repository-z37gfj8r.js → model-16dgqdxz.js} +3 -3
  23. package/dist/chunks/{repository-yt3fxxnb.js → model-18cdd48g.js} +4 -4
  24. package/dist/chunks/{repository-1dazxqgg.js → model-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{repository-1dvck2a7.js → model-1dvck2a7.js} +2 -2
  26. package/dist/chunks/{repository-n1n192bv.js → model-1rn5pcm9.js} +4 -4
  27. package/dist/chunks/{repository-fxgyesrr.js → model-1rnd72fy.js} +16 -16
  28. package/dist/chunks/{repository-wnmdvmz6.js → model-1v75qvzv.js} +18 -18
  29. package/dist/chunks/{repository-kyr2t18s.js → model-1w58g905.js} +17 -17
  30. package/dist/chunks/{repository-748da515.js → model-1yft0xp6.js} +17 -17
  31. package/dist/chunks/{repository-33w4ejhs.js → model-1ygqh575.js} +6 -6
  32. package/dist/chunks/{repository-2a5m3afh.js → model-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{repository-4ts7tf6z.js → model-2ccvkpx1.js} +2 -2
  34. package/dist/chunks/{repository-fcrkznn8.js → model-2k8khapm.js} +5 -5
  35. package/dist/chunks/{repository-zfs8ae4p.js → model-2m8jawch.js} +4 -4
  36. package/dist/chunks/{repository-qxmaq0sm.js → model-2n295dmf.js} +8 -8
  37. package/dist/chunks/{repository-d9kqsdy4.js → model-2nxxz3xr.js} +23 -23
  38. package/dist/chunks/{repository-p9q8g7vd.js → model-2seqm7ta.js} +4 -4
  39. package/dist/chunks/{repository-wmn12sgk.js → model-3704aagw.js} +3 -3
  40. package/dist/chunks/{repository-3fc6dm20.js → model-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{repository-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{repository-qvreyy9g.js → model-3j9bgvtg.js} +5 -5
  43. package/dist/chunks/{repository-az7tb05h.js → model-3ptfharv.js} +26 -26
  44. package/dist/chunks/{repository-gmmdfr2g.js → model-3rd28rcz.js} +7 -7
  45. package/dist/chunks/{repository-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{repository-w2c5pkxk.js → model-3st0ejts.js} +189 -189
  47. package/dist/chunks/{repository-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{repository-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{repository-e5p55b06.js → model-42rpdw4e.js} +9 -9
  50. package/dist/chunks/{repository-10h4ddzz.js → model-43wd9vsa.js} +13 -13
  51. package/dist/chunks/{repository-ssby7wmp.js → model-43xazcv4.js} +330 -330
  52. package/dist/chunks/{repository-2na9pj0b.js → model-4r5bkf9y.js} +33 -33
  53. package/dist/chunks/{repository-b513f556.js → model-4r9w7v50.js} +22 -22
  54. package/dist/chunks/{repository-54ma36ye.js → model-54ma36ye.js} +1 -1
  55. package/dist/chunks/{repository-afr26chb.js → model-55rgt2sk.js} +11 -11
  56. package/dist/chunks/{repository-dax2f43k.js → model-565cggcq.js} +88 -88
  57. package/dist/chunks/{repository-5daktx2q.js → model-5daktx2q.js} +1 -1
  58. package/dist/chunks/{repository-rvnx9ynj.js → model-5dec13bj.js} +25 -25
  59. package/dist/chunks/{repository-eqbnvekh.js → model-5m62pdvr.js} +44 -44
  60. package/dist/chunks/{repository-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{repository-2vn93ng9.js → model-5nq6ntwv.js} +16 -16
  62. package/dist/chunks/{repository-kwqsq9eb.js → model-5r5teqtw.js} +1 -1
  63. package/dist/chunks/{repository-5t3nmthw.js → model-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{repository-d1t6tc1e.js → model-5wwecgr9.js} +3 -3
  65. package/dist/chunks/{repository-6wjv80df.js → model-6g7e4dd5.js} +9 -9
  66. package/dist/chunks/{repository-4zws30q5.js → model-6h5e082a.js} +20 -20
  67. package/dist/chunks/{repository-magykp64.js → model-6m42r3np.js} +19 -19
  68. package/dist/chunks/{repository-j4dqt27y.js → model-6pamc8qx.js} +11 -11
  69. package/dist/chunks/{repository-6xb47vfp.js → model-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{repository-y5dw8kr0.js → model-6xzjqc7j.js} +4 -4
  71. package/dist/chunks/{repository-4ya93pvd.js → model-6ymz3gfr.js} +38 -38
  72. package/dist/chunks/{repository-71az546q.js → model-71az546q.js} +2 -2
  73. package/dist/chunks/{repository-0kfggb32.js → model-75e9eb11.js} +4 -4
  74. package/dist/chunks/{repository-cwa6csj7.js → model-79qaa2kf.js} +9 -9
  75. package/dist/chunks/{repository-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{repository-z8bvm205.js → model-7ejrgaad.js} +9 -9
  77. package/dist/chunks/{repository-vwctd27t.js → model-7kx3xyrk.js} +4 -4
  78. package/dist/chunks/{repository-205k8jhr.js → model-7nt8nw1z.js} +31 -31
  79. package/dist/chunks/{repository-379b4hhp.js → model-7qe8e482.js} +8 -8
  80. package/dist/chunks/{repository-bce8mqt3.js → model-7tzvmzbr.js} +5 -5
  81. package/dist/chunks/{repository-w9vf9qqj.js → model-7v81x33d.js} +9 -9
  82. package/dist/chunks/{repository-7ahbtrex.js → model-7yjncwxp.js} +30 -30
  83. package/dist/chunks/{repository-9z6cmhkq.js → model-7zd39w7j.js} +3 -3
  84. package/dist/chunks/{repository-w1eejvng.js → model-84txncab.js} +5 -5
  85. package/dist/chunks/{repository-dj68pnee.js → model-86qzxe6p.js} +4 -4
  86. package/dist/chunks/{repository-tcezcvh9.js → model-89znhe33.js} +4 -4
  87. package/dist/chunks/{repository-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{repository-6cpse6c2.js → model-8dxznbhk.js} +13 -13
  89. package/dist/chunks/{repository-9gaqynqt.js → model-8f29pv30.js} +3 -3
  90. package/dist/chunks/{repository-my8tnftd.js → model-8k7ec5p2.js} +11 -11
  91. package/dist/chunks/{repository-9vk7ehay.js → model-8q8jfg7g.js} +9 -9
  92. package/dist/chunks/{repository-b4twkq7r.js → model-8sze2n9a.js} +2 -2
  93. package/dist/chunks/{repository-0xqyf95c.js → model-8wbxkt1z.js} +4 -4
  94. package/dist/chunks/{repository-kqkwtn5n.js → model-9525rq9q.js} +23 -23
  95. package/dist/chunks/{repository-9e5bzkjp.js → model-9e5bzkjp.js} +3 -3
  96. package/dist/chunks/model-9e9he82z.js +26 -0
  97. package/dist/chunks/{repository-94heg7e8.js → model-9mn5fbt0.js} +32 -32
  98. package/dist/chunks/{repository-4a2kvcyx.js → model-9pa8tak9.js} +2 -2
  99. package/dist/chunks/{repository-9k8khh75.js → model-9qb76avw.js} +14 -14
  100. package/dist/chunks/{repository-vc155zt0.js → model-9rven2v7.js} +20 -20
  101. package/dist/chunks/{repository-9sh4wc5j.js → model-9sh4wc5j.js} +1 -1
  102. package/dist/chunks/{repository-yqvvg513.js → model-a03m4akp.js} +20 -20
  103. package/dist/chunks/{repository-j7071276.js → model-a5rc1k9w.js} +5 -5
  104. package/dist/chunks/{repository-tvx3ewvr.js → model-a7ehty0t.js} +25 -25
  105. package/dist/chunks/{repository-d0zee6yx.js → model-a7g6j6nx.js} +12 -12
  106. package/dist/chunks/{repository-aaet6srn.js → model-aaet6srn.js} +2 -2
  107. package/dist/chunks/{repository-8vwp8w5g.js → model-aenqjndq.js} +21 -21
  108. package/dist/chunks/{repository-r4xwqsmk.js → model-an20b3q3.js} +11 -11
  109. package/dist/chunks/{repository-b6gygkdw.js → model-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{repository-1ghf8zs3.js → model-bdpzzc2x.js} +11 -11
  111. package/dist/chunks/{repository-18g4yb7e.js → model-bpjzyxk6.js} +27 -27
  112. package/dist/chunks/{repository-27b211kq.js → model-bskc84e3.js} +5 -5
  113. package/dist/chunks/{repository-xa3ghtvx.js → model-btwta0ay.js} +16 -16
  114. package/dist/chunks/{repository-ey6rfqvz.js → model-bvqebne3.js} +11 -11
  115. package/dist/chunks/{repository-74zds2q2.js → model-bzv7w39z.js} +47 -47
  116. package/dist/chunks/{repository-r44petzp.js → model-c0ke6nr1.js} +12 -12
  117. package/dist/chunks/{repository-sq5ga9n2.js → model-c0kz0pvs.js} +28 -28
  118. package/dist/chunks/{repository-0xezjjjn.js → model-c27esgm9.js} +8 -8
  119. package/dist/chunks/{repository-tcay1cqt.js → model-c8bydgjz.js} +6 -6
  120. package/dist/chunks/{repository-ngkc5a6n.js → model-cqfygt2f.js} +5 -5
  121. package/dist/chunks/{repository-40gcpxzn.js → model-cvnbmapz.js} +28 -28
  122. package/dist/chunks/{repository-atxy8ykf.js → model-d03bk1nx.js} +20 -20
  123. package/dist/chunks/{repository-8qvzptz7.js → model-d9sgy5v4.js} +4 -4
  124. package/dist/chunks/{repository-xvr70the.js → model-dak0aer2.js} +94 -94
  125. package/dist/chunks/{repository-t7n9q6bq.js → model-dhmh7aw6.js} +4 -4
  126. package/dist/chunks/{repository-xkntkrq7.js → model-dmqcgk4z.js} +5 -5
  127. package/dist/chunks/{repository-t3vv4d42.js → model-dzae2snb.js} +13 -13
  128. package/dist/chunks/{repository-5qd3pb7m.js → model-e3qxr5gk.js} +2 -2
  129. package/dist/chunks/{repository-f4bkz93y.js → model-eb1ryh4n.js} +26 -26
  130. package/dist/chunks/{repository-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{repository-rgbeeb12.js → model-ekbw19fm.js} +23 -23
  132. package/dist/chunks/{repository-8a6ws7jr.js → model-en9mxp96.js} +9 -9
  133. package/dist/chunks/{repository-a1gpj94z.js → model-eq1pz5kg.js} +3 -3
  134. package/dist/chunks/{repository-vgznchvw.js → model-eqx6m485.js} +8 -8
  135. package/dist/chunks/{repository-etq0c3wd.js → model-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{repository-j07em0ca.js → model-evzgxw2j.js} +60 -60
  137. package/dist/chunks/{repository-ravgrsv5.js → model-f1thfm8v.js} +11 -11
  138. package/dist/chunks/{repository-301v9tya.js → model-f50cy0tv.js} +33 -33
  139. package/dist/chunks/{repository-hz0q9sdq.js → model-f5gy8qwh.js} +8 -8
  140. package/dist/chunks/{repository-6sxn0fyv.js → model-f5hkpmh1.js} +17 -17
  141. package/dist/chunks/{repository-yevqza3m.js → model-f5r0fqm4.js} +11 -11
  142. package/dist/chunks/{repository-r9w3djhf.js → model-fdms3n6w.js} +9 -9
  143. package/dist/chunks/{repository-ryr25ayn.js → model-fm2qvscf.js} +4 -4
  144. package/dist/chunks/{repository-537jbssw.js → model-fnkg6qb4.js} +52 -52
  145. package/dist/chunks/{repository-043vq6jw.js → model-frxn4dna.js} +9 -9
  146. package/dist/chunks/{repository-p558d1j2.js → model-ft3zxgd7.js} +8 -8
  147. package/dist/chunks/{repository-kadwda11.js → model-fw2qxq8w.js} +32 -32
  148. package/dist/chunks/{repository-ahx40rxf.js → model-fxhje9fq.js} +28 -28
  149. package/dist/chunks/{repository-bvjh5av3.js → model-g07h2xqa.js} +9 -9
  150. package/dist/chunks/{repository-grs6z2v9.js → model-g76p8ycs.js} +21 -21
  151. package/dist/chunks/{repository-573jdjzy.js → model-g7yjevyk.js} +6 -6
  152. package/dist/chunks/{repository-a1pv9e77.js → model-gaffbzjy.js} +10 -10
  153. package/dist/chunks/{repository-vh7fby3r.js → model-gb6ehmsa.js} +25 -25
  154. package/dist/chunks/{repository-1pt39jfx.js → model-gb9qa9c1.js} +9 -9
  155. package/dist/chunks/{repository-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{repository-g5pr0hqg.js → model-gm3dfsm1.js} +5 -5
  157. package/dist/chunks/{repository-fwj22sb9.js → model-gr72qpsv.js} +11 -11
  158. package/dist/chunks/{repository-krry4gk1.js → model-gwbzj4wh.js} +38 -38
  159. package/dist/chunks/{repository-zze7mas3.js → model-gzvvm5t9.js} +11 -11
  160. package/dist/chunks/{repository-scp3g09m.js → model-h10mhkmh.js} +18 -18
  161. package/dist/chunks/{repository-h2b79v29.js → model-h2b79v29.js} +2 -2
  162. package/dist/chunks/{repository-pcr95nxz.js → model-h30avht3.js} +27 -27
  163. package/dist/chunks/{repository-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{repository-ea0ampwz.js → model-h960ywcp.js} +11 -11
  165. package/dist/chunks/{repository-jxnv3vs9.js → model-he5rhnsk.js} +3 -3
  166. package/dist/chunks/{repository-stye60hc.js → model-hshpsfrb.js} +32 -32
  167. package/dist/chunks/{repository-j56e64zr.js → model-j56e64zr.js} +1 -1
  168. package/dist/chunks/{repository-nhy104pe.js → model-jdydv5w6.js} +59 -59
  169. package/dist/chunks/{repository-yk3hsgx2.js → model-jedqxwja.js} +11 -11
  170. package/dist/chunks/{repository-5g6sbyxh.js → model-jeeje7kx.js} +22 -22
  171. package/dist/chunks/{repository-zy2zpvm6.js → model-jfwamsgh.js} +18 -18
  172. package/dist/chunks/{repository-fxkzw5w5.js → model-jmh5z47c.js} +21 -21
  173. package/dist/chunks/{repository-16f7tttd.js → model-jvt424gv.js} +9 -9
  174. package/dist/chunks/{repository-2jpa8mfg.js → model-jwnzethd.js} +13 -13
  175. package/dist/chunks/{repository-mm07xyj9.js → model-jzdyaq3q.js} +37 -37
  176. package/dist/chunks/{repository-dnz8myac.js → model-k2ee98a4.js} +8 -8
  177. package/dist/chunks/{repository-ach6z8vh.js → model-k8vxkqnq.js} +4 -4
  178. package/dist/chunks/{repository-106g6zzb.js → model-ke5wyhkr.js} +17 -17
  179. package/dist/chunks/{repository-4b9xfex1.js → model-ksr0mctg.js} +18 -18
  180. package/dist/chunks/{repository-eakgj8q2.js → model-ksts8xsw.js} +45 -45
  181. package/dist/chunks/{repository-kmy91h7k.js → model-ktqfz204.js} +5 -5
  182. package/dist/chunks/{repository-7n7v53sw.js → model-m15b84sy.js} +9 -9
  183. package/dist/chunks/{repository-m3fdjcah.js → model-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{repository-8b9545xm.js → model-m8s1k1qd.js} +32 -32
  185. package/dist/chunks/{repository-x9gjp2wb.js → model-m99sccj6.js} +15 -15
  186. package/dist/chunks/{repository-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{repository-7zrsqeap.js → model-mbfqztvv.js} +46 -46
  188. package/dist/chunks/{repository-4zfp2qta.js → model-mczqcbtg.js} +22 -22
  189. package/dist/chunks/{repository-5j13w0pe.js → model-mr28wkyp.js} +25 -25
  190. package/dist/chunks/{repository-h79eb4wf.js → model-mtjbpypn.js} +27 -27
  191. package/dist/chunks/{repository-dgpsrprm.js → model-mxvxcxwy.js} +4 -4
  192. package/dist/chunks/{repository-dxr8fvgz.js → model-mzr0kwz3.js} +19 -19
  193. package/dist/chunks/{repository-0r3c1bmw.js → model-n8vdnqrc.js} +5 -5
  194. package/dist/chunks/{repository-b1ajvfw3.js → model-nbwfbw7q.js} +29 -29
  195. package/dist/chunks/{repository-mqjzjjf0.js → model-ndzm53tf.js} +7 -7
  196. package/dist/chunks/{repository-551p5xfx.js → model-ngzr1rke.js} +35 -35
  197. package/dist/chunks/{repository-ecmranas.js → model-nkfqmrng.js} +5 -5
  198. package/dist/chunks/{repository-4sb6t3m1.js → model-nnegw8hy.js} +50 -50
  199. package/dist/chunks/{repository-ja8t3wh1.js → model-nx67q5mf.js} +27 -27
  200. package/dist/chunks/{repository-g0445xdp.js → model-p37cw4rj.js} +8 -8
  201. package/dist/chunks/{repository-10r6pp2x.js → model-p5x6h0ea.js} +15 -15
  202. package/dist/chunks/{repository-w7d850mj.js → model-pc670ma7.js} +19 -19
  203. package/dist/chunks/{repository-spgjrcy8.js → model-pdfafe8d.js} +72 -72
  204. package/dist/chunks/{repository-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{repository-pknna89w.js → model-pknna89w.js} +1 -1
  206. package/dist/chunks/{repository-vnyrj955.js → model-q1ecnbsd.js} +3 -3
  207. package/dist/chunks/{repository-qnc92qwc.js → model-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{repository-qsdy395h.js → model-qsdy395h.js} +1 -1
  209. package/dist/chunks/{repository-benv41rp.js → model-qt4mgnnm.js} +9 -9
  210. package/dist/chunks/{repository-0618chc0.js → model-qxcqbx7c.js} +11 -11
  211. package/dist/chunks/{repository-xyafkbt0.js → model-qxjc9qry.js} +3 -3
  212. package/dist/chunks/{repository-4mg116vk.js → model-qy0tcep6.js} +31 -31
  213. package/dist/chunks/{repository-scgrse2b.js → model-qygbw77c.js} +5 -5
  214. package/dist/chunks/{repository-0szg9e3a.js → model-r830apza.js} +11 -11
  215. package/dist/chunks/{repository-1acjjqhc.js → model-r8xr0va3.js} +4 -4
  216. package/dist/chunks/{repository-zhf35gm1.js → model-rbdmdcgh.js} +32 -32
  217. package/dist/chunks/{repository-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{repository-afssb52c.js → model-re96rjx3.js} +3 -3
  219. package/dist/chunks/{repository-ysv4x97r.js → model-rhvy48gn.js} +10 -10
  220. package/dist/chunks/{repository-nttvqnzt.js → model-rsdgpk2t.js} +31 -31
  221. package/dist/chunks/{repository-nj6293bs.js → model-s5yxayxs.js} +16 -16
  222. package/dist/chunks/{repository-td335a07.js → model-snsqt8dj.js} +35 -35
  223. package/dist/chunks/{repository-1sb13fhj.js → model-snswbz2h.js} +46 -46
  224. package/dist/chunks/{repository-n4hagvcf.js → model-spdq57er.js} +14 -14
  225. package/dist/chunks/{repository-ccdkjy5j.js → model-sy1vayej.js} +23 -23
  226. package/dist/chunks/{repository-h7sfwyf5.js → model-t2rj41re.js} +11 -11
  227. package/dist/chunks/{repository-d29nyfm4.js → model-t3gyxbgb.js} +13 -13
  228. package/dist/chunks/{repository-s8d7rejh.js → model-t550f9t1.js} +4 -4
  229. package/dist/chunks/{repository-9r8ns7n8.js → model-t9rbaskh.js} +27 -27
  230. package/dist/chunks/{repository-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{repository-tdstcens.js → model-tdstcens.js} +1 -1
  232. package/dist/chunks/{repository-21jd8v9m.js → model-tjdrgr4h.js} +15 -15
  233. package/dist/chunks/{repository-wh6zw745.js → model-tk14y25j.js} +5 -5
  234. package/dist/chunks/{repository-2jnxrbr3.js → model-v12bfv38.js} +10 -10
  235. package/dist/chunks/{repository-ry924fh6.js → model-v5qtavm6.js} +36 -36
  236. package/dist/chunks/{repository-veqvce7d.js → model-veqvce7d.js} +1 -1
  237. package/dist/chunks/{repository-07bwtgn1.js → model-vhvmb6ep.js} +17 -17
  238. package/dist/chunks/{repository-xgwzhbhd.js → model-vhzyme33.js} +14 -14
  239. package/dist/chunks/{repository-f1ry7jgz.js → model-vk57bjhv.js} +28 -28
  240. package/dist/chunks/{repository-4pm1k6b6.js → model-vn9zk7na.js} +4 -4
  241. package/dist/chunks/{repository-wg56nkx8.js → model-vtb6ekz6.js} +24 -24
  242. package/dist/chunks/{repository-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{repository-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{repository-h6nxw0pd.js → model-w4axh9wz.js} +8 -8
  245. package/dist/chunks/{repository-xw8eq9f1.js → model-w8xr7nv8.js} +5 -5
  246. package/dist/chunks/{repository-32pp5s05.js → model-wb7d44e4.js} +1 -1
  247. package/dist/chunks/{repository-6hvm7cgx.js → model-wd59kgh2.js} +10 -10
  248. package/dist/chunks/{repository-wd87259q.js → model-wd87259q.js} +1 -1
  249. package/dist/chunks/{repository-btcfg8pa.js → model-wp8v4mk0.js} +12 -12
  250. package/dist/chunks/{repository-8t72k94d.js → model-wypjq10p.js} +22 -22
  251. package/dist/chunks/{repository-2f8h2t77.js → model-x13kj793.js} +24 -24
  252. package/dist/chunks/{repository-7kwx6gx2.js → model-x5w0v4qz.js} +18 -18
  253. package/dist/chunks/{repository-ceb6shg2.js → model-xd4eajp3.js} +11 -11
  254. package/dist/chunks/{repository-n8se905m.js → model-xf847saf.js} +3 -3
  255. package/dist/chunks/{repository-g5w8qwbj.js → model-xfkkasph.js} +4 -4
  256. package/dist/chunks/{repository-wer47y7e.js → model-xggz5yyf.js} +10 -10
  257. package/dist/chunks/{repository-ns3eape4.js → model-xp3fh2h7.js} +1 -1
  258. package/dist/chunks/{repository-crvx6mgt.js → model-xrn5m798.js} +26 -26
  259. package/dist/chunks/{repository-h3g0cwjn.js → model-xzh9enxw.js} +12 -12
  260. package/dist/chunks/{repository-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{repository-fbtna4cy.js → model-y6yd3ew1.js} +43 -43
  262. package/dist/chunks/{repository-dpkg50ah.js → model-y71avatq.js} +4 -4
  263. package/dist/chunks/{repository-5za7wpg2.js → model-yaycgkrs.js} +15 -15
  264. package/dist/chunks/{repository-n7avb6m5.js → model-ygs9mme0.js} +5 -5
  265. package/dist/chunks/{repository-0te6a63x.js → model-yj7xv6w3.js} +4 -4
  266. package/dist/chunks/{repository-cm3vhcv0.js → model-yjtcy88h.js} +32 -32
  267. package/dist/chunks/{repository-e7fm67xs.js → model-ym21y5jk.js} +33 -33
  268. package/dist/chunks/{repository-5meya16s.js → model-yped5gsp.js} +10 -10
  269. package/dist/chunks/{repository-an4d28vr.js → model-ys5rw1j9.js} +15 -15
  270. package/dist/chunks/{repository-vwjb8r2v.js → model-yxt1vjsj.js} +6 -6
  271. package/dist/chunks/{repository-cyfxky51.js → model-z00597qp.js} +36 -36
  272. package/dist/chunks/{repository-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{repository-ng56fafc.js → model-z331bskf.js} +15 -15
  274. package/dist/chunks/{repository-xdkfhf58.js → model-z4fb5m0h.js} +48 -48
  275. package/dist/chunks/{repository-tcmvd7z0.js → model-zcsfwz39.js} +42 -42
  276. package/dist/chunks/{repository-ggmrdx7v.js → model-zd8we8qk.js} +8 -8
  277. package/dist/chunks/{repository-64s65d1n.js → model-ze5v0a14.js} +5 -5
  278. package/dist/chunks/{repository-hjm0k3fp.js → model-zg4hsa4e.js} +2 -2
  279. package/dist/chunks/{repository-nzeef16t.js → model-zjze8qjc.js} +15 -15
  280. package/dist/chunks/{repository-s8xbmvwb.js → model-znnhkqbd.js} +15 -15
  281. package/dist/chunks/{repository-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{repository-7ge4ak7p.js → model-zrs7pmt3.js} +6 -6
  283. package/dist/chunks/{repository-y1j8epp9.js → model-zwp0h3pa.js} +20 -20
  284. package/dist/chunks/{repository-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +79 -79
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +105 -105
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +89 -89
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +89 -89
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +96 -96
  473. package/dist/model.js +102 -102
  474. package/dist/models-dev.js +101 -101
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +115 -115
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +82 -82
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +74 -74
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +74 -74
  533. package/dist/plugin/service.js +1 -1
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +343 -343
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +216 -216
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +90 -90
  554. package/dist/provider.js +95 -95
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +91 -91
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +154 -154
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +84 -84
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +201 -201
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +110 -110
  624. package/dist/snapshot.js +93 -93
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +122 -122
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +5 -5
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +74 -74
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +7 -7
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +92 -92
  680. package/package.json +8 -8
  681. package/dist/chunks/repository-bj0bcwj5.js +0 -26
  682. package/dist/chunks/repository-tkybgs2z.js +0 -253
  683. /package/dist/chunks/{repository-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{repository-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{repository-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{repository-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{repository-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{repository-24dcb14g.js → model-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{repository-2710q6r3.js → model-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{repository-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{repository-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{repository-34c7v6d4.js → model-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{repository-359p4xyc.js → model-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{repository-3asan66x.js → model-3asan66x.js} +0 -0
  695. /package/dist/chunks/{repository-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{repository-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{repository-3w5fmr99.js → model-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{repository-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{repository-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{repository-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{repository-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{repository-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{repository-53557ph1.js → model-53557ph1.js} +0 -0
  704. /package/dist/chunks/{repository-550bvhaj.js → model-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{repository-6prwharc.js → model-6prwharc.js} +0 -0
  706. /package/dist/chunks/{repository-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  707. /package/dist/chunks/{repository-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{repository-7m9af43g.js → model-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{repository-822emrt2.js → model-822emrt2.js} +0 -0
  710. /package/dist/chunks/{repository-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{repository-8n3pysct.js → model-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{repository-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{repository-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{repository-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{repository-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{repository-af5trqkr.js → model-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{repository-afrmfg78.js → model-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{repository-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{repository-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{repository-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{repository-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{repository-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{repository-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{repository-d9fn303g.js → model-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{repository-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{repository-dajrwvna.js → model-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{repository-dap0rakb.js → model-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{repository-df08tz66.js → model-df08tz66.js} +0 -0
  729. /package/dist/chunks/{repository-dy18nga0.js → model-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{repository-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{repository-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{repository-ec1grn59.js → model-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{repository-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{repository-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{repository-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{repository-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{repository-faypxj3z.js → model-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{repository-fd410y7t.js → model-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{repository-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{repository-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{repository-g86h250q.js → model-g86h250q.js} +0 -0
  742. /package/dist/chunks/{repository-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{repository-gftt206x.js → model-gftt206x.js} +0 -0
  744. /package/dist/chunks/{repository-hk9envan.js → model-hk9envan.js} +0 -0
  745. /package/dist/chunks/{repository-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  746. /package/dist/chunks/{repository-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  747. /package/dist/chunks/{repository-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  748. /package/dist/chunks/{repository-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  749. /package/dist/chunks/{repository-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  750. /package/dist/chunks/{repository-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  751. /package/dist/chunks/{repository-mp448xyj.js → model-mp448xyj.js} +0 -0
  752. /package/dist/chunks/{repository-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  753. /package/dist/chunks/{repository-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  754. /package/dist/chunks/{repository-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  755. /package/dist/chunks/{repository-njntx4h6.js → model-njntx4h6.js} +0 -0
  756. /package/dist/chunks/{repository-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  757. /package/dist/chunks/{repository-q74kybfr.js → model-q74kybfr.js} +0 -0
  758. /package/dist/chunks/{repository-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  759. /package/dist/chunks/{repository-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  760. /package/dist/chunks/{repository-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  761. /package/dist/chunks/{repository-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  762. /package/dist/chunks/{repository-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{repository-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{repository-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{repository-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{repository-w803qqfp.js → model-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{repository-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  768. /package/dist/chunks/{repository-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{repository-wtztk69x.js → model-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{repository-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{repository-x61499pn.js → model-x61499pn.js} +0 -0
  772. /package/dist/chunks/{repository-y44na4kk.js → model-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{repository-y8cydn3q.js → model-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{repository-y8f7s663.js → model-y8f7s663.js} +0 -0
  775. /package/dist/chunks/{repository-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{repository-ym463w8f.js → model-ym463w8f.js} +0 -0
  777. /package/dist/chunks/{repository-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  778. /package/dist/chunks/{repository-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-wer47y7e.js";
3
+ } from "./model-xggz5yyf.js";
4
4
  import {
5
5
  call2
6
- } from "./repository-33w4ejhs.js";
6
+ } from "./model-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin19,
14
+ Plugin: () => Plugin8,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint6
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint6 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin19 = define({
36
+ var Plugin8 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin19 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin19 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint4, Plugin19, exports_tinyfish };
76
+ export { endpoint6, Plugin8, exports_tinyfish };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./repository-dpkg50ah.js";
3
+ } from "./model-y71avatq.js";
4
4
  import {
5
- Service58,
6
- node61
7
- } from "./repository-7c7bareq.js";
5
+ Service76,
6
+ node79
7
+ } from "./model-13db7e4e.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service19,
17
- node: () => node21,
16
+ Service: () => Service16,
17
+ node: () => node18,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service19 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service16 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service19, Effect.gen(function* () {
38
- const environment = yield* Service58;
37
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
38
+ const environment = yield* Service76;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service19.of({ withLock, write, writeTextPreservingBom });
59
+ return Service16.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node21 = makeLocationNode({ service: Service19, layer, deps: [node61] });
61
+ var node18 = makeLocationNode({ service: Service16, layer, deps: [node79] });
62
62
 
63
- export { Service19, readText2, syncTextBom2, node21, exports_file_mutation };
63
+ export { Service16, readText2, syncTextBom2, node18, exports_file_mutation };
@@ -1,53 +1,53 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./repository-d0zee6yx.js";
2
+ Service81,
3
+ node85
4
+ } from "./model-a7g6j6nx.js";
5
5
  import {
6
- node65
7
- } from "./repository-8t72k94d.js";
6
+ node67
7
+ } from "./model-wypjq10p.js";
8
8
  import {
9
- Service9,
10
- node11
11
- } from "./repository-h79eb4wf.js";
9
+ Service7,
10
+ node8
11
+ } from "./model-mtjbpypn.js";
12
12
  import {
13
13
  Service32
14
- } from "./repository-9sh4wc5j.js";
14
+ } from "./model-9sh4wc5j.js";
15
15
  import {
16
- node25,
16
+ node22,
17
17
  ID3
18
- } from "./repository-21jd8v9m.js";
18
+ } from "./model-tjdrgr4h.js";
19
19
  import {
20
- Service5,
21
- node6
22
- } from "./repository-g0445xdp.js";
20
+ Service4,
21
+ node5
22
+ } from "./model-p37cw4rj.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./repository-ssby7wmp.js";
27
+ } from "./model-43xazcv4.js";
28
28
  import {
29
29
  make3,
30
30
  LoadError2
31
- } from "./repository-bce8mqt3.js";
31
+ } from "./model-7tzvmzbr.js";
32
32
  import {
33
33
  Updated2,
34
- Service6,
35
- node7
36
- } from "./repository-5rrf9qge.js";
34
+ Service3,
35
+ node4
36
+ } from "./model-09bawd7d.js";
37
37
  import {
38
- Service4,
39
- node5
40
- } from "./repository-r9w3djhf.js";
38
+ Service2,
39
+ node3
40
+ } from "./model-fdms3n6w.js";
41
41
  import {
42
42
  __export
43
- } from "./repository-9rqn6x4v.js";
43
+ } from "./model-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
47
47
  __export(exports_supervisor, {
48
48
  PluginSupervisor: () => exports_supervisor,
49
49
  layer: () => layer3,
50
- node: () => node3
50
+ node: () => node2
51
51
  });
52
52
  import { Event } from "@opencode/schema/config";
53
53
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -127,12 +127,12 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
127
127
  });
128
128
  var layer3 = Layer.effectDiscard(Effect.gen(function* () {
129
129
  const registry = yield* Service32;
130
- const sdk = yield* Service6;
131
- const instance = yield* Service5;
132
- const sources = yield* Service9;
130
+ const sdk = yield* Service3;
131
+ const instance = yield* Service4;
132
+ const sources = yield* Service7;
133
133
  const modules = yield* make3();
134
- const bus = yield* Service83;
135
- const updates = yield* Service4;
134
+ const bus = yield* Service81;
135
+ const updates = yield* Service2;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node25,
211
- node7,
212
- node6,
213
- node11,
210
+ node22,
211
+ node4,
214
212
  node5,
215
- node87,
213
+ node8,
214
+ node3,
215
+ node85,
216
216
  Npm.node,
217
- node65,
217
+ node67,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -222,6 +222,6 @@ function pluginSource(target) {
222
222
  return { type: "local", path: target };
223
223
  return { type: "package", target };
224
224
  }
225
- var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
+ var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
226
226
 
227
- export { layer3, node3, exports_supervisor };
227
+ export { layer3, node2, exports_supervisor };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service75
3
- } from "./repository-nj6293bs.js";
2
+ Service82
3
+ } from "./model-s5yxayxs.js";
4
4
  import {
5
- Service30
6
- } from "./repository-xvr70the.js";
5
+ Service20
6
+ } from "./model-dak0aer2.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./repository-6xb47vfp.js";
10
+ } from "./model-6xb47vfp.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./model-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
22
  var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service30;
24
- const jobs = yield* Service75;
23
+ const sessions = yield* Service20;
24
+ const jobs = yield* Service82;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./repository-d29nyfm4.js";
4
+ } from "./model-t3gyxbgb.js";
5
5
  import {
6
6
  lazy2
7
- } from "./repository-88xbtdfr.js";
7
+ } from "./model-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./repository-y1fvbwt7.js";
10
+ } from "./model-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./model-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-z37gfj8r.js";
4
+ } from "./model-16dgqdxz.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./repository-71az546q.js";
7
+ } from "./model-71az546q.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID10,
17
- Info: () => Info18,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID8,
17
+ Info: () => Info10,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service68,
21
- node: () => node72
20
+ Service: () => Service52,
21
+ node: () => node54
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID10 = PermissionSaved.ID;
29
- var Info18 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info10 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service68 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service52 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service68, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID10.create(),
60
+ id: ID8.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service68.of({ list, add, remove });
69
+ return Service52.of({ list, add, remove });
70
70
  }));
71
- var node72 = makeGlobalNode({ service: Service68, layer, deps: [node88] });
71
+ var node54 = makeGlobalNode({ service: Service52, layer, deps: [node88] });
72
72
 
73
- export { ID10, Info18, ListInput5, AddInput2, Service68, node72, exports_saved };
73
+ export { ID8, Info10, ListInput4, AddInput2, Service52, node54, exports_saved };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./repository-eqbnvekh.js";
6
+ } from "./model-5m62pdvr.js";
7
7
  import {
8
- Service73,
9
- node77
10
- } from "./repository-748da515.js";
8
+ Service78,
9
+ node82
10
+ } from "./model-1yft0xp6.js";
11
11
  import {
12
- Service66,
13
- node70
14
- } from "./repository-j07em0ca.js";
12
+ Service50,
13
+ node52
14
+ } from "./model-evzgxw2j.js";
15
15
  import {
16
16
  __export
17
- } from "./repository-9rqn6x4v.js";
17
+ } from "./model-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service14,
26
- node: () => node16,
25
+ Service: () => Service13,
26
+ node: () => node15,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service14 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service13 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service14, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service73;
55
- const permission = yield* Service66;
54
+ const location = yield* Service78;
55
+ const permission = yield* Service50;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service14.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service13.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node77, node70] });
106
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node, node82, node52] });
107
107
 
108
- export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service13, resolvePath2, node15, exports_file_access };
@@ -1,82 +1,82 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-z37gfj8r.js";
4
+ } from "./model-16dgqdxz.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./repository-d0zee6yx.js";
6
+ Service81,
7
+ node85
8
+ } from "./model-a7g6j6nx.js";
9
9
  import {
10
10
  create3
11
- } from "./repository-rdw6cm16.js";
11
+ } from "./model-rdw6cm16.js";
12
12
  import {
13
- ID11,
14
- Service70,
15
- node74
16
- } from "./repository-9r8ns7n8.js";
13
+ ID9,
14
+ Service53,
15
+ node55
16
+ } from "./model-t9rbaskh.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./repository-5t3nmthw.js";
19
+ } from "./model-5t3nmthw.js";
20
20
  import {
21
- Service62,
22
- node66
23
- } from "./repository-e7fm67xs.js";
21
+ Service66,
22
+ node69
23
+ } from "./model-ym21y5jk.js";
24
24
  import {
25
25
  estimate2
26
- } from "./repository-h6vf3j39.js";
26
+ } from "./model-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./repository-ec1grn59.js";
29
+ } from "./model-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./repository-n1n192bv.js";
35
+ } from "./model-1rn5pcm9.js";
36
36
  import {
37
- load5
38
- } from "./repository-yk3hsgx2.js";
37
+ load4
38
+ } from "./model-jedqxwja.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./repository-ns3eape4.js";
41
+ } from "./model-xp3fh2h7.js";
42
42
  import {
43
43
  baseTranscript2,
44
44
  unsupportedParts2,
45
45
  boundImages2,
46
- Service36,
47
- node39
48
- } from "./repository-stye60hc.js";
46
+ Service27,
47
+ node31
48
+ } from "./model-hshpsfrb.js";
49
49
  import {
50
- Service47,
51
- node49
52
- } from "./repository-t3vv4d42.js";
50
+ Service48,
51
+ node50
52
+ } from "./model-dzae2snb.js";
53
53
  import {
54
54
  isRetryable2,
55
55
  policy2
56
- } from "./repository-scgrse2b.js";
56
+ } from "./model-qygbw77c.js";
57
57
  import {
58
58
  toSessionError2,
59
59
  contentFilterError2
60
- } from "./repository-n7avb6m5.js";
60
+ } from "./model-ygs9mme0.js";
61
61
  import {
62
62
  calculateCost2,
63
63
  record2,
64
64
  add2
65
- } from "./repository-tdstcens.js";
65
+ } from "./model-tdstcens.js";
66
66
  import {
67
67
  __export
68
- } from "./repository-9rqn6x4v.js";
68
+ } from "./model-9rqn6x4v.js";
69
69
 
70
70
  // src/session/compaction.ts
71
71
  var exports_compaction2 = {};
72
72
  __export(exports_compaction2, {
73
- Service: () => Service10,
73
+ Service: () => Service11,
74
74
  SessionCompaction: () => exports_compaction2,
75
75
  buildPrompt: () => buildPrompt2,
76
76
  estimateContext: () => estimateContext2,
77
77
  estimatePrompt: () => estimatePrompt2,
78
78
  layer: () => layer7,
79
- node: () => node12,
79
+ node: () => node13,
80
80
  recentUserMessages: () => recentUserMessages2
81
81
  });
82
82
  import {
@@ -92,7 +92,7 @@ import {
92
92
  } from "@opencode/ai";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
94
  import { Context, Effect, Layer, Result, Stream } from "effect";
95
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
95
+ class Service11 extends Context.Service()("@opencode/SessionCompaction") {
96
96
  }
97
97
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
98
98
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
171
171
  };
172
172
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
173
173
  var LEGACY_HEADING = "## Additional Context";
174
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
175
- const agents = yield* Service70;
176
- const bus = yield* Service83;
174
+ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
175
+ const agents = yield* Service53;
176
+ const bus = yield* Service81;
177
177
  const llm = yield* LLMClient.Service;
178
- const catalog = yield* Service62;
179
- const models = yield* Service47;
178
+ const catalog = yield* Service66;
179
+ const models = yield* Service48;
180
180
  const db = (yield* Service84).db;
181
- const requests = yield* Service36;
181
+ const requests = yield* Service27;
182
182
  const state = create3({
183
183
  name: "session-compaction",
184
184
  initial: () => ({ auto: true, keep: 15000 }),
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
196
196
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
197
197
  return { status: "skipped" };
198
198
  const native = context.model.compaction?.type === "native";
199
- const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
199
+ const agent = native ? undefined : yield* agents.get(ID9.make("compaction"));
200
200
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
201
201
  return;
202
202
  })))) ?? context.model;
@@ -272,7 +272,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
272
272
  const send = (request) => {
273
273
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
274
274
  return Effect.gen(function* () {
275
- const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
275
+ const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
276
276
  const retained = recentUserMessages2(history, context.model, keep);
277
277
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
278
278
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -472,16 +472,16 @@ ${text}`;
472
472
  }, { metadata: outcome.metadata });
473
473
  return { status: "completed" };
474
474
  });
475
- return Service10.of({
475
+ return Service11.of({
476
476
  transform: state.transform,
477
477
  reload: state.reload,
478
478
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
479
479
  });
480
480
  }));
481
- var node12 = makeLocationNode({
482
- service: Service10,
481
+ var node13 = makeLocationNode({
482
+ service: Service11,
483
483
  layer: layer7,
484
- deps: [node74, node87, node88, llmClient2, node66, node39, node49]
484
+ deps: [node55, node85, node88, llmClient2, node69, node31, node50]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
686
686
  return 0;
687
687
  };
688
688
 
689
- export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
689
+ export { Service11, buildPrompt2, layer7, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID16,
3
- Service76
4
- } from "./repository-4mg116vk.js";
2
+ ID12,
3
+ Service68
4
+ } from "./model-qy0tcep6.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service76;
12
+ const integrations = yield* Service68;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID16.make(item.provider.id)))
22
+ if (!configured.has(ID12.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {