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

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 (502) hide show
  1. package/dist/agent.js +62 -62
  2. package/dist/aisdk-native.js +64 -64
  3. package/dist/aisdk.js +69 -69
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +53 -53
  6. package/dist/chunks/{pty-6vgkbqsf.js → pty-010xpxbn.js} +9 -9
  7. package/dist/chunks/{pty-7nrhymjj.js → pty-01m48zym.js} +18 -18
  8. package/dist/chunks/{pty-x31dz1np.js → pty-05k8gwwx.js} +42 -42
  9. package/dist/chunks/{pty-e41je68c.js → pty-09ejbmp6.js} +2 -2
  10. package/dist/chunks/{pty-4h75thkr.js → pty-0cnsmtwh.js} +28 -28
  11. package/dist/chunks/{pty-b6yzcphf.js → pty-0x0trpnf.js} +9 -9
  12. package/dist/chunks/{pty-v58jy1xd.js → pty-15wq8bnm.js} +15 -12
  13. package/dist/chunks/{pty-sbycj2hd.js → pty-1hxn8gc9.js} +14 -14
  14. package/dist/chunks/{pty-qmg269n7.js → pty-1n42sk3q.js} +10 -10
  15. package/dist/chunks/{pty-dhwr7h25.js → pty-1qg96azw.js} +9 -9
  16. package/dist/chunks/{pty-vjrtmzpa.js → pty-1t1mekng.js} +4 -4
  17. package/dist/chunks/{pty-xdw3myhw.js → pty-1v03ecv9.js} +21 -21
  18. package/dist/chunks/{pty-xkhfjrgz.js → pty-256nx13v.js} +3 -3
  19. package/dist/chunks/{pty-cq9vh2fv.js → pty-2aet7wja.js} +7 -7
  20. package/dist/chunks/{pty-h3c20vca.js → pty-2bm8nv3j.js} +4 -4
  21. package/dist/chunks/{pty-m5mra8ny.js → pty-2deyrhr8.js} +12 -12
  22. package/dist/chunks/{pty-eq9606cq.js → pty-2f0arp29.js} +46 -46
  23. package/dist/chunks/{pty-d7tjjqf6.js → pty-2gydggrp.js} +2 -2
  24. package/dist/chunks/{pty-0nw536sy.js → pty-2jm9246z.js} +1 -1
  25. package/dist/chunks/{pty-vyhtd5az.js → pty-2mvse5z6.js} +33 -33
  26. package/dist/chunks/{pty-abyxqag4.js → pty-2qtz93bp.js} +2 -2
  27. package/dist/chunks/{pty-htekf6zf.js → pty-2x2vnpz5.js} +7 -7
  28. package/dist/chunks/{pty-cy7q8w9z.js → pty-2x8n49qa.js} +10 -10
  29. package/dist/chunks/{pty-s1wc6ad4.js → pty-2xyrgdy7.js} +13 -13
  30. package/dist/chunks/{pty-p5hkqs15.js → pty-360vn7h3.js} +3 -3
  31. package/dist/chunks/{pty-p3j3z1wm.js → pty-36ndtc93.js} +23 -23
  32. package/dist/chunks/{pty-rrnpfv6a.js → pty-39mnaq4c.js} +20 -20
  33. package/dist/chunks/{pty-eaznszq2.js → pty-3z5xssby.js} +29 -29
  34. package/dist/chunks/{pty-d58ea4wx.js → pty-4641nt7s.js} +6 -6
  35. package/dist/chunks/{pty-xseb90fg.js → pty-47qt310b.js} +10 -10
  36. package/dist/chunks/{pty-bxgqktpk.js → pty-47r0kvy6.js} +19 -19
  37. package/dist/chunks/{pty-vk0pdsgf.js → pty-4dkhsnmt.js} +28 -28
  38. package/dist/chunks/{pty-j5786zrt.js → pty-4jc5c4h4.js} +1 -1
  39. package/dist/chunks/{pty-nbctyxha.js → pty-4jzbd5w2.js} +318 -314
  40. package/dist/chunks/{pty-57ez7d0k.js → pty-4sn99hha.js} +5 -5
  41. package/dist/chunks/{pty-57q53s15.js → pty-4zhk9xy1.js} +9 -9
  42. package/dist/chunks/{pty-p1nm93x7.js → pty-510m7gjw.js} +3 -3
  43. package/dist/chunks/{pty-1ygqh575.js → pty-56gdpj1q.js} +7 -7
  44. package/dist/chunks/pty-56qjdxtm.js +26 -0
  45. package/dist/chunks/{pty-tvkyymax.js → pty-57dcv54h.js} +8 -8
  46. package/dist/chunks/{pty-6wkd5avw.js → pty-5cn1q5nw.js} +30 -30
  47. package/dist/chunks/{pty-9yyvrqyy.js → pty-5j6bqzeb.js} +19 -19
  48. package/dist/chunks/{pty-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  49. package/dist/chunks/{pty-kb0jenp9.js → pty-5whcbe3x.js} +17 -17
  50. package/dist/chunks/{pty-2kv1txj9.js → pty-5xsexkhf.js} +6 -6
  51. package/dist/chunks/{pty-az62kead.js → pty-5xwkdnk6.js} +8 -8
  52. package/dist/chunks/{pty-7dqw4kz8.js → pty-607tc6va.js} +4 -4
  53. package/dist/chunks/{pty-137n2cjd.js → pty-61a7pyf7.js} +5 -5
  54. package/dist/chunks/{pty-wvh43mtc.js → pty-64amj0r1.js} +18 -18
  55. package/dist/chunks/{pty-nam2k8jt.js → pty-6a3q5akz.js} +8 -16
  56. package/dist/chunks/{pty-h8w3rnrc.js → pty-6d0hcp9d.js} +7 -7
  57. package/dist/chunks/{pty-e9wrjfx0.js → pty-6zb5jvme.js} +52 -52
  58. package/dist/chunks/{pty-1bbkgx8g.js → pty-73tb2d7t.js} +2 -2
  59. package/dist/chunks/{pty-pwyph8fp.js → pty-7cj0vwkb.js} +9 -9
  60. package/dist/chunks/{pty-1csms2ve.js → pty-7hmfndvt.js} +24 -24
  61. package/dist/chunks/{pty-8zqxjytc.js → pty-7swn79b1.js} +8 -8
  62. package/dist/chunks/{pty-4b3p33ns.js → pty-7t5qybgj.js} +46 -46
  63. package/dist/chunks/{pty-44jfm9c6.js → pty-82kxmdcf.js} +6 -6
  64. package/dist/chunks/{pty-02j327mk.js → pty-82r64hfa.js} +29 -29
  65. package/dist/chunks/{pty-0jq9fyba.js → pty-85z0khfw.js} +8 -8
  66. package/dist/chunks/{pty-tcezcvh9.js → pty-89znhe33.js} +3 -3
  67. package/dist/chunks/{pty-4kyk22vj.js → pty-8hdvkfsn.js} +39 -39
  68. package/dist/chunks/{pty-0ymsz8rv.js → pty-8kgvtemd.js} +7 -7
  69. package/dist/chunks/{pty-byqk2fv6.js → pty-8ktdpdbn.js} +29 -29
  70. package/dist/chunks/{pty-z62c9ayt.js → pty-8n2c22yw.js} +8 -8
  71. package/dist/chunks/{pty-z50h5snd.js → pty-8ndese90.js} +17 -17
  72. package/dist/chunks/{pty-brqzv7bg.js → pty-8sc656s0.js} +27 -27
  73. package/dist/chunks/{pty-7xnx6cga.js → pty-8tcq1ard.js} +37 -37
  74. package/dist/chunks/{pty-xgqsyfnn.js → pty-8x7kj7de.js} +11 -11
  75. package/dist/chunks/{pty-b785ew1k.js → pty-92hvatj2.js} +80 -80
  76. package/dist/chunks/{pty-rgt3cf1f.js → pty-94h3t13q.js} +11 -11
  77. package/dist/chunks/{pty-4jeaa92r.js → pty-95jkg4sh.js} +1 -1
  78. package/dist/chunks/{pty-waqpjwb8.js → pty-96712bz8.js} +2 -2
  79. package/dist/chunks/{pty-rccz2tys.js → pty-96k7qteq.js} +1 -1
  80. package/dist/chunks/{pty-hfs4qywr.js → pty-9wh28ea7.js} +30 -30
  81. package/dist/chunks/{pty-5c4hm403.js → pty-a1bz86dw.js} +1 -1
  82. package/dist/chunks/{pty-p91ndb2v.js → pty-a6ha29gm.js} +46 -46
  83. package/dist/chunks/{pty-ywdxak5q.js → pty-a8rvpzh6.js} +34 -34
  84. package/dist/chunks/{pty-809q4hne.js → pty-af04s6ss.js} +3 -3
  85. package/dist/chunks/{pty-pxnzv34t.js → pty-ajejy050.js} +16 -16
  86. package/dist/chunks/{pty-g9q532r4.js → pty-aqk3dj7t.js} +1 -1
  87. package/dist/chunks/{pty-sk1rxzc5.js → pty-b9w0x7cm.js} +15 -15
  88. package/dist/chunks/{pty-2evd0k84.js → pty-bag4px4n.js} +34 -34
  89. package/dist/chunks/{pty-jdbtptns.js → pty-bfygd469.js} +32 -32
  90. package/dist/chunks/{pty-2chp5681.js → pty-bh7937zs.js} +26 -24
  91. package/dist/chunks/{pty-mwfspft0.js → pty-bnv5qe0w.js} +7 -7
  92. package/dist/chunks/{pty-6zvnhsg3.js → pty-bt0s2m4s.js} +25 -25
  93. package/dist/chunks/{pty-czhz2k7d.js → pty-c3xk9fpp.js} +13 -11
  94. package/dist/chunks/{pty-p8x8xcsb.js → pty-c6d4h0jp.js} +12 -12
  95. package/dist/chunks/{pty-gjmk74th.js → pty-cdm0dq9n.js} +5 -5
  96. package/dist/chunks/{pty-ch7ar4cr.js → pty-cerhndf8.js} +16 -16
  97. package/dist/chunks/{pty-m0jqrx5p.js → pty-cfpkc3c9.js} +1 -1
  98. package/dist/chunks/{pty-c2qj7f61.js → pty-ck33vcq0.js} +17 -19
  99. package/dist/chunks/{pty-h6r3nrb9.js → pty-cpj0znwe.js} +3 -3
  100. package/dist/chunks/{pty-8kgt14gf.js → pty-cs1yg9jz.js} +25 -25
  101. package/dist/chunks/{pty-1j7jhvrm.js → pty-cywsvzz8.js} +15 -15
  102. package/dist/chunks/{pty-5yzzbxa7.js → pty-czfptnv9.js} +7 -7
  103. package/dist/chunks/{pty-r2m716tb.js → pty-d4he2qe1.js} +7 -7
  104. package/dist/chunks/{pty-8npqseq9.js → pty-d7wgan7y.js} +16 -16
  105. package/dist/chunks/{pty-6tc74vrw.js → pty-d8mfmd5t.js} +16 -16
  106. package/dist/chunks/{pty-tb60vd7q.js → pty-dkkcfdd5.js} +3 -3
  107. package/dist/chunks/{pty-e0r8ercz.js → pty-dm7z6sw8.js} +10 -10
  108. package/dist/chunks/{pty-bd89c7qa.js → pty-dqhgk4gj.js} +12 -12
  109. package/dist/chunks/{pty-mg0hvqns.js → pty-e8gs20m7.js} +22 -22
  110. package/dist/chunks/{pty-rsd57mk1.js → pty-en85tny2.js} +15 -15
  111. package/dist/chunks/{pty-tqg72d4k.js → pty-en9axxsm.js} +21 -19
  112. package/dist/chunks/{pty-a5frg3c7.js → pty-esegqz26.js} +8 -8
  113. package/dist/chunks/{pty-z3pw5915.js → pty-evbgk2k8.js} +3 -3
  114. package/dist/chunks/{pty-1acjjqhc.js → pty-f2n192rq.js} +3 -3
  115. package/dist/chunks/{pty-834a0b17.js → pty-f35htakt.js} +5 -5
  116. package/dist/chunks/{pty-hdnk95c8.js → pty-f828m53h.js} +1 -1
  117. package/dist/chunks/{pty-j2e43x50.js → pty-f9mqex9s.js} +34 -34
  118. package/dist/chunks/{pty-c9g527t4.js → pty-fd3v7rn0.js} +30 -30
  119. package/dist/chunks/{pty-2g7r5mvw.js → pty-fjeptm1j.js} +9 -9
  120. package/dist/chunks/{pty-mv5tqpbn.js → pty-fra5bndy.js} +17 -17
  121. package/dist/chunks/{pty-0en0hh3r.js → pty-fwrss4ad.js} +3 -3
  122. package/dist/chunks/{pty-be3g221r.js → pty-g02r5t1q.js} +16 -16
  123. package/dist/chunks/{pty-899tt7an.js → pty-g408yz0d.js} +28 -28
  124. package/dist/chunks/{pty-q9k3nk2m.js → pty-g6v5r3w6.js} +13 -13
  125. package/dist/chunks/{pty-s8d7rejh.js → pty-gbt6w4kb.js} +7 -7
  126. package/dist/chunks/{pty-00f2f7q8.js → pty-gbvfym51.js} +22 -22
  127. package/dist/chunks/{pty-jqe5ka82.js → pty-gf229ayp.js} +16 -16
  128. package/dist/chunks/{pty-n7b52vzq.js → pty-gqgkwrka.js} +19 -19
  129. package/dist/chunks/{pty-k1gkpfdk.js → pty-gs3s1a1g.js} +6 -6
  130. package/dist/chunks/{pty-t62nene4.js → pty-gtgjs7h2.js} +48 -48
  131. package/dist/chunks/{pty-zy742dcv.js → pty-gx88jzcs.js} +30 -30
  132. package/dist/chunks/{pty-kbmk2nk1.js → pty-gy590f6s.js} +1 -1
  133. package/dist/chunks/{pty-gydxxgyg.js → pty-gyxzt53n.js} +14 -14
  134. package/dist/chunks/{pty-jnzdfagj.js → pty-h4xx3n44.js} +4 -4
  135. package/dist/chunks/{pty-s6qp1k48.js → pty-h5amc0nw.js} +4 -4
  136. package/dist/chunks/{pty-teerv99t.js → pty-h8d3bytr.js} +55 -55
  137. package/dist/chunks/{pty-2em355j9.js → pty-hdfkv0ev.js} +55 -55
  138. package/dist/chunks/{pty-qtwarjwz.js → pty-hdns3422.js} +12 -12
  139. package/dist/chunks/{pty-pf31ssb9.js → pty-hgd4btym.js} +4 -4
  140. package/dist/chunks/{pty-wcs8mysc.js → pty-hgk31n1k.js} +26 -26
  141. package/dist/chunks/{pty-t4h1a8sm.js → pty-hjvqykt7.js} +7 -7
  142. package/dist/chunks/pty-hr9dp009.js +4 -0
  143. package/dist/chunks/{pty-bm3m92rh.js → pty-hxpy2fz9.js} +8 -8
  144. package/dist/chunks/{pty-nbqevg8t.js → pty-hzxxpgfe.js} +12 -12
  145. package/dist/chunks/{pty-9mmr4cym.js → pty-j2dty9kk.js} +19 -19
  146. package/dist/chunks/{pty-gzfs38sx.js → pty-jcvsx840.js} +17 -17
  147. package/dist/chunks/{pty-x5pjsa02.js → pty-jfq1w6xq.js} +10 -10
  148. package/dist/chunks/{pty-4bgjx4y9.js → pty-jhetzww4.js} +34 -34
  149. package/dist/chunks/{pty-1e7y3jby.js → pty-jn0rbr09.js} +2 -2
  150. package/dist/chunks/{pty-x0511brf.js → pty-jva4mgym.js} +3 -3
  151. package/dist/chunks/{pty-y71avatq.js → pty-jwcy2c2z.js} +3 -3
  152. package/dist/chunks/{pty-6ejv29z8.js → pty-jzp2kyv6.js} +23 -23
  153. package/dist/chunks/{pty-hsv1w0ka.js → pty-k388e6t1.js} +14 -14
  154. package/dist/chunks/{pty-n5zcbnsa.js → pty-kb1rdp05.js} +39 -39
  155. package/dist/chunks/{pty-8v55y81p.js → pty-kgbqw58m.js} +26 -26
  156. package/dist/chunks/{pty-4p0kgrzt.js → pty-kjq75dje.js} +1 -1
  157. package/dist/chunks/{pty-fkjmw100.js → pty-knb7evpn.js} +4 -4
  158. package/dist/chunks/{pty-sy45410j.js → pty-kns2fx3n.js} +17 -17
  159. package/dist/chunks/{pty-6avas0hs.js → pty-krbz4bty.js} +4 -4
  160. package/dist/chunks/{pty-3sqv75dt.js → pty-kxdh0s6n.js} +9 -9
  161. package/dist/chunks/{pty-zav06jzw.js → pty-m70sbz6t.js} +3 -3
  162. package/dist/chunks/{pty-bkjtrpfb.js → pty-m77h72gn.js} +14 -14
  163. package/dist/chunks/{pty-g2yz86wh.js → pty-m7va1g8x.js} +1 -1
  164. package/dist/chunks/{pty-vsp1fds9.js → pty-magykp64.js} +20 -20
  165. package/dist/chunks/{pty-bky20j8j.js → pty-mf55kzn1.js} +8 -8
  166. package/dist/chunks/{pty-yqngptm3.js → pty-mg90z6wk.js} +18 -18
  167. package/dist/chunks/{pty-ynxbryrd.js → pty-mh8602s5.js} +20 -20
  168. package/dist/chunks/{pty-8ha6ga5e.js → pty-mm5kxf07.js} +7 -7
  169. package/dist/chunks/{pty-z27wwaqb.js → pty-n0kbf44j.js} +9 -9
  170. package/dist/chunks/{pty-wzdyyep8.js → pty-n25bj5sj.js} +6 -6
  171. package/dist/chunks/{pty-rhafb4aa.js → pty-nq7qbqzc.js} +7 -7
  172. package/dist/chunks/{pty-1c5ncfj1.js → pty-nvgm9hwb.js} +27 -27
  173. package/dist/chunks/{pty-rf9y12ds.js → pty-nwb8yfca.js} +4 -4
  174. package/dist/chunks/{pty-1cr9kxrr.js → pty-p2bsys5p.js} +39 -35
  175. package/dist/chunks/{pty-qqrhpyxk.js → pty-p3w99mff.js} +21 -21
  176. package/dist/chunks/{pty-3zh6rxhw.js → pty-pfpqttcd.js} +10 -10
  177. package/dist/chunks/pty-px0fec8t.js +252 -0
  178. package/dist/chunks/{pty-sd8zp0nj.js → pty-q0sdqn78.js} +1 -1
  179. package/dist/chunks/{pty-0mwa6y39.js → pty-q24nm477.js} +16 -16
  180. package/dist/chunks/{pty-npbak50e.js → pty-q2f6gqtk.js} +8 -8
  181. package/dist/chunks/pty-q3pcyw4n.js +131 -0
  182. package/dist/chunks/{pty-kss3k1ej.js → pty-q4hrj6yz.js} +22 -22
  183. package/dist/chunks/{pty-fm2qvscf.js → pty-qa3qhgw8.js} +3 -3
  184. package/dist/chunks/{pty-mx4hjh21.js → pty-r1761eky.js} +30 -30
  185. package/dist/chunks/{pty-8ev4rrc0.js → pty-r4hn1y4t.js} +4 -4
  186. package/dist/chunks/{pty-qz49fwgp.js → pty-rhx683sy.js} +5 -5
  187. package/dist/chunks/{pty-zvkwbpx3.js → pty-rrwz5n32.js} +10 -10
  188. package/dist/chunks/{pty-vqf3rr9z.js → pty-rvf3k54n.js} +14 -14
  189. package/dist/chunks/{pty-08fd96st.js → pty-rwwvkkw9.js} +6 -6
  190. package/dist/chunks/{pty-7qq3ahcc.js → pty-rxcdjwh1.js} +3 -3
  191. package/dist/chunks/{pty-aqvz20a2.js → pty-ryb794yb.js} +7 -7
  192. package/dist/chunks/{pty-f1cvcqqp.js → pty-rz9v06kn.js} +25 -25
  193. package/dist/chunks/{pty-s1mn6qcj.js → pty-scs7maqt.js} +7 -7
  194. package/dist/chunks/{pty-gq6z7eg4.js → pty-sdrw2w9p.js} +21 -21
  195. package/dist/chunks/{pty-dcsznwm0.js → pty-src4gryn.js} +18 -18
  196. package/dist/chunks/{pty-2b210p4k.js → pty-t2gsyq25.js} +22 -22
  197. package/dist/chunks/{pty-p28j5sbe.js → pty-tbz0fdvh.js} +3 -3
  198. package/dist/chunks/{pty-qph7hyw7.js → pty-tqwr2f5g.js} +10 -10
  199. package/dist/chunks/{pty-8msxkbjy.js → pty-trt7zypv.js} +30 -30
  200. package/dist/chunks/{pty-4rr74z9v.js → pty-ty51299p.js} +9 -9
  201. package/dist/chunks/{pty-tk66bvfd.js → pty-v110mek2.js} +19 -19
  202. package/dist/chunks/{pty-vkwcxm6e.js → pty-vdnmec7y.js} +5 -5
  203. package/dist/chunks/{pty-qq11w61w.js → pty-ve4pfa0n.js} +3 -3
  204. package/dist/chunks/{pty-0s0a8jh1.js → pty-vedaqc0n.js} +178 -178
  205. package/dist/chunks/{pty-rbs0ef4y.js → pty-vf5yby4q.js} +31 -33
  206. package/dist/chunks/{pty-s4ajyzwp.js → pty-vfqq51fb.js} +15 -15
  207. package/dist/chunks/{pty-rjkasajw.js → pty-vk9pkavn.js} +14 -14
  208. package/dist/chunks/{pty-zg25sgvs.js → pty-vr12ekh8.js} +8 -8
  209. package/dist/chunks/{pty-r3grxea3.js → pty-vw2t0mtq.js} +36 -36
  210. package/dist/chunks/{pty-9sqkv26s.js → pty-vy078w6d.js} +42 -42
  211. package/dist/chunks/{pty-gzbkpp9m.js → pty-vyqn3nqs.js} +3 -3
  212. package/dist/chunks/{pty-7ac170kv.js → pty-vyy6cxw9.js} +2 -2
  213. package/dist/chunks/{pty-6p3xbzsx.js → pty-w1k39n5e.js} +3 -3
  214. package/dist/chunks/{pty-277eer69.js → pty-wj76ss2k.js} +3 -3
  215. package/dist/chunks/{pty-mxr6rdrb.js → pty-wxrzmbxm.js} +14 -14
  216. package/dist/chunks/{pty-7t8e8ps1.js → pty-wzjn1tpp.js} +9 -9
  217. package/dist/chunks/{pty-kz37x8hb.js → pty-x6j1wb2z.js} +79 -79
  218. package/dist/chunks/{pty-hn8hcjvd.js → pty-xpkrztab.js} +3 -3
  219. package/dist/chunks/{pty-kmrnkd77.js → pty-xtvm4hh6.js} +1 -1
  220. package/dist/chunks/{pty-bwbrqz0a.js → pty-xv567rvv.js} +8 -8
  221. package/dist/chunks/{pty-74e549sx.js → pty-y3ajgz1g.js} +13 -13
  222. package/dist/chunks/{pty-5xdv3y65.js → pty-ypbv3kf7.js} +24 -24
  223. package/dist/chunks/{pty-s4enseaf.js → pty-yrznvahk.js} +1 -1
  224. package/dist/chunks/{pty-kk61yved.js → pty-yvqjf3ez.js} +12 -12
  225. package/dist/chunks/{pty-9n4prt69.js → pty-yz0n98jk.js} +13 -13
  226. package/dist/chunks/{pty-29x78va6.js → pty-z63w68vq.js} +4 -4
  227. package/dist/chunks/{pty-zwp73gaw.js → pty-z9g3fnns.js} +20 -20
  228. package/dist/chunks/{pty-ze9yakes.js → pty-z9z6sd2a.js} +15 -15
  229. package/dist/chunks/{pty-5tvckp52.js → pty-zapz2rcy.js} +24 -24
  230. package/dist/chunks/{pty-q36t7h4b.js → pty-zcz1ktx8.js} +3 -3
  231. package/dist/chunks/{pty-m2taxsaw.js → pty-zfx1etke.js} +8 -8
  232. package/dist/chunks/{pty-3b9qt4hj.js → pty-zg3tcem2.js} +7 -7
  233. package/dist/chunks/{pty-t96c7fmv.js → pty-zn6sdvfn.js} +20 -20
  234. package/dist/chunks/{pty-hr990vwq.js → pty-zv6tdpnx.js} +36 -36
  235. package/dist/chunks/{pty-stdr0dsx.js → pty-zxtb73ge.js} +18 -18
  236. package/dist/chunks/{pty-hyag3rfz.js → pty-zy6cwck4.js} +9 -9
  237. package/dist/codemode/instructions.js +6 -6
  238. package/dist/command.js +58 -58
  239. package/dist/config/discovery.js +61 -61
  240. package/dist/config/normalize.js +79 -79
  241. package/dist/config/plugin/agent.js +97 -97
  242. package/dist/config/plugin/command.js +177 -177
  243. package/dist/config/plugin/compaction.js +127 -127
  244. package/dist/config/plugin/compatibility.js +113 -113
  245. package/dist/config/plugin/formatter.js +96 -96
  246. package/dist/config/plugin/image.js +95 -95
  247. package/dist/config/plugin/instruction.js +65 -65
  248. package/dist/config/plugin/location-watcher.js +97 -97
  249. package/dist/config/plugin/mcp.js +103 -103
  250. package/dist/config/plugin/policy.js +95 -95
  251. package/dist/config/plugin/provider.js +95 -95
  252. package/dist/config/plugin/reference.js +96 -96
  253. package/dist/config/plugin/shell.js +97 -97
  254. package/dist/config/plugin/skill-file.js +75 -75
  255. package/dist/config/plugin/skill.js +114 -114
  256. package/dist/config/plugin/snapshot.js +95 -95
  257. package/dist/config/plugin/source.js +98 -98
  258. package/dist/config/plugin/tool-output.js +97 -97
  259. package/dist/config/plugin/websearch.js +96 -96
  260. package/dist/config/plugin/worktree.js +96 -96
  261. package/dist/config/variable.js +2 -2
  262. package/dist/config.js +101 -101
  263. package/dist/credential.js +64 -64
  264. package/dist/database/database.js +47 -47
  265. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  266. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  267. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  268. package/dist/database/drizzle/index.js +9 -9
  269. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  270. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  271. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  272. package/dist/database/drizzle.js +9 -9
  273. package/dist/database/migration.gen.js +35 -35
  274. package/dist/database/migration.js +36 -36
  275. package/dist/database/v1-migration.bun.js +11 -11
  276. package/dist/effect/app-node-builder.js +243 -242
  277. package/dist/effect/keyed-mutex.js +3 -3
  278. package/dist/environment/environment.js +67 -67
  279. package/dist/environment/index.js +69 -69
  280. package/dist/event-logger.js +14 -14
  281. package/dist/file-access.js +78 -78
  282. package/dist/file-mutation.js +68 -68
  283. package/dist/filesystem/location-watcher-policy.js +5 -5
  284. package/dist/filesystem/location-watcher.js +192 -192
  285. package/dist/filesystem/protected.js +3 -3
  286. package/dist/filesystem/search.js +76 -76
  287. package/dist/filesystem/watcher-binding.js +3 -3
  288. package/dist/filesystem/watcher.js +14 -14
  289. package/dist/filesystem.js +79 -79
  290. package/dist/form.js +66 -66
  291. package/dist/formatter/builtins.js +3 -3
  292. package/dist/formatter.js +63 -63
  293. package/dist/generate.js +76 -76
  294. package/dist/git.js +8 -8
  295. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  296. package/dist/github-copilot/copilot-provider.js +3 -3
  297. package/dist/github-copilot/models.js +74 -74
  298. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  299. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  300. package/dist/image/photon.js +1 -1
  301. package/dist/image.js +5 -5
  302. package/dist/instance/service.js +5 -5
  303. package/dist/instance.js +315 -314
  304. package/dist/instruction-discovery.js +64 -64
  305. package/dist/instructions/builtins.js +64 -64
  306. package/dist/instructions/index.js +5 -5
  307. package/dist/integration/connection.js +3 -3
  308. package/dist/integration.js +64 -64
  309. package/dist/job.js +58 -58
  310. package/dist/kv.js +52 -52
  311. package/dist/location-activity.js +61 -61
  312. package/dist/location-lifecycle.js +80 -80
  313. package/dist/location-mutation.js +35 -35
  314. package/dist/location-service-map.js +63 -63
  315. package/dist/location-services.js +312 -311
  316. package/dist/location.js +64 -64
  317. package/dist/mcp/client.js +20 -20
  318. package/dist/mcp/index.js +80 -80
  319. package/dist/mcp/instructions.js +99 -99
  320. package/dist/mcp/oauth.js +14 -14
  321. package/dist/mcp/stdio.js +64 -64
  322. package/dist/modal/models.js +74 -74
  323. package/dist/model-resolver.js +73 -73
  324. package/dist/model.js +75 -75
  325. package/dist/models-dev.js +82 -82
  326. package/dist/permission/saved.js +59 -59
  327. package/dist/permission/sql.js +3 -3
  328. package/dist/permission.js +89 -89
  329. package/dist/persistent-pty/index.js +65 -65
  330. package/dist/persistent-pty.js +51 -51
  331. package/dist/plugin/agent.js +78 -78
  332. package/dist/plugin/command.js +75 -75
  333. package/dist/plugin/compaction.js +100 -100
  334. package/dist/plugin/hooks.js +3 -3
  335. package/dist/plugin/host.js +183 -183
  336. package/dist/plugin/identity.js +3 -3
  337. package/dist/plugin/instance.js +5 -5
  338. package/dist/plugin/internal.js +287 -286
  339. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  340. package/dist/plugin/models-dev.js +71 -71
  341. package/dist/plugin/module.js +5 -5
  342. package/dist/plugin/optimize.js +3 -3
  343. package/dist/plugin/plan.js +76 -76
  344. package/dist/plugin/provider/amazon-bedrock.js +65 -65
  345. package/dist/plugin/provider/azure.js +94 -94
  346. package/dist/plugin/provider/cloudflare-ai-gateway.js +93 -93
  347. package/dist/plugin/provider/cloudflare-workers-ai.js +93 -93
  348. package/dist/plugin/provider/configured.js +92 -92
  349. package/dist/plugin/provider/digitalocean.js +67 -67
  350. package/dist/plugin/provider/github-copilot.js +68 -68
  351. package/dist/plugin/provider/gitlab.js +66 -66
  352. package/dist/plugin/provider/google-vertex.js +65 -65
  353. package/dist/plugin/provider/llmgateway.js +55 -55
  354. package/dist/plugin/provider/lmstudio.js +95 -95
  355. package/dist/plugin/provider/modal.js +67 -67
  356. package/dist/plugin/provider/ollama.js +95 -95
  357. package/dist/plugin/provider/openai.js +68 -68
  358. package/dist/plugin/provider/opencode.js +68 -68
  359. package/dist/plugin/provider/openrouter.js +66 -66
  360. package/dist/plugin/provider/poe.js +55 -55
  361. package/dist/plugin/provider/prompt-cache-key.js +65 -65
  362. package/dist/plugin/provider/sap-ai-core.js +65 -65
  363. package/dist/plugin/provider/snowflake-cortex.js +94 -94
  364. package/dist/plugin/provider/vercel.js +65 -65
  365. package/dist/plugin/provider/vllm.js +93 -93
  366. package/dist/plugin/provider/xai.js +66 -66
  367. package/dist/plugin/provider.js +124 -124
  368. package/dist/plugin/sdk.js +52 -52
  369. package/dist/plugin/service.js +3 -3
  370. package/dist/plugin/skill.js +114 -114
  371. package/dist/plugin/supervisor.js +303 -302
  372. package/dist/plugin/tool-input-repair.js +9 -0
  373. package/dist/plugin/update.js +6 -6
  374. package/dist/plugin/vcs/git.js +62 -62
  375. package/dist/plugin/vcs/hg.js +62 -62
  376. package/dist/plugin/warming.js +94 -94
  377. package/dist/plugin/websearch/exa.js +6 -6
  378. package/dist/plugin/websearch/firecrawl.js +7 -7
  379. package/dist/plugin/websearch/index.js +8 -8
  380. package/dist/plugin/websearch/mcp.js +5 -5
  381. package/dist/plugin/websearch/parallel.js +7 -7
  382. package/dist/plugin/websearch/tavily.js +6 -6
  383. package/dist/plugin/websearch/tinyfish.js +7 -7
  384. package/dist/plugin.js +192 -192
  385. package/dist/project/schema.js +5 -5
  386. package/dist/project/sql.js +2 -2
  387. package/dist/project.js +65 -65
  388. package/dist/provider.js +80 -76
  389. package/dist/pty/schema.js +3 -3
  390. package/dist/pty.js +69 -69
  391. package/dist/reference/instructions.js +65 -65
  392. package/dist/reference.js +63 -63
  393. package/dist/repository-cache.js +59 -59
  394. package/dist/ripgrep.js +70 -70
  395. package/dist/rpc.js +63 -63
  396. package/dist/session/command.js +53 -53
  397. package/dist/session/compaction.js +95 -95
  398. package/dist/session/context.js +117 -117
  399. package/dist/session/diff.js +64 -64
  400. package/dist/session/environment.js +5 -5
  401. package/dist/session/error.js +4 -4
  402. package/dist/session/execution/restart.js +126 -126
  403. package/dist/session/execution.js +102 -102
  404. package/dist/session/generate.js +118 -118
  405. package/dist/session/history.js +12 -12
  406. package/dist/session/inbox.js +66 -66
  407. package/dist/session/info.js +2 -2
  408. package/dist/session/instruction-entry.js +56 -56
  409. package/dist/session/instruction-state.js +5 -5
  410. package/dist/session/instructions.js +73 -73
  411. package/dist/session/message-updater.js +3 -3
  412. package/dist/session/model-request.js +87 -87
  413. package/dist/session/model-transport.js +7 -7
  414. package/dist/session/move.js +103 -103
  415. package/dist/session/projector.js +63 -63
  416. package/dist/session/prompt.js +78 -78
  417. package/dist/session/provider-context.js +3 -3
  418. package/dist/session/revert.js +66 -66
  419. package/dist/session/run-coordinator.js +3 -3
  420. package/dist/session/runner/index.js +3 -3
  421. package/dist/session/runner/llm.js +193 -193
  422. package/dist/session/runner/model.js +73 -73
  423. package/dist/session/runner/retry.js +86 -86
  424. package/dist/session/runner/step.js +93 -93
  425. package/dist/session/runner/to-llm-message.js +2 -2
  426. package/dist/session/schema.js +5 -5
  427. package/dist/session/session.js +142 -142
  428. package/dist/session/shell.js +110 -110
  429. package/dist/session/skill.js +77 -77
  430. package/dist/session/sql.js +3 -3
  431. package/dist/session/stats.js +10 -10
  432. package/dist/session/store.js +63 -63
  433. package/dist/session/subagent-job.js +174 -174
  434. package/dist/session/title.js +116 -116
  435. package/dist/session/to-session-error.js +85 -85
  436. package/dist/session/transfer.js +123 -123
  437. package/dist/session.js +186 -186
  438. package/dist/shell/parse.js +3 -3
  439. package/dist/shell/select.js +11 -11
  440. package/dist/shell.js +113 -113
  441. package/dist/skill/discovery.js +5 -5
  442. package/dist/skill/instructions.js +79 -79
  443. package/dist/skill.js +80 -80
  444. package/dist/snapshot.js +69 -69
  445. package/dist/tool/mcp.js +94 -94
  446. package/dist/tool/plugin/edit.js +93 -93
  447. package/dist/tool/plugin/glob.js +97 -97
  448. package/dist/tool/plugin/grep.js +97 -97
  449. package/dist/tool/plugin/opencode.js +3 -3
  450. package/dist/tool/plugin/patch.js +95 -95
  451. package/dist/tool/plugin/question.js +77 -77
  452. package/dist/tool/plugin/read.js +97 -97
  453. package/dist/tool/plugin/shell.js +182 -182
  454. package/dist/tool/plugin/skill.js +87 -87
  455. package/dist/tool/plugin/subagent.js +183 -183
  456. package/dist/tool/plugin/webfetch.js +83 -83
  457. package/dist/tool/plugin/websearch.js +88 -88
  458. package/dist/tool/plugin/write.js +95 -95
  459. package/dist/tool/read-filesystem.js +72 -72
  460. package/dist/tool-output.js +7 -7
  461. package/dist/tool.js +11 -11
  462. package/dist/types/agent.d.ts +14 -1
  463. package/dist/types/model-resolver.d.ts +2 -2
  464. package/dist/types/model.d.ts +54 -14
  465. package/dist/types/plugin/provider/configured.d.ts +2 -6
  466. package/dist/types/plugin/tool-input-repair.d.ts +2 -0
  467. package/dist/types/provider.d.ts +63 -15
  468. package/dist/types/session/history.d.ts +8 -8
  469. package/dist/types/v1/config/migrate.d.ts +30 -20
  470. package/dist/v1/config/agent.js +6 -6
  471. package/dist/v1/config/attachment.js +3 -3
  472. package/dist/v1/config/command.js +3 -3
  473. package/dist/v1/config/config.js +13 -13
  474. package/dist/v1/config/error.js +3 -3
  475. package/dist/v1/config/formatter.js +3 -3
  476. package/dist/v1/config/lsp.js +5 -5
  477. package/dist/v1/config/mcp.js +3 -3
  478. package/dist/v1/config/migrate.js +66 -66
  479. package/dist/v1/config/permission.js +7 -7
  480. package/dist/v1/config/plugin.js +3 -3
  481. package/dist/v1/config/provider.js +3 -3
  482. package/dist/v1/config/skills.js +3 -3
  483. package/dist/variant.js +66 -66
  484. package/dist/vcs.js +65 -65
  485. package/dist/websearch.js +61 -61
  486. package/dist/wellknown/plugin.js +55 -55
  487. package/dist/wellknown.js +60 -60
  488. package/dist/workspace/driver.js +3 -3
  489. package/dist/workspace.js +60 -60
  490. package/dist/worktree/git.js +7 -7
  491. package/dist/worktree/sql.js +3 -3
  492. package/dist/worktree/strategies.js +64 -64
  493. package/dist/worktree.js +68 -68
  494. package/package.json +8 -8
  495. package/dist/chunks/pty-1qqxsas6.js +0 -252
  496. package/dist/chunks/pty-1tm0r3ht.js +0 -4
  497. package/dist/chunks/pty-5qekf1cr.js +0 -26
  498. /package/dist/chunks/{pty-ssr8tzqd.js → pty-4ekhf7tc.js} +0 -0
  499. /package/dist/chunks/{pty-wr7ps67x.js → pty-5e15319b.js} +0 -0
  500. /package/dist/chunks/{pty-dj2t23y0.js → pty-8p4f9s12.js} +0 -0
  501. /package/dist/chunks/{pty-v68hp2va.js → pty-w8hj49dq.js} +0 -0
  502. /package/dist/chunks/{pty-qf8xbt1v.js → pty-xfjax5kj.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service83
3
- } from "./pty-waqpjwb8.js";
3
+ } from "./pty-96712bz8.js";
4
4
  import {
5
- Service51
6
- } from "./pty-gjmk74th.js";
5
+ Service35
6
+ } from "./pty-cdm0dq9n.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./pty-pf31ssb9.js";
9
+ } from "./pty-hgd4btym.js";
10
10
  import {
11
11
  provenance2
12
- } from "./pty-6p3xbzsx.js";
12
+ } from "./pty-w1k39n5e.js";
13
13
  import {
14
14
  preview2
15
- } from "./pty-b6yzcphf.js";
15
+ } from "./pty-0x0trpnf.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./pty-brqzv7bg.js";
18
+ } from "./pty-8sc656s0.js";
19
19
  import {
20
- Service16
21
- } from "./pty-kz37x8hb.js";
20
+ Service18
21
+ } from "./pty-x6j1wb2z.js";
22
22
  import {
23
23
  __export
24
24
  } from "./pty-9rqn6x4v.js";
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service51;
35
+ const instances = yield* Service35;
36
36
  const database = yield* Service83;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service16;
40
+ const context = yield* Service18;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -1,54 +1,54 @@
1
1
  import {
2
- ID11,
3
- Info15,
2
+ ID18,
3
+ Info34,
4
4
  SessionSchema2
5
- } from "./pty-xkhfjrgz.js";
5
+ } from "./pty-256nx13v.js";
6
6
  import {
7
7
  RelativePath2
8
8
  } from "./pty-922hggd3.js";
9
9
  import {
10
10
  Service83,
11
11
  node87
12
- } from "./pty-waqpjwb8.js";
12
+ } from "./pty-96712bz8.js";
13
13
  import {
14
14
  isSynced2,
15
- Service82,
16
- node86
17
- } from "./pty-qph7hyw7.js";
18
- import {
19
15
  Service80,
20
16
  node84
21
- } from "./pty-r3grxea3.js";
17
+ } from "./pty-tqwr2f5g.js";
18
+ import {
19
+ Service78,
20
+ node82
21
+ } from "./pty-vw2t0mtq.js";
22
22
  import {
23
- Service51,
24
- node54
25
- } from "./pty-gjmk74th.js";
23
+ Service35,
24
+ node37
25
+ } from "./pty-cdm0dq9n.js";
26
26
  import {
27
27
  SessionEvent2
28
28
  } from "./pty-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./pty-5c4hm403.js";
31
+ } from "./pty-a1bz86dw.js";
32
32
  import {
33
- node52
34
- } from "./pty-ynxbryrd.js";
33
+ node38
34
+ } from "./pty-mh8602s5.js";
35
35
  import {
36
36
  current2
37
- } from "./pty-7ac170kv.js";
37
+ } from "./pty-vyy6cxw9.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./pty-rjkasajw.js";
40
+ } from "./pty-vk9pkavn.js";
41
41
  import {
42
42
  Slug2
43
43
  } from "./pty-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node19
47
- } from "./pty-0mwa6y39.js";
46
+ node26
47
+ } from "./pty-q24nm477.js";
48
48
  import {
49
49
  Metadata2,
50
- node46
51
- } from "./pty-3sqv75dt.js";
50
+ node50
51
+ } from "./pty-kxdh0s6n.js";
52
52
  import {
53
53
  NotFoundError9,
54
54
  MessageNotFoundError2,
@@ -61,55 +61,55 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./pty-834a0b17.js";
64
+ } from "./pty-f35htakt.js";
65
65
  import {
66
66
  ListInput5,
67
- Service66,
68
- node70
69
- } from "./pty-q9k3nk2m.js";
67
+ Service68,
68
+ node71
69
+ } from "./pty-g6v5r3w6.js";
70
70
  import {
71
- Service52,
72
- node55
73
- } from "./pty-hsv1w0ka.js";
71
+ Service81,
72
+ node85
73
+ } from "./pty-k388e6t1.js";
74
74
  import {
75
- Service47,
76
- node51
77
- } from "./pty-n5zcbnsa.js";
75
+ Service33,
76
+ node36
77
+ } from "./pty-kb1rdp05.js";
78
78
  import {
79
79
  llmClient2
80
80
  } from "./pty-5t3nmthw.js";
81
81
  import {
82
- Service24,
83
- node28
84
- } from "./pty-7t8e8ps1.js";
82
+ Service26,
83
+ node29
84
+ } from "./pty-wzjn1tpp.js";
85
85
  import {
86
86
  generate2
87
- } from "./pty-xgqsyfnn.js";
87
+ } from "./pty-8x7kj7de.js";
88
88
  import {
89
89
  execute2
90
- } from "./pty-s1mn6qcj.js";
90
+ } from "./pty-scs7maqt.js";
91
91
  import {
92
- Service53,
93
- node56
94
- } from "./pty-az62kead.js";
92
+ Service43,
93
+ node45
94
+ } from "./pty-5xwkdnk6.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service15,
100
- node18
101
- } from "./pty-e9wrjfx0.js";
99
+ Service17,
100
+ node19
101
+ } from "./pty-6zb5jvme.js";
102
102
  import {
103
- Service44,
104
- node48
105
- } from "./pty-cq9vh2fv.js";
103
+ Service30,
104
+ node33
105
+ } from "./pty-2aet7wja.js";
106
106
  import {
107
107
  make12
108
- } from "./pty-8v55y81p.js";
108
+ } from "./pty-kgbqw58m.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./pty-hyag3rfz.js";
112
+ } from "./pty-zy6cwck4.js";
113
113
  import {
114
114
  __export
115
115
  } from "./pty-9rqn6x4v.js";
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID11,
126
+ ID: () => ID18,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info15,
128
+ Info: () => Info34,
129
129
  ListAnchor: () => ListAnchor2,
130
130
  ListInput: () => ListInput2,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
133
  NotFoundError: () => NotFoundError9,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service14,
135
+ Service: () => Service15,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node17
141
+ node: () => node18
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -149,26 +149,26 @@ import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
151
  var ListInput2 = ListInput5;
152
- class Service14 extends Context.Service()("@opencode/Session") {
152
+ class Service15 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service14, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service83;
157
157
  const db = database.db;
158
- const bus = yield* Service82;
159
- const projects = yield* Service80;
160
- const execution = yield* Service47;
158
+ const bus = yield* Service80;
159
+ const projects = yield* Service78;
160
+ const execution = yield* Service33;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service24;
163
- const store = yield* Service66;
164
- const instances = yield* Service51;
165
- const moves = yield* Service15;
166
- const jobs = yield* Service52;
167
- const environments = yield* Service44;
168
- const locations = yield* Service53;
162
+ const transport = yield* Service26;
163
+ const store = yield* Service68;
164
+ const instances = yield* Service35;
165
+ const moves = yield* Service17;
166
+ const jobs = yield* Service81;
167
+ const environments = yield* Service30;
168
+ const locations = yield* Service43;
169
169
  const sessions = yield* make12();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service14.of({
171
+ const result = Service15.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service35, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service51, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service35, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
326
326
  });
327
327
  return result;
328
328
  }));
329
- var node17 = Node.makeGlobalNode({
330
- service: Service14,
329
+ var node18 = Node.makeGlobalNode({
330
+ service: Service15,
331
331
  layer,
332
332
  deps: [
333
- node55,
334
- node48,
333
+ node85,
334
+ node33,
335
335
  node87,
336
- node86,
337
336
  node84,
338
- node51,
339
- node28,
337
+ node82,
338
+ node36,
339
+ node29,
340
340
  llmClient2,
341
- node70,
342
- node54,
343
- node52,
344
- node18,
341
+ node71,
342
+ node37,
343
+ node38,
345
344
  node19,
346
- node56,
345
+ node26,
346
+ node45,
347
347
  FSUtil.node,
348
- node46
348
+ node50
349
349
  ]
350
350
  });
351
351
 
352
- export { ListAnchor2, ListInput2, Service14, node17, exports_session };
352
+ export { ListAnchor2, ListInput2, Service15, node18, exports_session };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82
3
- } from "./pty-qph7hyw7.js";
2
+ Service80
3
+ } from "./pty-tqwr2f5g.js";
4
4
  import {
5
- Service71,
6
- Event15
7
- } from "./pty-qqrhpyxk.js";
5
+ Service64,
6
+ Event17
7
+ } from "./pty-p3w99mff.js";
8
8
  import {
9
9
  __export
10
10
  } from "./pty-9rqn6x4v.js";
@@ -12,16 +12,16 @@ import {
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin17,
15
+ Plugin: () => Plugin48,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin17 = define({
20
+ var Plugin48 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service82;
24
- const wellknown = yield* Service71;
23
+ const bus = yield* Service80;
24
+ const wellknown = yield* Service64;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin17 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin17, exports_plugin };
48
+ export { Plugin48, exports_plugin };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./pty-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./pty-h3c20vca.js";
6
+ } from "./pty-2bm8nv3j.js";
7
7
  import {
8
8
  __export
9
9
  } from "./pty-9rqn6x4v.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./pty-d7tjjqf6.js";
3
+ } from "./pty-2gydggrp.js";
4
4
  import {
5
5
  apply3
6
- } from "./pty-kmrnkd77.js";
6
+ } from "./pty-xtvm4hh6.js";
7
7
  import {
8
8
  __export
9
9
  } from "./pty-9rqn6x4v.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  ID3,
9
9
  Name2
10
- } from "./pty-ch7ar4cr.js";
10
+ } from "./pty-cerhndf8.js";
11
11
  import {
12
12
  __export
13
13
  } from "./pty-9rqn6x4v.js";
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service58
3
- } from "./pty-bxgqktpk.js";
2
+ Service75
3
+ } from "./pty-47r0kvy6.js";
4
4
  import {
5
- Service13,
5
+ Service74,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./pty-m5mra8ny.js";
8
+ } from "./pty-2deyrhr8.js";
9
9
  import {
10
- Service29
11
- } from "./pty-74e549sx.js";
10
+ Service14
11
+ } from "./pty-y3ajgz1g.js";
12
12
  import {
13
- Service64
14
- } from "./pty-2em355j9.js";
13
+ Service66
14
+ } from "./pty-hdfkv0ev.js";
15
15
  import {
16
- Service46
17
- } from "./pty-jqe5ka82.js";
16
+ Service53
17
+ } from "./pty-gf229ayp.js";
18
18
  import {
19
19
  fileDiff2
20
20
  } from "./pty-6prwharc.js";
@@ -25,48 +25,48 @@ import {
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input12,
29
- Output: () => Output8,
30
- Plugin: () => Plugin47,
28
+ Input: () => Input11,
29
+ Output: () => Output7,
30
+ Plugin: () => Plugin12,
31
31
  WriteTool: () => exports_write,
32
- name: () => name12,
33
- toModelContent: () => toModelContent6
32
+ name: () => name11,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name12 = "write";
39
- var Input12 = Schema.Struct({
38
+ var name11 = "write";
39
+ var Input11 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output8 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin47 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin12 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service46;
56
- const fileMutation = yield* Service13;
57
- const environment = yield* Service58;
58
- const formatter = yield* Service29;
59
- const permission = yield* Service64;
55
+ const access = yield* Service53;
56
+ const fileMutation = yield* Service74;
57
+ const environment = yield* Service75;
58
+ const formatter = yield* Service14;
59
+ const permission = yield* Service66;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name12,
61
+ name: name11,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input12,
69
- output: Output8,
68
+ input: Input11,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name12, Input12, Output8, toModelContent6, Plugin47, exports_write };
101
+ export { name11, Input11, Output7, toModelContent5, Plugin12, exports_write };
@@ -7,7 +7,7 @@ import {
7
7
  } from "./pty-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./pty-dj2t23y0.js";
10
+ } from "./pty-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";