@opencode/core 0.0.0-dev-19790 → 0.0.0-dev-19793

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{pty-ve4pfa0n.js → session-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{pty-2xyrgdy7.js → session-0acgj5m2.js} +15 -15
  9. package/dist/chunks/{pty-fra5bndy.js → session-0e9q1ep3.js} +19 -19
  10. package/dist/chunks/{pty-0paq2nw3.js → session-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{pty-0q0f95c6.js → session-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{pty-zxtb73ge.js → session-13yszw56.js} +20 -20
  13. package/dist/chunks/{pty-vdnmec7y.js → session-1aqfqq4e.js} +5 -5
  14. package/dist/chunks/{pty-1dazxqgg.js → session-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{pty-g6v5r3w6.js → session-1j8crccj.js} +12 -12
  16. package/dist/chunks/{pty-4ekhf7tc.js → session-1pbptxp5.js} +7 -7
  17. package/dist/chunks/{pty-e8gs20m7.js → session-1wvs2wp5.js} +20 -20
  18. package/dist/chunks/{pty-56gdpj1q.js → session-1ygqh575.js} +9 -9
  19. package/dist/chunks/{pty-z9g3fnns.js → session-215t6bdc.js} +22 -22
  20. package/dist/chunks/{pty-21r38tys.js → session-21r38tys.js} +1 -1
  21. package/dist/chunks/{pty-2402vzrj.js → session-2402vzrj.js} +1 -1
  22. package/dist/chunks/{pty-j2dty9kk.js → session-24qxwnw9.js} +15 -15
  23. package/dist/chunks/{pty-wj76ss2k.js → session-277eer69.js} +4 -4
  24. package/dist/chunks/{pty-vr12ekh8.js → session-29czvhxn.js} +9 -9
  25. package/dist/chunks/{pty-2a5m3afh.js → session-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{pty-7hmfndvt.js → session-2c2fd3fa.js} +33 -33
  27. package/dist/chunks/{pty-hzxxpgfe.js → session-2hh1yst1.js} +13 -13
  28. package/dist/chunks/{pty-ypbv3kf7.js → session-2j7d9wq4.js} +27 -27
  29. package/dist/chunks/{pty-607tc6va.js → session-2k8khapm.js} +5 -5
  30. package/dist/chunks/{pty-xtvm4hh6.js → session-2nn2k2c5.js} +3 -3
  31. package/dist/chunks/{pty-6zb5jvme.js → session-2s57fhme.js} +58 -58
  32. package/dist/chunks/{pty-8sc656s0.js → session-346m09fb.js} +30 -30
  33. package/dist/chunks/{pty-gyxzt53n.js → session-39j1pcap.js} +15 -15
  34. package/dist/chunks/{pty-3fc6dm20.js → session-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{pty-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{pty-yvqjf3ez.js → session-3je31grm.js} +15 -15
  37. package/dist/chunks/{pty-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{pty-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{pty-kgbqw58m.js → session-3w1rd6nk.js} +35 -35
  40. package/dist/chunks/{pty-jva4mgym.js → session-3ythc6yv.js} +4 -4
  41. package/dist/chunks/{pty-8x7kj7de.js → session-41e1pd6j.js} +16 -16
  42. package/dist/chunks/{pty-p3w99mff.js → session-4cz08x43.js} +20 -20
  43. package/dist/chunks/{pty-jhetzww4.js → session-4nr015gq.js} +41 -41
  44. package/dist/chunks/{pty-7swn79b1.js → session-4tdfwhv9.js} +13 -13
  45. package/dist/chunks/{pty-xfjax5kj.js → session-4vp46et4.js} +6 -6
  46. package/dist/chunks/{pty-magykp64.js → session-50mzsvk4.js} +4 -4
  47. package/dist/chunks/{pty-4sn99hha.js → session-57ez7d0k.js} +7 -7
  48. package/dist/chunks/{pty-ty51299p.js → session-5b5nyza2.js} +8 -8
  49. package/dist/chunks/{pty-a1bz86dw.js → session-5c4hm403.js} +3 -3
  50. package/dist/chunks/{pty-5daktx2q.js → session-5daktx2q.js} +1 -1
  51. package/dist/chunks/{pty-gs3s1a1g.js → session-5eer2xf9.js} +8 -8
  52. package/dist/chunks/{pty-m7va1g8x.js → session-5frpvc34.js} +2 -2
  53. package/dist/chunks/{pty-d8mfmd5t.js → session-5hprvvgt.js} +18 -18
  54. package/dist/chunks/{pty-5e15319b.js → session-5hx7d1d6.js} +5 -5
  55. package/dist/chunks/{pty-1n42sk3q.js → session-5mdykzrj.js} +13 -13
  56. package/dist/chunks/{pty-cpj0znwe.js → session-5mtzsd3b.js} +4 -4
  57. package/dist/chunks/{pty-vyqn3nqs.js → session-5phqnecy.js} +8 -8
  58. package/dist/chunks/{pty-rrwz5n32.js → session-5r0en2yc.js} +13 -13
  59. package/dist/chunks/{pty-5t3nmthw.js → session-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{pty-95jkg4sh.js → session-5xf9q064.js} +6 -6
  61. package/dist/chunks/{pty-82r64hfa.js → session-5zpphkyw.js} +26 -26
  62. package/dist/chunks/{pty-7cj0vwkb.js → session-63nypvja.js} +14 -14
  63. package/dist/chunks/{pty-4jzbd5w2.js → session-63sbad5n.js} +316 -316
  64. package/dist/chunks/{pty-669tq793.js → session-669tq793.js} +1 -1
  65. package/dist/chunks/{pty-q0sdqn78.js → session-6914g88p.js} +4 -4
  66. package/dist/chunks/{pty-85z0khfw.js → session-6hjx5zpb.js} +9 -9
  67. package/dist/chunks/{pty-6msgmcgs.js → session-6msgmcgs.js} +1 -1
  68. package/dist/chunks/session-6r3amyyd.js +4 -0
  69. package/dist/chunks/{pty-39mnaq4c.js → session-6ssnpxpc.js} +23 -23
  70. package/dist/chunks/{pty-2qtz93bp.js → session-76jtykdh.js} +4 -4
  71. package/dist/chunks/{pty-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{pty-nwb8yfca.js → session-850r2hdq.js} +5 -5
  73. package/dist/chunks/{pty-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{pty-rwwvkkw9.js → session-8djh56ad.js} +6 -6
  75. package/dist/chunks/{pty-96k7qteq.js → session-8fae0kh5.js} +6 -6
  76. package/dist/chunks/{pty-256nx13v.js → session-8q7cq0y1.js} +3 -3
  77. package/dist/chunks/{pty-q4hrj6yz.js → session-8wacddc4.js} +8 -8
  78. package/dist/chunks/{pty-d7wgan7y.js → session-8xe05m1t.js} +15 -15
  79. package/dist/chunks/session-8ye6t07s.js +26 -0
  80. package/dist/chunks/{pty-fd3v7rn0.js → session-90f08rrx.js} +35 -35
  81. package/dist/chunks/{pty-1hxn8gc9.js → session-9fa858ja.js} +15 -15
  82. package/dist/chunks/{pty-gx88jzcs.js → session-9ff7kdnh.js} +28 -28
  83. package/dist/chunks/{pty-czfptnv9.js → session-9hn6k4tm.js} +8 -8
  84. package/dist/chunks/{pty-dqhgk4gj.js → session-9kv6k1g3.js} +11 -11
  85. package/dist/chunks/{pty-h4xx3n44.js → session-9qrc9ans.js} +5 -5
  86. package/dist/chunks/{pty-92hvatj2.js → session-9w3qjkb6.js} +93 -93
  87. package/dist/chunks/{pty-q3pcyw4n.js → session-a6bnw119.js} +5 -5
  88. package/dist/chunks/{pty-vedaqc0n.js → session-a7e8qxr2.js} +182 -182
  89. package/dist/chunks/{pty-47r0kvy6.js → session-a7sfjr5d.js} +11 -11
  90. package/dist/chunks/{pty-aaet6srn.js → session-aaet6srn.js} +2 -2
  91. package/dist/chunks/{pty-09ejbmp6.js → session-abaw28fj.js} +3 -3
  92. package/dist/chunks/{pty-cerhndf8.js → session-ag618we3.js} +28 -28
  93. package/dist/chunks/{pty-bag4px4n.js → session-anbhx2s0.js} +32 -32
  94. package/dist/chunks/{pty-4dkhsnmt.js → session-b41jxgfe.js} +32 -32
  95. package/dist/chunks/{pty-b6gygkdw.js → session-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{pty-vfqq51fb.js → session-b93z4p9v.js} +17 -17
  97. package/dist/chunks/{pty-5whcbe3x.js → session-bfevz01k.js} +20 -20
  98. package/dist/chunks/{pty-vk9pkavn.js → session-bgq69zyq.js} +15 -15
  99. package/dist/chunks/{pty-2x2vnpz5.js → session-bns08xdh.js} +9 -9
  100. package/dist/chunks/{pty-vw2t0mtq.js → session-brrrk15c.js} +38 -38
  101. package/dist/chunks/{pty-gtgjs7h2.js → session-bv6xyj4g.js} +50 -50
  102. package/dist/chunks/{pty-t2gsyq25.js → session-bx8fw24c.js} +23 -23
  103. package/dist/chunks/{pty-01m48zym.js → session-bybjsk5w.js} +28 -28
  104. package/dist/chunks/{pty-mg90z6wk.js → session-cknt7fv1.js} +16 -16
  105. package/dist/chunks/{pty-wzjn1tpp.js → session-cn886m9x.js} +9 -9
  106. package/dist/chunks/{pty-94h3t13q.js → session-cqc4nrv2.js} +12 -12
  107. package/dist/chunks/{pty-6d0hcp9d.js → session-crn50kz5.js} +10 -10
  108. package/dist/chunks/{pty-xpkrztab.js → session-crttd2qf.js} +3 -3
  109. package/dist/chunks/{pty-q2f6gqtk.js → session-cvm9fk2k.js} +9 -9
  110. package/dist/chunks/{pty-d4he2qe1.js → session-cwa6csj7.js} +9 -9
  111. package/dist/chunks/{pty-2bm8nv3j.js → session-cy50gq67.js} +4 -4
  112. package/dist/chunks/{pty-en9axxsm.js → session-czz7t1v6.js} +19 -19
  113. package/dist/chunks/{pty-7t5qybgj.js → session-daesxk3q.js} +47 -47
  114. package/dist/chunks/{pty-8p4f9s12.js → session-dj2t23y0.js} +2 -2
  115. package/dist/chunks/{pty-evbgk2k8.js → session-dj9sq318.js} +5 -5
  116. package/dist/chunks/{pty-n0kbf44j.js → session-dsz0g92g.js} +11 -11
  117. package/dist/chunks/{pty-zfx1etke.js → session-dzgxa0fw.js} +10 -10
  118. package/dist/chunks/{pty-ck33vcq0.js → session-e2dw16am.js} +28 -28
  119. package/dist/chunks/{pty-jn0rbr09.js → session-e777ngnj.js} +3 -3
  120. package/dist/chunks/{pty-hdfkv0ev.js → session-e8zeyszs.js} +58 -58
  121. package/dist/chunks/{pty-ef5x83kb.js → session-ef5x83kb.js} +1 -1
  122. package/dist/chunks/{pty-f35htakt.js → session-egrr39fs.js} +6 -6
  123. package/dist/chunks/{pty-9wh28ea7.js → session-ej7d4d8s.js} +28 -28
  124. package/dist/chunks/{pty-kxdh0s6n.js → session-ek46xvkd.js} +11 -11
  125. package/dist/chunks/{pty-erw5rpbs.js → session-erw5rpbs.js} +2 -2
  126. package/dist/chunks/{pty-r1761eky.js → session-etcp1hze.js} +32 -32
  127. package/dist/chunks/{pty-etq0c3wd.js → session-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{pty-h5amc0nw.js → session-f1r848qe.js} +5 -5
  129. package/dist/chunks/{pty-jfq1w6xq.js → session-f5gzjcwj.js} +14 -14
  130. package/dist/chunks/{pty-rhx683sy.js → session-fng9e0je.js} +6 -6
  131. package/dist/chunks/{pty-nvgm9hwb.js → session-fvv9bqgk.js} +28 -28
  132. package/dist/chunks/{pty-fxbjtjnd.js → session-fxbjtjnd.js} +1 -1
  133. package/dist/chunks/{pty-scs7maqt.js → session-g0axr35g.js} +8 -8
  134. package/dist/chunks/{pty-qa3qhgw8.js → session-g8d3gcyj.js} +7 -7
  135. package/dist/chunks/{pty-8ktdpdbn.js → session-gb8mswgp.js} +32 -32
  136. package/dist/chunks/{pty-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{pty-fjeptm1j.js → session-gnkc9zs6.js} +11 -11
  138. package/dist/chunks/{pty-h8d3bytr.js → session-grz6w23s.js} +71 -71
  139. package/dist/chunks/{pty-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
  140. package/dist/chunks/{pty-gf229ayp.js → session-gvnj87g4.js} +18 -18
  141. package/dist/chunks/{pty-mh8602s5.js → session-gzykzgk0.js} +23 -23
  142. package/dist/chunks/{pty-8tcq1ard.js → session-h2r8kcbx.js} +34 -34
  143. package/dist/chunks/{pty-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  144. package/dist/chunks/{pty-b9w0x7cm.js → session-ha0qwja0.js} +15 -15
  145. package/dist/chunks/{pty-5cn1q5nw.js → session-hd3jvcb0.js} +33 -33
  146. package/dist/chunks/{pty-f828m53h.js → session-hdnk95c8.js} +2 -2
  147. package/dist/chunks/{pty-510m7gjw.js → session-hnr5yq9h.js} +5 -5
  148. package/dist/chunks/{pty-jzp2kyv6.js → session-hrb4az5h.js} +27 -27
  149. package/dist/chunks/{pty-hdns3422.js → session-hrmdcqyf.js} +9 -9
  150. package/dist/chunks/{pty-61a7pyf7.js → session-hw6cycn2.js} +5 -5
  151. package/dist/chunks/{pty-j56e64zr.js → session-j56e64zr.js} +1 -1
  152. package/dist/chunks/{pty-8n2c22yw.js → session-j710vash.js} +12 -12
  153. package/dist/chunks/{pty-r4hn1y4t.js → session-jehdqnwb.js} +4 -4
  154. package/dist/chunks/{pty-gqgkwrka.js → session-jg1g7epr.js} +23 -23
  155. package/dist/chunks/{pty-47qt310b.js → session-jg906ppz.js} +5 -5
  156. package/dist/chunks/{pty-vyy6cxw9.js → session-jmphe03k.js} +4 -4
  157. package/dist/chunks/{pty-5j6bqzeb.js → session-jw8efqfh.js} +25 -25
  158. package/dist/chunks/{pty-2mvse5z6.js → session-k2c0cr9f.js} +32 -32
  159. package/dist/chunks/{pty-yz0n98jk.js → session-k6sm8v0n.js} +13 -13
  160. package/dist/chunks/{pty-m70sbz6t.js → session-k76fn4kw.js} +4 -4
  161. package/dist/chunks/{pty-knb7evpn.js → session-k9kj6xed.js} +6 -6
  162. package/dist/chunks/{pty-f9mqex9s.js → session-kb5t0kk3.js} +35 -35
  163. package/dist/chunks/{pty-zcz1ktx8.js → session-kbge6ch4.js} +1 -1
  164. package/dist/chunks/{pty-hgk31n1k.js → session-kefd19x0.js} +28 -28
  165. package/dist/chunks/{pty-xv567rvv.js → session-kevm2csr.js} +10 -10
  166. package/dist/chunks/{pty-4zhk9xy1.js → session-kfnxzr4e.js} +11 -11
  167. package/dist/chunks/{pty-x6j1wb2z.js → session-kg5e9n6j.js} +85 -85
  168. package/dist/chunks/{pty-0cnsmtwh.js → session-kma2c1kx.js} +26 -26
  169. package/dist/chunks/{pty-8hdvkfsn.js → session-m063vtdw.js} +41 -41
  170. package/dist/chunks/{pty-cfpkc3c9.js → session-m0jqrx5p.js} +2 -2
  171. package/dist/chunks/{pty-zv6tdpnx.js → session-m0tnkv5m.js} +38 -38
  172. package/dist/chunks/{pty-z9z6sd2a.js → session-m1syfaxh.js} +16 -16
  173. package/dist/chunks/{pty-m3fdjcah.js → session-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{pty-4641nt7s.js → session-m6196r32.js} +5 -5
  175. package/dist/chunks/{pty-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{pty-zg3tcem2.js → session-mawpmn43.js} +9 -9
  177. package/dist/chunks/{pty-ajejy050.js → session-mh5wyt4r.js} +13 -13
  178. package/dist/chunks/{pty-2gydggrp.js → session-mhb9ajec.js} +3 -3
  179. package/dist/chunks/{pty-73tb2d7t.js → session-mhkvc446.js} +3 -3
  180. package/dist/chunks/session-mhy0cw2n.js +252 -0
  181. package/dist/chunks/{pty-w1k39n5e.js → session-msq0jde0.js} +4 -4
  182. package/dist/chunks/{pty-15wq8bnm.js → session-mxgv54v3.js} +11 -11
  183. package/dist/chunks/{pty-c6d4h0jp.js → session-mxpvcqnq.js} +11 -11
  184. package/dist/chunks/{pty-cywsvzz8.js → session-my8n3s96.js} +22 -22
  185. package/dist/chunks/{pty-dkkcfdd5.js → session-mz3d6j91.js} +2 -2
  186. package/dist/chunks/{pty-gbvfym51.js → session-n0fa3s17.js} +24 -24
  187. package/dist/chunks/{pty-bt0s2m4s.js → session-n4epcwrr.js} +28 -28
  188. package/dist/chunks/{pty-zn6sdvfn.js → session-n9b836x4.js} +20 -20
  189. package/dist/chunks/{pty-a8rvpzh6.js → session-nafnqrr2.js} +35 -35
  190. package/dist/chunks/{pty-src4gryn.js → session-naggtdtg.js} +19 -19
  191. package/dist/chunks/{pty-1qg96azw.js → session-nbzsj80d.js} +8 -8
  192. package/dist/chunks/{pty-2x8n49qa.js → session-nektvr7p.js} +8 -8
  193. package/dist/chunks/{pty-gy590f6s.js → session-nf3xwy0z.js} +2 -2
  194. package/dist/chunks/{pty-rvf3k54n.js → session-nkbencr5.js} +14 -14
  195. package/dist/chunks/{pty-hxpy2fz9.js → session-nr0jgk0c.js} +12 -12
  196. package/dist/chunks/{pty-aqk3dj7t.js → session-nxbh6f69.js} +1 -1
  197. package/dist/chunks/{pty-k3c624dm.js → session-nzks3jc8.js} +3 -3
  198. package/dist/chunks/{pty-kjq75dje.js → session-p4apmmse.js} +1 -1
  199. package/dist/chunks/{pty-trt7zypv.js → session-p50119wk.js} +32 -32
  200. package/dist/chunks/{pty-bfygd469.js → session-p60ydwp9.js} +27 -27
  201. package/dist/chunks/{pty-fwrss4ad.js → session-pcfkrm12.js} +4 -4
  202. package/dist/chunks/{pty-p2bsys5p.js → session-pd10sjw8.js} +35 -35
  203. package/dist/chunks/{pty-af04s6ss.js → session-pecb0brz.js} +5 -5
  204. package/dist/chunks/{pty-5xwkdnk6.js → session-pfsx7tp2.js} +9 -9
  205. package/dist/chunks/{pty-kns2fx3n.js → session-pgsa58wp.js} +27 -27
  206. package/dist/chunks/{pty-cs1yg9jz.js → session-phrb7qg4.js} +27 -27
  207. package/dist/chunks/{pty-3z5xssby.js → session-pj2vvday.js} +30 -30
  208. package/dist/chunks/{pty-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{pty-pknna89w.js → session-pknna89w.js} +1 -1
  210. package/dist/chunks/{pty-4jc5c4h4.js → session-pstg3rfm.js} +1 -1
  211. package/dist/chunks/{pty-a6ha29gm.js → session-q0ajjbcs.js} +49 -49
  212. package/dist/chunks/{pty-vf5yby4q.js → session-q3d5cn89.js} +27 -27
  213. package/dist/chunks/{pty-05k8gwwx.js → session-q42cry3s.js} +41 -41
  214. package/dist/chunks/{pty-6a3q5akz.js → session-q5cj6hrm.js} +10 -10
  215. package/dist/chunks/{pty-nq7qbqzc.js → session-qg0jgkcp.js} +9 -9
  216. package/dist/chunks/{pty-qsdy395h.js → session-qsdy395h.js} +1 -1
  217. package/dist/chunks/{pty-2jm9246z.js → session-qxfrxjnm.js} +4 -4
  218. package/dist/chunks/{pty-mf55kzn1.js → session-r6z0e0mn.js} +9 -9
  219. package/dist/chunks/session-rap9a73h.js +18 -0
  220. package/dist/chunks/{pty-82kxmdcf.js → session-rdf0mxym.js} +7 -7
  221. package/dist/chunks/{pty-rdw6cm16.js → session-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{pty-vy078w6d.js → session-s6mkaf7t.js} +44 -44
  223. package/dist/chunks/{pty-pfpqttcd.js → session-s7wa8szz.js} +18 -18
  224. package/dist/chunks/{pty-1v03ecv9.js → session-skqgah7m.js} +8 -8
  225. package/dist/chunks/{pty-5xsexkhf.js → session-sndsbpfa.js} +9 -9
  226. package/dist/chunks/{pty-rz9v06kn.js → session-st1ayaz3.js} +24 -24
  227. package/dist/chunks/{pty-8kgvtemd.js → session-svd7rxx3.js} +8 -8
  228. package/dist/chunks/{pty-w8hj49dq.js → session-svkye1j9.js} +47 -47
  229. package/dist/chunks/{pty-jcvsx840.js → session-t1kv7g4h.js} +20 -20
  230. package/dist/chunks/{pty-esegqz26.js → session-t4btgf4e.js} +9 -9
  231. package/dist/chunks/{pty-gbt6w4kb.js → session-t550f9t1.js} +6 -6
  232. package/dist/chunks/{pty-v110mek2.js → session-t5kx8km3.js} +18 -18
  233. package/dist/chunks/{pty-57dcv54h.js → session-t61xhryc.js} +8 -8
  234. package/dist/chunks/{pty-en85tny2.js → session-t8dwqbmf.js} +16 -16
  235. package/dist/chunks/{pty-0x0trpnf.js → session-t91wvm7f.js} +8 -8
  236. package/dist/chunks/{pty-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{pty-tbz0fdvh.js → session-tbz0fdvh.js} +2 -2
  238. package/dist/chunks/{pty-89znhe33.js → session-tcezcvh9.js} +4 -4
  239. package/dist/chunks/{pty-tdstcens.js → session-tdstcens.js} +1 -1
  240. package/dist/chunks/{pty-dm7z6sw8.js → session-tg3yz9q2.js} +11 -11
  241. package/dist/chunks/{pty-n25bj5sj.js → session-thwc3zjr.js} +8 -8
  242. package/dist/chunks/{pty-2f0arp29.js → session-tpyxmsz6.js} +36 -36
  243. package/dist/chunks/{pty-wxrzmbxm.js → session-trkyj1qg.js} +16 -16
  244. package/dist/chunks/{pty-tvtrv512.js → session-tvtrv512.js} +1 -1
  245. package/dist/chunks/{pty-010xpxbn.js → session-v3qmf65b.js} +11 -11
  246. package/dist/chunks/{pty-k388e6t1.js → session-v9ykereg.js} +17 -17
  247. package/dist/chunks/{pty-veqvce7d.js → session-veqvce7d.js} +1 -1
  248. package/dist/chunks/{pty-hjvqykt7.js → session-vj15m6db.js} +8 -8
  249. package/dist/chunks/{pty-mm5kxf07.js → session-vttn6dxt.js} +8 -8
  250. package/dist/chunks/{pty-vzcthcp8.js → session-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{pty-g408yz0d.js → session-w0sbs0gk.js} +29 -29
  252. package/dist/chunks/{pty-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{pty-64amj0r1.js → session-w9vdh0hw.js} +21 -21
  254. package/dist/chunks/{pty-wd87259q.js → session-wd87259q.js} +1 -1
  255. package/dist/chunks/{pty-rxcdjwh1.js → session-wpm2rk0p.js} +4 -4
  256. package/dist/chunks/{pty-8ndese90.js → session-x1bshgdr.js} +23 -23
  257. package/dist/chunks/{pty-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{pty-krbz4bty.js → session-x246hsvq.js} +5 -5
  259. package/dist/chunks/{pty-kb1rdp05.js → session-x7d7ywrx.js} +41 -41
  260. package/dist/chunks/{pty-36ndtc93.js → session-xaeen76g.js} +32 -32
  261. package/dist/chunks/{pty-cdm0dq9n.js → session-xcd0eash.js} +6 -6
  262. package/dist/chunks/{pty-bh7937zs.js → session-xerk2e3q.js} +25 -25
  263. package/dist/chunks/{pty-drwq78ky.js → session-xfkkasph.js} +4 -4
  264. package/dist/chunks/{pty-tqwr2f5g.js → session-xhvz1y9e.js} +12 -12
  265. package/dist/chunks/{pty-c3xk9fpp.js → session-xxk13ynw.js} +11 -11
  266. package/dist/chunks/{pty-sdrw2w9p.js → session-y13rccya.js} +27 -27
  267. package/dist/chunks/{pty-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{pty-zapz2rcy.js → session-y45cezf7.js} +9 -9
  269. package/dist/chunks/{pty-jwcy2c2z.js → session-y71avatq.js} +4 -4
  270. package/dist/chunks/{pty-ryb794yb.js → session-yaghdrmk.js} +10 -10
  271. package/dist/chunks/{pty-zy6cwck4.js → session-ycnaach6.js} +11 -11
  272. package/dist/chunks/{pty-q24nm477.js → session-yj0nme3g.js} +19 -19
  273. package/dist/chunks/{pty-96712bz8.js → session-ykya0ajh.js} +3 -3
  274. package/dist/chunks/{pty-f2n192rq.js → session-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{pty-360vn7h3.js → session-yqq6thr1.js} +3 -3
  276. package/dist/chunks/{pty-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{pty-yrznvahk.js → session-yrznvahk.js} +2 -2
  278. package/dist/chunks/{pty-m77h72gn.js → session-ysbqws08.js} +29 -29
  279. package/dist/chunks/{pty-2aet7wja.js → session-yvvvp4gn.js} +8 -8
  280. package/dist/chunks/{pty-bnv5qe0w.js → session-yx76ae0t.js} +9 -9
  281. package/dist/chunks/{pty-2deyrhr8.js → session-yy22wazz.js} +3 -3
  282. package/dist/chunks/{pty-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{pty-z63w68vq.js → session-z63w68vq.js} +2 -2
  284. package/dist/chunks/{pty-g02r5t1q.js → session-za2185gc.js} +20 -20
  285. package/dist/chunks/{pty-zeh9ct20.js → session-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{pty-y3ajgz1g.js → session-zh2t9qdv.js} +18 -18
  287. package/dist/chunks/{pty-1t1mekng.js → session-zne4d355.js} +5 -5
  288. package/dist/chunks/{pty-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{pty-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +88 -88
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +90 -90
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +89 -89
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +86 -86
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +93 -93
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +85 -85
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +5 -5
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +119 -119
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +224 -224
  558. package/dist/project/schema.js +6 -6
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +87 -87
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +88 -88
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +133 -133
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +223 -223
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +87 -87
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +116 -116
  593. package/dist/session/model-transport.js +7 -7
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +228 -228
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +219 -219
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +9 -9
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +92 -92
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +16 -16
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +3 -3
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +71 -71
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/pty-56qjdxtm.js +0 -26
  696. package/dist/chunks/pty-hgd4btym.js +0 -18
  697. package/dist/chunks/pty-hr9dp009.js +0 -4
  698. package/dist/chunks/pty-px0fec8t.js +0 -252
  699. /package/dist/chunks/{pty-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{pty-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{pty-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{pty-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{pty-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{pty-24dcb14g.js → session-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{pty-2710q6r3.js → session-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{pty-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{pty-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{pty-359p4xyc.js → session-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{pty-3asan66x.js → session-3asan66x.js} +0 -0
  710. /package/dist/chunks/{pty-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{pty-3w5fmr99.js → session-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{pty-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{pty-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{pty-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{pty-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{pty-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{pty-53557ph1.js → session-53557ph1.js} +0 -0
  718. /package/dist/chunks/{pty-550bvhaj.js → session-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{pty-5qd3pb7m.js → session-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{pty-6prwharc.js → session-6prwharc.js} +0 -0
  721. /package/dist/chunks/{pty-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{pty-7m9af43g.js → session-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{pty-822emrt2.js → session-822emrt2.js} +0 -0
  724. /package/dist/chunks/{pty-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{pty-8n3pysct.js → session-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{pty-922hggd3.js → session-922hggd3.js} +0 -0
  727. /package/dist/chunks/{pty-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{pty-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{pty-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{pty-af5trqkr.js → session-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{pty-afrmfg78.js → session-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{pty-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{pty-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{pty-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{pty-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{pty-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{pty-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{pty-d9fn303g.js → session-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{pty-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{pty-dajrwvna.js → session-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{pty-dap0rakb.js → session-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{pty-df08tz66.js → session-df08tz66.js} +0 -0
  743. /package/dist/chunks/{pty-dy18nga0.js → session-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{pty-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{pty-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{pty-ec1grn59.js → session-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{pty-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{pty-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{pty-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{pty-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{pty-faypxj3z.js → session-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{pty-fd410y7t.js → session-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{pty-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{pty-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{pty-g86h250q.js → session-g86h250q.js} +0 -0
  756. /package/dist/chunks/{pty-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{pty-gftt206x.js → session-gftt206x.js} +0 -0
  758. /package/dist/chunks/{pty-hjbc5kem.js → session-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{pty-hk9envan.js → session-hk9envan.js} +0 -0
  760. /package/dist/chunks/{pty-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{pty-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{pty-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{pty-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{pty-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{pty-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{pty-mp448xyj.js → session-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{pty-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{pty-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{pty-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{pty-njntx4h6.js → session-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{pty-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{pty-q74kybfr.js → session-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{pty-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{pty-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{pty-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{pty-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{pty-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{pty-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{pty-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{pty-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{pty-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{pty-twg0f83k.js → session-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{pty-w803qqfp.js → session-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{pty-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{pty-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{pty-wtztk69x.js → session-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{pty-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{pty-x61499pn.js → session-x61499pn.js} +0 -0
  789. /package/dist/chunks/{pty-y44na4kk.js → session-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{pty-y8cydn3q.js → session-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{pty-y8f7s663.js → session-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{pty-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{pty-ym463w8f.js → session-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{pty-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./session-922hggd3.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./pty-96712bz8.js";
7
+ } from "./session-ykya0ajh.js";
8
8
  import {
9
- Service80,
10
- node84
11
- } from "./pty-tqwr2f5g.js";
9
+ Service82,
10
+ node86
11
+ } from "./session-xhvz1y9e.js";
12
12
  import {
13
- Service79,
14
- node83
15
- } from "./pty-hxpy2fz9.js";
13
+ Service81,
14
+ node85
15
+ } from "./session-nr0jgk0c.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info33,
19
+ Info34,
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./pty-4sn99hha.js";
23
+ } from "./session-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./pty-8p4f9s12.js";
27
+ } from "./session-dj2t23y0.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./pty-cfpkc3c9.js";
30
+ } from "./session-m0jqrx5p.js";
31
31
  import {
32
32
  __export
33
- } from "./pty-9rqn6x4v.js";
33
+ } from "./session-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info32,
39
+ ID: () => ID17,
40
+ Info: () => Info33,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service78,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node84,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID16 = ID17;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info33 = Info34;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID16
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service78 extends Context.Service()("@opencode/Project") {
74
+ class Service80 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,11 +93,11 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service78, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service79;
98
+ const git = yield* Service81;
99
99
  const proc = yield* AppProcess.Service;
100
- const bus = yield* Service80;
100
+ const bus = yield* Service82;
101
101
  const db = (yield* Service83).db;
102
102
  const announcing = new Set;
103
103
  const persist = Effect.fnUntraced(function* (project) {
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID16.global,
146
+ previous: project.previous ?? ID17.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID16.make(root) : undefined;
211
+ return root ? ID17.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID16.make(node) : undefined;
227
+ return node ? ID17.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID16.global,
236
+ id: id ?? ID17.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID16.global,
253
+ id: id ?? ID17.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID16.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service78.of({ list, update, resolve });
273
+ return Service80.of({ list, update, resolve });
274
274
  }));
275
- var node82 = makeGlobalNode({
276
- service: Service78,
275
+ var node84 = makeGlobalNode({
276
+ service: Service80,
277
277
  layer,
278
- deps: [node84, node87, FSUtil.node, node83, AppProcess.node]
278
+ deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service78, node82, exports_project };
281
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./pty-jwcy2c2z.js";
3
+ } from "./session-y71avatq.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./pty-tqwr2f5g.js";
5
+ Service82,
6
+ node86
7
+ } from "./session-xhvz1y9e.js";
8
8
  import {
9
- Event15,
10
- Service62,
11
- node65
12
- } from "./pty-5cn1q5nw.js";
9
+ Event18,
10
+ Service72,
11
+ node75
12
+ } from "./session-hd3jvcb0.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./pty-en85tny2.js";
14
+ Service79,
15
+ node83
16
+ } from "./session-t8dwqbmf.js";
17
17
  import {
18
18
  Service75,
19
19
  node78
20
- } from "./pty-47r0kvy6.js";
20
+ } from "./session-a7sfjr5d.js";
21
21
  import {
22
- ID10,
23
- Service63,
24
- node66
25
- } from "./pty-g408yz0d.js";
22
+ ID14,
23
+ Service73,
24
+ node76
25
+ } from "./session-w0sbs0gk.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./pty-rdw6cm16.js";
29
+ } from "./session-rdw6cm16.js";
30
30
  import {
31
- ID8,
31
+ ID12,
32
32
  MethodID2,
33
- Service61,
34
- node64
35
- } from "./pty-trt7zypv.js";
33
+ Service71,
34
+ node74
35
+ } from "./session-p50119wk.js";
36
36
  import {
37
37
  __export
38
- } from "./pty-9rqn6x4v.js";
38
+ } from "./session-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service23,
53
+ Service: () => Service38,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured3,
57
- layer: () => layer11,
58
- node: () => node25
56
+ configured: () => configured5,
57
+ layer: () => layer16,
58
+ node: () => node41
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service23 extends Context.Service()("@opencode/MCP") {
96
+ class Service38 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options3 = Schema.Struct({
98
+ var Options5 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
105
- const location = yield* Service77;
104
+ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
105
+ const location = yield* Service79;
106
106
  const environment = yield* Service75;
107
- const bus = yield* Service80;
108
- const forms = yield* Service63;
109
- const integration = yield* Service61;
110
- const credentials = yield* Service62;
107
+ const bus = yield* Service82;
108
+ const forms = yield* Service73;
109
+ const integration = yield* Service71;
110
+ const credentials = yield* Service72;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID8.make(suffix);
122
+ const integrationID = ID12.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service62, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service72, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -144,19 +144,19 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError2({ server: name });
147
+ return yield* new NotFoundError4({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service62, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service72, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID10.create();
159
+ const formID = ID14.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -365,7 +365,7 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
365
365
  yield* startServer(name, entry);
366
366
  }).pipe(locks.withLock(name));
367
367
  });
368
- fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
368
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
369
369
  const state = create3({
370
370
  name: "mcp",
371
371
  initial: () => ({
@@ -391,7 +391,7 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
391
391
  }),
392
392
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
393
393
  });
394
- return Service23.of({
394
+ return Service38.of({
395
395
  transform: state.transform,
396
396
  reload: state.reload,
397
397
  servers: Effect.fn("MCP.servers")(function* () {
@@ -510,14 +510,14 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
510
510
  })
511
511
  });
512
512
  }));
513
- function configured3(options) {
513
+ function configured5(options) {
514
514
  return makeLocationNode({
515
- service: Service23,
516
- layer: layer11(options),
517
- deps: [node81, node78, node84, node66, node64, node65]
515
+ service: Service38,
516
+ layer: layer16(options),
517
+ deps: [node83, node78, node86, node76, node74, node75]
518
518
  });
519
519
  }
520
- var node25 = configured3();
520
+ var node41 = configured5();
521
521
  function toElicitationField(key, property, required) {
522
522
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
523
523
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
568
568
  }
569
569
  }
570
570
 
571
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service23, Options3, layer11, configured3, node25, exports_mcp4 };
571
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options5, layer16, configured5, node41, exports_mcp4 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  empty3,
5
5
  make19,
6
6
  diffByKey2
7
- } from "./pty-gbt6w4kb.js";
7
+ } from "./session-t550f9t1.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./pty-hdfkv0ev.js";
10
+ } from "./session-e8zeyszs.js";
11
11
  import {
12
- Service23,
13
- node25
14
- } from "./pty-gtgjs7h2.js";
12
+ Service38,
13
+ node41
14
+ } from "./session-bv6xyj4g.js";
15
15
  import {
16
16
  namespace2,
17
- name13
18
- } from "./pty-36ndtc93.js";
17
+ name14
18
+ } from "./session-xaeen76g.js";
19
19
  import {
20
20
  __export
21
- } from "./pty-9rqn6x4v.js";
21
+ } from "./session-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions4 = {};
25
- __export(exports_instructions4, {
26
- McpInstructions: () => exports_instructions4,
27
- Service: () => Service20,
28
- layer: () => layer9,
29
- node: () => node22
24
+ var exports_instructions5 = {};
25
+ __export(exports_instructions5, {
26
+ McpInstructions: () => exports_instructions5,
27
+ Service: () => Service36,
28
+ layer: () => layer14,
29
+ node: () => node39
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,17 +62,17 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service20 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service36 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer9 = Layer.effect(Service20, Effect.gen(function* () {
68
- const mcp = yield* Service23;
69
- return Service20.of({
67
+ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
68
+ const mcp = yield* Service38;
69
+ return Service36.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
74
  const source = (value) => make19({
75
- key: Key4.make("core/mcp-guidance"),
75
+ key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -90,7 +90,7 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node22 = makeLocationNode({ service: Service20, layer: layer9, deps: [node25] });
103
+ var node39 = makeLocationNode({ service: Service36, layer: layer14, deps: [node41] });
104
104
 
105
- export { Service20, layer9, node22, exports_instructions4 };
105
+ export { Service36, layer14, node39, exports_instructions5 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./pty-tqwr2f5g.js";
2
+ Service82,
3
+ node86
4
+ } from "./session-xhvz1y9e.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-rdw6cm16.js";
7
+ } from "./session-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./session-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event5,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event15,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info6,
19
- NotFoundError: () => NotFoundError4,
20
- Service: () => Service40,
21
- layer: () => layer18,
22
- node: () => node42
18
+ Info: () => Info24,
19
+ NotFoundError: () => NotFoundError8,
20
+ Service: () => Service69,
21
+ layer: () => layer24,
22
+ node: () => node72
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event5 } from "@opencode/schema/command";
28
- var Info6 = Command.Info;
27
+ import { Event as Event15 } from "@opencode/schema/command";
28
+ var Info24 = Command.Info;
29
29
 
30
- class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service40 extends Context.Service()("@opencode/Command") {
42
+ class Service69 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer18 = Layer.effect(Service40, Effect.gen(function* () {
45
- const bus = yield* Service80;
44
+ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
45
+ const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service40, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info6.make({
54
+ const info = (definition) => Info24.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service40.of({
58
+ return Service69.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer18 = Layer.effect(Service40, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node42 = makeLocationNode({
75
- service: Service40,
76
- layer: layer18,
77
- deps: [node84]
74
+ var node72 = makeLocationNode({
75
+ service: Service69,
76
+ layer: layer24,
77
+ deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info6, NotFoundError4, ExecutionError2, Service40, layer18, node42, exports_command4, Event5 };
89
+ export { Info24, NotFoundError8, ExecutionError2, Service69, layer24, node72, exports_command5, Event15 };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service77,
3
- node81
4
- } from "./pty-en85tny2.js";
2
+ Service79,
3
+ node83
4
+ } from "./session-t8dwqbmf.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  make19,
8
8
  combine2
9
- } from "./pty-gbt6w4kb.js";
9
+ } from "./session-t550f9t1.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./session-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service22,
19
- node: () => node24
18
+ Service: () => Service29,
19
+ node: () => node32
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service22 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service22, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service77;
29
- return Service22.of({
28
+ const location = yield* Service79;
29
+ return Service29.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
31
  make19({
32
- key: Key4.make("core/environment"),
32
+ key: Key3.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -50,7 +50,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
50
50
  }
51
51
  }),
52
52
  make19({
53
- key: Key4.make("core/date"),
53
+ key: Key3.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node24 = makeLocationNode({ service: Service22, layer, deps: [Global.node, node81] });
64
+ var node32 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node83] });
65
65
 
66
- export { Service22, node24, exports_builtins };
66
+ export { Service29, node32, exports_builtins };