@opencode/core 0.0.0-dev-20150 → 0.0.0-dev-20154

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{kv-tffkxf13.js → formatter-05bs18sm.js} +7 -7
  8. package/dist/chunks/{kv-kht4mc5p.js → formatter-08hn3w1t.js} +3 -3
  9. package/dist/chunks/{kv-0jq9fyba.js → formatter-0996nyz8.js} +9 -9
  10. package/dist/chunks/{kv-ne53z7qe.js → formatter-0en4mdfg.js} +3 -3
  11. package/dist/chunks/{kv-0ccn2szc.js → formatter-0f9zpd1z.js} +20 -20
  12. package/dist/chunks/{kv-3cfn41g4.js → formatter-0fvxp85d.js} +35 -35
  13. package/dist/chunks/formatter-0mesazry.js +4 -0
  14. package/dist/chunks/{kv-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{kv-3rtxz4nr.js → formatter-0t9wd588.js} +8 -8
  16. package/dist/chunks/{kv-rqw4z3y5.js → formatter-1085njgr.js} +45 -45
  17. package/dist/chunks/{kv-4pqsajg3.js → formatter-11fqwpp6.js} +15 -15
  18. package/dist/chunks/{kv-dn3bqgaq.js → formatter-11xftm32.js} +27 -27
  19. package/dist/chunks/{kv-s80hxv6c.js → formatter-1ad61yzs.js} +24 -24
  20. package/dist/chunks/{kv-1cfb3ja4.js → formatter-1cfb3ja4.js} +5 -5
  21. package/dist/chunks/{kv-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{kv-y24ys8sf.js → formatter-1fw82rrz.js} +41 -41
  23. package/dist/chunks/{kv-kmka22ma.js → formatter-1k7ys8s2.js} +26 -26
  24. package/dist/chunks/{kv-5qsh0v84.js → formatter-1mnksntc.js} +2 -2
  25. package/dist/chunks/{kv-x2g1scrt.js → formatter-1szmg2fp.js} +26 -26
  26. package/dist/chunks/{kv-1ygqh575.js → formatter-1ygqh575.js} +2 -2
  27. package/dist/chunks/{kv-21r38tys.js → formatter-21r38tys.js} +1 -1
  28. package/dist/chunks/{kv-0jgz5j6j.js → formatter-22zp2z9f.js} +5 -5
  29. package/dist/chunks/{kv-ahw5pyz9.js → formatter-23rszh6g.js} +9 -9
  30. package/dist/chunks/{kv-2402vzrj.js → formatter-2402vzrj.js} +1 -1
  31. package/dist/chunks/{kv-mvxkgq5y.js → formatter-25b126yv.js} +24 -24
  32. package/dist/chunks/{kv-fwvq52tk.js → formatter-29eb1e1z.js} +7 -7
  33. package/dist/chunks/{kv-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{kv-gs3s1a1g.js → formatter-2eegacq4.js} +8 -8
  35. package/dist/chunks/{kv-2k8khapm.js → formatter-2k8khapm.js} +1 -1
  36. package/dist/chunks/{kv-57ez7d0k.js → formatter-2w6fc0zt.js} +7 -7
  37. package/dist/chunks/{kv-grd9cd6m.js → formatter-3051r0mf.js} +22 -22
  38. package/dist/chunks/{kv-xnyn1cgh.js → formatter-32hkxnxv.js} +5 -5
  39. package/dist/chunks/{kv-j8zzr2am.js → formatter-3e147rt9.js} +7 -7
  40. package/dist/chunks/{kv-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{kv-d82m1p2r.js → formatter-3fsxnh3r.js} +9 -9
  42. package/dist/chunks/{kv-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{kv-nzq7ck9f.js → formatter-3ppptnan.js} +6 -6
  44. package/dist/chunks/{kv-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{kv-weh2f3a0.js → formatter-3syeyv6h.js} +12 -12
  46. package/dist/chunks/{kv-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{kv-dj9sq318.js → formatter-3w0fmcng.js} +5 -5
  48. package/dist/chunks/{kv-a8vqk219.js → formatter-3wgaynme.js} +19 -19
  49. package/dist/chunks/{kv-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{kv-4eaqzgc4.js → formatter-3zynn388.js} +6 -6
  51. package/dist/chunks/{kv-pazfb172.js → formatter-4000bm05.js} +28 -28
  52. package/dist/chunks/{kv-8wpsay1h.js → formatter-43d6531p.js} +12 -12
  53. package/dist/chunks/{kv-h6310vsd.js → formatter-44ak30pa.js} +4 -4
  54. package/dist/chunks/{kv-vhp89w17.js → formatter-48h2kp0z.js} +12 -12
  55. package/dist/chunks/{kv-ncjresk4.js → formatter-4arb9zza.js} +8 -8
  56. package/dist/chunks/{kv-c0pm8rrr.js → formatter-4j5rd3nb.js} +22 -22
  57. package/dist/chunks/{kv-2kzjx7wg.js → formatter-4t0vqfa4.js} +2 -2
  58. package/dist/chunks/{kv-gfj9qsaq.js → formatter-4v6j91f0.js} +16 -16
  59. package/dist/chunks/{kv-nsarsp7q.js → formatter-4y72ap3v.js} +12 -12
  60. package/dist/chunks/{kv-6b0fgk81.js → formatter-4ykhr99h.js} +32 -32
  61. package/dist/chunks/{kv-xmwwj3b1.js → formatter-4z1dccvf.js} +16 -16
  62. package/dist/chunks/{kv-2cqzhaz4.js → formatter-526x9cfz.js} +4 -4
  63. package/dist/chunks/{kv-qbnb7c74.js → formatter-5601sb2r.js} +6 -6
  64. package/dist/chunks/{kv-r5z7p6xw.js → formatter-5age93ge.js} +45 -45
  65. package/dist/chunks/{kv-wahgg9pj.js → formatter-5d4fs1ac.js} +20 -20
  66. package/dist/chunks/{kv-5daktx2q.js → formatter-5daktx2q.js} +1 -1
  67. package/dist/chunks/{kv-z8k2pwn3.js → formatter-5nvg4m9b.js} +10 -10
  68. package/dist/chunks/{kv-jb05x2td.js → formatter-5sh5mty0.js} +25 -25
  69. package/dist/chunks/{kv-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{kv-8fe4dz4x.js → formatter-5tfn2ep9.js} +8 -8
  71. package/dist/chunks/{kv-2jmrv99g.js → formatter-64hfcqtn.js} +20 -20
  72. package/dist/chunks/{kv-vhy7cj2x.js → formatter-65tn6s1e.js} +13 -13
  73. package/dist/chunks/{kv-669tq793.js → formatter-669tq793.js} +1 -1
  74. package/dist/chunks/{kv-b14nvtsk.js → formatter-66g1srzz.js} +25 -25
  75. package/dist/chunks/{kv-ft0vvk11.js → formatter-684eg8p8.js} +48 -48
  76. package/dist/chunks/{kv-1d4ma8zv.js → formatter-6g36ydm3.js} +40 -40
  77. package/dist/chunks/{kv-b905h8ee.js → formatter-6k0ykvm3.js} +35 -35
  78. package/dist/chunks/{kv-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
  79. package/dist/chunks/{kv-3z59g7s8.js → formatter-6skxyfkw.js} +10 -10
  80. package/dist/chunks/{kv-yzb0c9yw.js → formatter-6t2yfq6r.js} +31 -31
  81. package/dist/chunks/{kv-v60patpd.js → formatter-6wf7w9m0.js} +43 -43
  82. package/dist/chunks/{kv-n7kjx2f1.js → formatter-6zxhhdw2.js} +8 -8
  83. package/dist/chunks/{kv-qab90vdt.js → formatter-725ga7b7.js} +18 -18
  84. package/dist/chunks/{kv-85xbdk8f.js → formatter-7apqwha9.js} +20 -20
  85. package/dist/chunks/{kv-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{kv-1qpw2tv6.js → formatter-7fdq7649.js} +10 -10
  87. package/dist/chunks/{kv-4phm5153.js → formatter-7gvwkz6m.js} +5 -5
  88. package/dist/chunks/{kv-0cw0akfc.js → formatter-7qjsfbt0.js} +96 -96
  89. package/dist/chunks/{kv-xyazt5zc.js → formatter-7sq8yzkh.js} +50 -50
  90. package/dist/chunks/formatter-7t0nnsk4.js +252 -0
  91. package/dist/chunks/{kv-fe39wqx3.js → formatter-7yb49614.js} +35 -35
  92. package/dist/chunks/{kv-cb2d4jeh.js → formatter-7z59ztsa.js} +17 -17
  93. package/dist/chunks/{kv-k8d0aa5r.js → formatter-83mkg5xj.js} +18 -18
  94. package/dist/chunks/{kv-zecw12g0.js → formatter-866na523.js} +24 -24
  95. package/dist/chunks/{kv-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{kv-zzkddxa9.js → formatter-8m98rn39.js} +22 -22
  97. package/dist/chunks/{kv-kbyhapax.js → formatter-8vsvfqbf.js} +18 -18
  98. package/dist/chunks/{kv-1jxxd7zj.js → formatter-928yj5t7.js} +4 -4
  99. package/dist/chunks/{kv-ksbzcvfq.js → formatter-92qtda8h.js} +17 -17
  100. package/dist/chunks/{kv-br4s61vx.js → formatter-931f43hd.js} +17 -17
  101. package/dist/chunks/{kv-gfvb90ym.js → formatter-94ek1h2f.js} +2 -2
  102. package/dist/chunks/{kv-d1vj0asq.js → formatter-9csj8dz4.js} +10 -10
  103. package/dist/chunks/{kv-st3ef2tx.js → formatter-9eww13ym.js} +13 -13
  104. package/dist/chunks/{kv-2gt6ag0v.js → formatter-9fz1q3tm.js} +12 -12
  105. package/dist/chunks/{kv-f63mczk8.js → formatter-9nsvfy1y.js} +3 -3
  106. package/dist/chunks/{kv-akzgx552.js → formatter-9r4gdqmt.js} +11 -11
  107. package/dist/chunks/{kv-7yxa3nsp.js → formatter-9sjhkssp.js} +17 -17
  108. package/dist/chunks/{kv-xtkxvazr.js → formatter-9thbxafe.js} +36 -36
  109. package/dist/chunks/{kv-0x6jpydm.js → formatter-9w14rhya.js} +4 -4
  110. package/dist/chunks/formatter-9zdhvgqs.js +18 -0
  111. package/dist/chunks/{kv-nq7strse.js → formatter-a4fy1m9y.js} +60 -60
  112. package/dist/chunks/{kv-dxqpzvvj.js → formatter-a8eqz3x1.js} +44 -44
  113. package/dist/chunks/{kv-aaet6srn.js → formatter-aaet6srn.js} +2 -2
  114. package/dist/chunks/{kv-yvdqgwj0.js → formatter-acej97kd.js} +21 -21
  115. package/dist/chunks/{kv-wmpza86g.js → formatter-ae1cz8vk.js} +11 -11
  116. package/dist/chunks/{kv-kx3xh5q2.js → formatter-aew6e1r0.js} +33 -33
  117. package/dist/chunks/{kv-0mm9aq32.js → formatter-akqk8sab.js} +17 -17
  118. package/dist/chunks/{kv-bra465g3.js → formatter-aq6m5w8t.js} +22 -22
  119. package/dist/chunks/{kv-xwgfrhxd.js → formatter-axz2hwv9.js} +34 -34
  120. package/dist/chunks/{kv-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{kv-tp1gp6c2.js → formatter-c6d91fap.js} +5 -5
  122. package/dist/chunks/{kv-r2m716tb.js → formatter-c765mh8b.js} +5 -5
  123. package/dist/chunks/{kv-69jdjb90.js → formatter-c8ft1bdk.js} +32 -32
  124. package/dist/chunks/{kv-fee0bcte.js → formatter-cfb9s96d.js} +25 -25
  125. package/dist/chunks/{kv-54tcyq79.js → formatter-ckecvw8r.js} +2 -2
  126. package/dist/chunks/{kv-e90a3qe2.js → formatter-cmfqg0mx.js} +316 -316
  127. package/dist/chunks/{kv-hqjh5bwg.js → formatter-cmtkhjf7.js} +25 -25
  128. package/dist/chunks/{kv-5yzzbxa7.js → formatter-cmwkp3r5.js} +8 -8
  129. package/dist/chunks/{kv-a4e2f35m.js → formatter-ct1vechy.js} +8 -8
  130. package/dist/chunks/{kv-ycaz76dz.js → formatter-cv5z6vfr.js} +11 -11
  131. package/dist/chunks/{kv-kkd8fck1.js → formatter-cwtz3r9h.js} +31 -31
  132. package/dist/chunks/{kv-cxn490c7.js → formatter-cx34d9wd.js} +11 -11
  133. package/dist/chunks/{kv-qzyph8ek.js → formatter-cy3xvb8m.js} +11 -11
  134. package/dist/chunks/{kv-vchs86sn.js → formatter-cz5kh9x9.js} +91 -91
  135. package/dist/chunks/{kv-nng2ktcm.js → formatter-d2anxpr8.js} +2 -2
  136. package/dist/chunks/{kv-5epaarjt.js → formatter-d3vcvacx.js} +10 -10
  137. package/dist/chunks/{kv-smm23mye.js → formatter-d5fhp67k.js} +27 -27
  138. package/dist/chunks/{kv-z1h9w40p.js → formatter-d7zs612j.js} +35 -35
  139. package/dist/chunks/{kv-1ypg9fph.js → formatter-d8e4wj50.js} +23 -23
  140. package/dist/chunks/{kv-jq9p4h1b.js → formatter-d9axs6w3.js} +11 -11
  141. package/dist/chunks/{kv-ph842b28.js → formatter-dbmc5gjs.js} +4 -4
  142. package/dist/chunks/{kv-hykkawe6.js → formatter-deh802mt.js} +10 -10
  143. package/dist/chunks/{kv-00z3vp5f.js → formatter-dfe8djrf.js} +4 -4
  144. package/dist/chunks/{kv-qqeeq2t9.js → formatter-drwq78ky.js} +7 -7
  145. package/dist/chunks/{kv-tmkptqtt.js → formatter-e6qka3d3.js} +51 -51
  146. package/dist/chunks/{kv-rhjbct0v.js → formatter-eaj1djv9.js} +8 -8
  147. package/dist/chunks/{kv-ecfe7b91.js → formatter-ecfe7b91.js} +2 -2
  148. package/dist/chunks/{kv-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
  149. package/dist/chunks/{kv-d569heh4.js → formatter-ehm6q3mk.js} +13 -13
  150. package/dist/chunks/{kv-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{kv-50mzsvk4.js → formatter-f3ngv102.js} +4 -4
  152. package/dist/chunks/{kv-zbejwb54.js → formatter-fdvpjyek.js} +4 -4
  153. package/dist/chunks/{kv-j98bxvq8.js → formatter-ffkgrkm6.js} +31 -31
  154. package/dist/chunks/{kv-dw9h4d1s.js → formatter-fhb1f05r.js} +18 -18
  155. package/dist/chunks/{kv-s3e1hqdt.js → formatter-fkgw8j18.js} +24 -24
  156. package/dist/chunks/{kv-3xaf2hpn.js → formatter-fkkzdrjv.js} +1 -1
  157. package/dist/chunks/{kv-1tah3m9p.js → formatter-fs6pqh0k.js} +22 -22
  158. package/dist/chunks/{kv-10pg2g46.js → formatter-fsnf83td.js} +3 -3
  159. package/dist/chunks/{kv-s2c14x69.js → formatter-fsr35fn4.js} +17 -17
  160. package/dist/chunks/{kv-7w99qc9d.js → formatter-fvxg17y2.js} +3 -3
  161. package/dist/chunks/{kv-qrzvehp7.js → formatter-fym05vea.js} +22 -22
  162. package/dist/chunks/{kv-zercbd28.js → formatter-g07qwdrd.js} +15 -15
  163. package/dist/chunks/{kv-7jddr6gf.js → formatter-g5zgqdyh.js} +178 -178
  164. package/dist/chunks/{kv-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{kv-x3461c9x.js → formatter-gfsc44x2.js} +3 -3
  166. package/dist/chunks/{kv-gv6a8nnw.js → formatter-gv6a8nnw.js} +2 -2
  167. package/dist/chunks/{kv-xzfsztn4.js → formatter-gxfd8hef.js} +7 -7
  168. package/dist/chunks/{kv-e4bz7cx2.js → formatter-h69103sp.js} +13 -13
  169. package/dist/chunks/{kv-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{kv-nbzsj80d.js → formatter-hdthj1pw.js} +8 -8
  171. package/dist/chunks/{kv-n4r3xatb.js → formatter-hn57h045.js} +4 -4
  172. package/dist/chunks/{kv-9gavmhjr.js → formatter-hna2c7ca.js} +23 -23
  173. package/dist/chunks/{kv-2567g30s.js → formatter-j3a689hg.js} +76 -76
  174. package/dist/chunks/{kv-4cadcykb.js → formatter-j3m92qrb.js} +22 -22
  175. package/dist/chunks/{kv-n5jgxgrs.js → formatter-j517qxmb.js} +9 -9
  176. package/dist/chunks/{kv-j56e64zr.js → formatter-j56e64zr.js} +1 -1
  177. package/dist/chunks/{kv-c1twzmh3.js → formatter-j8a6srd3.js} +24 -24
  178. package/dist/chunks/{kv-qdc1vz6s.js → formatter-j8rcbgwk.js} +17 -17
  179. package/dist/chunks/{kv-p5j3t9y2.js → formatter-jhq43s5h.js} +11 -11
  180. package/dist/chunks/{kv-f6xb9bw7.js → formatter-jqtwzasb.js} +23 -23
  181. package/dist/chunks/{kv-akes9ecd.js → formatter-jy0qaq37.js} +32 -32
  182. package/dist/chunks/{kv-nzks3jc8.js → formatter-k3c624dm.js} +3 -3
  183. package/dist/chunks/{kv-jf8mckk9.js → formatter-k4q8v3a9.js} +8 -8
  184. package/dist/chunks/{kv-q9ejhwtc.js → formatter-k562kksb.js} +13 -13
  185. package/dist/chunks/{kv-ssdqnhy0.js → formatter-k9d40v1y.js} +4 -4
  186. package/dist/chunks/{kv-spqcpneg.js → formatter-kb3wdknj.js} +6 -6
  187. package/dist/chunks/{kv-6ekhnjfk.js → formatter-khshe69x.js} +9 -9
  188. package/dist/chunks/{kv-m8f4r6n9.js → formatter-kjqk90ac.js} +43 -43
  189. package/dist/chunks/{kv-3td06z3c.js → formatter-kmb8tf68.js} +20 -20
  190. package/dist/chunks/{kv-3w0ncrsd.js → formatter-kr0xcp8s.js} +14 -14
  191. package/dist/chunks/{kv-dda0p7y7.js → formatter-kvjzkr2v.js} +9 -9
  192. package/dist/chunks/{kv-fng9e0je.js → formatter-kxpygcw9.js} +4 -4
  193. package/dist/chunks/{kv-m3fdjcah.js → formatter-m3fdjcah.js} +1 -1
  194. package/dist/chunks/{kv-v9mws2y8.js → formatter-m3v5f3y9.js} +11 -11
  195. package/dist/chunks/{kv-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{kv-ptk7yd9k.js → formatter-mfaaf469.js} +5 -5
  197. package/dist/chunks/{kv-1bbkgx8g.js → formatter-mhkvc446.js} +3 -3
  198. package/dist/chunks/{kv-kbj1xfy6.js → formatter-mwvjswkd.js} +11 -11
  199. package/dist/chunks/{kv-8f4w13p0.js → formatter-ne59kr8e.js} +10 -10
  200. package/dist/chunks/{kv-k9v0rycf.js → formatter-nfgj4eq6.js} +5 -5
  201. package/dist/chunks/{kv-826khv63.js → formatter-nrryk3yj.js} +6 -6
  202. package/dist/chunks/{kv-h6r3nrb9.js → formatter-nzyhnfxz.js} +4 -4
  203. package/dist/chunks/{kv-55gmjfj6.js → formatter-p11x5atc.js} +8 -8
  204. package/dist/chunks/{kv-62wqep1k.js → formatter-p1a9ajhc.js} +33 -33
  205. package/dist/chunks/{kv-ts6j1d2x.js → formatter-p5bpgybb.js} +32 -32
  206. package/dist/chunks/{kv-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{kv-pknna89w.js → formatter-pknna89w.js} +1 -1
  208. package/dist/chunks/{kv-xwwy1hth.js → formatter-pnc9qwkd.js} +58 -58
  209. package/dist/chunks/{kv-xk747vep.js → formatter-pnv527nz.js} +5 -5
  210. package/dist/chunks/{kv-8mfdap3f.js → formatter-pw9v3g6d.js} +6 -6
  211. package/dist/chunks/{kv-ys7r2z0j.js → formatter-q07xjvq6.js} +11 -11
  212. package/dist/chunks/{kv-mt3kkmj0.js → formatter-q8rsswcz.js} +8 -8
  213. package/dist/chunks/{kv-tkmwgdpd.js → formatter-qa3qhgw8.js} +7 -7
  214. package/dist/chunks/{kv-6w2h0fz9.js → formatter-qcnsepw6.js} +9 -9
  215. package/dist/chunks/{kv-zzrdptt8.js → formatter-qgcrhj3x.js} +8 -8
  216. package/dist/chunks/{kv-k9avtbwf.js → formatter-qrc64xzg.js} +6 -6
  217. package/dist/chunks/{kv-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  218. package/dist/chunks/{kv-67qa6aef.js → formatter-qvfxvj2b.js} +5 -5
  219. package/dist/chunks/{kv-6ymymyv8.js → formatter-r04gnbv5.js} +8 -8
  220. package/dist/chunks/{kv-kvpggjmb.js → formatter-r0w37vnc.js} +44 -44
  221. package/dist/chunks/{kv-8qq09bkg.js → formatter-r7jcr2kw.js} +5 -5
  222. package/dist/chunks/{kv-v1qy4m3p.js → formatter-r9wn2x15.js} +15 -15
  223. package/dist/chunks/{kv-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{kv-dxfvb7hs.js → formatter-rdwveckh.js} +4 -4
  225. package/dist/chunks/{kv-61a47mvy.js → formatter-rg6pqn6b.js} +17 -17
  226. package/dist/chunks/{kv-7fkffz83.js → formatter-rkprpv83.js} +4 -4
  227. package/dist/chunks/{kv-kbe0ygze.js → formatter-rpdcp9d6.js} +34 -34
  228. package/dist/chunks/{kv-rnf8vhs0.js → formatter-rrfze9aq.js} +24 -24
  229. package/dist/chunks/{kv-zedk1dgy.js → formatter-s0fdkca3.js} +36 -36
  230. package/dist/chunks/{kv-amrmn45z.js → formatter-s20e8eba.js} +43 -43
  231. package/dist/chunks/{kv-ps782kke.js → formatter-s2pdfmmv.js} +22 -22
  232. package/dist/chunks/{kv-4yqnp489.js → formatter-sgsfh0h8.js} +12 -12
  233. package/dist/chunks/{kv-v3sgzvyr.js → formatter-sqy4ahhk.js} +1 -1
  234. package/dist/chunks/{kv-kxgz3y9a.js → formatter-t3tkefaq.js} +5 -5
  235. package/dist/chunks/{kv-3x1dzzzh.js → formatter-t43ffz5t.js} +20 -20
  236. package/dist/chunks/{kv-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{kv-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{kv-tdstcens.js → formatter-tdstcens.js} +1 -1
  239. package/dist/chunks/{kv-myesr8mc.js → formatter-tfj9sgam.js} +12 -12
  240. package/dist/chunks/{kv-tvtrv512.js → formatter-tvtrv512.js} +1 -1
  241. package/dist/chunks/{kv-smswgpd0.js → formatter-v0xfw1m3.js} +8 -8
  242. package/dist/chunks/{kv-wtqdd1td.js → formatter-v1ceefev.js} +13 -13
  243. package/dist/chunks/{kv-xbhcscsb.js → formatter-v45qnrg9.js} +25 -25
  244. package/dist/chunks/{kv-0h7tmae7.js → formatter-v4zfgca1.js} +25 -25
  245. package/dist/chunks/{kv-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  246. package/dist/chunks/{kv-jwm5syjz.js → formatter-vhpkrxj6.js} +11 -11
  247. package/dist/chunks/{kv-y1zjbrv5.js → formatter-vme3s0y6.js} +15 -15
  248. package/dist/chunks/{kv-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{kv-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{kv-3t7xaxq6.js → formatter-w29yw4p7.js} +32 -32
  251. package/dist/chunks/{kv-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{kv-0511jhxe.js → formatter-w6hxg8ga.js} +18 -18
  253. package/dist/chunks/{kv-ms46b7as.js → formatter-wbe2v8yt.js} +29 -29
  254. package/dist/chunks/{kv-psazpmmj.js → formatter-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{kv-wd87259q.js → formatter-wd87259q.js} +1 -1
  256. package/dist/chunks/{kv-d8cw0a7r.js → formatter-wq4mmp7m.js} +4 -4
  257. package/dist/chunks/{kv-j3edxzqq.js → formatter-wyzbecmn.js} +19 -19
  258. package/dist/chunks/{kv-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{kv-qdbakdjh.js → formatter-x2rw7g36.js} +5 -5
  260. package/dist/chunks/{kv-btyqbk06.js → formatter-x6qvwyqy.js} +4 -4
  261. package/dist/chunks/{kv-4e3xp5h4.js → formatter-x6wkahxa.js} +20 -20
  262. package/dist/chunks/{kv-kptebxnn.js → formatter-xe7vm6z4.js} +11 -11
  263. package/dist/chunks/{kv-gpk5d2zr.js → formatter-xep4qe5p.js} +25 -25
  264. package/dist/chunks/{kv-y1k6q191.js → formatter-xj3z6972.js} +6 -6
  265. package/dist/chunks/{kv-xkntkrq7.js → formatter-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{kv-3geyhfdf.js → formatter-xspb0jaw.js} +1 -1
  267. package/dist/chunks/{kv-7abdfd9g.js → formatter-xx72zbe5.js} +22 -22
  268. package/dist/chunks/{kv-gc4fb455.js → formatter-xxndcd6m.js} +4 -4
  269. package/dist/chunks/{kv-rqbbsdjw.js → formatter-xzb3sydb.js} +6 -6
  270. package/dist/chunks/{kv-p9vmbpee.js → formatter-xzhq159g.js} +19 -19
  271. package/dist/chunks/{kv-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{kv-52w8pz0g.js → formatter-y3kwjdg3.js} +15 -15
  273. package/dist/chunks/{kv-9393pfnj.js → formatter-y4a0ndt6.js} +30 -30
  274. package/dist/chunks/{kv-y71avatq.js → formatter-y71avatq.js} +1 -1
  275. package/dist/chunks/{kv-mqbtwxg0.js → formatter-y7pvd72b.js} +3 -3
  276. package/dist/chunks/{kv-0d5t8cba.js → formatter-ydbbb7n3.js} +11 -11
  277. package/dist/chunks/{kv-hfa2dsm1.js → formatter-yjcmw3qg.js} +28 -28
  278. package/dist/chunks/{kv-bgxcxs0p.js → formatter-yjptyezs.js} +5 -5
  279. package/dist/chunks/{kv-r8xr0va3.js → formatter-yp2x3t23.js} +4 -4
  280. package/dist/chunks/{kv-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{kv-yrznvahk.js → formatter-yrznvahk.js} +2 -2
  282. package/dist/chunks/{kv-pyk6nw3v.js → formatter-yz5r218v.js} +27 -27
  283. package/dist/chunks/{kv-bjtzbw4r.js → formatter-z07pqspn.js} +3 -3
  284. package/dist/chunks/{kv-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{kv-5xk3y1mg.js → formatter-z0zbz97e.js} +7 -7
  286. package/dist/chunks/{kv-z63w68vq.js → formatter-z63w68vq.js} +2 -2
  287. package/dist/chunks/{kv-kj11q6np.js → formatter-z6f8ymea.js} +19 -19
  288. package/dist/chunks/{kv-bdhvfwg8.js → formatter-za3g8gy4.js} +37 -37
  289. package/dist/chunks/{kv-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{kv-9rbjm57m.js → formatter-znf1d9xg.js} +32 -32
  291. package/dist/chunks/{kv-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{kv-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +93 -93
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +4 -4
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +97 -97
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +13 -13
  432. package/dist/filesystem.js +98 -98
  433. package/dist/form.js +84 -84
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +79 -79
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +86 -86
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +85 -85
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +104 -104
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +82 -82
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +113 -113
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +88 -88
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +97 -97
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +100 -100
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +92 -92
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +139 -139
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +353 -353
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +84 -84
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +119 -119
  556. package/dist/plugin/websearch/exa.js +5 -5
  557. package/dist/plugin/websearch/firecrawl.js +6 -6
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +2 -2
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +4 -4
  562. package/dist/plugin/websearch/tinyfish.js +6 -6
  563. package/dist/plugin.js +229 -229
  564. package/dist/project/schema.js +6 -6
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +86 -86
  567. package/dist/provider.js +101 -101
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +98 -98
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +89 -89
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +97 -97
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +132 -132
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +5 -5
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +224 -224
  588. package/dist/session/execution.js +128 -128
  589. package/dist/session/generate.js +153 -153
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +90 -90
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +79 -79
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +93 -93
  596. package/dist/session/message-updater.js +2 -2
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +114 -114
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +170 -170
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +75 -75
  620. package/dist/session/store.js +87 -87
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +208 -208
  623. package/dist/session/system-prompt.js +5 -5
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +223 -223
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +216 -216
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +15 -15
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +4 -4
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +110 -110
  637. package/dist/snapshot.js +93 -93
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +127 -127
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +103 -103
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +209 -209
  652. package/dist/tool/plugin/skill.js +111 -111
  653. package/dist/tool/plugin/subagent.js +219 -219
  654. package/dist/tool/plugin/webfetch.js +110 -110
  655. package/dist/tool/plugin/websearch.js +110 -110
  656. package/dist/tool/plugin/write.js +118 -118
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +14 -14
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +1 -1
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +87 -87
  690. package/dist/websearch.js +82 -82
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/kv-58bm0art.js +0 -252
  703. package/dist/chunks/kv-dxj72tfx.js +0 -18
  704. package/dist/chunks/kv-hxa7m5za.js +0 -4
  705. /package/dist/chunks/{kv-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{kv-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{kv-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{kv-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{kv-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{kv-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{kv-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{kv-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{kv-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{kv-34c7v6d4.js → formatter-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{kv-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{kv-3asan66x.js → formatter-3asan66x.js} +0 -0
  717. /package/dist/chunks/{kv-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{kv-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{kv-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{kv-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{kv-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{kv-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{kv-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{kv-53557ph1.js → formatter-53557ph1.js} +0 -0
  725. /package/dist/chunks/{kv-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{kv-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{kv-6prwharc.js → formatter-6prwharc.js} +0 -0
  728. /package/dist/chunks/{kv-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{kv-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{kv-822emrt2.js → formatter-822emrt2.js} +0 -0
  731. /package/dist/chunks/{kv-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{kv-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{kv-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{kv-922hggd3.js → formatter-922hggd3.js} +0 -0
  735. /package/dist/chunks/{kv-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{kv-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{kv-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{kv-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{kv-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{kv-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{kv-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{kv-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{kv-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{kv-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{kv-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{kv-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{kv-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{kv-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{kv-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{kv-df08tz66.js → formatter-df08tz66.js} +0 -0
  751. /package/dist/chunks/{kv-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{kv-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{kv-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{kv-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{kv-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{kv-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{kv-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{kv-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{kv-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{kv-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{kv-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{kv-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{kv-g86h250q.js → formatter-g86h250q.js} +0 -0
  764. /package/dist/chunks/{kv-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{kv-gftt206x.js → formatter-gftt206x.js} +0 -0
  766. /package/dist/chunks/{kv-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{kv-hk9envan.js → formatter-hk9envan.js} +0 -0
  768. /package/dist/chunks/{kv-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{kv-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{kv-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{kv-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{kv-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{kv-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{kv-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{kv-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{kv-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{kv-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{kv-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{kv-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{kv-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{kv-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{kv-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{kv-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{kv-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{kv-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{kv-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{kv-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{kv-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{kv-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{kv-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{kv-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{kv-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{kv-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{kv-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{kv-x61499pn.js → formatter-x61499pn.js} +0 -0
  796. /package/dist/chunks/{kv-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{kv-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{kv-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{kv-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{kv-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{kv-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./kv-922hggd3.js";
5
+ } from "./formatter-922hggd3.js";
6
6
  import {
7
- Service79,
8
- node83
9
- } from "./kv-3w0ncrsd.js";
7
+ Service78,
8
+ node82
9
+ } from "./formatter-kr0xcp8s.js";
10
10
  import {
11
- Service14,
12
- node16
13
- } from "./kv-zecw12g0.js";
11
+ Service15,
12
+ node17
13
+ } from "./formatter-866na523.js";
14
14
  import {
15
15
  __export
16
- } from "./kv-9rqn6x4v.js";
16
+ } from "./formatter-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
31
31
  Match: () => Match2,
32
32
  NotFoundError: () => NotFoundError2,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service13,
34
+ Service: () => Service14,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node15
38
+ node: () => node16
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -87,12 +87,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
87
87
  }
88
88
  var Event2 = FileSystem.Event;
89
89
 
90
- class Service13 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service14 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service79;
95
- const search = yield* Service14;
94
+ const location = yield* Service78;
95
+ const search = yield* Service15;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service13.of({
106
+ return Service14.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
109
  const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node15 = makeLocationNode({
144
- service: Service13,
143
+ var node16 = makeLocationNode({
144
+ service: Service14,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node83, node16]
146
+ deps: [FSUtil.node, node82, node17]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service41
3
- } from "./kv-0ccn2szc.js";
2
+ Service54
3
+ } from "./formatter-0f9zpd1z.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./kv-rhjbct0v.js";
6
+ } from "./formatter-eaj1djv9.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./kv-922hggd3.js";
9
+ } from "./formatter-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service39
13
- } from "./kv-f6xb9bw7.js";
12
+ Service43
13
+ } from "./formatter-jqtwzasb.js";
14
14
  import {
15
- Service79
16
- } from "./kv-3w0ncrsd.js";
15
+ Service78
16
+ } from "./formatter-kr0xcp8s.js";
17
17
  import {
18
18
  __export
19
- } from "./kv-9rqn6x4v.js";
19
+ } from "./formatter-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin20
25
+ Plugin: () => Plugin28
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin20 = define({
32
+ var Plugin28 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service39;
35
+ const discovery = yield* Service43;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service79;
42
- const watcher = yield* Service41;
41
+ const location = yield* Service78;
42
+ const watcher = yield* Service54;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin20, exports_instruction };
117
+ export { Plugin28, exports_instruction };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./kv-ys7r2z0j.js";
2
+ Service84,
3
+ node88
4
+ } from "./formatter-q07xjvq6.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./kv-y71avatq.js";
7
+ } from "./formatter-y71avatq.js";
8
8
  import {
9
- Service82,
10
- node86
11
- } from "./kv-gfj9qsaq.js";
9
+ Service83,
10
+ node87
11
+ } from "./formatter-4v6j91f0.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./kv-ec1grn59.js";
14
+ } from "./formatter-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./kv-gftt206x.js";
17
+ } from "./formatter-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./kv-7w99qc9d.js";
20
+ } from "./formatter-fvxg17y2.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./kv-bjtzbw4r.js";
24
+ } from "./formatter-z07pqspn.js";
25
25
  import {
26
26
  __export
27
- } from "./kv-9rqn6x4v.js";
27
+ } from "./formatter-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info21,
35
+ Info: () => Info5,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service60,
40
+ Service: () => Service39,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
49
- list: () => list4,
50
- make: () => make17,
48
+ layer: () => layer16,
49
+ list: () => list3,
50
+ make: () => make15,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node63,
53
+ node: () => node41,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info21,
68
+ Info as Info5,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service60 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service39 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
157
- const database = yield* Service83;
156
+ var make15 = Effect.fn("SessionInbox.make")(function* () {
157
+ const database = yield* Service84;
158
158
  const db = database.db;
159
- const bus = yield* Service82;
159
+ const bus = yield* Service83;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info21.make({
176
+ }).pipe(Effect.map((event) => Info5.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list4(db, sessionID),
221
+ list: (sessionID) => list3(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service60, make17());
231
- var node63 = makeGlobalNode({ service: Service60, layer: layer21, deps: [node87, node86] });
230
+ var layer16 = Layer.effect(Service39, make15());
231
+ var node41 = makeGlobalNode({ service: Service39, layer: layer16, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info21, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service60, make17, layer21, node63, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make15, layer16, node41, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./kv-emrn6kk6.js";
3
+ } from "./formatter-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./kv-xzfsztn4.js";
6
+ } from "./formatter-gxfd8hef.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./kv-3geyhfdf.js";
9
+ } from "./formatter-xspb0jaw.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID13,
2
+ ID7,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./kv-fe39wqx3.js";
6
+ } from "./formatter-7yb49614.js";
7
7
  import {
8
8
  __export
9
- } from "./kv-9rqn6x4v.js";
9
+ } from "./formatter-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service65,
16
+ Service: () => Service66,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node68
18
+ node: () => node70
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -150,7 +150,7 @@ function throughMiddleware(store, send, input, init) {
150
150
  }
151
151
 
152
152
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
153
- providerID: ID13,
153
+ providerID: ID7,
154
154
  cause: Schema.Defect()
155
155
  }) {
156
156
  }
@@ -158,9 +158,9 @@ function initError(providerID) {
158
158
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
159
159
  }
160
160
 
161
- class Service65 extends Context.Service()("@opencode/AISDK") {
161
+ class Service66 extends Context.Service()("@opencode/AISDK") {
162
162
  }
163
- var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
163
+ var locationLayer2 = Layer.effect(Service66, Effect.gen(function* () {
164
164
  let sdkHooks = [];
165
165
  let languageHooks = [];
166
166
  const languages = new Map;
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
198
198
  }
199
199
  return event;
200
200
  });
201
- const service = Service65.of({
201
+ const service = Service66.of({
202
202
  hook: {
203
203
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
204
204
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
862
862
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
863
863
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
864
864
  }
865
- var node68 = makeLocationNode({ service: Service65, layer: locationLayer2, deps: [] });
865
+ var node70 = makeLocationNode({ service: Service66, layer: locationLayer2, deps: [] });
866
866
 
867
- export { InitError2, Service65, locationLayer2, node68, exports_aisdk };
867
+ export { InitError2, Service66, locationLayer2, node70, exports_aisdk };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./kv-gfj9qsaq.js";
2
+ Service83,
3
+ node87
4
+ } from "./formatter-4v6j91f0.js";
5
5
  import {
6
6
  __export
7
- } from "./kv-9rqn6x4v.js";
7
+ } from "./formatter-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event16,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info30,
19
+ ID: () => ID10,
20
+ Info: () => Info26,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
24
- Reply: () => Reply3,
25
- Service: () => Service75,
23
+ NotFoundError: () => NotFoundError8,
24
+ Reply: () => Reply2,
25
+ Service: () => Service71,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node79,
29
+ node: () => node75,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event16 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info30 = Form.Info;
38
+ var ID10 = Form.ID;
39
+ var Info26 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply3 = Form.Reply;
45
+ var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID10
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID10
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID10
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID10,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service75 extends Context.Service()("@opencode/Form") {
82
+ class Service71 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service75, Effect.gen(function* () {
85
- const bus = yield* Service82;
84
+ var layer25 = Layer.effect(Service71, Effect.gen(function* () {
85
+ const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID10.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service75, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service75.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service71.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node79 = makeLocationNode({ service: Service75, layer: layer25, deps: [node86] });
164
+ var node75 = makeLocationNode({ service: Service71, layer: layer25, deps: [node87] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer25, node79, validateAnswer2, validateFields2, exports_form, Event19 };
316
+ export { ID10, Info26, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer25, node75, validateAnswer2, validateFields2, exports_form, Event16 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./kv-922hggd3.js";
3
+ } from "./formatter-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info10,
12
+ Info: () => Info11,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info10 = Schema.Struct({
64
+ var Info11 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info10 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info10, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info11, exports_provider2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make18
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make18 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make18 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make18, exports_run_coordinator };
92
+ export { make16, exports_run_coordinator };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./kv-ym463w8f.js";
3
+ } from "./formatter-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./kv-z63w68vq.js";
3
+ } from "./formatter-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};