@opencode/core 0.0.0-dev-19754 → 0.0.0-dev-19757

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +70 -70
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{location-zee1rnkq.js → formatter-06x8he3q.js} +4 -4
  8. package/dist/chunks/{location-hmp1x13k.js → formatter-08ym40nb.js} +2 -2
  9. package/dist/chunks/{location-njhqdk9p.js → formatter-0996nyz8.js} +8 -8
  10. package/dist/chunks/{location-s8zy8myc.js → formatter-0f9afca0.js} +5 -5
  11. package/dist/chunks/{location-1ttp1ytm.js → formatter-0fxerekh.js} +7 -7
  12. package/dist/chunks/{location-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{location-tr0b1em8.js → formatter-0v0eynhg.js} +9 -9
  15. package/dist/chunks/{location-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{location-dfw05mcb.js → formatter-1pj95ama.js} +8 -8
  17. package/dist/chunks/{location-33w4ejhs.js → formatter-1ygqh575.js} +6 -6
  18. package/dist/chunks/{location-m9g140gf.js → formatter-1yv162eq.js} +4 -4
  19. package/dist/chunks/{location-qfx54062.js → formatter-1zksj7yq.js} +11 -11
  20. package/dist/chunks/{location-21r38tys.js → formatter-21r38tys.js} +1 -1
  21. package/dist/chunks/{location-2402vzrj.js → formatter-2402vzrj.js} +1 -1
  22. package/dist/chunks/{location-yj1rgshd.js → formatter-24rwab1a.js} +29 -29
  23. package/dist/chunks/{location-tknq6q93.js → formatter-29bjb6a3.js} +17 -17
  24. package/dist/chunks/{location-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{location-2a6t769v.js → formatter-2bh5apgf.js} +26 -26
  26. package/dist/chunks/{location-08f3efvy.js → formatter-2cyr096t.js} +4 -4
  27. package/dist/chunks/{location-1e0grdj1.js → formatter-2jshy6k2.js} +4 -4
  28. package/dist/chunks/{location-s7dp56a3.js → formatter-2mmbc3xp.js} +47 -47
  29. package/dist/chunks/{location-sdep53ed.js → formatter-2vywekkr.js} +13 -13
  30. package/dist/chunks/{location-dcse214k.js → formatter-2wj8n25z.js} +6 -6
  31. package/dist/chunks/{location-htnsynwp.js → formatter-2z5bgv6k.js} +11 -11
  32. package/dist/chunks/{location-g17wn8cw.js → formatter-34nv4jvf.js} +12 -12
  33. package/dist/chunks/{location-4zrmry1a.js → formatter-37sjec0g.js} +11 -11
  34. package/dist/chunks/{location-7ehep04d.js → formatter-39vx9120.js} +8 -8
  35. package/dist/chunks/{location-5rj11cww.js → formatter-3b7cesba.js} +5 -5
  36. package/dist/chunks/{location-bw9zjykr.js → formatter-3c1tgrea.js} +6 -6
  37. package/dist/chunks/{location-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{location-jw0h1ja3.js → formatter-3fq7r9z3.js} +23 -23
  39. package/dist/chunks/{location-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-y6gnhzkc.js → formatter-3hr7jtfn.js} +24 -24
  41. package/dist/chunks/{location-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{location-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-pd9nn3ne.js → formatter-3ybmm67g.js} +14 -14
  44. package/dist/chunks/{location-r312qztd.js → formatter-432zg6d4.js} +26 -26
  45. package/dist/chunks/{location-bx7pdy00.js → formatter-46kx5wxz.js} +8 -8
  46. package/dist/chunks/{location-n4kesxxz.js → formatter-47aj3v1p.js} +14 -14
  47. package/dist/chunks/{location-0dx2y7e9.js → formatter-4d3mce5a.js} +33 -33
  48. package/dist/chunks/{location-p9xqg7t9.js → formatter-4h2p8nkm.js} +9 -9
  49. package/dist/chunks/{location-b97cbvw3.js → formatter-4jc5c4h4.js} +1 -1
  50. package/dist/chunks/{location-ndqtf2h8.js → formatter-4jv7e9dq.js} +7 -7
  51. package/dist/chunks/{location-7zff5f2w.js → formatter-4r1f55er.js} +16 -16
  52. package/dist/chunks/{location-9yh9j0es.js → formatter-4r6m9py7.js} +18 -18
  53. package/dist/chunks/{location-cv9se371.js → formatter-4zaq21pg.js} +13 -13
  54. package/dist/chunks/{location-gwvxqpv7.js → formatter-52vhye62.js} +22 -22
  55. package/dist/chunks/{location-57ez7d0k.js → formatter-57ez7d0k.js} +2 -2
  56. package/dist/chunks/{location-5daktx2q.js → formatter-5daktx2q.js} +1 -1
  57. package/dist/chunks/{location-5ncvss9b.js → formatter-5fyzcds6.js} +24 -24
  58. package/dist/chunks/{location-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{location-669tq793.js → formatter-669tq793.js} +1 -1
  60. package/dist/chunks/{location-0ft9cg2j.js → formatter-6anwy9fs.js} +4 -4
  61. package/dist/chunks/{location-59t0awad.js → formatter-6ctg8cmm.js} +13 -13
  62. package/dist/chunks/{location-9b3vnfxp.js → formatter-6gqwehnk.js} +8 -8
  63. package/dist/chunks/{location-b1a82khe.js → formatter-6h1s4fng.js} +13 -13
  64. package/dist/chunks/{location-tr98cyyj.js → formatter-6js7ajd4.js} +23 -23
  65. package/dist/chunks/{location-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{location-05ygg3qe.js → formatter-6q2qzy88.js} +4 -4
  67. package/dist/chunks/{location-dk38q76h.js → formatter-6q3qeyxk.js} +5 -5
  68. package/dist/chunks/{location-hn0f0zdj.js → formatter-6rmnkzfb.js} +13 -13
  69. package/dist/chunks/{location-ynnt83sx.js → formatter-76vcy4ng.js} +9 -9
  70. package/dist/chunks/{location-a6akvax8.js → formatter-7815knry.js} +11 -11
  71. package/dist/chunks/{location-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{location-s7j02z9m.js → formatter-7tmymnpd.js} +9 -9
  73. package/dist/chunks/{location-w1nh38jn.js → formatter-7xmff81v.js} +15 -15
  74. package/dist/chunks/{location-6rr5h8pv.js → formatter-7y3w5jth.js} +40 -40
  75. package/dist/chunks/{location-54btsc2b.js → formatter-82gda1eq.js} +21 -21
  76. package/dist/chunks/{location-gyve3rq7.js → formatter-82ppghe7.js} +5 -5
  77. package/dist/chunks/{location-470p2a86.js → formatter-858xx9fq.js} +3 -3
  78. package/dist/chunks/{location-xbra3s6q.js → formatter-86d6e2n1.js} +31 -31
  79. package/dist/chunks/{location-x7hqa4ja.js → formatter-87gcxw7f.js} +14 -14
  80. package/dist/chunks/{location-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{location-2cxfa0dv.js → formatter-8krhc899.js} +28 -28
  82. package/dist/chunks/{location-8p4f9s12.js → formatter-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{location-m81yw74a.js → formatter-8xgg1ta2.js} +3 -3
  84. package/dist/chunks/{location-azx4vnej.js → formatter-98ms71gf.js} +11 -11
  85. package/dist/chunks/{location-92pdxfkb.js → formatter-9rj3xa8n.js} +12 -12
  86. package/dist/chunks/formatter-9sd31a58.js +26 -0
  87. package/dist/chunks/{location-x0809vwh.js → formatter-a002vgwb.js} +3 -3
  88. package/dist/chunks/{location-a1bz86dw.js → formatter-a1bz86dw.js} +3 -3
  89. package/dist/chunks/{location-aaet6srn.js → formatter-aaet6srn.js} +2 -2
  90. package/dist/chunks/{location-nw2grrtp.js → formatter-aettmwyp.js} +31 -31
  91. package/dist/chunks/{location-2qfd01hw.js → formatter-aj204w2b.js} +39 -39
  92. package/dist/chunks/{location-d1x6gan2.js → formatter-akrnn5pm.js} +8 -8
  93. package/dist/chunks/{location-p5sk6m23.js → formatter-arr7rt2x.js} +25 -25
  94. package/dist/chunks/{location-5895fefb.js → formatter-ax3z2rcn.js} +6 -6
  95. package/dist/chunks/{location-6r44w5n7.js → formatter-b5wchtbc.js} +20 -20
  96. package/dist/chunks/{location-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
  97. package/dist/chunks/{location-f2dc96r8.js → formatter-bgmk75ab.js} +2 -2
  98. package/dist/chunks/{location-cq9vh2fv.js → formatter-bh0zzf2s.js} +8 -8
  99. package/dist/chunks/{location-bha4atvq.js → formatter-bha4atvq.js} +4 -4
  100. package/dist/chunks/{location-n6151p29.js → formatter-bkbe2fp5.js} +12 -12
  101. package/dist/chunks/{location-4t1cgb8z.js → formatter-c0m9hyz0.js} +9 -9
  102. package/dist/chunks/{location-c488s98d.js → formatter-c488s98d.js} +5 -5
  103. package/dist/chunks/{location-mfq58xys.js → formatter-c5aq6n3b.js} +7 -7
  104. package/dist/chunks/{location-bdsqc29r.js → formatter-c61a4c85.js} +21 -21
  105. package/dist/chunks/{location-3w0fmcng.js → formatter-c78bbtc9.js} +5 -5
  106. package/dist/chunks/{location-fn5vdp5m.js → formatter-c9qv3xyw.js} +75 -75
  107. package/dist/chunks/{location-vn7akvp0.js → formatter-cacz7m9f.js} +15 -15
  108. package/dist/chunks/{location-7kkf9gtp.js → formatter-ceh329e1.js} +11 -11
  109. package/dist/chunks/{location-cfpkc3c9.js → formatter-cfpkc3c9.js} +2 -2
  110. package/dist/chunks/{location-wm55hp8j.js → formatter-d650b0nm.js} +19 -19
  111. package/dist/chunks/{location-58je2fax.js → formatter-d78wf4jw.js} +11 -11
  112. package/dist/chunks/{location-m0r31qfn.js → formatter-d858xzj7.js} +4 -4
  113. package/dist/chunks/{location-cwa6csj7.js → formatter-djszqvmq.js} +9 -9
  114. package/dist/chunks/{location-jp0yz35h.js → formatter-dqcgfggf.js} +10 -10
  115. package/dist/chunks/{location-h13g856r.js → formatter-dsxekm4p.js} +21 -21
  116. package/dist/chunks/{location-ccc8z42m.js → formatter-dtv9hzvh.js} +3 -3
  117. package/dist/chunks/{location-5yzzbxa7.js → formatter-dv1qgsyq.js} +8 -8
  118. package/dist/chunks/{location-q8peyv7x.js → formatter-dy8qh9xy.js} +8 -8
  119. package/dist/chunks/{location-t3aez6g2.js → formatter-e4346r51.js} +15 -15
  120. package/dist/chunks/{location-ae9xvxm4.js → formatter-e8ym8eqq.js} +26 -26
  121. package/dist/chunks/{location-eaj1djv9.js → formatter-eaj1djv9.js} +1 -1
  122. package/dist/chunks/{location-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{location-z2xg158e.js → formatter-ekt5sq8n.js} +9 -9
  124. package/dist/chunks/{location-jn3dn3tv.js → formatter-enbm4ny7.js} +14 -14
  125. package/dist/chunks/{location-erw5rpbs.js → formatter-erw5rpbs.js} +2 -2
  126. package/dist/chunks/{location-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{location-npajmshb.js → formatter-f7c5yctb.js} +3 -3
  128. package/dist/chunks/{location-f828m53h.js → formatter-f828m53h.js} +2 -2
  129. package/dist/chunks/{location-qgn6gcr1.js → formatter-fcrkznn8.js} +5 -5
  130. package/dist/chunks/{location-cxgtjqh0.js → formatter-ft01kdnj.js} +4 -4
  131. package/dist/chunks/{location-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
  132. package/dist/chunks/{location-cxp0yhm4.js → formatter-g34rm5ee.js} +28 -28
  133. package/dist/chunks/{location-ykjyqz5q.js → formatter-g3yyr5p0.js} +13 -13
  134. package/dist/chunks/{location-6r7eqvte.js → formatter-g9nqk1j3.js} +26 -26
  135. package/dist/chunks/{location-hbmxcjqj.js → formatter-gaftdbkr.js} +38 -38
  136. package/dist/chunks/{location-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{location-9mnrwx6c.js → formatter-gqf6jkd0.js} +13 -13
  138. package/dist/chunks/{location-3dgv3hjd.js → formatter-gqn8487k.js} +44 -44
  139. package/dist/chunks/{location-rcnj0rme.js → formatter-gs7mtawa.js} +31 -31
  140. package/dist/chunks/{location-gv6a8nnw.js → formatter-gv6a8nnw.js} +2 -2
  141. package/dist/chunks/{location-8b5x2rym.js → formatter-h3b1qqa9.js} +7 -7
  142. package/dist/chunks/{location-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{location-82h62x3b.js → formatter-haqyfn71.js} +21 -21
  144. package/dist/chunks/{location-vj505gsk.js → formatter-hkxhfj70.js} +16 -16
  145. package/dist/chunks/{location-9k0trt10.js → formatter-hmq6fc40.js} +4 -4
  146. package/dist/chunks/{location-efbgs6vz.js → formatter-hn6dtez2.js} +26 -26
  147. package/dist/chunks/formatter-hxa7m5za.js +4 -0
  148. package/dist/chunks/{location-j56e64zr.js → formatter-j56e64zr.js} +1 -1
  149. package/dist/chunks/{location-vncycja5.js → formatter-j83byb14.js} +4 -4
  150. package/dist/chunks/{location-5djjmt2r.js → formatter-j9gazmrb.js} +5 -5
  151. package/dist/chunks/{location-degw2fzn.js → formatter-jcf77vsk.js} +2 -2
  152. package/dist/chunks/{location-3jvz8kdw.js → formatter-jfn6ykkf.js} +14 -14
  153. package/dist/chunks/{location-tbc1560d.js → formatter-jfq5ya7h.js} +27 -27
  154. package/dist/chunks/{location-m4fv4r77.js → formatter-jjp0yg0r.js} +12 -12
  155. package/dist/chunks/{location-e4s5wsx0.js → formatter-jwpsb1fs.js} +22 -22
  156. package/dist/chunks/{location-n6v1p1rv.js → formatter-k3a03e74.js} +8 -8
  157. package/dist/chunks/{location-x4vmrnra.js → formatter-kkjryrew.js} +9 -9
  158. package/dist/chunks/{location-4pegme4e.js → formatter-ks6s6bng.js} +44 -44
  159. package/dist/chunks/{location-ymd8awj8.js → formatter-kvz7gft4.js} +3 -3
  160. package/dist/chunks/{location-9zyewfa2.js → formatter-kw4y2rsq.js} +300 -300
  161. package/dist/chunks/{location-y07gmyf9.js → formatter-kyarz3ws.js} +4 -4
  162. package/dist/chunks/{location-m3fdjcah.js → formatter-m3fdjcah.js} +1 -1
  163. package/dist/chunks/{location-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  164. package/dist/chunks/{location-59k38er6.js → formatter-mg63z3hs.js} +24 -24
  165. package/dist/chunks/{location-mhkvc446.js → formatter-mhkvc446.js} +1 -1
  166. package/dist/chunks/{location-my3nbca3.js → formatter-mtz5a3ex.js} +5 -5
  167. package/dist/chunks/{location-zatg04pf.js → formatter-mxz1spxe.js} +16 -16
  168. package/dist/chunks/{location-y2vx680w.js → formatter-n1tnp0w1.js} +25 -25
  169. package/dist/chunks/{location-vyyew2bd.js → formatter-na2nrvv6.js} +22 -22
  170. package/dist/chunks/{location-vx82sa08.js → formatter-nccgq8j4.js} +14 -14
  171. package/dist/chunks/{location-c0g1hmz8.js → formatter-nvb1qhwk.js} +9 -9
  172. package/dist/chunks/{location-6rph4hcx.js → formatter-nwpzj615.js} +9 -9
  173. package/dist/chunks/{location-nzks3jc8.js → formatter-nzks3jc8.js} +3 -3
  174. package/dist/chunks/{location-44h5tttr.js → formatter-nzyhnfxz.js} +4 -4
  175. package/dist/chunks/{location-p28j5sbe.js → formatter-p28j5sbe.js} +2 -2
  176. package/dist/chunks/{location-6znat1zd.js → formatter-p6j26bex.js} +7 -7
  177. package/dist/chunks/{location-m7j0w58y.js → formatter-p9wyast9.js} +8 -8
  178. package/dist/chunks/{location-s5g2gr5j.js → formatter-pegh2r6s.js} +14 -14
  179. package/dist/chunks/{location-d7b05d6k.js → formatter-pg9911fw.js} +43 -43
  180. package/dist/chunks/{location-4a5qb9ne.js → formatter-pgey37v9.js} +12 -12
  181. package/dist/chunks/{location-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  182. package/dist/chunks/{location-pknna89w.js → formatter-pknna89w.js} +1 -1
  183. package/dist/chunks/{location-fhs97t90.js → formatter-pnv527nz.js} +9 -9
  184. package/dist/chunks/{location-f6jdw9wk.js → formatter-pstjchew.js} +21 -21
  185. package/dist/chunks/{location-6qr3rp4k.js → formatter-psve6y68.js} +8 -8
  186. package/dist/chunks/{location-skgxmk24.js → formatter-pxcfj33x.js} +21 -21
  187. package/dist/chunks/{location-r86jh9fw.js → formatter-q3rwwjss.js} +24 -24
  188. package/dist/chunks/{location-m479avaq.js → formatter-q3thq4d0.js} +8 -8
  189. package/dist/chunks/formatter-q509s3k3.js +18 -0
  190. package/dist/chunks/{location-g4damz2s.js → formatter-q52v1zkd.js} +10 -10
  191. package/dist/chunks/{location-mamkxpqt.js → formatter-q7daxc3f.js} +20 -20
  192. package/dist/chunks/{location-9p3nq51p.js → formatter-q99k41bd.js} +25 -25
  193. package/dist/chunks/{location-cpwynne0.js → formatter-qb5946j2.js} +16 -16
  194. package/dist/chunks/{location-98s8e1rw.js → formatter-qby8jf2p.js} +8 -8
  195. package/dist/chunks/{location-cavr175a.js → formatter-qj8eh1ht.js} +4 -4
  196. package/dist/chunks/{location-jv1xxs7q.js → formatter-qk09twxp.js} +14 -14
  197. package/dist/chunks/{location-drwq78ky.js → formatter-qqeeq2t9.js} +7 -7
  198. package/dist/chunks/{location-1k5x2qhk.js → formatter-qrg0q5a9.js} +20 -20
  199. package/dist/chunks/{location-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  200. package/dist/chunks/{location-z0ase6az.js → formatter-qtdgjjy1.js} +11 -11
  201. package/dist/chunks/{location-nqq83r9p.js → formatter-qzjnbpqp.js} +48 -48
  202. package/dist/chunks/{location-4qzjx893.js → formatter-rc8abpkz.js} +6 -6
  203. package/dist/chunks/{location-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
  204. package/dist/chunks/{location-aq2hhbb5.js → formatter-rfczfd12.js} +10 -10
  205. package/dist/chunks/{location-42htsy3g.js → formatter-rmerk4f4.js} +48 -48
  206. package/dist/chunks/{location-ej65p0rp.js → formatter-rmf8y2x7.js} +18 -18
  207. package/dist/chunks/{location-ykczf8eq.js → formatter-rmk2c50f.js} +5 -5
  208. package/dist/chunks/{location-jdjpygpn.js → formatter-ry9ybv6e.js} +1 -1
  209. package/dist/chunks/{location-tkmwgdpd.js → formatter-ryr25ayn.js} +7 -7
  210. package/dist/chunks/{location-f5fjq72r.js → formatter-ryvbxndv.js} +25 -25
  211. package/dist/chunks/{location-e2f1r03f.js → formatter-rz9n75z5.js} +27 -27
  212. package/dist/chunks/{location-rb3ck9sj.js → formatter-s0b4m20z.js} +8 -8
  213. package/dist/chunks/formatter-s0mep9za.js +252 -0
  214. package/dist/chunks/{location-c0g79gjn.js → formatter-s4jehtr9.js} +13 -13
  215. package/dist/chunks/{location-qx8pr09x.js → formatter-s5cgwvcm.js} +3 -3
  216. package/dist/chunks/{location-6vfz26fc.js → formatter-s61nvhk3.js} +5 -5
  217. package/dist/chunks/{location-sztr4n2w.js → formatter-sfmpga1j.js} +24 -24
  218. package/dist/chunks/{location-y19agrsy.js → formatter-sh9rh5j7.js} +17 -17
  219. package/dist/chunks/{location-9h41vc4j.js → formatter-shh6fz4q.js} +4 -4
  220. package/dist/chunks/{location-19hqpwt2.js → formatter-skfdyt5m.js} +27 -27
  221. package/dist/chunks/{location-7d5kf786.js → formatter-spettxyb.js} +3 -3
  222. package/dist/chunks/{location-praqn373.js → formatter-spr8h2ym.js} +9 -9
  223. package/dist/chunks/{location-a8daz2nm.js → formatter-ss1d5n7s.js} +20 -20
  224. package/dist/chunks/{location-t4qbbbps.js → formatter-st612rmk.js} +16 -16
  225. package/dist/chunks/{location-dhxed570.js → formatter-sw8vrykn.js} +17 -17
  226. package/dist/chunks/{location-vtt21ede.js → formatter-sxjzzd7x.js} +10 -10
  227. package/dist/chunks/{location-yt8as05q.js → formatter-szgtqmk5.js} +6 -6
  228. package/dist/chunks/{location-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{location-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{location-tdstcens.js → formatter-tdstcens.js} +1 -1
  231. package/dist/chunks/{location-xdtsb8mr.js → formatter-tq9bddfy.js} +9 -9
  232. package/dist/chunks/{location-tvtrv512.js → formatter-tvtrv512.js} +1 -1
  233. package/dist/chunks/{location-tx9w5tca.js → formatter-tx9w5tca.js} +1 -1
  234. package/dist/chunks/{location-8yt4q9vr.js → formatter-v1kad2yc.js} +16 -16
  235. package/dist/chunks/{location-s4t99ejd.js → formatter-vavx823f.js} +11 -11
  236. package/dist/chunks/{location-9x1ezptv.js → formatter-vbgqmq0k.js} +29 -29
  237. package/dist/chunks/{location-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  238. package/dist/chunks/{location-vmgq4x8b.js → formatter-vmgq4x8b.js} +2 -2
  239. package/dist/chunks/{location-vmwh049b.js → formatter-vmwh049b.js} +3 -3
  240. package/dist/chunks/{location-50pydq1b.js → formatter-vy8be3j0.js} +5 -5
  241. package/dist/chunks/{location-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{location-26k5bknw.js → formatter-w1k39n5e.js} +4 -4
  243. package/dist/chunks/{location-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{location-40rqm2bh.js → formatter-w6fn3d5n.js} +4 -4
  245. package/dist/chunks/{location-kxz8htra.js → formatter-w7m5m02k.js} +39 -39
  246. package/dist/chunks/{location-gg7pg1rj.js → formatter-wbkyxrgf.js} +5 -5
  247. package/dist/chunks/{location-4dhnehv0.js → formatter-wbt8he73.js} +24 -24
  248. package/dist/chunks/{location-wd87259q.js → formatter-wd87259q.js} +1 -1
  249. package/dist/chunks/{location-4cc1h1mq.js → formatter-wgcgxnpz.js} +3 -3
  250. package/dist/chunks/{location-nfw2844t.js → formatter-wgdgcqs0.js} +23 -23
  251. package/dist/chunks/{location-4ymr1qre.js → formatter-wht0dt7x.js} +3 -3
  252. package/dist/chunks/{location-hyrejdvv.js → formatter-wrj9kdwa.js} +1 -1
  253. package/dist/chunks/{location-b54zk12g.js → formatter-wvj88p5n.js} +17 -17
  254. package/dist/chunks/{location-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{location-zrvkv1b7.js → formatter-xc7y8sbe.js} +27 -27
  256. package/dist/chunks/{location-b9y9tgv9.js → formatter-xe2dwhgm.js} +10 -10
  257. package/dist/chunks/{location-t4267b90.js → formatter-xfp1mhk8.js} +4 -4
  258. package/dist/chunks/{location-fexw5mvn.js → formatter-xhczph7k.js} +6 -6
  259. package/dist/chunks/{location-6kqg9tnj.js → formatter-xhqsr2sb.js} +67 -67
  260. package/dist/chunks/{location-eg1gpj3a.js → formatter-xpzt8j8n.js} +11 -11
  261. package/dist/chunks/{location-vtqj2nn1.js → formatter-xt2789zt.js} +28 -28
  262. package/dist/chunks/{location-7k4e5m1f.js → formatter-xtdfp5ze.js} +17 -17
  263. package/dist/chunks/{location-rny3dqzs.js → formatter-xwrmtca6.js} +11 -11
  264. package/dist/chunks/{location-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{location-y71avatq.js → formatter-y71avatq.js} +1 -1
  266. package/dist/chunks/{location-53we3s11.js → formatter-y766knqa.js} +15 -15
  267. package/dist/chunks/{location-r8xr0va3.js → formatter-yp2x3t23.js} +4 -4
  268. package/dist/chunks/{location-jvbe9kz0.js → formatter-yp6mbb9j.js} +27 -27
  269. package/dist/chunks/{location-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{location-yrznvahk.js → formatter-yrznvahk.js} +2 -2
  271. package/dist/chunks/{location-4s40p9k7.js → formatter-yt4sqp67.js} +23 -23
  272. package/dist/chunks/{location-2pjqnemj.js → formatter-ywmq5p8p.js} +15 -15
  273. package/dist/chunks/{location-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{location-wyx7s1ws.js → formatter-z47fxbth.js} +36 -36
  275. package/dist/chunks/{location-z63w68vq.js → formatter-z63w68vq.js} +2 -2
  276. package/dist/chunks/{location-q31adfz8.js → formatter-z9s6ggjz.js} +10 -10
  277. package/dist/chunks/{location-880p7epb.js → formatter-zab19jja.js} +9 -9
  278. package/dist/chunks/{location-fbawcmnd.js → formatter-zdbfb4d6.js} +6 -6
  279. package/dist/chunks/{location-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{location-wgxkb9zp.js → formatter-zh9xaa1s.js} +29 -29
  281. package/dist/chunks/{location-8215kpvq.js → formatter-zk1psjwf.js} +80 -80
  282. package/dist/chunks/{location-knb7evpn.js → formatter-zqx8wcya.js} +4 -4
  283. package/dist/chunks/{location-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{location-60txwd5f.js → formatter-zs0nrmpk.js} +10 -10
  285. package/dist/chunks/{location-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{location-tjnkxtjb.js → formatter-zyrceszn.js} +156 -156
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +122 -122
  296. package/dist/config/plugin/command.js +211 -211
  297. package/dist/config/plugin/compaction.js +159 -159
  298. package/dist/config/plugin/compatibility.js +138 -138
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +124 -124
  304. package/dist/config/plugin/mcp.js +129 -129
  305. package/dist/config/plugin/policy.js +122 -122
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +124 -124
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +143 -143
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +125 -125
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +123 -123
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +127 -127
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +82 -82
  321. package/dist/database/database.js +65 -65
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +69 -69
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +226 -226
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +102 -102
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +101 -101
  426. package/dist/form.js +79 -79
  427. package/dist/formatter/builtins.js +2 -2
  428. package/dist/formatter.js +88 -88
  429. package/dist/generate.js +100 -100
  430. package/dist/git.js +6 -6
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +90 -90
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +357 -357
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +84 -84
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-lifecycle.js +105 -105
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +354 -354
  468. package/dist/location.js +80 -80
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +125 -125
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +90 -90
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +99 -99
  478. package/dist/models-dev.js +94 -94
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +79 -79
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +98 -98
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +85 -85
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +98 -98
  490. package/dist/plugin/hooks.js +1 -1
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +121 -121
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +91 -91
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +119 -119
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +140 -140
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +347 -347
  541. package/dist/plugin/update.js +4 -4
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +226 -226
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +79 -79
  556. package/dist/provider.js +98 -98
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +95 -95
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +94 -94
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +3 -3
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +220 -220
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +150 -150
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +89 -89
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -118
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +230 -230
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +111 -111
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +1 -1
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +86 -86
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +207 -207
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +211 -211
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +139 -139
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +104 -104
  625. package/dist/skill.js +111 -111
  626. package/dist/snapshot.js +90 -90
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +126 -126
  631. package/dist/tool/plugin/edit.js +119 -119
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +121 -121
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +119 -119
  637. package/dist/tool/plugin/question.js +102 -102
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +216 -216
  640. package/dist/tool/plugin/skill.js +110 -110
  641. package/dist/tool/plugin/subagent.js +218 -218
  642. package/dist/tool/plugin/webfetch.js +111 -111
  643. package/dist/tool/plugin/websearch.js +113 -113
  644. package/dist/tool/plugin/write.js +119 -119
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +92 -92
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +79 -79
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +80 -80
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +79 -79
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +93 -93
  689. package/package.json +8 -8
  690. package/dist/chunks/location-0mesazry.js +0 -4
  691. package/dist/chunks/location-619r8v3y.js +0 -18
  692. package/dist/chunks/location-a88bzxj7.js +0 -252
  693. package/dist/chunks/location-pzkt74ah.js +0 -26
  694. /package/dist/chunks/{location-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{location-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{location-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{location-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{location-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{location-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{location-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{location-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{location-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{location-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{location-3asan66x.js → formatter-3asan66x.js} +0 -0
  705. /package/dist/chunks/{location-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{location-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{location-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{location-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{location-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{location-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{location-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{location-53557ph1.js → formatter-53557ph1.js} +0 -0
  713. /package/dist/chunks/{location-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{location-5cmxdwv8.js → formatter-5cmxdwv8.js} +0 -0
  715. /package/dist/chunks/{location-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{location-6prwharc.js → formatter-6prwharc.js} +0 -0
  717. /package/dist/chunks/{location-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{location-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{location-822emrt2.js → formatter-822emrt2.js} +0 -0
  720. /package/dist/chunks/{location-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{location-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{location-922hggd3.js → formatter-922hggd3.js} +0 -0
  723. /package/dist/chunks/{location-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{location-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{location-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{location-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{location-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{location-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{location-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{location-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{location-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{location-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{location-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{location-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{location-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{location-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{location-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{location-df08tz66.js → formatter-df08tz66.js} +0 -0
  739. /package/dist/chunks/{location-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{location-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{location-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{location-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{location-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{location-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{location-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{location-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{location-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{location-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{location-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{location-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{location-g86h250q.js → formatter-g86h250q.js} +0 -0
  752. /package/dist/chunks/{location-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{location-gftt206x.js → formatter-gftt206x.js} +0 -0
  754. /package/dist/chunks/{location-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{location-hk9envan.js → formatter-hk9envan.js} +0 -0
  756. /package/dist/chunks/{location-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{location-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{location-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{location-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{location-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{location-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{location-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{location-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{location-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{location-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{location-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{location-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{location-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{location-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{location-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{location-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{location-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{location-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{location-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{location-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{location-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{location-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{location-twg0f83k.js → formatter-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{location-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{location-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{location-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{location-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{location-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{location-x61499pn.js → formatter-x61499pn.js} +0 -0
  785. /package/dist/chunks/{location-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{location-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{location-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{location-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{location-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{location-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,121 +1,121 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-470p2a86.js";
4
+ } from "./formatter-858xx9fq.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./location-y07gmyf9.js";
8
+ } from "./formatter-kyarz3ws.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./location-gftt206x.js";
11
+ } from "./formatter-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./location-vmwh049b.js";
14
+ } from "./formatter-vmwh049b.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./location-ec1grn59.js";
17
+ } from "./formatter-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./location-a1bz86dw.js";
20
+ } from "./formatter-a1bz86dw.js";
21
21
  import {
22
22
  prepare4
23
- } from "./location-bha4atvq.js";
23
+ } from "./formatter-bha4atvq.js";
24
24
  import {
25
25
  provenance2
26
- } from "./location-26k5bknw.js";
26
+ } from "./formatter-w1k39n5e.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./location-98s8e1rw.js";
30
+ } from "./formatter-qby8jf2p.js";
31
31
  import {
32
- Service76,
33
- node80
34
- } from "./location-jv1xxs7q.js";
32
+ Service75,
33
+ node79
34
+ } from "./formatter-qk09twxp.js";
35
35
  import {
36
- Service21,
37
- node24
38
- } from "./location-h13g856r.js";
36
+ Service14,
37
+ node16
38
+ } from "./formatter-dsxekm4p.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./location-5t3nmthw.js";
41
+ } from "./formatter-5t3nmthw.js";
42
42
  import {
43
- Service37,
44
- node40
45
- } from "./location-s4t99ejd.js";
43
+ Service29,
44
+ node32
45
+ } from "./formatter-vavx823f.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./location-wgxkb9zp.js";
48
+ } from "./formatter-zh9xaa1s.js";
49
49
  import {
50
50
  make8
51
- } from "./location-x0809vwh.js";
51
+ } from "./formatter-a002vgwb.js";
52
52
  import {
53
- Service9,
54
- node11
55
- } from "./location-4dhnehv0.js";
53
+ Service8,
54
+ node10
55
+ } from "./formatter-wbt8he73.js";
56
56
  import {
57
- Service28,
58
- node32
59
- } from "./location-fn5vdp5m.js";
57
+ Service22,
58
+ node25
59
+ } from "./formatter-c9qv3xyw.js";
60
60
  import {
61
61
  serialized2,
62
62
  nextPromotable2,
63
63
  promote2
64
- } from "./location-59k38er6.js";
64
+ } from "./formatter-mg63z3hs.js";
65
65
  import {
66
- Service6,
66
+ Service2,
67
67
  isUntitled2,
68
- node8
69
- } from "./location-ae9xvxm4.js";
68
+ node3
69
+ } from "./formatter-e8ym8eqq.js";
70
70
  import {
71
71
  DrainResult2,
72
- Service60
73
- } from "./location-zee1rnkq.js";
72
+ Service39
73
+ } from "./formatter-06x8he3q.js";
74
74
  import {
75
- node43
76
- } from "./location-tr98cyyj.js";
75
+ node63
76
+ } from "./formatter-6js7ajd4.js";
77
77
  import {
78
- node49
79
- } from "./location-g17wn8cw.js";
78
+ node53
79
+ } from "./formatter-34nv4jvf.js";
80
80
  import {
81
81
  Outcome2,
82
- make7
83
- } from "./location-a8daz2nm.js";
82
+ make3
83
+ } from "./formatter-ss1d5n7s.js";
84
84
  import {
85
- Service35
86
- } from "./location-619r8v3y.js";
85
+ Service25
86
+ } from "./formatter-q509s3k3.js";
87
87
  import {
88
- node17
89
- } from "./location-wm55hp8j.js";
88
+ node20
89
+ } from "./formatter-d650b0nm.js";
90
90
  import {
91
91
  MAX_STEPS_PROMPT2
92
- } from "./location-y44na4kk.js";
92
+ } from "./formatter-y44na4kk.js";
93
93
  import {
94
94
  __export
95
- } from "./location-9rqn6x4v.js";
95
+ } from "./formatter-9rqn6x4v.js";
96
96
 
97
97
  // src/session/runner/llm.ts
98
98
  var exports_llm = {};
99
99
  __export(exports_llm, {
100
100
  SessionRunnerLLM: () => exports_llm,
101
- node: () => node7
101
+ node: () => node2
102
102
  });
103
103
  import { Message } from "@opencode/ai";
104
104
  import { and, desc, eq, sql } from "drizzle-orm";
105
105
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
106
106
  import { makeLocationNode } from "@opencode/util/effect/app-node";
107
107
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
108
- var layer = Layer.effect(Service60, Effect.gen(function* () {
108
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
109
109
  const bus = yield* Service82;
110
- const lifecycle = yield* Service21;
111
- const store = yield* Service76;
112
- const context = yield* Service28;
113
- const modelTransport = yield* Service37;
110
+ const lifecycle = yield* Service14;
111
+ const store = yield* Service75;
112
+ const context = yield* Service22;
113
+ const modelTransport = yield* Service29;
114
114
  const db = (yield* Service83).db;
115
- const compaction = yield* Service9;
116
- const plugins = yield* Service35;
117
- const title = yield* Service6;
118
- const steps = yield* make7;
115
+ const compaction = yield* Service8;
116
+ const plugins = yield* Service25;
117
+ const title = yield* Service2;
118
+ const steps = yield* make3;
119
119
  const titles = yield* FiberMap.make();
120
120
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
121
121
  const sessionID = input.sessionID;
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
361
361
  }
362
362
  }
363
363
  });
364
- return Service60.of({ drain });
364
+ return Service39.of({ drain });
365
365
  }));
366
- var node7 = makeLocationNode({
367
- service: Service60,
366
+ var node2 = makeLocationNode({
367
+ service: Service39,
368
368
  layer,
369
369
  deps: [
370
370
  node86,
371
- node24,
371
+ node16,
372
372
  llmClient2,
373
+ node25,
373
374
  node32,
374
- node40,
375
- node80,
376
- node11,
377
- node17,
378
- node8,
379
- node43,
380
- node49,
375
+ node79,
376
+ node10,
377
+ node20,
378
+ node3,
379
+ node63,
380
+ node53,
381
381
  node87
382
382
  ]
383
383
  });
384
384
 
385
- export { node7, exports_llm };
385
+ export { node2, exports_llm };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./formatter-922hggd3.js";
4
4
  import {
5
5
  Service79
6
- } from "./location-degw2fzn.js";
6
+ } from "./formatter-jcf77vsk.js";
7
7
  import {
8
- Service46
9
- } from "./location-6rr5h8pv.js";
8
+ Service56
9
+ } from "./formatter-7y3w5jth.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./location-efbgs6vz.js";
13
+ } from "./formatter-hn6dtez2.js";
14
14
  import {
15
15
  observe2
16
- } from "./location-qsdy395h.js";
16
+ } from "./formatter-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./formatter-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin36
25
+ Plugin: () => Plugin17
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin36 = define({
31
+ var Plugin17 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service46;
34
+ const config = yield* Service56;
35
35
  const location = yield* Service79;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin36, exports_reference };
75
+ export { Plugin17, exports_reference };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-470p2a86.js";
4
+ } from "./formatter-858xx9fq.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./location-y07gmyf9.js";
8
+ } from "./formatter-kyarz3ws.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-pknna89w.js";
11
+ } from "./formatter-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-0q0f95c6.js";
14
+ } from "./formatter-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./formatter-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
24
- ID: () => ID11,
25
- Info: () => Info26,
23
+ Event: () => Event16,
24
+ ID: () => ID10,
25
+ Info: () => Info25,
26
26
  Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service72,
28
+ Service: () => Service71,
29
29
  Value: () => Value2,
30
- node: () => node76
30
+ node: () => node75
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID11 = Credential.ID;
37
+ var ID10 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event17 = Credential.Event;
41
+ var Event16 = Credential.Event;
42
42
 
43
- class Info26 extends Schema.Class("Credential.Info")({
44
- id: ID11,
43
+ class Info25 extends Schema.Class("Credential.Info")({
44
+ id: ID10,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service72 extends Context.Service()("@opencode/Credential") {
51
+ class Service71 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service72, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
54
54
  const db = (yield* Service83).db;
55
55
  const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info26({
60
+ return new Info25({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service72.of({
71
+ return Service71.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info26({
80
- id: ID11.create(),
79
+ const credential = new Info25({
80
+ id: ID10.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event17.Updated, {}, { global: true });
105
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event16.Updated, {}, { global: true });
105
+ yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event17.Updated, {}, { global: true });
157
+ yield* bus.publish(Event16.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event17.Updated, {}, { global: true });
190
+ yield* bus.publish(Event16.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node87, node86] });
196
+ var node75 = makeGlobalNode({ service: Service71, layer, deps: [node87, node86] });
197
197
 
198
- export { ID11, OAuth3, Key3, Value2, Event17, Info26, Service72, node76, exports_credential };
198
+ export { ID10, OAuth3, Key3, Value2, Event16, Info25, Service71, node75, exports_credential };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-9k0trt10.js";
3
+ } from "./formatter-hmq6fc40.js";
4
4
  import {
5
5
  Service82
6
- } from "./location-y07gmyf9.js";
6
+ } from "./formatter-kyarz3ws.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17,
10
- Service72
11
- } from "./location-vtqj2nn1.js";
9
+ Event16,
10
+ Service71
11
+ } from "./formatter-xt2789zt.js";
12
12
  import {
13
- ID10,
13
+ ID9,
14
14
  MethodID2,
15
- Service71
16
- } from "./location-9p3nq51p.js";
15
+ Service70
16
+ } from "./formatter-q99k41bd.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./location-pjvnvgmy.js";
20
+ } from "./formatter-pjvnvgmy.js";
21
21
  import {
22
- ID9
23
- } from "./location-tbc1560d.js";
22
+ ID8
23
+ } from "./formatter-jfq5ya7h.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./location-yt8as05q.js";
26
+ } from "./formatter-szgtqmk5.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID9.make("snowflake-cortex");
34
- var integrationID = ID10.make(providerID);
33
+ var providerID = ID8.make("snowflake-cortex");
34
+ var integrationID = ID9.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service72;
57
- const integrations = yield* Service71;
56
+ const credentials = yield* Service71;
57
+ const integrations = yield* Service70;
58
58
  const bus = yield* Service82;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service46
4
- } from "./location-6rr5h8pv.js";
3
+ Service56
4
+ } from "./formatter-7y3w5jth.js";
5
5
  import {
6
6
  observe2
7
- } from "./location-qsdy395h.js";
7
+ } from "./formatter-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./formatter-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch2 = {};
14
- __export(exports_websearch2, {
15
- ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin33
13
+ var exports_websearch = {};
14
+ __export(exports_websearch, {
15
+ ConfigWebSearchPlugin: () => exports_websearch,
16
+ Plugin: () => Plugin18
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin33 = define({
20
+ var Plugin18 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service46;
23
+ const config = yield* Service56;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin33 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin33, exports_websearch2 };
35
+ export { Plugin18, exports_websearch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service82
3
- } from "./location-y07gmyf9.js";
3
+ } from "./formatter-kyarz3ws.js";
4
4
  import {
5
5
  OAuth3,
6
- Event17
7
- } from "./location-vtqj2nn1.js";
6
+ Event16
7
+ } from "./formatter-xt2789zt.js";
8
8
  import {
9
- ID10,
9
+ ID9,
10
10
  MethodID2
11
- } from "./location-9p3nq51p.js";
11
+ } from "./formatter-q99k41bd.js";
12
12
  import {
13
- ID9,
13
+ ID8,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./location-tbc1560d.js";
16
+ } from "./formatter-jfq5ya7h.js";
17
17
  import {
18
- ID4,
18
+ ID3,
19
19
  Input13,
20
20
  Response2
21
- } from "./location-skgxmk24.js";
21
+ } from "./formatter-pxcfj33x.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID4
35
+ providerID: ID3
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID10.make("opencode"),
57
+ integrationID: ID9.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
134
134
  providers.update(providerID, (provider) => {
135
135
  if (source && source.provider !== provider)
136
136
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
137
- provider.integrationID = ID10.make("opencode");
137
+ provider.integrationID = ID9.make("opencode");
138
138
  if (item.canonical !== undefined)
139
139
  provider.canonical = item.canonical;
140
140
  if (item.name !== undefined)
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
204
204
  sourceConnection: snapshot.connection
205
205
  });
206
206
  }
207
- const item = providers.get(ID9.opencode);
207
+ const item = providers.get(ID8.opencode);
208
208
  if (!item)
209
209
  return;
210
210
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
216
216
  });
217
217
  });
218
218
  yield* ctx.model.transform((models) => {
219
- const item = models.provider.get(ID9.opencode);
219
+ const item = models.provider.get(ID8.opencode);
220
220
  if (!item)
221
221
  return;
222
222
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
271
271
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
272
272
  });
273
273
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
274
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
274
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
275
275
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
276
276
  })
277
277
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make18
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make18 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make18 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make18, exports_run_coordinator };
92
+ export { make16, exports_run_coordinator };