@opencode/core 0.0.0-dev-20276 → 0.0.0-dev-20279

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +90 -90
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-19xkyn56.js → project-020j3mp2.js} +6 -6
  8. package/dist/chunks/{location-eaj1djv9.js → project-0gdmqesm.js} +8 -8
  9. package/dist/chunks/{location-2k8khapm.js → project-0jwsre1p.js} +5 -5
  10. package/dist/chunks/{location-z4h05mhr.js → project-0k6psah5.js} +11 -11
  11. package/dist/chunks/{location-e7rgh627.js → project-0ngc5zw8.js} +27 -27
  12. package/dist/chunks/{location-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-kdpg6j2h.js → project-0skg418f.js} +305 -305
  14. package/dist/chunks/{location-r98e92ep.js → project-0v53mg2y.js} +4 -4
  15. package/dist/chunks/{location-yp2x3t23.js → project-1acjjqhc.js} +4 -4
  16. package/dist/chunks/{location-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{location-fm2qvscf.js → project-1g7epwpd.js} +7 -7
  18. package/dist/chunks/{location-s30fyz93.js → project-1rn5pcm9.js} +4 -4
  19. package/dist/chunks/project-1x11rq2a.js +18 -0
  20. package/dist/chunks/{location-9m41ce2e.js → project-1ywpdfns.js} +6 -6
  21. package/dist/chunks/{location-xx3xskn4.js → project-21bdz9jr.js} +23 -23
  22. package/dist/chunks/{location-21r38tys.js → project-21r38tys.js} +1 -1
  23. package/dist/chunks/{location-actspjgq.js → project-23p19ytx.js} +12 -12
  24. package/dist/chunks/{location-cpy6gm2a.js → project-23pqda6t.js} +6 -6
  25. package/dist/chunks/{location-y56fgtjc.js → project-28bwp3f2.js} +45 -45
  26. package/dist/chunks/{location-z63w68vq.js → project-29x78va6.js} +6 -6
  27. package/dist/chunks/{location-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{location-2a6rn6yr.js → project-2a6rn6yr.js} +1 -1
  29. package/dist/chunks/{location-sjxg3jn5.js → project-2dxjdkbg.js} +42 -42
  30. package/dist/chunks/{location-d51j8nb8.js → project-2gdfcqvr.js} +4 -4
  31. package/dist/chunks/{location-7v98fvm1.js → project-2h2p30kb.js} +12 -12
  32. package/dist/chunks/{location-9kyxe6d2.js → project-2mba0a12.js} +17 -17
  33. package/dist/chunks/{location-c9sp74yg.js → project-2y6fdh01.js} +26 -26
  34. package/dist/chunks/{location-cmr86hnb.js → project-31hedsss.js} +23 -23
  35. package/dist/chunks/{location-r9a21ze6.js → project-33j2tcx5.js} +11 -11
  36. package/dist/chunks/{location-nc08s4b6.js → project-38bjr5b2.js} +6 -6
  37. package/dist/chunks/{location-m9dd4gnk.js → project-3azdke44.js} +7 -7
  38. package/dist/chunks/{location-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{location-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-8s1frede.js → project-3qaqdfsb.js} +16 -16
  41. package/dist/chunks/{location-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{location-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-3zsf4n22.js → project-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{location-9196f380.js → project-45dn1awv.js} +11 -11
  45. package/dist/chunks/{location-a2qe2ev9.js → project-4a0nv7mx.js} +8 -8
  46. package/dist/chunks/{location-kkg46zsd.js → project-4bccg1h0.js} +4 -4
  47. package/dist/chunks/{location-cpj0znwe.js → project-4dgbcxzg.js} +4 -4
  48. package/dist/chunks/{location-33x84ssc.js → project-4jpgjdvv.js} +7 -7
  49. package/dist/chunks/{location-f323rzvq.js → project-4nha8ag2.js} +16 -16
  50. package/dist/chunks/{location-z4eayw4n.js → project-4pm2v2am.js} +2 -2
  51. package/dist/chunks/{location-se36eqgj.js → project-4tyzgth8.js} +11 -11
  52. package/dist/chunks/{location-rr7rd4zm.js → project-4z34rk99.js} +30 -30
  53. package/dist/chunks/{location-qn4ba14w.js → project-510m7gjw.js} +5 -5
  54. package/dist/chunks/{location-w7bkmztz.js → project-51na1v3k.js} +9 -9
  55. package/dist/chunks/{location-eva5q63f.js → project-54daws1d.js} +16 -16
  56. package/dist/chunks/{location-54ma36ye.js → project-54ma36ye.js} +1 -1
  57. package/dist/chunks/{location-56gdpj1q.js → project-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{location-57ez7d0k.js → project-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{location-gfq5dj1e.js → project-5avtv41a.js} +17 -17
  60. package/dist/chunks/{location-5daktx2q.js → project-5daktx2q.js} +1 -1
  61. package/dist/chunks/{location-w6mz219s.js → project-5jd9ntrq.js} +57 -57
  62. package/dist/chunks/{location-zq6vnbzn.js → project-5qf8t1jq.js} +34 -34
  63. package/dist/chunks/{location-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{location-hc04de6s.js → project-5tavbbzk.js} +43 -43
  65. package/dist/chunks/{location-x3d5atbz.js → project-5tetfxpq.js} +25 -25
  66. package/dist/chunks/{location-tjca4006.js → project-624d5kfb.js} +38 -38
  67. package/dist/chunks/{location-qpygv4fp.js → project-649khmm7.js} +5 -5
  68. package/dist/chunks/{location-669tq793.js → project-669tq793.js} +1 -1
  69. package/dist/chunks/{location-frhdz160.js → project-6cgdsgaz.js} +7 -7
  70. package/dist/chunks/{location-fs7gwttq.js → project-6ezrffkm.js} +4 -4
  71. package/dist/chunks/{location-ggqz94d5.js → project-6ggkqwkw.js} +28 -28
  72. package/dist/chunks/{location-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{location-2xwkyk0m.js → project-6xw3seg4.js} +5 -5
  74. package/dist/chunks/{location-xz21yfmd.js → project-722n21ms.js} +17 -17
  75. package/dist/chunks/{location-g7ptqdwz.js → project-7696tyxc.js} +15 -15
  76. package/dist/chunks/{location-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  77. package/dist/chunks/project-7dm9wscz.js +252 -0
  78. package/dist/chunks/{location-yah15ztz.js → project-7h36bzy6.js} +18 -18
  79. package/dist/chunks/{location-8zh4h089.js → project-7pr2hkwv.js} +5 -5
  80. package/dist/chunks/{location-csytna75.js → project-7qyhwj8w.js} +33 -33
  81. package/dist/chunks/{location-c26hev1n.js → project-7rfhx83j.js} +22 -22
  82. package/dist/chunks/{location-5cmxdwv8.js → project-7w99qc9d.js} +3 -3
  83. package/dist/chunks/{location-462ftxvc.js → project-7wd9qwyc.js} +10 -10
  84. package/dist/chunks/{location-m5qgxshp.js → project-7ysffvaw.js} +22 -22
  85. package/dist/chunks/{location-sq2kpqez.js → project-7zd0nwwt.js} +23 -23
  86. package/dist/chunks/{location-2vq7jkms.js → project-806z90sq.js} +11 -11
  87. package/dist/chunks/{location-2xhakehx.js → project-8301s3d9.js} +43 -43
  88. package/dist/chunks/{location-7h0vcxh8.js → project-838saeqq.js} +4 -4
  89. package/dist/chunks/{location-84txncab.js → project-84txncab.js} +1 -1
  90. package/dist/chunks/{location-553akxd4.js → project-85k7sv8x.js} +78 -78
  91. package/dist/chunks/{location-re7w4886.js → project-86ejvc8x.js} +167 -167
  92. package/dist/chunks/{location-vqet09zx.js → project-874npkh1.js} +11 -11
  93. package/dist/chunks/{location-ff3hhqst.js → project-87m7088e.js} +17 -17
  94. package/dist/chunks/{location-8a0sy633.js → project-8bqv1t9b.js} +24 -24
  95. package/dist/chunks/{location-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{location-5wfhmhr2.js → project-8e9zgs0b.js} +8 -8
  97. package/dist/chunks/{location-vpw9xy5b.js → project-8ew7c7re.js} +19 -19
  98. package/dist/chunks/{location-8ssk0f6f.js → project-8qb2kdky.js} +22 -22
  99. package/dist/chunks/{location-py3kkmfq.js → project-8sze2n9a.js} +6 -6
  100. package/dist/chunks/{location-3ewed21c.js → project-8tsdq50x.js} +4 -4
  101. package/dist/chunks/{location-0057bkce.js → project-8x5hjfvz.js} +4 -4
  102. package/dist/chunks/{location-vjst3kcb.js → project-8znrmxmh.js} +35 -35
  103. package/dist/chunks/{location-gfvb90ym.js → project-94ek1h2f.js} +2 -2
  104. package/dist/chunks/{location-ae1n2vcd.js → project-9g29qv69.js} +4 -4
  105. package/dist/chunks/{location-n4v0rfv1.js → project-9m8b7yry.js} +4 -4
  106. package/dist/chunks/{location-kxvx07my.js → project-a18yp3jg.js} +20 -20
  107. package/dist/chunks/{location-a4hewyqn.js → project-a55j0b8t.js} +11 -11
  108. package/dist/chunks/{location-18a36fer.js → project-a5qz9j9y.js} +15 -15
  109. package/dist/chunks/{location-v1ryjrvj.js → project-a6cp191g.js} +30 -30
  110. package/dist/chunks/{location-3c7r44jp.js → project-aa212rbv.js} +17 -17
  111. package/dist/chunks/{location-aaet6srn.js → project-aaet6srn.js} +2 -2
  112. package/dist/chunks/{location-mbcnae1e.js → project-abwsctdy.js} +48 -48
  113. package/dist/chunks/{location-espmheeq.js → project-afc78eap.js} +11 -11
  114. package/dist/chunks/{location-gmjq4p6e.js → project-afed7ext.js} +5 -5
  115. package/dist/chunks/{location-4sk9wqmx.js → project-ahjncwpe.js} +16 -16
  116. package/dist/chunks/{location-1c5qr0d4.js → project-amfycdq8.js} +26 -26
  117. package/dist/chunks/{location-jnz9m78q.js → project-an9w15zy.js} +32 -32
  118. package/dist/chunks/{location-0fx1c86e.js → project-aqtagypg.js} +8 -8
  119. package/dist/chunks/{location-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{location-mfyfvt3e.js → project-bajb8z3h.js} +9 -9
  121. package/dist/chunks/{location-k50vre3t.js → project-bfgmmhz5.js} +27 -27
  122. package/dist/chunks/{location-ax5q5x3y.js → project-bj4xes31.js} +3 -3
  123. package/dist/chunks/{location-c3p8ecy6.js → project-c6k5mewg.js} +5 -5
  124. package/dist/chunks/{location-b09w9vsw.js → project-cajr751j.js} +84 -84
  125. package/dist/chunks/{location-gc90ewg5.js → project-cbh7m0p8.js} +31 -31
  126. package/dist/chunks/{location-fch6zz7r.js → project-cde73km7.js} +46 -46
  127. package/dist/chunks/{location-54tcyq79.js → project-ckecvw8r.js} +2 -2
  128. package/dist/chunks/{location-hkxjwzsw.js → project-ckpfc465.js} +10 -10
  129. package/dist/chunks/{location-bbcw15hs.js → project-cn8ehpgs.js} +25 -25
  130. package/dist/chunks/{location-2q79s005.js → project-cpywhfwc.js} +3 -3
  131. package/dist/chunks/{location-qdy5jae5.js → project-cxp1vhfy.js} +3 -3
  132. package/dist/chunks/{location-nxhqveyz.js → project-d2aac7k2.js} +5 -5
  133. package/dist/chunks/{location-j14xwnx3.js → project-da3mhb28.js} +15 -15
  134. package/dist/chunks/{location-f98hm7nt.js → project-dbnk5sd2.js} +11 -11
  135. package/dist/chunks/{location-zpc9w55b.js → project-ddsjsg9e.js} +33 -33
  136. package/dist/chunks/{location-13ggeyh8.js → project-dhwr7h25.js} +11 -11
  137. package/dist/chunks/{location-5cqar878.js → project-dn1m44r2.js} +5 -5
  138. package/dist/chunks/{location-0pb2tsr6.js → project-dnsv9a53.js} +4 -4
  139. package/dist/chunks/{location-ssg653vt.js → project-dvp8fdzn.js} +23 -23
  140. package/dist/chunks/{location-dbr74085.js → project-dvvxabsh.js} +11 -11
  141. package/dist/chunks/{location-5yqvxvd9.js → project-dx5kkrrb.js} +5 -5
  142. package/dist/chunks/{location-4stzy43z.js → project-e04k8gjt.js} +11 -11
  143. package/dist/chunks/{location-5qd3pb7m.js → project-e3qxr5gk.js} +2 -2
  144. package/dist/chunks/{location-mm5kxf07.js → project-e7710hd6.js} +8 -8
  145. package/dist/chunks/{location-b4smrmcv.js → project-e840xjs9.js} +4 -4
  146. package/dist/chunks/{location-ecfe7b91.js → project-ecfe7b91.js} +2 -2
  147. package/dist/chunks/{location-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{location-r5z9vr3t.js → project-ejjsyt9b.js} +9 -9
  149. package/dist/chunks/{location-jtc1v7sa.js → project-err9m5fm.js} +29 -29
  150. package/dist/chunks/{location-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{location-ab4qw10a.js → project-fnv0ytv6.js} +20 -20
  152. package/dist/chunks/{location-x7993znb.js → project-g13hzveh.js} +6 -6
  153. package/dist/chunks/{location-1fw2a5v8.js → project-gce79w0q.js} +13 -13
  154. package/dist/chunks/{location-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{location-jy8sf8ka.js → project-gkm2k4qt.js} +35 -35
  156. package/dist/chunks/{location-wdz763xm.js → project-gsrpqv5m.js} +29 -29
  157. package/dist/chunks/{location-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{location-0ryd0fps.js → project-h4z1mxff.js} +5 -5
  159. package/dist/chunks/{location-xdx7acry.js → project-h5m7e0fe.js} +9 -9
  160. package/dist/chunks/{location-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{location-aakk90ee.js → project-hawf4j0h.js} +25 -25
  162. package/dist/chunks/{location-nd5ewv74.js → project-hbnmhsp4.js} +3 -3
  163. package/dist/chunks/{location-x9ssgtdb.js → project-hdchbct3.js} +20 -20
  164. package/dist/chunks/{location-5htrahb1.js → project-hmr3gw0k.js} +9 -9
  165. package/dist/chunks/{location-atzxk3q8.js → project-hp5m1mwc.js} +11 -11
  166. package/dist/chunks/{location-vxh2n5pk.js → project-hq704nat.js} +3 -3
  167. package/dist/chunks/{location-6mxndphv.js → project-hr4wmfer.js} +9 -9
  168. package/dist/chunks/{location-aaf8swx0.js → project-hvdhm99d.js} +5 -5
  169. package/dist/chunks/{location-j56e64zr.js → project-j56e64zr.js} +1 -1
  170. package/dist/chunks/{location-615mg57g.js → project-jacbbyrq.js} +36 -36
  171. package/dist/chunks/{location-mxyfxq61.js → project-jdtdmam0.js} +3 -3
  172. package/dist/chunks/{location-xrc18w18.js → project-jhvm74wt.js} +16 -16
  173. package/dist/chunks/{location-qsjwzbna.js → project-jnd49krt.js} +22 -22
  174. package/dist/chunks/{location-afy572fx.js → project-jrm8529p.js} +4 -4
  175. package/dist/chunks/{location-fapqdhr6.js → project-jtj2kw93.js} +8 -8
  176. package/dist/chunks/{location-m6f3t844.js → project-k1qrnqst.js} +8 -8
  177. package/dist/chunks/{location-2cc3a0er.js → project-k2fhnaq7.js} +24 -24
  178. package/dist/chunks/{location-k3c624dm.js → project-k3c624dm.js} +3 -3
  179. package/dist/chunks/{location-kzyk0qtv.js → project-k4cc7tdd.js} +33 -33
  180. package/dist/chunks/{location-4dgfv34j.js → project-kbfev964.js} +24 -24
  181. package/dist/chunks/{location-e5pqzwnt.js → project-kfmd8j3s.js} +6 -6
  182. package/dist/chunks/{location-y653rv1a.js → project-kh937tj1.js} +48 -48
  183. package/dist/chunks/{location-a44b6qvx.js → project-kwz1cqyn.js} +11 -11
  184. package/dist/chunks/{location-jc2h4ya1.js → project-kz21bzdc.js} +5 -5
  185. package/dist/chunks/{location-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{location-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{location-768gsh1v.js → project-mgmaefw5.js} +3 -3
  188. package/dist/chunks/{location-j22t5rnv.js → project-mjx95eda.js} +5 -5
  189. package/dist/chunks/{location-ydk8kw93.js → project-mm6wzher.js} +11 -11
  190. package/dist/chunks/{location-nwqf1d5h.js → project-mswv9656.js} +21 -21
  191. package/dist/chunks/{location-0h3pt5nx.js → project-mt7gpc5c.js} +20 -20
  192. package/dist/chunks/{location-xw0saaw0.js → project-mv7e59pt.js} +26 -26
  193. package/dist/chunks/{location-7yh4e7ss.js → project-mvfsc1pv.js} +3 -3
  194. package/dist/chunks/{location-dxkh69ct.js → project-mwmdr1jb.js} +34 -34
  195. package/dist/chunks/{location-yv63dtz0.js → project-n7ah8pfs.js} +62 -62
  196. package/dist/chunks/{location-bscb95cy.js → project-n8c291r7.js} +6 -6
  197. package/dist/chunks/{location-gtah93dy.js → project-n91pks0e.js} +15 -15
  198. package/dist/chunks/{location-wsvmp3ny.js → project-namtrpjt.js} +15 -15
  199. package/dist/chunks/{location-n6dqm6n8.js → project-ndhqym75.js} +8 -8
  200. package/dist/chunks/{location-zmzjstmk.js → project-nhh7wtmw.js} +17 -17
  201. package/dist/chunks/{location-x8ygcmws.js → project-nn5prrq6.js} +8 -8
  202. package/dist/chunks/{location-vmgq4x8b.js → project-nng2ktcm.js} +2 -2
  203. package/dist/chunks/{location-f113p6m0.js → project-nnqrtkwf.js} +37 -37
  204. package/dist/chunks/{location-pnv527nz.js → project-nq7qbqzc.js} +9 -9
  205. package/dist/chunks/{location-amb4vwg9.js → project-nrbhkkd4.js} +6 -6
  206. package/dist/chunks/{location-eqzyz2a8.js → project-nt4kgfyx.js} +1 -1
  207. package/dist/chunks/{location-kdk8byp1.js → project-p2v3pvra.js} +17 -17
  208. package/dist/chunks/{location-2wnt8bbg.js → project-p40w2ff8.js} +13 -13
  209. package/dist/chunks/{location-9tgtz3hc.js → project-p5gq5q8v.js} +16 -16
  210. package/dist/chunks/{location-n3vygs5b.js → project-p7gq9vf8.js} +9 -9
  211. package/dist/chunks/{location-mzba7wnk.js → project-phq84q0m.js} +20 -20
  212. package/dist/chunks/{location-8v6pyhej.js → project-phstrbs2.js} +8 -8
  213. package/dist/chunks/{location-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{location-pknna89w.js → project-pknna89w.js} +1 -1
  215. package/dist/chunks/{location-65asqpss.js → project-prw92b8h.js} +14 -14
  216. package/dist/chunks/{location-xqecqxs5.js → project-q0b060vn.js} +12 -12
  217. package/dist/chunks/{location-94gfxd8b.js → project-q0rtx1xc.js} +10 -10
  218. package/dist/chunks/{location-vgvjrf8v.js → project-q4s4x04b.js} +24 -24
  219. package/dist/chunks/{location-ngc4nbq5.js → project-q8vgm9fw.js} +10 -10
  220. package/dist/chunks/{location-kt9mpxjt.js → project-qcc4ret3.js} +26 -26
  221. package/dist/chunks/{location-d4he2qe1.js → project-qmqgtz8f.js} +9 -9
  222. package/dist/chunks/{location-paw7gv03.js → project-qpc4hnpd.js} +14 -14
  223. package/dist/chunks/{location-rweezmpe.js → project-qpp51p0r.js} +19 -19
  224. package/dist/chunks/{location-n8wsbnmg.js → project-qs3pdb9f.js} +13 -13
  225. package/dist/chunks/{location-qsdy395h.js → project-qsdy395h.js} +1 -1
  226. package/dist/chunks/{location-vw38ypps.js → project-qvj3hgsx.js} +11 -11
  227. package/dist/chunks/{location-12296md0.js → project-qw0n7g2y.js} +20 -20
  228. package/dist/chunks/{location-z42cn8j0.js → project-r31xzp04.js} +11 -11
  229. package/dist/chunks/{location-j5b3v8p4.js → project-r3jb2bst.js} +10 -10
  230. package/dist/chunks/{location-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{location-tgzah0tt.js → project-rjqy7xj7.js} +16 -16
  232. package/dist/chunks/{location-37e61ywe.js → project-rn5x2ykt.js} +17 -17
  233. package/dist/chunks/{location-7nh7q5qm.js → project-rndn3c47.js} +32 -32
  234. package/dist/chunks/{location-6gph9127.js → project-rrrssxf8.js} +3 -3
  235. package/dist/chunks/{location-978t30qm.js → project-rx563r8n.js} +17 -17
  236. package/dist/chunks/{location-yrznvahk.js → project-s4enseaf.js} +2 -2
  237. package/dist/chunks/{location-7dbmnfn4.js → project-sm965ndy.js} +8 -8
  238. package/dist/chunks/{location-0m5nw8df.js → project-ss45vysf.js} +13 -13
  239. package/dist/chunks/{location-y5v4pytj.js → project-ssk3tbab.js} +17 -17
  240. package/dist/chunks/{location-5rwbqegk.js → project-t7ngw8t1.js} +31 -31
  241. package/dist/chunks/{location-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{location-1ed2t66p.js → project-tazp3vs0.js} +4 -4
  243. package/dist/chunks/{location-tcezcvh9.js → project-tcezcvh9.js} +1 -1
  244. package/dist/chunks/{location-tw3t2x25.js → project-tdeqh5mc.js} +15 -15
  245. package/dist/chunks/{location-tdstcens.js → project-tdstcens.js} +1 -1
  246. package/dist/chunks/{location-qsawcycn.js → project-tr33jf8f.js} +1 -1
  247. package/dist/chunks/{location-mygq0r12.js → project-ttn0x086.js} +12 -12
  248. package/dist/chunks/{location-vgzres6n.js → project-tttf012a.js} +9 -9
  249. package/dist/chunks/{location-tvtrv512.js → project-tvtrv512.js} +1 -1
  250. package/dist/chunks/{location-745s8vaw.js → project-v75pes83.js} +10 -10
  251. package/dist/chunks/{location-hy3r2exk.js → project-vc2vvn2n.js} +24 -24
  252. package/dist/chunks/{location-veqvce7d.js → project-veqvce7d.js} +1 -1
  253. package/dist/chunks/{location-f3ngv102.js → project-vsp1fds9.js} +21 -21
  254. package/dist/chunks/{location-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{location-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{location-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{location-5eb3a1ca.js → project-w8bax687.js} +12 -12
  258. package/dist/chunks/{location-pgk5vny9.js → project-wbnn775w.js} +7 -7
  259. package/dist/chunks/{location-psazpmmj.js → project-wd3x2cqz.js} +2 -2
  260. package/dist/chunks/{location-wd87259q.js → project-wd87259q.js} +1 -1
  261. package/dist/chunks/{location-b8wj4r0t.js → project-whjd3rc2.js} +19 -19
  262. package/dist/chunks/{location-b0dgvpy7.js → project-wk5z6jzv.js} +9 -9
  263. package/dist/chunks/{location-f5brv8eq.js → project-wwhjw9xv.js} +5 -5
  264. package/dist/chunks/{location-vsm5skh5.js → project-x0nanjd3.js} +24 -24
  265. package/dist/chunks/{location-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{location-q826ync2.js → project-x827mkbf.js} +11 -11
  267. package/dist/chunks/{location-rmyddrcn.js → project-xb9fg6sg.js} +3 -3
  268. package/dist/chunks/{location-697fm79x.js → project-xf0nr9dv.js} +4 -4
  269. package/dist/chunks/{location-xfkkasph.js → project-xfkkasph.js} +1 -1
  270. package/dist/chunks/{location-gqayqhyj.js → project-xg1dkx3r.js} +2 -2
  271. package/dist/chunks/{location-t8kexe44.js → project-xgg5kjqw.js} +14 -14
  272. package/dist/chunks/{location-xkntkrq7.js → project-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{location-0bfcnrg1.js → project-xp3fh2h7.js} +1 -1
  274. package/dist/chunks/{location-s1hvx6t4.js → project-xrbfhxyn.js} +12 -12
  275. package/dist/chunks/{location-4ntyr3h2.js → project-xyb3cdv5.js} +10 -10
  276. package/dist/chunks/{location-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{location-rk7s9xkn.js → project-y5rf7nzv.js} +4 -4
  278. package/dist/chunks/{location-y71avatq.js → project-y71avatq.js} +1 -1
  279. package/dist/chunks/{location-80ebag5h.js → project-ycs6vwzp.js} +8 -8
  280. package/dist/chunks/{location-r7nsrefv.js → project-ydkjqnka.js} +8 -8
  281. package/dist/chunks/{location-31vv3vzb.js → project-yejc90cs.js} +11 -11
  282. package/dist/chunks/{location-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{location-wetczrvy.js → project-yxd16e7e.js} +17 -17
  284. package/dist/chunks/{location-bjtzbw4r.js → project-z07pqspn.js} +3 -3
  285. package/dist/chunks/{location-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{location-c78bbtc9.js → project-z3pw5915.js} +5 -5
  287. package/dist/chunks/{location-mp62f6px.js → project-z5mnxdh2.js} +9 -9
  288. package/dist/chunks/{location-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{location-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{location-jtb1j844.js → project-zt84kvnr.js} +16 -16
  291. package/dist/chunks/{location-t7n9q6bq.js → project-zvt5dnpc.js} +4 -4
  292. package/dist/chunks/{location-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  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 +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  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 +123 -123
  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 +120 -120
  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 +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  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 +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +365 -365
  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 +95 -95
  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 +70 -70
  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/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +93 -93
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +94 -94
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +1 -1
  460. package/dist/instance.js +358 -358
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +108 -108
  477. package/dist/mcp/instructions.js +126 -126
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +94 -94
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +117 -117
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +99 -99
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +334 -334
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +120 -120
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +95 -95
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -162
  542. package/dist/plugin/sdk.js +74 -74
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +139 -139
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +349 -349
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +84 -84
  550. package/dist/plugin/vcs/hg.js +84 -84
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +119 -119
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +2 -2
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +230 -230
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +91 -91
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +133 -133
  579. package/dist/session/context.js +153 -153
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +222 -222
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +154 -154
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +86 -86
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +230 -230
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +124 -124
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +170 -170
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +1 -1
  621. package/dist/session/title.js +151 -151
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +215 -215
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +217 -217
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +9 -9
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +112 -112
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +121 -121
  648. package/dist/tool/plugin/shell.js +216 -216
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +220 -220
  651. package/dist/tool/plugin/webfetch.js +108 -108
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +93 -93
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +82 -82
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +7 -7
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +8 -8
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +98 -98
  698. package/package.json +8 -8
  699. package/dist/chunks/location-0kcwsw03.js +0 -252
  700. package/dist/chunks/location-f81tjggh.js +0 -18
  701. /package/dist/chunks/{location-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{location-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{location-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{location-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{location-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{location-24dcb14g.js → project-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{location-2710q6r3.js → project-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{location-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{location-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{location-34c7v6d4.js → project-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{location-359p4xyc.js → project-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{location-3asan66x.js → project-3asan66x.js} +0 -0
  713. /package/dist/chunks/{location-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{location-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{location-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{location-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{location-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{location-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{location-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{location-53557ph1.js → project-53557ph1.js} +0 -0
  721. /package/dist/chunks/{location-550bvhaj.js → project-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{location-6prwharc.js → project-6prwharc.js} +0 -0
  723. /package/dist/chunks/{location-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{location-7m9af43g.js → project-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{location-822emrt2.js → project-822emrt2.js} +0 -0
  726. /package/dist/chunks/{location-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{location-8n3pysct.js → project-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{location-8wj87zfr.js → project-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{location-922hggd3.js → project-922hggd3.js} +0 -0
  730. /package/dist/chunks/{location-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{location-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{location-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{location-af5trqkr.js → project-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{location-afrmfg78.js → project-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{location-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{location-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{location-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{location-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{location-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{location-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{location-d9fn303g.js → project-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{location-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{location-dajrwvna.js → project-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{location-dap0rakb.js → project-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{location-df08tz66.js → project-df08tz66.js} +0 -0
  746. /package/dist/chunks/{location-dy18nga0.js → project-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{location-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{location-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{location-ec1grn59.js → project-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{location-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{location-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{location-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{location-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{location-faypxj3z.js → project-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{location-fd410y7t.js → project-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{location-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{location-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{location-g86h250q.js → project-g86h250q.js} +0 -0
  759. /package/dist/chunks/{location-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{location-gftt206x.js → project-gftt206x.js} +0 -0
  761. /package/dist/chunks/{location-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{location-hk9envan.js → project-hk9envan.js} +0 -0
  763. /package/dist/chunks/{location-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{location-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{location-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{location-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{location-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{location-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{location-mp448xyj.js → project-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{location-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{location-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{location-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{location-njntx4h6.js → project-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{location-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{location-q74kybfr.js → project-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{location-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{location-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{location-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{location-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{location-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{location-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{location-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{location-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{location-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{location-w803qqfp.js → project-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{location-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{location-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{location-wtztk69x.js → project-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{location-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{location-x61499pn.js → project-x61499pn.js} +0 -0
  791. /package/dist/chunks/{location-y44na4kk.js → project-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{location-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{location-y8f7s663.js → project-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{location-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{location-ym463w8f.js → project-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{location-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-2a5m3afh.js";
5
+ } from "./project-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./location-9rqn6x4v.js";
8
+ } from "./project-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,147 +1,147 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./location-jzg6c2d5.js";
3
+ } from "./project-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./location-q3sfg36h.js";
6
+ } from "./project-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./location-1cnp2v09.js";
9
+ } from "./project-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./location-rcb2kzg1.js";
12
+ } from "./project-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./location-msx8hqn2.js";
15
+ } from "./project-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./location-bkyjaxrp.js";
18
+ } from "./project-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./location-g86h250q.js";
21
+ } from "./project-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./location-jr7sbwjy.js";
24
+ } from "./project-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./location-7m9af43g.js";
27
+ } from "./project-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./location-j2ntwpah.js";
30
+ } from "./project-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./location-njntx4h6.js";
33
+ } from "./project-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./location-qrg20bc0.js";
36
+ } from "./project-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./location-z9919s4g.js";
39
+ } from "./project-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./location-43n2bw4t.js";
42
+ } from "./project-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./location-n3j8tn72.js";
45
+ } from "./project-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./location-d9jj8t3e.js";
48
+ } from "./project-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./location-fd410y7t.js";
51
+ } from "./project-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./location-e5kj55wp.js";
54
+ } from "./project-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./location-f6n9ztr4.js";
57
+ } from "./project-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./location-q74kybfr.js";
60
+ } from "./project-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./location-53557ph1.js";
63
+ } from "./project-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./location-7akdwqpd.js";
66
+ } from "./project-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./location-wer8tq1h.js";
69
+ } from "./project-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./location-wtztk69x.js";
72
+ } from "./project-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./location-ssg3fenm.js";
75
+ } from "./project-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./location-2c3vjs8z.js";
78
+ } from "./project-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./location-17cy0kzp.js";
81
+ } from "./project-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./location-hk9envan.js";
84
+ } from "./project-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./location-w803qqfp.js";
87
+ } from "./project-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./location-jwfs4k6c.js";
90
+ } from "./project-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./location-mp448xyj.js";
93
+ } from "./project-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./location-aqzs7mqg.js";
96
+ } from "./project-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./location-ygaqb7jw.js";
99
+ } from "./project-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./location-8n3pysct.js";
102
+ } from "./project-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./location-d9fn303g.js";
105
+ } from "./project-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./location-cvy3z8tj.js";
108
+ } from "./project-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./location-9a4afbnw.js";
111
+ } from "./project-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./location-n05xt0ee.js";
114
+ } from "./project-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./location-sdp7kfr6.js";
117
+ } from "./project-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./location-a6k6eb26.js";
120
+ } from "./project-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./location-4knz6hnm.js";
123
+ } from "./project-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./location-df08tz66.js";
126
+ } from "./project-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./location-bmr6ed5q.js";
129
+ } from "./project-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./location-atq7p7m5.js";
132
+ } from "./project-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./location-qb87gjwd.js";
135
+ } from "./project-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./location-359p4xyc.js";
138
+ } from "./project-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./location-y8f7s663.js";
141
+ } from "./project-y8f7s663.js";
142
142
  import {
143
143
  _20260923013825_project_time_active_default
144
- } from "./location-8wj87zfr.js";
144
+ } from "./project-8wj87zfr.js";
145
145
 
146
146
  // src/database/migration.gen.ts
147
147
  var migrations2 = [
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured7,
11
- layer: () => layer21,
12
- make: () => make19,
13
- node: () => node58,
10
+ configured: () => configured10,
11
+ layer: () => layer24,
12
+ make: () => make21,
13
+ node: () => node75,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make19()
19
+ defaultValue: () => make21()
20
20
  });
21
- function make19(input = {}) {
21
+ function make21(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make19(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer21 = (input) => Layer.succeed(Metadata2, make19(input));
32
- var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
- var node58 = configured7();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
32
+ var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node75 = configured10();
34
34
 
35
- export { Metadata2, make19, useragent2, layer21, configured7, node58, exports_app };
35
+ export { Metadata2, make21, useragent2, layer24, configured10, node75, exports_app };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-922hggd3.js";
4
+ } from "./project-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-y71avatq.js";
7
+ } from "./project-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./location-tazgh4e4.js";
12
+ } from "./project-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./location-ef5x83kb.js";
15
+ } from "./project-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-n4v0rfv1.js";
4
+ } from "./project-9m8b7yry.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./location-gmjq4p6e.js";
8
+ } from "./project-afed7ext.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./location-z4eayw4n.js";
12
+ } from "./project-4pm2v2am.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./location-f81tjggh.js";
15
+ } from "./project-1x11rq2a.js";
16
16
  import {
17
- Service60,
18
- node63
19
- } from "./location-8ssk0f6f.js";
17
+ Service61,
18
+ node64
19
+ } from "./project-8qb2kdky.js";
20
20
  import {
21
- node23
22
- } from "./location-x9ssgtdb.js";
21
+ node18
22
+ } from "./project-hdchbct3.js";
23
23
  import {
24
- Service8,
25
- node10
26
- } from "./location-d4he2qe1.js";
24
+ Service9,
25
+ node11
26
+ } from "./project-qmqgtz8f.js";
27
27
  import {
28
28
  __export
29
- } from "./location-9rqn6x4v.js";
29
+ } from "./project-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
@@ -44,11 +44,11 @@ class Service3 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
45
  var layer = Layer.effect(Service3, Effect.gen(function* () {
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service60;
47
+ const watcher = yield* Service61;
48
48
  const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
- const policy = yield* Service8;
51
+ const policy = yield* Service9;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
105
105
  var node4 = makeLocationNode({
106
106
  service: Service3,
107
107
  layer,
108
- deps: [node63, FSUtil.node, node84, node86, node87, node23, node10]
108
+ deps: [node64, FSUtil.node, node84, node86, node87, node18, node11]
109
109
  });
110
110
 
111
111
  export { Service3, node4, exports_location_watcher };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-922hggd3.js";
4
+ } from "./project-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./location-gmjq4p6e.js";
10
+ } from "./project-afed7ext.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./location-z4eayw4n.js";
14
+ } from "./project-4pm2v2am.js";
15
15
  import {
16
16
  create3
17
- } from "./location-rdw6cm16.js";
17
+ } from "./project-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-9rqn6x4v.js";
20
+ } from "./project-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID5,
27
- Service: () => Service42,
25
+ Error: () => Error4,
26
+ ID: () => ID9,
27
+ Service: () => Service59,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node45,
30
- noopLayer: () => noopLayer2
29
+ node: () => node62,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service42 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service59 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service42, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID9.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node45 = makeLocationNode({
144
- service: Service42,
143
+ var node62 = makeLocationNode({
144
+ service: Service59,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service42, Service42.of({
148
+ var noopLayer3 = Layer.succeed(Service59, Service59.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error2 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error2({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error2, Service42, node45, noopLayer2, exports_snapshot2 };
166
+ export { ID9, Error4, Service59, node62, noopLayer3, exports_snapshot2 };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service73
3
- } from "./location-nwqf1d5h.js";
2
+ Service53
3
+ } from "./project-mswv9656.js";
4
4
  import {
5
- Service16,
5
+ Service36,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./location-0m5nw8df.js";
8
+ } from "./project-ss45vysf.js";
9
9
  import {
10
- Service17
11
- } from "./location-4stzy43z.js";
10
+ Service39
11
+ } from "./project-e04k8gjt.js";
12
12
  import {
13
- Service75
14
- } from "./location-w6mz219s.js";
13
+ Service49
14
+ } from "./project-5jd9ntrq.js";
15
15
  import {
16
- Service19
17
- } from "./location-wsvmp3ny.js";
16
+ Service40
17
+ } from "./project-namtrpjt.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./location-6prwharc.js";
20
+ } from "./project-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./location-9rqn6x4v.js";
23
+ } from "./project-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input3,
29
- Output: () => Output3,
30
- Plugin: () => Plugin21,
28
+ Input: () => Input12,
29
+ Output: () => Output8,
30
+ Plugin: () => Plugin32,
31
31
  WriteTool: () => exports_write,
32
- name: () => name3,
33
- toModelContent: () => toModelContent3
32
+ name: () => name12,
33
+ toModelContent: () => toModelContent6
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name3 = "write";
39
- var Input3 = Schema.Struct({
38
+ var name12 = "write";
39
+ var Input12 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output3 = Schema.Struct({
45
+ var Output8 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin21 = {
51
+ var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin32 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service19;
56
- const fileMutation = yield* Service16;
57
- const environment = yield* Service73;
58
- const formatter = yield* Service17;
59
- const permission = yield* Service75;
55
+ const access = yield* Service40;
56
+ const fileMutation = yield* Service36;
57
+ const environment = yield* Service53;
58
+ const formatter = yield* Service39;
59
+ const permission = yield* Service49;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name3,
61
+ name: name12,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input3,
69
- output: Output3,
68
+ input: Input12,
69
+ output: Output8,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name3, Input3, Output3, toModelContent3, Plugin21, exports_write };
101
+ export { name12, Input12, Output8, toModelContent6, Plugin32, exports_write };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./location-zr2ceqn5.js";
3
+ } from "./project-zr2ceqn5.js";
4
4
  import {
5
- Service60
6
- } from "./location-8ssk0f6f.js";
5
+ Service61
6
+ } from "./project-8qb2kdky.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make10
16
+ make: () => make7
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make10 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service60;
25
+ var make7 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service61;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make10, LoadError2, exports_module };
105
+ export { make7, LoadError2, exports_module };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-2a5m3afh.js";
5
+ } from "./project-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./location-9rqn6x4v.js";
8
+ } from "./project-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};