@opencode/core 0.0.0-dev-20728 → 0.0.0-dev-20732

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{schema-a1jye2k7.js → location-018g50k6.js} +6 -6
  8. package/dist/chunks/{schema-g2y161wv.js → location-05xfxpq7.js} +5 -5
  9. package/dist/chunks/{schema-m87mmgzw.js → location-0hmrebdx.js} +36 -36
  10. package/dist/chunks/{schema-0j77ygfz.js → location-0j77ygfz.js} +2 -2
  11. package/dist/chunks/{schema-dh0webm5.js → location-0meaf1wg.js} +7 -7
  12. package/dist/chunks/{schema-erjffywh.js → location-0mprnhvr.js} +18 -18
  13. package/dist/chunks/{schema-02g264nc.js → location-0n2ztf6h.js} +12 -12
  14. package/dist/chunks/{schema-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{schema-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{schema-rp4sdv0x.js → location-11ddt8jx.js} +3 -3
  17. package/dist/chunks/{schema-4zmcj57q.js → location-124d3sga.js} +13 -13
  18. package/dist/chunks/{schema-h74kgs22.js → location-12arssw0.js} +28 -28
  19. package/dist/chunks/{schema-yp2x3t23.js → location-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{schema-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{schema-84h8c373.js → location-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{schema-840fpbhq.js → location-1h05fpfc.js} +1 -1
  23. package/dist/chunks/{schema-hk2k4rxs.js → location-1kn9js94.js} +1 -1
  24. package/dist/chunks/{schema-y415rrbf.js → location-1v83qqqa.js} +35 -35
  25. package/dist/chunks/{schema-1ygqh575.js → location-1ygqh575.js} +2 -2
  26. package/dist/chunks/{schema-yd8mzne0.js → location-1z74wxwj.js} +24 -24
  27. package/dist/chunks/{schema-vykevjvn.js → location-207ajt2h.js} +5 -5
  28. package/dist/chunks/{schema-pdeqb1sv.js → location-26tgw3q9.js} +14 -14
  29. package/dist/chunks/{schema-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{schema-2ccvkpx1.js → location-2ccvkpx1.js} +2 -2
  31. package/dist/chunks/{schema-z7rpvhac.js → location-2d90wz9s.js} +9 -9
  32. package/dist/chunks/{schema-ykt494b9.js → location-2m8jawch.js} +4 -4
  33. package/dist/chunks/{schema-kt27ghqn.js → location-31c09hs0.js} +5 -5
  34. package/dist/chunks/{schema-daptfcmc.js → location-327nxpht.js} +19 -19
  35. package/dist/chunks/{schema-w9cms8xc.js → location-339acx8g.js} +5 -5
  36. package/dist/chunks/{schema-rjjkcyvm.js → location-34f7k92p.js} +42 -42
  37. package/dist/chunks/{schema-2s47eas1.js → location-36663d4h.js} +26 -26
  38. package/dist/chunks/{schema-2hmemtj6.js → location-3df827ch.js} +3 -3
  39. package/dist/chunks/{schema-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{schema-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{schema-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{schema-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{schema-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{schema-tdhpy44v.js → location-43355rh8.js} +20 -20
  45. package/dist/chunks/{schema-rrpq0de9.js → location-4bk00v8h.js} +12 -12
  46. package/dist/chunks/{schema-5byh5fbq.js → location-4f3k4dbg.js} +15 -15
  47. package/dist/chunks/{schema-crh2qmpd.js → location-4nqe1xb5.js} +11 -11
  48. package/dist/chunks/{schema-ymaah0de.js → location-4z2gahf8.js} +23 -23
  49. package/dist/chunks/{schema-4z58m4b4.js → location-4z58m4b4.js} +1 -1
  50. package/dist/chunks/{schema-r94pvvab.js → location-54ma36ye.js} +4 -4
  51. package/dist/chunks/{schema-xea99qfv.js → location-5dbyheb1.js} +47 -47
  52. package/dist/chunks/{schema-82kvrph2.js → location-5e7vn2h5.js} +16 -16
  53. package/dist/chunks/{schema-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{schema-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{schema-tjtvkmkx.js → location-5z77wtmw.js} +3 -3
  56. package/dist/chunks/{schema-snvwhan6.js → location-6355zzhx.js} +5 -5
  57. package/dist/chunks/{schema-k60d36ch.js → location-69yjwdf1.js} +20 -20
  58. package/dist/chunks/{schema-rewxngkf.js → location-6ga60bwb.js} +32 -32
  59. package/dist/chunks/{schema-47rn6gb0.js → location-6jz79czp.js} +3 -3
  60. package/dist/chunks/{schema-zs20n4td.js → location-6r5wz7qt.js} +18 -18
  61. package/dist/chunks/{schema-vsp1fds9.js → location-6sr3ve8g.js} +4 -4
  62. package/dist/chunks/{schema-6xb47vfp.js → location-6xb47vfp.js} +1 -1
  63. package/dist/chunks/{schema-xr03j6kv.js → location-6zbg9ej9.js} +49 -49
  64. package/dist/chunks/{schema-f75zav2x.js → location-71az546q.js} +2 -2
  65. package/dist/chunks/{schema-zs6nm7rs.js → location-72zy0jqs.js} +9 -9
  66. package/dist/chunks/{schema-2663q2cr.js → location-73r4cdwa.js} +17 -17
  67. package/dist/chunks/{schema-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{schema-6gkjayg0.js → location-7c2a2ky2.js} +7 -7
  69. package/dist/chunks/{schema-mhrxr73y.js → location-7dcrx3ae.js} +15 -15
  70. package/dist/chunks/{schema-jtr36q24.js → location-7veege35.js} +12 -12
  71. package/dist/chunks/{schema-3v4eqn68.js → location-84hvk1m2.js} +16 -16
  72. package/dist/chunks/{schema-kxhhe7ks.js → location-862dge66.js} +11 -11
  73. package/dist/chunks/{schema-rj8ch5sw.js → location-8bwmh9pn.js} +10 -10
  74. package/dist/chunks/{schema-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{schema-ywmq76e1.js → location-8dtbrnbt.js} +23 -23
  76. package/dist/chunks/{schema-8m6m0r52.js → location-8m6m0r52.js} +1 -1
  77. package/dist/chunks/{schema-jn24yy65.js → location-8pxx9679.js} +93 -93
  78. package/dist/chunks/{schema-j9hprypc.js → location-95f4yj9r.js} +11 -11
  79. package/dist/chunks/{schema-1v4g0mnm.js → location-98875m2v.js} +20 -20
  80. package/dist/chunks/{schema-5vnqvhdy.js → location-99wenzhp.js} +18 -18
  81. package/dist/chunks/{schema-kb9j3d72.js → location-9e5bzkjp.js} +3 -3
  82. package/dist/chunks/{schema-g5x9spb3.js → location-9e7ntz7n.js} +13 -13
  83. package/dist/chunks/{schema-8xpvx0xf.js → location-9ktdg2kj.js} +18 -18
  84. package/dist/chunks/{schema-yv6pefj2.js → location-9mr8vnz8.js} +14 -14
  85. package/dist/chunks/{schema-qcy2fs5h.js → location-9n10r3b6.js} +22 -22
  86. package/dist/chunks/{schema-7yymr8c1.js → location-9p6p0atc.js} +18 -18
  87. package/dist/chunks/{schema-gva94evv.js → location-9prv77hx.js} +9 -9
  88. package/dist/chunks/location-9sh4wc5j.js +18 -0
  89. package/dist/chunks/{schema-4qh5k59y.js → location-9zzqkcja.js} +11 -11
  90. package/dist/chunks/{schema-a2ew8a62.js → location-a2ew8a62.js} +1 -1
  91. package/dist/chunks/{schema-a3c7ahw6.js → location-a3c7ahw6.js} +1 -1
  92. package/dist/chunks/{schema-tjpmwyed.js → location-a6w7x0dp.js} +3 -3
  93. package/dist/chunks/{schema-k5mqd01k.js → location-a9jnh2ry.js} +10 -10
  94. package/dist/chunks/{schema-aaet6srn.js → location-aaet6srn.js} +2 -2
  95. package/dist/chunks/{schema-4922bdcs.js → location-aagvde34.js} +32 -32
  96. package/dist/chunks/{schema-addxnjmp.js → location-addxnjmp.js} +1 -1
  97. package/dist/chunks/{schema-z208n99h.js → location-adz22r75.js} +13 -13
  98. package/dist/chunks/{schema-scgrse2b.js → location-b3f8fkhc.js} +5 -5
  99. package/dist/chunks/{schema-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{schema-rwv28x5t.js → location-bapvy5v2.js} +3 -3
  101. package/dist/chunks/{schema-wgqbq6kr.js → location-bsjw1qxa.js} +4 -4
  102. package/dist/chunks/{schema-kr1ymz84.js → location-bty85w2p.js} +24 -24
  103. package/dist/chunks/{schema-j1fsx5qw.js → location-c2x78mxc.js} +35 -35
  104. package/dist/chunks/{schema-vr3aek46.js → location-ca0nj0by.js} +22 -22
  105. package/dist/chunks/{schema-rczq51rp.js → location-cdqe3acw.js} +6 -6
  106. package/dist/chunks/{schema-7dcnqvbr.js → location-cf6066tf.js} +31 -22
  107. package/dist/chunks/{schema-w92k2e0p.js → location-cfsekr6v.js} +8 -8
  108. package/dist/chunks/{schema-4xr8m0aa.js → location-d4rbh6ak.js} +9 -9
  109. package/dist/chunks/{schema-n5jf03an.js → location-d8s2zm1x.js} +7 -7
  110. package/dist/chunks/{schema-bskqsgt5.js → location-daz4xq7q.js} +11 -11
  111. package/dist/chunks/{schema-jta96yax.js → location-dchhcxvn.js} +9 -9
  112. package/dist/chunks/{schema-zf5859yh.js → location-dfd5mgtk.js} +31 -31
  113. package/dist/chunks/{schema-pxcy2v4k.js → location-djq871tb.js} +4 -4
  114. package/dist/chunks/{schema-erbnzk8y.js → location-dn50s6hc.js} +41 -41
  115. package/dist/chunks/{schema-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  116. package/dist/chunks/{schema-e9w2ffer.js → location-dzy5aakp.js} +12 -12
  117. package/dist/chunks/{schema-v2m3q5y9.js → location-e1raa5mm.js} +7 -7
  118. package/dist/chunks/{schema-jgjgcm7r.js → location-e2mk3tg3.js} +4 -4
  119. package/dist/chunks/{schema-sr36t4tg.js → location-e5mvmyh8.js} +10 -10
  120. package/dist/chunks/{schema-g46t4tqm.js → location-e9de3xxg.js} +6 -6
  121. package/dist/chunks/{schema-3chxap05.js → location-eaz2j5p8.js} +6 -6
  122. package/dist/chunks/{schema-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{schema-a1gpj94z.js → location-eq1pz5kg.js} +3 -3
  124. package/dist/chunks/{schema-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{schema-skeejxkf.js → location-f20kv32e.js} +9 -9
  126. package/dist/chunks/{schema-y70rs0tm.js → location-f23k8efd.js} +33 -33
  127. package/dist/chunks/{schema-ka78afm3.js → location-f2mfbnxq.js} +7 -7
  128. package/dist/chunks/{schema-9795rgjt.js → location-f3b2zyky.js} +4 -4
  129. package/dist/chunks/{schema-0dqvt60g.js → location-fa5a6z34.js} +2 -2
  130. package/dist/chunks/{schema-fcrkznn8.js → location-fcrkznn8.js} +1 -1
  131. package/dist/chunks/{schema-3k6hnjpv.js → location-ff1nx8de.js} +304 -304
  132. package/dist/chunks/{schema-0y5bnsvv.js → location-fjzgnj6k.js} +13 -13
  133. package/dist/chunks/{schema-qj7nrkn4.js → location-fzncz4bm.js} +20 -20
  134. package/dist/chunks/{schema-5yzzbxa7.js → location-g0445xdp.js} +8 -8
  135. package/dist/chunks/{schema-bghdypt9.js → location-g0kw0tj5.js} +14 -14
  136. package/dist/chunks/{schema-ytk7n60r.js → location-g32vcz6j.js} +36 -36
  137. package/dist/chunks/{schema-57b9ws8p.js → location-g5w8qwbj.js} +7 -7
  138. package/dist/chunks/{schema-gd0tnyjc.js → location-gd0tnyjc.js} +1 -1
  139. package/dist/chunks/{schema-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{schema-7vyzxw8y.js → location-gdaft186.js} +9 -9
  141. package/dist/chunks/{schema-nh510fz3.js → location-gdxj8ks4.js} +24 -24
  142. package/dist/chunks/{schema-fjb6gf5c.js → location-gmpz9h40.js} +27 -27
  143. package/dist/chunks/{schema-bahvtqv2.js → location-gnvmv7zt.js} +18 -18
  144. package/dist/chunks/{schema-eqv7r0bw.js → location-gqft2nrr.js} +6 -6
  145. package/dist/chunks/{schema-npa44ypb.js → location-grhdqs63.js} +15 -15
  146. package/dist/chunks/{schema-gaphvq12.js → location-gt93hrec.js} +11 -11
  147. package/dist/chunks/{schema-3cegwx68.js → location-h2b79v29.js} +2 -2
  148. package/dist/chunks/{schema-6yk1gpns.js → location-h4kgzxf5.js} +2 -2
  149. package/dist/chunks/{schema-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{schema-n7p1k2qf.js → location-h9wy77ww.js} +3 -3
  151. package/dist/chunks/{schema-ft5semx5.js → location-hapgv9v5.js} +26 -26
  152. package/dist/chunks/{schema-1wn14s7w.js → location-hkwpvpak.js} +19 -19
  153. package/dist/chunks/{schema-28qgffdg.js → location-hq78km43.js} +21 -21
  154. package/dist/chunks/{schema-6zaqt7dr.js → location-hvtsb2k8.js} +9 -9
  155. package/dist/chunks/{schema-y10cx7wx.js → location-j151k726.js} +33 -33
  156. package/dist/chunks/{schema-zn1w914b.js → location-j2kw60gk.js} +13 -13
  157. package/dist/chunks/{schema-j56e64zr.js → location-j56e64zr.js} +1 -1
  158. package/dist/chunks/{schema-yp66jxhs.js → location-jdg8p4tj.js} +9 -9
  159. package/dist/chunks/{schema-9yrh9n06.js → location-jdrd3c06.js} +1 -1
  160. package/dist/chunks/{schema-ca5q3sa4.js → location-jkzf7ay7.js} +6 -6
  161. package/dist/chunks/{schema-9ja4ygxc.js → location-jt92w6zc.js} +23 -23
  162. package/dist/chunks/{schema-9adgdhyd.js → location-k212rrg8.js} +4 -4
  163. package/dist/chunks/{schema-hn57h045.js → location-k76fn4kw.js} +4 -4
  164. package/dist/chunks/{schema-p8s02wn2.js → location-k9anv2x6.js} +14 -14
  165. package/dist/chunks/{schema-8zv3wp18.js → location-karyz3y9.js} +10 -10
  166. package/dist/chunks/{schema-m3t9151j.js → location-kbe6f2sn.js} +25 -25
  167. package/dist/chunks/{schema-4erjtqpw.js → location-kg64916e.js} +3 -3
  168. package/dist/chunks/{schema-xgwtbm8x.js → location-kmg3b8a8.js} +83 -83
  169. package/dist/chunks/{schema-0ps91a7a.js → location-ksatnkbz.js} +23 -23
  170. package/dist/chunks/{schema-wdfmv1rt.js → location-m242qanr.js} +40 -40
  171. package/dist/chunks/{schema-hdnjgwej.js → location-m30qs711.js} +29 -29
  172. package/dist/chunks/{schema-2b5wyz52.js → location-m3c0a78p.js} +9 -9
  173. package/dist/chunks/{schema-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{schema-jsczegrp.js → location-m70vqwee.js} +16 -16
  175. package/dist/chunks/{schema-8byxt7bq.js → location-m793x516.js} +141 -141
  176. package/dist/chunks/{schema-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{schema-kvjzkr2v.js → location-mawpmn43.js} +8 -8
  178. package/dist/chunks/{schema-efxe2svv.js → location-mek16e5d.js} +11 -11
  179. package/dist/chunks/{schema-fg6c7q2e.js → location-mqvx1r3j.js} +8 -8
  180. package/dist/chunks/{schema-dh3p6hwj.js → location-mvw81cf0.js} +24 -24
  181. package/dist/chunks/{schema-0kjv6zqm.js → location-n1exqw8h.js} +1 -1
  182. package/dist/chunks/{schema-mz7wxez8.js → location-n38m8ysg.js} +35 -35
  183. package/dist/chunks/{schema-n8sna2wb.js → location-n8sna2wb.js} +2 -2
  184. package/dist/chunks/{schema-69ct9x9k.js → location-n8wxvzz9.js} +8 -8
  185. package/dist/chunks/{schema-2zds0nxm.js → location-nb0mgk1p.js} +24 -24
  186. package/dist/chunks/{schema-abtvfq1n.js → location-nc6y641n.js} +19 -19
  187. package/dist/chunks/{schema-pm2wwawt.js → location-nfcraa34.js} +23 -23
  188. package/dist/chunks/{schema-qr2c2ezf.js → location-nj66ja0z.js} +56 -56
  189. package/dist/chunks/{schema-s0y0yn56.js → location-nwav4b6k.js} +8 -8
  190. package/dist/chunks/{schema-kt83d922.js → location-p7vebjqd.js} +14 -14
  191. package/dist/chunks/{schema-kb6gw2zp.js → location-pcxghkgz.js} +4 -4
  192. package/dist/chunks/{schema-5gh2y96e.js → location-pdz1qa80.js} +8 -8
  193. package/dist/chunks/{schema-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{schema-pknna89w.js → location-pknna89w.js} +1 -1
  195. package/dist/chunks/{schema-fhz5gfgy.js → location-pp7e5es3.js} +5 -5
  196. package/dist/chunks/{schema-hd4remjx.js → location-pqst28f9.js} +23 -23
  197. package/dist/chunks/{schema-t0ghfsqf.js → location-pqza79a5.js} +33 -33
  198. package/dist/chunks/{schema-sxmar18p.js → location-pv7j4d88.js} +22 -22
  199. package/dist/chunks/{schema-t58jyhmh.js → location-pz79f5fk.js} +9 -9
  200. package/dist/chunks/{schema-ma3d88bb.js → location-q3ra36g2.js} +32 -32
  201. package/dist/chunks/{schema-cb8p393h.js → location-q552wz1s.js} +14 -14
  202. package/dist/chunks/{schema-4n4r02ph.js → location-qkseqq5s.js} +27 -27
  203. package/dist/chunks/{schema-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{schema-qsdy395h.js → location-qsdy395h.js} +1 -1
  205. package/dist/chunks/{schema-qxjc9qry.js → location-qxjc9qry.js} +3 -3
  206. package/dist/chunks/{schema-9c0xcsgg.js → location-r0dh3q8k.js} +20 -20
  207. package/dist/chunks/{schema-cwa6csj7.js → location-r2m716tb.js} +9 -9
  208. package/dist/chunks/{schema-8jzt4s7q.js → location-r3hk3vvb.js} +41 -41
  209. package/dist/chunks/{schema-r9w3djhf.js → location-r9w3djhf.js} +2 -2
  210. package/dist/chunks/{schema-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{schema-x16rpnsn.js → location-rhchahe3.js} +8 -8
  212. package/dist/chunks/{schema-k1gkpfdk.js → location-rvf0m9x6.js} +8 -8
  213. package/dist/chunks/{schema-r71qq8yj.js → location-rwkyravt.js} +16 -16
  214. package/dist/chunks/{schema-5xtbbr0r.js → location-s13q9xsn.js} +22 -22
  215. package/dist/chunks/{schema-989f601q.js → location-s7hewkcj.js} +18 -18
  216. package/dist/chunks/{schema-eayw6x4j.js → location-s8mh1nra.js} +3 -3
  217. package/dist/chunks/{schema-b703kh14.js → location-sdgwcra8.js} +4 -4
  218. package/dist/chunks/{schema-eday4pdr.js → location-sgszqgg5.js} +32 -32
  219. package/dist/chunks/{schema-kwa05qgn.js → location-smss3raw.js} +16 -16
  220. package/dist/chunks/{schema-wy3px6vj.js → location-sqfjvg79.js} +24 -24
  221. package/dist/chunks/{schema-9t7a50xb.js → location-t550f9t1.js} +4 -4
  222. package/dist/chunks/{schema-78tqvked.js → location-taen15gp.js} +22 -22
  223. package/dist/chunks/{schema-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{schema-bn3rhc52.js → location-tbe4vfsv.js} +8 -8
  225. package/dist/chunks/{schema-6gvr7rcm.js → location-tbmv8js2.js} +73 -73
  226. package/dist/chunks/{schema-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{schema-tdstcens.js → location-tdstcens.js} +1 -1
  228. package/dist/chunks/{schema-ajbv8hsx.js → location-tgrcp62g.js} +17 -17
  229. package/dist/chunks/{schema-vbfgae2j.js → location-tjedn1bk.js} +4 -4
  230. package/dist/chunks/{schema-sfwz2x9n.js → location-tmtg3qgf.js} +46 -46
  231. package/dist/chunks/{schema-v0es1rhs.js → location-v0es1rhs.js} +2 -2
  232. package/dist/chunks/{schema-vqbxe4wk.js → location-v7qwwke9.js} +16 -16
  233. package/dist/chunks/{schema-ppv2hyee.js → location-v812q89j.js} +12 -12
  234. package/dist/chunks/{schema-45y05w21.js → location-v882ey3h.js} +2 -2
  235. package/dist/chunks/{schema-b7j864yj.js → location-vcjw93zb.js} +29 -29
  236. package/dist/chunks/{schema-7bda4q4e.js → location-vdygypy1.js} +6 -6
  237. package/dist/chunks/{schema-aw65rq9m.js → location-vepwfmka.js} +2 -2
  238. package/dist/chunks/{schema-veqvce7d.js → location-veqvce7d.js} +1 -1
  239. package/dist/chunks/{schema-yh1w7tjp.js → location-vn0evt42.js} +9 -9
  240. package/dist/chunks/{schema-21wwxtv3.js → location-vrts8c30.js} +13 -13
  241. package/dist/chunks/{schema-bv9672m4.js → location-vz992avt.js} +13 -13
  242. package/dist/chunks/{schema-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{schema-84txncab.js → location-w1eejvng.js} +5 -5
  244. package/dist/chunks/{schema-6yz0wx8n.js → location-w2h15q85.js} +5 -5
  245. package/dist/chunks/{schema-cznmaky0.js → location-w2khkhy7.js} +30 -30
  246. package/dist/chunks/{schema-460nts6z.js → location-w3766evm.js} +19 -19
  247. package/dist/chunks/{schema-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{schema-0t9wd588.js → location-w3x9v1nk.js} +8 -8
  249. package/dist/chunks/{schema-qne3fa44.js → location-wbgabvvj.js} +5 -5
  250. package/dist/chunks/{schema-f06qsttd.js → location-wcp7fp92.js} +47 -47
  251. package/dist/chunks/{schema-thswf6hg.js → location-wd6s3dg2.js} +34 -34
  252. package/dist/chunks/{schema-wd87259q.js → location-wd87259q.js} +1 -1
  253. package/dist/chunks/{schema-0ce7fh3z.js → location-wp27whg1.js} +10 -10
  254. package/dist/chunks/{schema-80gr5d03.js → location-wtn9vyqv.js} +11 -11
  255. package/dist/chunks/{schema-7vayj4m5.js → location-x9grm7g9.js} +8 -8
  256. package/dist/chunks/{schema-04ct73zt.js → location-xbp45kg1.js} +15 -15
  257. package/dist/chunks/{schema-vqfzq50h.js → location-xcd0eash.js} +6 -6
  258. package/dist/chunks/{schema-4vpz4hmt.js → location-xd2nvtk7.js} +15 -15
  259. package/dist/chunks/{schema-t5r5qq5q.js → location-xfe76f1r.js} +24 -24
  260. package/dist/chunks/{schema-pneb2gse.js → location-xg1vnfsw.js} +3 -3
  261. package/dist/chunks/{schema-5epte933.js → location-xkhfjrgz.js} +3 -3
  262. package/dist/chunks/{schema-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  263. package/dist/chunks/{schema-xmgjmham.js → location-xmgjmham.js} +3 -3
  264. package/dist/chunks/{schema-nvmy2keh.js → location-xrbnp9j2.js} +4 -4
  265. package/dist/chunks/{schema-2hm1ng2y.js → location-xwd6n8tx.js} +149 -149
  266. package/dist/chunks/{schema-ew7x097j.js → location-y0tgs2ts.js} +33 -33
  267. package/dist/chunks/{schema-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{schema-0enxvnkq.js → location-y9t8hm03.js} +13 -13
  269. package/dist/chunks/{schema-93qeztph.js → location-ydq3cy3j.js} +14 -14
  270. package/dist/chunks/{schema-hvfbn6et.js → location-yjnzakaj.js} +4 -4
  271. package/dist/chunks/{schema-n4pjvd7j.js → location-ypw6bvy6.js} +9 -9
  272. package/dist/chunks/{schema-xm8y3y9s.js → location-yqjnaa28.js} +19 -19
  273. package/dist/chunks/{schema-hgtd7sxh.js → location-yvb4exc7.js} +13 -13
  274. package/dist/chunks/{schema-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{schema-b4sr5cxy.js → location-z0m1wg4b.js} +4 -4
  276. package/dist/chunks/{schema-174q612y.js → location-z8w2whtk.js} +1 -1
  277. package/dist/chunks/{schema-qp9vg2jq.js → location-zd7wpxs7.js} +2 -2
  278. package/dist/chunks/{schema-xzgm84yq.js → location-zhkbw3m9.js} +5 -5
  279. package/dist/chunks/{schema-f9bf6ave.js → location-zn575rda.js} +11 -11
  280. package/dist/chunks/{schema-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{schema-vfynekpt.js → location-zv7jazps.js} +26 -26
  282. package/dist/chunks/{schema-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{schema-24xn4nrh.js → location-zxraynqz.js} +32 -32
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +80 -80
  289. package/dist/config/discovery.js +83 -83
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +100 -100
  292. package/dist/config/plugin/agent.js +117 -117
  293. package/dist/config/plugin/command.js +206 -206
  294. package/dist/config/plugin/compaction.js +155 -155
  295. package/dist/config/plugin/compatibility.js +135 -135
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +117 -117
  299. package/dist/config/plugin/instruction.js +91 -91
  300. package/dist/config/plugin/location-watcher.js +119 -119
  301. package/dist/config/plugin/mcp.js +124 -124
  302. package/dist/config/plugin/policy.js +118 -118
  303. package/dist/config/plugin/provider.js +117 -117
  304. package/dist/config/plugin/reference.js +119 -119
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +103 -103
  307. package/dist/config/plugin/skill.js +134 -134
  308. package/dist/config/plugin/snapshot.js +117 -117
  309. package/dist/config/plugin/source.js +118 -118
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +116 -116
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +112 -112
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +80 -80
  318. package/dist/database/database.js +67 -67
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration.gen.js +50 -50
  385. package/dist/database/migration.js +52 -52
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +94 -94
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +75 -75
  409. package/dist/file-access.js +105 -105
  410. package/dist/file-mutation.js +95 -95
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +221 -221
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +104 -104
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +3 -3
  422. package/dist/filesystem.js +107 -107
  423. package/dist/form.js +81 -81
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +104 -104
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +100 -100
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +4 -4
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +88 -88
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +82 -82
  456. package/dist/job.js +79 -79
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +74 -74
  459. package/dist/location-activity.js +135 -135
  460. package/dist/location-lifecycle.js +108 -108
  461. package/dist/location-service-map.js +87 -87
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +86 -86
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +92 -92
  466. package/dist/mcp/index.js +110 -110
  467. package/dist/mcp/instructions.js +130 -130
  468. package/dist/mcp/oauth.js +76 -76
  469. package/dist/mcp/stdio.js +91 -91
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +100 -100
  472. package/dist/model-resolver.js +99 -99
  473. package/dist/model.js +93 -93
  474. package/dist/models-dev.js +108 -108
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +83 -83
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +76 -76
  484. package/dist/plugin/agent.js +75 -75
  485. package/dist/plugin/command.js +101 -101
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +212 -212
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  492. package/dist/plugin/models-dev.js +97 -97
  493. package/dist/plugin/module.js +116 -116
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +103 -103
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  498. package/dist/plugin/provider/azure.js +116 -116
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +95 -95
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +113 -113
  505. package/dist/plugin/provider/digitalocean.js +94 -94
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +96 -96
  509. package/dist/plugin/provider/gitlab.js +94 -94
  510. package/dist/plugin/provider/google-vertex.js +91 -91
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +79 -79
  513. package/dist/plugin/provider/lmstudio.js +117 -117
  514. package/dist/plugin/provider/local.js +114 -114
  515. package/dist/plugin/provider/modal.js +93 -93
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +117 -117
  518. package/dist/plugin/provider/openai.js +96 -96
  519. package/dist/plugin/provider/opencode.js +98 -98
  520. package/dist/plugin/provider/openrouter.js +92 -92
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +80 -80
  523. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  524. package/dist/plugin/provider/sap-ai-core.js +92 -92
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  527. package/dist/plugin/provider/vercel.js +91 -91
  528. package/dist/plugin/provider/vllm.js +117 -117
  529. package/dist/plugin/provider/xai.js +92 -92
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +71 -71
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +133 -133
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +344 -344
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +2 -2
  539. package/dist/plugin/vcs/git.js +87 -87
  540. package/dist/plugin/vcs/hg.js +87 -87
  541. package/dist/plugin/verbosity.js +94 -94
  542. package/dist/plugin/warming.js +115 -115
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +221 -221
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +94 -94
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +98 -98
  558. package/dist/reference/instructions.js +90 -90
  559. package/dist/reference.js +90 -90
  560. package/dist/repository-cache.js +82 -82
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +98 -98
  564. package/dist/rpc.js +87 -87
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +3 -3
  567. package/dist/session/command.js +75 -75
  568. package/dist/session/compaction.js +136 -136
  569. package/dist/session/context.js +154 -154
  570. package/dist/session/diff.js +89 -89
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +3 -3
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +218 -218
  575. package/dist/session/execution.js +128 -128
  576. package/dist/session/generate.js +155 -155
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +80 -80
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +98 -98
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +121 -121
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +130 -130
  588. package/dist/session/projector.js +87 -87
  589. package/dist/session/prompt.js +106 -106
  590. package/dist/session/provider-context.js +1 -1
  591. package/dist/session/revert.js +91 -91
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +99 -99
  597. package/dist/session/runner/publish-llm-event.js +114 -114
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +126 -126
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +165 -165
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +106 -106
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +74 -74
  607. package/dist/session/store.js +88 -88
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +158 -158
  612. package/dist/session/to-session-error.js +112 -112
  613. package/dist/session/transfer.js +214 -214
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +210 -210
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +108 -108
  623. package/dist/skill.js +109 -109
  624. package/dist/snapshot.js +94 -94
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +129 -129
  629. package/dist/tool/plugin/edit.js +121 -121
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +123 -123
  632. package/dist/tool/plugin/grep.js +119 -119
  633. package/dist/tool/plugin/mcp-resource.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +123 -123
  636. package/dist/tool/plugin/question.js +106 -106
  637. package/dist/tool/plugin/read.js +122 -122
  638. package/dist/tool/plugin/shell.js +209 -209
  639. package/dist/tool/plugin/skill.js +110 -110
  640. package/dist/tool/plugin/subagent.js +213 -213
  641. package/dist/tool/plugin/webfetch.js +111 -111
  642. package/dist/tool/plugin/websearch.js +113 -113
  643. package/dist/tool/plugin/write.js +123 -123
  644. package/dist/tool/read-filesystem.js +101 -101
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +1 -1
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +93 -93
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +94 -94
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +90 -90
  669. package/dist/websearch.js +85 -85
  670. package/dist/wellknown/plugin.js +77 -77
  671. package/dist/wellknown.js +74 -74
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +79 -79
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +90 -90
  679. package/dist/worktree.js +97 -97
  680. package/package.json +8 -8
  681. package/dist/chunks/schema-pf31ssb9.js +0 -18
  682. /package/dist/chunks/{schema-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{schema-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{schema-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{schema-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{schema-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{schema-24dcb14g.js → location-24dcb14g.js} +0 -0
  688. /package/dist/chunks/{schema-2710q6r3.js → location-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{schema-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{schema-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{schema-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  692. /package/dist/chunks/{schema-359p4xyc.js → location-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{schema-3asan66x.js → location-3asan66x.js} +0 -0
  694. /package/dist/chunks/{schema-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
  695. /package/dist/chunks/{schema-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{schema-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  697. /package/dist/chunks/{schema-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{schema-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{schema-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{schema-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  701. /package/dist/chunks/{schema-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{schema-53557ph1.js → location-53557ph1.js} +0 -0
  703. /package/dist/chunks/{schema-550bvhaj.js → location-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{schema-6prwharc.js → location-6prwharc.js} +0 -0
  705. /package/dist/chunks/{schema-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  706. /package/dist/chunks/{schema-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{schema-7m9af43g.js → location-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{schema-822emrt2.js → location-822emrt2.js} +0 -0
  709. /package/dist/chunks/{schema-84wd9syh.js → location-84wd9syh.js} +0 -0
  710. /package/dist/chunks/{schema-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{schema-8n3pysct.js → location-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{schema-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{schema-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{schema-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{schema-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{schema-af5trqkr.js → location-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{schema-afrmfg78.js → location-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{schema-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{schema-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{schema-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{schema-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{schema-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{schema-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{schema-d9fn303g.js → location-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{schema-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{schema-dajrwvna.js → location-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{schema-dap0rakb.js → location-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{schema-df08tz66.js → location-df08tz66.js} +0 -0
  729. /package/dist/chunks/{schema-dy18nga0.js → location-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{schema-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
  731. /package/dist/chunks/{schema-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{schema-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{schema-ec1grn59.js → location-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{schema-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{schema-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{schema-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{schema-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{schema-faypxj3z.js → location-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{schema-fd410y7t.js → location-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{schema-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{schema-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{schema-g86h250q.js → location-g86h250q.js} +0 -0
  743. /package/dist/chunks/{schema-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{schema-gftt206x.js → location-gftt206x.js} +0 -0
  745. /package/dist/chunks/{schema-hk9envan.js → location-hk9envan.js} +0 -0
  746. /package/dist/chunks/{schema-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{schema-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{schema-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{schema-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{schema-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{schema-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{schema-mp448xyj.js → location-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{schema-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{schema-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{schema-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{schema-njntx4h6.js → location-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{schema-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{schema-q74kybfr.js → location-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{schema-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{schema-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{schema-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{schema-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{schema-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{schema-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{schema-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{schema-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{schema-w803qqfp.js → location-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{schema-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{schema-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{schema-wtztk69x.js → location-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{schema-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{schema-x61499pn.js → location-x61499pn.js} +0 -0
  773. /package/dist/chunks/{schema-y44na4kk.js → location-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{schema-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{schema-y8f7s663.js → location-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{schema-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{schema-ym463w8f.js → location-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{schema-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{schema-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./schema-02g264nc.js";
2
+ Service82,
3
+ node86
4
+ } from "./location-0n2ztf6h.js";
5
5
  import {
6
- parse4,
6
+ parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./schema-84txncab.js";
11
+ } from "./location-w1eejvng.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./schema-z5v4ffb3.js";
14
+ } from "./location-z5v4ffb3.js";
15
15
  import {
16
- Service62,
17
- node66
18
- } from "./schema-hd4remjx.js";
16
+ Service47,
17
+ node50
18
+ } from "./location-pqst28f9.js";
19
19
  import {
20
20
  create3
21
- } from "./schema-rdw6cm16.js";
21
+ } from "./location-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./schema-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event9,
29
+ Event: () => Event8,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info9,
31
+ Info: () => Info7,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service61,
34
+ Service: () => Service46,
35
35
  Source: () => Source3,
36
- node: () => node65
36
+ node: () => node49
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event9 } from "@opencode/schema/reference";
42
+ import { Event as Event8 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info9 = Reference.Info;
46
+ var Info7 = Reference.Info;
47
47
 
48
- class Service61 extends Context.Service()("@opencode/Reference") {
48
+ class Service46 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service61, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service83;
53
- const cache = yield* Service62;
52
+ const bus = yield* Service82;
53
+ const cache = yield* Service47;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info9.make({ ...info, path: source.path })];
64
- const repository = parse4(source.repository);
63
+ return [Info7.make({ ...info, path: source.path })];
64
+ const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info9.make({
75
+ Info7.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service61.of({
107
+ return Service46.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node65 = makeLocationNode({
116
- service: Service61,
115
+ var node49 = makeLocationNode({
116
+ service: Service46,
117
117
  layer,
118
- deps: [Global.node, node87, node66]
118
+ deps: [Global.node, node86, node50]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info9, Service61, node65, exports_reference2, Event9 };
121
+ export { LocalSource2, GitSource2, Source3, Info7, Service46, node49, exports_reference2, Event8 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
3
  Service71
4
- } from "./schema-tdhpy44v.js";
4
+ } from "./location-43355rh8.js";
5
5
  import {
6
- Service35
7
- } from "./schema-efxe2svv.js";
6
+ Service45
7
+ } from "./location-mek16e5d.js";
8
8
  import {
9
9
  observe2
10
- } from "./schema-qsdy395h.js";
10
+ } from "./location-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin22
19
+ Plugin: () => Plugin24
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin22 = define({
23
+ var Plugin24 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
26
  const config = yield* Service71;
27
- const output = yield* Service35;
27
+ const output = yield* Service45;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin22 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin22, exports_tool_output };
41
+ export { Plugin24, exports_tool_output };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service63
3
- } from "./schema-kvjzkr2v.js";
2
+ Service65
3
+ } from "./location-mawpmn43.js";
4
4
  import {
5
- Service41
6
- } from "./schema-vqfzq50h.js";
5
+ Service52
6
+ } from "./location-xcd0eash.js";
7
7
  import {
8
8
  detect2
9
- } from "./schema-3smtnn6g.js";
9
+ } from "./location-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./schema-pf31ssb9.js";
12
+ } from "./location-9sh4wc5j.js";
13
13
  import {
14
- Service68
15
- } from "./schema-k1gkpfdk.js";
14
+ Service64
15
+ } from "./location-rvf0m9x6.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./schema-47rn6gb0.js";
19
+ } from "./location-6jz79czp.js";
20
20
  import {
21
21
  prepare3,
22
- Service64
23
- } from "./schema-nh510fz3.js";
22
+ Service59
23
+ } from "./location-gdxj8ks4.js";
24
24
  import {
25
25
  __export
26
- } from "./schema-9rqn6x4v.js";
26
+ } from "./location-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service41;
42
+ const instances = yield* Service52;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service68;
45
+ const hooks = yield* Service64;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service64;
64
+ const skillService = yield* Service59;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service63;
129
+ const image = yield* Service65;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node64
4
- } from "./schema-6gkjayg0.js";
3
+ node73
4
+ } from "./location-7c2a2ky2.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./schema-02g264nc.js";
6
+ Service82,
7
+ node86
8
+ } from "./location-0n2ztf6h.js";
9
9
  import {
10
- ID11,
11
- Service70,
12
- node74
13
- } from "./schema-dh3p6hwj.js";
10
+ ID8,
11
+ Service63,
12
+ node65
13
+ } from "./location-mvw81cf0.js";
14
14
  import {
15
- ID15,
15
+ ID16,
16
16
  OAuth3
17
- } from "./schema-2s47eas1.js";
17
+ } from "./location-36663d4h.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service77,
24
- node81
25
- } from "./schema-zs20n4td.js";
23
+ Service76,
24
+ node80
25
+ } from "./location-6r5wz7qt.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./schema-z5v4ffb3.js";
28
+ } from "./location-z5v4ffb3.js";
29
29
  import {
30
30
  Info27,
31
31
  Ref4,
32
- Service80,
33
- node84
34
- } from "./schema-cb8p393h.js";
32
+ Service79,
33
+ node83
34
+ } from "./location-q552wz1s.js";
35
35
  import {
36
36
  ID13,
37
- Service76,
38
- node80
39
- } from "./schema-7dcnqvbr.js";
37
+ Service75,
38
+ node79
39
+ } from "./location-cf6066tf.js";
40
40
  import {
41
- Service48,
42
- node50
43
- } from "./schema-yp66jxhs.js";
41
+ Service56,
42
+ node58
43
+ } from "./location-jdg8p4tj.js";
44
44
  import {
45
- Service69,
46
- node73
47
- } from "./schema-460nts6z.js";
45
+ Service68,
46
+ node71
47
+ } from "./location-w3766evm.js";
48
48
  import {
49
- Service75,
50
- node79
51
- } from "./schema-0ce7fh3z.js";
49
+ Service83,
50
+ node87
51
+ } from "./location-wp27whg1.js";
52
52
  import {
53
- Service60,
54
- node63
55
- } from "./schema-jta96yax.js";
53
+ Service66,
54
+ node68
55
+ } from "./location-dchhcxvn.js";
56
56
  import {
57
57
  ID12,
58
58
  Service74,
59
59
  node78
60
- } from "./schema-8xpvx0xf.js";
60
+ } from "./location-9ktdg2kj.js";
61
61
  import {
62
- ID6
63
- } from "./schema-kr1ymz84.js";
62
+ ID9
63
+ } from "./location-bty85w2p.js";
64
64
  import {
65
- Service28,
66
- node31
67
- } from "./schema-f06qsttd.js";
65
+ Service39,
66
+ node42
67
+ } from "./location-wcp7fp92.js";
68
68
  import {
69
- Service68,
70
- node72
71
- } from "./schema-k1gkpfdk.js";
69
+ Service64,
70
+ node66
71
+ } from "./location-rvf0m9x6.js";
72
72
  import {
73
- Service65,
74
- node69
75
- } from "./schema-sfwz2x9n.js";
73
+ Service60,
74
+ node62
75
+ } from "./location-tmtg3qgf.js";
76
76
  import {
77
- Service30,
78
- node33
79
- } from "./schema-t5r5qq5q.js";
77
+ Service49,
78
+ node52
79
+ } from "./location-xfe76f1r.js";
80
80
  import {
81
81
  Source3,
82
- Service61,
83
- node65
84
- } from "./schema-hdnjgwej.js";
82
+ Service46,
83
+ node49
84
+ } from "./location-m30qs711.js";
85
85
  import {
86
- Info10,
87
- Service64,
88
- node68
89
- } from "./schema-nh510fz3.js";
86
+ Info9,
87
+ Service59,
88
+ node61
89
+ } from "./location-gdxj8ks4.js";
90
90
  import {
91
- Service17,
92
- node20
93
- } from "./schema-jn24yy65.js";
91
+ Service30,
92
+ node33
93
+ } from "./location-8pxx9679.js";
94
94
  import {
95
- Service49,
96
- node51
97
- } from "./schema-vfynekpt.js";
95
+ Service22,
96
+ node25
97
+ } from "./location-zv7jazps.js";
98
98
  import {
99
- Service59,
100
- node62
101
- } from "./schema-bahvtqv2.js";
99
+ Service27,
100
+ node30
101
+ } from "./location-gnvmv7zt.js";
102
+ import {
103
+ Service28,
104
+ node31
105
+ } from "./location-sqfjvg79.js";
102
106
  import {
107
+ ID3,
103
108
  Service16,
104
109
  node19
105
- } from "./schema-wy3px6vj.js";
110
+ } from "./location-qkseqq5s.js";
106
111
  import {
107
- ID4,
108
- Service31,
109
- node34
110
- } from "./schema-4n4r02ph.js";
111
- import {
112
- Service44,
113
- node46
114
- } from "./schema-28qgffdg.js";
112
+ Service26,
113
+ node29
114
+ } from "./location-hq78km43.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info7,
117
+ Info4,
118
118
  ListEntry3,
119
- Service43,
120
- node45
121
- } from "./schema-j1fsx5qw.js";
119
+ Service25,
120
+ node28
121
+ } from "./location-c2x78mxc.js";
122
122
  import {
123
- Service45,
124
- node47
125
- } from "./schema-k60d36ch.js";
123
+ Service20,
124
+ node23
125
+ } from "./location-69yjwdf1.js";
126
126
  import {
127
127
  __export
128
- } from "./schema-9rqn6x4v.js";
128
+ } from "./location-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service70;
147
- const aisdk = yield* Service48;
148
- const providers = yield* Service76;
146
+ const agents = yield* Service63;
147
+ const aisdk = yield* Service56;
148
+ const providers = yield* Service75;
149
149
  const models = yield* Service74;
150
- const commands = yield* Service69;
151
- const bus = yield* Service83;
152
- const integration = yield* Service77;
153
- const kv = yield* Service75;
154
- const mcp = yield* Service28;
155
- const location = yield* Service80;
156
- const reference = yield* Service61;
157
- const rpc = yield* Service59;
158
- const skill = yield* Service64;
159
- const tools = yield* Service30;
160
- const vcs = yield* Service16;
161
- const websearch = yield* Service31;
162
- const generate = yield* Service45;
163
- const permission = yield* Service65;
164
- const hooks = yield* Service68;
165
- const sessions = yield* Service17;
166
- const persistentPty = yield* Service49;
167
- const locations = yield* Service60;
168
- const worktrees = yield* Service43;
169
- const worktreeStrategies = yield* Service44;
150
+ const commands = yield* Service68;
151
+ const bus = yield* Service82;
152
+ const integration = yield* Service76;
153
+ const kv = yield* Service83;
154
+ const mcp = yield* Service39;
155
+ const location = yield* Service79;
156
+ const reference = yield* Service46;
157
+ const rpc = yield* Service27;
158
+ const skill = yield* Service59;
159
+ const tools = yield* Service49;
160
+ const vcs = yield* Service28;
161
+ const websearch = yield* Service16;
162
+ const generate = yield* Service20;
163
+ const permission = yield* Service60;
164
+ const hooks = yield* Service64;
165
+ const sessions = yield* Service30;
166
+ const persistentPty = yield* Service22;
167
+ const locations = yield* Service66;
168
+ const worktrees = yield* Service25;
169
+ const worktreeStrategies = yield* Service26;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info27({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID6.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID9.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info7);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info4);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
- const location = yield* Service80;
186
- const agents = yield* Service70;
185
+ const location = yield* Service79;
186
+ const agents = yield* Service63;
187
187
  return {
188
188
  location: new Info27({
189
189
  directory: location.directory,
@@ -217,10 +217,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID11.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
222
- update: (id, update) => editor.update(ID11.make(id), update),
223
- remove: (id) => editor.remove(ID11.make(id))
220
+ get: (id) => mutable(editor.get(ID8.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID8.make(id)),
222
+ update: (id, update) => editor.update(ID8.make(id), update),
223
+ remove: (id) => editor.remove(ID8.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -262,7 +262,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  get: (id) => editor.get(ID13.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
267
  update: (id, update) => editor.update(ID13.make(id), update),
268
268
  remove: (id) => editor.remove(ID13.make(id)),
@@ -370,10 +370,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
370
370
  reload: integration.reload,
371
371
  connection: {
372
372
  active: (id) => integration.connection.active(ID14.make(id)),
373
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
373
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection),
374
374
  status: (input) => integration.connection.status({
375
375
  integrationID: ID14.make(input.integrationID),
376
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.make(input.connection.id) } : input.connection,
376
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID16.make(input.connection.id) } : input.connection,
377
377
  status: input.status
378
378
  })
379
379
  },
@@ -396,8 +396,8 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
396
396
  const ref = locationRef(input);
397
397
  if (ref && !isCurrentLocation(ref))
398
398
  return Effect.gen(function* () {
399
- const location = yield* Service80;
400
- const mcp = yield* Service28;
399
+ const location = yield* Service79;
400
+ const mcp = yield* Service39;
401
401
  return {
402
402
  location: new Info27({
403
403
  directory: location.directory,
@@ -448,7 +448,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
448
448
  callback({
449
449
  list: () => mutable(editor.list()),
450
450
  get: editor.get,
451
- add: (value) => editor.add(Schema.decodeUnknownSync(Info10)(value)),
451
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
452
452
  update: editor.update,
453
453
  remove: editor.remove
454
454
  });
@@ -479,19 +479,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
479
479
  providers: () => response(websearch.providers()),
480
480
  query: (input) => response(websearch.query({
481
481
  query: input.query,
482
- providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
482
+ providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
483
483
  })),
484
484
  reload: websearch.reload,
485
485
  transform: (callback) => websearch.transform((editor) => {
486
486
  callback({
487
487
  add: (definition) => editor.add({
488
- id: ID4.make(definition.id),
488
+ id: ID3.make(definition.id),
489
489
  name: definition.name,
490
490
  execute: definition.execute
491
491
  }),
492
492
  default: {
493
493
  get: editor.default.get,
494
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
494
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
495
495
  }
496
496
  });
497
497
  })
@@ -551,31 +551,31 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
551
551
  return context;
552
552
  });
553
553
  var requirements3 = LayerNode.group([
554
- node64,
555
- node74,
556
- node50,
557
- node80,
558
- node78,
559
554
  node73,
560
- node87,
561
- node81,
555
+ node65,
556
+ node58,
562
557
  node79,
558
+ node78,
559
+ node71,
560
+ node86,
561
+ node80,
562
+ node87,
563
+ node42,
564
+ node83,
565
+ node49,
566
+ node30,
567
+ node61,
568
+ node52,
563
569
  node31,
564
- node84,
565
- node65,
570
+ node19,
571
+ node28,
572
+ node29,
573
+ node23,
566
574
  node62,
567
- node68,
575
+ node66,
568
576
  node33,
569
- node19,
570
- node34,
571
- node45,
572
- node46,
573
- node47,
574
- node69,
575
- node72,
576
- node20,
577
- node51,
578
- node63
577
+ node25,
578
+ node68
579
579
  ]);
580
580
  function storage2(kv, pluginID) {
581
581
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./schema-emrn6kk6.js";
7
+ } from "./location-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";