@opencode/core 2.0.6 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{persistent-pty-4yerfa2a.js → integration-02sqwze2.js} +22 -22
  8. package/dist/chunks/{persistent-pty-xvrfmkdb.js → integration-036p5t1s.js} +4 -4
  9. package/dist/chunks/{persistent-pty-a4v39hfy.js → integration-03e5bnrk.js} +11 -11
  10. package/dist/chunks/{persistent-pty-t6xg0e00.js → integration-06j1jany.js} +20 -20
  11. package/dist/chunks/{persistent-pty-nrby4tch.js → integration-07kph379.js} +5 -5
  12. package/dist/chunks/{persistent-pty-zvh69c5a.js → integration-0g7z141f.js} +12 -12
  13. package/dist/chunks/{persistent-pty-23mp22r0.js → integration-0ja9hz8h.js} +22 -22
  14. package/dist/chunks/integration-0jswa73q.js +26 -0
  15. package/dist/chunks/integration-0mesazry.js +4 -0
  16. package/dist/chunks/integration-0p29q02t.js +65 -0
  17. package/dist/chunks/{persistent-pty-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{persistent-pty-0q0f95c6.js → integration-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{persistent-pty-dfe8djrf.js → integration-0v53mg2y.js} +4 -4
  20. package/dist/chunks/{persistent-pty-r8xr0va3.js → integration-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{persistent-pty-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{persistent-pty-d2z8n5gq.js → integration-1jb3t5y8.js} +44 -44
  23. package/dist/chunks/{persistent-pty-txckpkgb.js → integration-1ksm7rsz.js} +33 -33
  24. package/dist/chunks/{persistent-pty-amys79f3.js → integration-1svwp2zq.js} +15 -15
  25. package/dist/chunks/{persistent-pty-63mn2t91.js → integration-1wbhvsa0.js} +21 -21
  26. package/dist/chunks/{persistent-pty-axsc7vaz.js → integration-1x4zaxp7.js} +1 -1
  27. package/dist/chunks/{persistent-pty-21r38tys.js → integration-21r38tys.js} +1 -1
  28. package/dist/chunks/{persistent-pty-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{persistent-pty-1ft1n4nv.js → integration-2cse4yyr.js} +1 -1
  30. package/dist/chunks/{persistent-pty-9x1fwner.js → integration-2g1kg6mf.js} +11 -11
  31. package/dist/chunks/{persistent-pty-61d6m9y9.js → integration-2mja353d.js} +8 -8
  32. package/dist/chunks/{persistent-pty-t1dawjzh.js → integration-30846h32.js} +8 -8
  33. package/dist/chunks/{persistent-pty-mpz2f9hn.js → integration-31vv3fx1.js} +22 -22
  34. package/dist/chunks/{persistent-pty-45ke46p8.js → integration-361zbcwc.js} +11 -11
  35. package/dist/chunks/{persistent-pty-vcntgk60.js → integration-3e9gt9pq.js} +16 -16
  36. package/dist/chunks/{persistent-pty-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{persistent-pty-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{persistent-pty-mvpt2jq4.js → integration-3jqnyahm.js} +4 -4
  39. package/dist/chunks/{persistent-pty-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{persistent-pty-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{persistent-pty-6vxbcxjn.js → integration-3vp2enxy.js} +15 -15
  42. package/dist/chunks/{persistent-pty-hcf1qdgt.js → integration-3wh0psgk.js} +42 -42
  43. package/dist/chunks/{persistent-pty-kesv6def.js → integration-3wqt5zad.js} +35 -35
  44. package/dist/chunks/{persistent-pty-3esknjh8.js → integration-424g7dr0.js} +43 -43
  45. package/dist/chunks/{persistent-pty-qcjne9p2.js → integration-4f6d0pew.js} +25 -25
  46. package/dist/chunks/{persistent-pty-z5dnp9d4.js → integration-4n9c6g4h.js} +30 -30
  47. package/dist/chunks/{persistent-pty-r8b3me2j.js → integration-4tem132z.js} +16 -16
  48. package/dist/chunks/integration-4v7qdvcn.js +18 -0
  49. package/dist/chunks/{persistent-pty-zdd5h57h.js → integration-4z9gzs34.js} +20 -20
  50. package/dist/chunks/{persistent-pty-sej7e0cf.js → integration-5d5383gp.js} +4 -4
  51. package/dist/chunks/{persistent-pty-5daktx2q.js → integration-5daktx2q.js} +1 -1
  52. package/dist/chunks/{persistent-pty-q4v54bpb.js → integration-5jg9j8z5.js} +30 -30
  53. package/dist/chunks/{persistent-pty-h6r3nrb9.js → integration-5mtzsd3b.js} +4 -4
  54. package/dist/chunks/{persistent-pty-sx06aacx.js → integration-5q352ksx.js} +6 -6
  55. package/dist/chunks/{persistent-pty-e3qxr5gk.js → integration-5qd3pb7m.js} +2 -2
  56. package/dist/chunks/{persistent-pty-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{persistent-pty-cmwkp3r5.js → integration-5xtgfte3.js} +8 -8
  58. package/dist/chunks/{persistent-pty-tamw7e85.js → integration-60438fy7.js} +6 -6
  59. package/dist/chunks/{persistent-pty-v85t9p8e.js → integration-63gwy3f0.js} +15 -15
  60. package/dist/chunks/{persistent-pty-669tq793.js → integration-669tq793.js} +1 -1
  61. package/dist/chunks/{persistent-pty-m2xyr0c9.js → integration-69z0jng6.js} +11 -11
  62. package/dist/chunks/{persistent-pty-pxnvhszz.js → integration-6cv9b742.js} +4 -4
  63. package/dist/chunks/{persistent-pty-2402vzrj.js → integration-6h73sxmp.js} +5 -5
  64. package/dist/chunks/{persistent-pty-a2ew8a62.js → integration-6hh8tjw2.js} +4 -4
  65. package/dist/chunks/{persistent-pty-5kte75t4.js → integration-6hs98t9x.js} +13 -13
  66. package/dist/chunks/{persistent-pty-6msgmcgs.js → integration-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{persistent-pty-kkpc3vmh.js → integration-717hbd2e.js} +12 -12
  68. package/dist/chunks/{persistent-pty-f3r3b7qx.js → integration-71xbqxp3.js} +23 -23
  69. package/dist/chunks/{persistent-pty-4aps5ycz.js → integration-7539fxrp.js} +5 -5
  70. package/dist/chunks/{persistent-pty-j542mbwn.js → integration-75ks8wpd.js} +10 -10
  71. package/dist/chunks/{persistent-pty-cpxfwkbg.js → integration-7b01gr93.js} +13 -13
  72. package/dist/chunks/{persistent-pty-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{persistent-pty-7dqw4kz8.js → integration-7dqw4kz8.js} +1 -1
  74. package/dist/chunks/{persistent-pty-k859smhz.js → integration-7drzedwa.js} +49 -49
  75. package/dist/chunks/{persistent-pty-ca0tf0b7.js → integration-7ejxwnn2.js} +20 -20
  76. package/dist/chunks/{persistent-pty-z1zwcfv4.js → integration-7t1qjft4.js} +18 -18
  77. package/dist/chunks/{persistent-pty-6yaq8bgj.js → integration-7v9j4tg8.js} +18 -18
  78. package/dist/chunks/{persistent-pty-hz2whg8s.js → integration-7yd8qa94.js} +8 -8
  79. package/dist/chunks/{persistent-pty-xh49vxj8.js → integration-89vjf07m.js} +5 -5
  80. package/dist/chunks/{persistent-pty-0eqr15n0.js → integration-8bnawm75.js} +31 -31
  81. package/dist/chunks/{persistent-pty-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{persistent-pty-dj2t23y0.js → integration-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{persistent-pty-masp7ejj.js → integration-8ybgfkrt.js} +11 -11
  84. package/dist/chunks/{persistent-pty-t3qbpr1w.js → integration-984xje6x.js} +9 -9
  85. package/dist/chunks/{persistent-pty-5dp7vyn0.js → integration-99a1yfw0.js} +13 -13
  86. package/dist/chunks/{persistent-pty-w21bzq9q.js → integration-9gea571p.js} +6 -6
  87. package/dist/chunks/{persistent-pty-em6q0j7w.js → integration-9n92wg39.js} +11 -11
  88. package/dist/chunks/{persistent-pty-d3yjsxey.js → integration-9ydd6pgk.js} +7 -7
  89. package/dist/chunks/{persistent-pty-5c4hm403.js → integration-a1bz86dw.js} +3 -3
  90. package/dist/chunks/{persistent-pty-a89e0tac.js → integration-a89e0tac.js} +1 -1
  91. package/dist/chunks/{persistent-pty-aaet6srn.js → integration-aaet6srn.js} +2 -2
  92. package/dist/chunks/{persistent-pty-yzdcysfh.js → integration-aawn6y2n.js} +23 -23
  93. package/dist/chunks/{persistent-pty-2jmaghvr.js → integration-ab9238g2.js} +6 -6
  94. package/dist/chunks/{persistent-pty-xyxzmjjm.js → integration-ag2gfn9f.js} +5 -5
  95. package/dist/chunks/{persistent-pty-axebf1a4.js → integration-an5bmsq0.js} +8 -8
  96. package/dist/chunks/{persistent-pty-ge476xvj.js → integration-awhm4hzw.js} +183 -183
  97. package/dist/chunks/{persistent-pty-4c1zt1be.js → integration-ayfk1h0n.js} +87 -87
  98. package/dist/chunks/{persistent-pty-4vq28sgd.js → integration-b09hzw3k.js} +2 -2
  99. package/dist/chunks/{persistent-pty-89x64swv.js → integration-b5y8n1e6.js} +26 -26
  100. package/dist/chunks/{persistent-pty-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{persistent-pty-qydamkj6.js → integration-b8szb91g.js} +9 -9
  102. package/dist/chunks/{persistent-pty-xz3t98gq.js → integration-bcxedjzd.js} +3 -3
  103. package/dist/chunks/{persistent-pty-q00hqmww.js → integration-bfsnneva.js} +15 -15
  104. package/dist/chunks/{persistent-pty-fvsyg6qk.js → integration-bgxcxs0p.js} +5 -5
  105. package/dist/chunks/{persistent-pty-tk9ew89t.js → integration-bh0zzf2s.js} +8 -8
  106. package/dist/chunks/{persistent-pty-5smkf6vr.js → integration-bje2awg5.js} +18 -18
  107. package/dist/chunks/{persistent-pty-g2er3606.js → integration-bk2n1gvf.js} +37 -37
  108. package/dist/chunks/{persistent-pty-wp9pt51y.js → integration-bp376hr7.js} +9 -9
  109. package/dist/chunks/{persistent-pty-y10wk092.js → integration-bscb95cy.js} +9 -9
  110. package/dist/chunks/{persistent-pty-z84pa76x.js → integration-by3dbgkm.js} +5 -5
  111. package/dist/chunks/{persistent-pty-gjvcn921.js → integration-by9h9y0p.js} +29 -29
  112. package/dist/chunks/integration-c73rdsyt.js +49 -0
  113. package/dist/chunks/{persistent-pty-0wnsc2cx.js → integration-c96f455v.js} +11 -11
  114. package/dist/chunks/{persistent-pty-m0jqrx5p.js → integration-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{persistent-pty-gbwj81ez.js → integration-ch54p1a9.js} +28 -28
  116. package/dist/chunks/{persistent-pty-fjqrscp2.js → integration-ck69dtv7.js} +4 -4
  117. package/dist/chunks/{persistent-pty-7ac170kv.js → integration-cq37gk0t.js} +4 -4
  118. package/dist/chunks/{persistent-pty-95t0hkjg.js → integration-ctv3sctt.js} +5 -5
  119. package/dist/chunks/{persistent-pty-cwa6csj7.js → integration-cwa6csj7.js} +2 -2
  120. package/dist/chunks/{persistent-pty-h39be83b.js → integration-cwa84xdc.js} +38 -38
  121. package/dist/chunks/{persistent-pty-eh332ggn.js → integration-d25378pd.js} +4 -4
  122. package/dist/chunks/{persistent-pty-3cz8rj72.js → integration-d2aac7k2.js} +5 -5
  123. package/dist/chunks/{persistent-pty-f2pnfy76.js → integration-d51kj8va.js} +17 -17
  124. package/dist/chunks/{persistent-pty-94pybxf5.js → integration-d892zs75.js} +23 -23
  125. package/dist/chunks/{persistent-pty-9rbga6h0.js → integration-drmyzd20.js} +21 -21
  126. package/dist/chunks/{persistent-pty-ze07024f.js → integration-dw76zyaf.js} +16 -16
  127. package/dist/chunks/{persistent-pty-mzwaw4s1.js → integration-dw8gz3mq.js} +13 -13
  128. package/dist/chunks/{persistent-pty-qe3x1bke.js → integration-dzbr64j7.js} +37 -37
  129. package/dist/chunks/{persistent-pty-kne8f3cn.js → integration-e2hjzebn.js} +4 -4
  130. package/dist/chunks/{persistent-pty-pqkcmren.js → integration-e7190871.js} +17 -17
  131. package/dist/chunks/{persistent-pty-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{persistent-pty-anj84gah.js → integration-efwc84nf.js} +18 -18
  133. package/dist/chunks/{persistent-pty-1kvb0kat.js → integration-egjdmc9a.js} +44 -44
  134. package/dist/chunks/{persistent-pty-h03wrkyp.js → integration-erw5rpbs.js} +4 -3
  135. package/dist/chunks/{persistent-pty-qk51h78h.js → integration-es74qn32.js} +3 -3
  136. package/dist/chunks/{persistent-pty-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{persistent-pty-h3jkmnye.js → integration-ex9wjj40.js} +24 -24
  138. package/dist/chunks/{persistent-pty-j6sjxh3t.js → integration-f35xt7k7.js} +11 -11
  139. package/dist/chunks/{persistent-pty-awsncmv7.js → integration-f6ekd8xv.js} +3 -3
  140. package/dist/chunks/{persistent-pty-hdnk95c8.js → integration-f828m53h.js} +2 -2
  141. package/dist/chunks/{persistent-pty-ts2x07a1.js → integration-fch79rh9.js} +1 -1
  142. package/dist/chunks/{persistent-pty-95z2c9pc.js → integration-fepr4w5j.js} +21 -21
  143. package/dist/chunks/{persistent-pty-fhs97t90.js → integration-fhs97t90.js} +2 -2
  144. package/dist/chunks/{persistent-pty-gek3hqmr.js → integration-fjhejfvr.js} +22 -22
  145. package/dist/chunks/{persistent-pty-yyz8jpkn.js → integration-fjmxef0p.js} +11 -11
  146. package/dist/chunks/{persistent-pty-q5rhn9x0.js → integration-fkvr2bf4.js} +13 -13
  147. package/dist/chunks/integration-fnc9qs28.js +252 -0
  148. package/dist/chunks/{persistent-pty-0n9t5jdb.js → integration-fp13m9d9.js} +24 -24
  149. package/dist/chunks/{persistent-pty-j10zwm3w.js → integration-fwdrt8y0.js} +31 -31
  150. package/dist/chunks/{persistent-pty-fxbjtjnd.js → integration-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{persistent-pty-768y9nds.js → integration-g49fastt.js} +20 -20
  152. package/dist/chunks/{persistent-pty-pbjanjg3.js → integration-g98kts4v.js} +44 -44
  153. package/dist/chunks/{persistent-pty-p4dwv8bm.js → integration-gamnghgg.js} +10 -10
  154. package/dist/chunks/{persistent-pty-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{persistent-pty-am60j996.js → integration-ght2kap4.js} +5 -5
  156. package/dist/chunks/{persistent-pty-1t0nfscf.js → integration-grt2chjq.js} +68 -68
  157. package/dist/chunks/{persistent-pty-y99sa8tk.js → integration-gsw5hfjj.js} +24 -24
  158. package/dist/chunks/{persistent-pty-gv6a8nnw.js → integration-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{persistent-pty-1hfd6v93.js → integration-gv9r9ztf.js} +23 -23
  160. package/dist/chunks/{persistent-pty-g3v3qf95.js → integration-gvvdpzqz.js} +5 -5
  161. package/dist/chunks/{persistent-pty-dhwr7h25.js → integration-h2r7bbkd.js} +11 -11
  162. package/dist/chunks/{persistent-pty-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{persistent-pty-fwwk8vbp.js → integration-h71w788e.js} +9 -9
  164. package/dist/chunks/{persistent-pty-2qke6n7n.js → integration-ha2e1a5y.js} +18 -18
  165. package/dist/chunks/{persistent-pty-vnzr5dgv.js → integration-hgytqh36.js} +13 -13
  166. package/dist/chunks/{persistent-pty-07z5tzwy.js → integration-hnv6c5tt.js} +5 -5
  167. package/dist/chunks/{persistent-pty-cppz10m7.js → integration-hsrp58xj.js} +13 -13
  168. package/dist/chunks/{persistent-pty-sj90gq8y.js → integration-hyfj73c0.js} +47 -47
  169. package/dist/chunks/{persistent-pty-gkq5qcyg.js → integration-hynrrzr9.js} +18 -18
  170. package/dist/chunks/{persistent-pty-jp86qn4x.js → integration-hzds88te.js} +15 -15
  171. package/dist/chunks/{persistent-pty-x3h8tes1.js → integration-j2sam9jv.js} +2 -2
  172. package/dist/chunks/{persistent-pty-j56e64zr.js → integration-j56e64zr.js} +1 -1
  173. package/dist/chunks/{persistent-pty-hdb7f41y.js → integration-jdksn0k6.js} +21 -21
  174. package/dist/chunks/{persistent-pty-azqw3jb1.js → integration-jrpnwa23.js} +5 -5
  175. package/dist/chunks/{persistent-pty-74rrnwt7.js → integration-jtazzn7t.js} +12 -12
  176. package/dist/chunks/{persistent-pty-byea612g.js → integration-jthw9jrm.js} +26 -17
  177. package/dist/chunks/{persistent-pty-vsp1fds9.js → integration-jw80jp6b.js} +21 -21
  178. package/dist/chunks/{persistent-pty-0f5egwty.js → integration-jx3wypgw.js} +26 -26
  179. package/dist/chunks/{persistent-pty-krracc70.js → integration-k06s6pez.js} +28 -28
  180. package/dist/chunks/{persistent-pty-5r49kz0e.js → integration-kxx7k9ny.js} +23 -23
  181. package/dist/chunks/{persistent-pty-axg0gedx.js → integration-m023722w.js} +31 -31
  182. package/dist/chunks/{persistent-pty-7knfbc9g.js → integration-m2ygz4rv.js} +15 -15
  183. package/dist/chunks/{persistent-pty-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{persistent-pty-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{persistent-pty-csf2jhsg.js → integration-mfhfdr54.js} +4 -4
  186. package/dist/chunks/{persistent-pty-mfqp6xfm.js → integration-mfqp6xfm.js} +2 -2
  187. package/dist/chunks/{persistent-pty-yz26c8tn.js → integration-mnaavyqg.js} +52 -52
  188. package/dist/chunks/{persistent-pty-35v1kxn5.js → integration-mvef3yxd.js} +20 -20
  189. package/dist/chunks/{persistent-pty-7adxfadd.js → integration-mx4e50pb.js} +4 -4
  190. package/dist/chunks/{persistent-pty-6nppgqk8.js → integration-n1nc45vm.js} +10 -10
  191. package/dist/chunks/{persistent-pty-jn5zp6kq.js → integration-n72gnw9z.js} +10 -10
  192. package/dist/chunks/{persistent-pty-2ptmrvab.js → integration-n7gd6fv3.js} +10 -10
  193. package/dist/chunks/{persistent-pty-crxeq1ff.js → integration-ndx5r91v.js} +3 -3
  194. package/dist/chunks/{persistent-pty-5dwyakjy.js → integration-nej4p9g1.js} +28 -28
  195. package/dist/chunks/{persistent-pty-8649vrz9.js → integration-ngnbq9bc.js} +4 -4
  196. package/dist/chunks/{persistent-pty-zbxvfzam.js → integration-nn34bpja.js} +3 -3
  197. package/dist/chunks/{persistent-pty-k3c624dm.js → integration-nzks3jc8.js} +3 -3
  198. package/dist/chunks/{persistent-pty-jppvw2tx.js → integration-p28j5sbe.js} +4 -3
  199. package/dist/chunks/{persistent-pty-wsmhkxds.js → integration-pjgwjwxs.js} +8 -8
  200. package/dist/chunks/{persistent-pty-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{persistent-pty-pknna89w.js → integration-pknna89w.js} +1 -1
  202. package/dist/chunks/{persistent-pty-nmv4qf5f.js → integration-pqt18mke.js} +6 -6
  203. package/dist/chunks/{persistent-pty-0kraehyv.js → integration-ps9hb5ct.js} +11 -11
  204. package/dist/chunks/{persistent-pty-ayxtpegw.js → integration-ptz1vvyt.js} +32 -32
  205. package/dist/chunks/{persistent-pty-z880hw7s.js → integration-qbatz9s3.js} +25 -25
  206. package/dist/chunks/{persistent-pty-k5z6kse8.js → integration-qcwz4p84.js} +32 -32
  207. package/dist/chunks/{persistent-pty-tbpqatpq.js → integration-qf3ebkzx.js} +9 -9
  208. package/dist/chunks/{persistent-pty-k4vvbs8q.js → integration-qgrcs4vk.js} +8 -8
  209. package/dist/chunks/{persistent-pty-4m8jz26w.js → integration-qj0280db.js} +10 -10
  210. package/dist/chunks/{persistent-pty-51a2ymsf.js → integration-qj7wvw4x.js} +43 -43
  211. package/dist/chunks/{persistent-pty-xfkkasph.js → integration-qqeeq2t9.js} +7 -7
  212. package/dist/chunks/{persistent-pty-qsdy395h.js → integration-qsdy395h.js} +1 -1
  213. package/dist/chunks/{persistent-pty-nd83aj77.js → integration-qtzk0ftm.js} +16 -16
  214. package/dist/chunks/{persistent-pty-p23m4hfg.js → integration-qxrjxyb1.js} +10 -10
  215. package/dist/chunks/{persistent-pty-53vt59dk.js → integration-qzes1frq.js} +7 -7
  216. package/dist/chunks/{persistent-pty-svvemcs6.js → integration-r2tzf22e.js} +8 -8
  217. package/dist/chunks/{persistent-pty-73tb2d7t.js → integration-r5x6zcsm.js} +3 -3
  218. package/dist/chunks/{persistent-pty-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{persistent-pty-s8d7rejh.js → integration-rhjbct0v.js} +4 -4
  220. package/dist/chunks/{persistent-pty-mg0hvqns.js → integration-rhmz26db.js} +24 -24
  221. package/dist/chunks/{persistent-pty-ngp9tqdp.js → integration-s12geb02.js} +12 -12
  222. package/dist/chunks/{persistent-pty-2kg3amvy.js → integration-s1yskcg0.js} +30 -30
  223. package/dist/chunks/{persistent-pty-hzhe0gvd.js → integration-s40zj2kv.js} +14 -14
  224. package/dist/chunks/{persistent-pty-55wk8xf1.js → integration-shkdv626.js} +16 -16
  225. package/dist/chunks/{persistent-pty-81jqfy1y.js → integration-sz7h0m66.js} +25 -25
  226. package/dist/chunks/{persistent-pty-w47dka18.js → integration-t09rmbfd.js} +35 -35
  227. package/dist/chunks/{persistent-pty-ag9w8cw1.js → integration-t0fxg8b9.js} +5 -5
  228. package/dist/chunks/{persistent-pty-5we05nd2.js → integration-t7hd99dg.js} +18 -18
  229. package/dist/chunks/{persistent-pty-px9mqhce.js → integration-t96h8vn6.js} +21 -21
  230. package/dist/chunks/{persistent-pty-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{persistent-pty-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{persistent-pty-22k63xb0.js → integration-tdf9xhep.js} +11 -11
  233. package/dist/chunks/{persistent-pty-tdstcens.js → integration-tdstcens.js} +1 -1
  234. package/dist/chunks/{persistent-pty-frk1q65v.js → integration-tj7ekckq.js} +58 -58
  235. package/dist/chunks/{persistent-pty-sd29ckz9.js → integration-ts4smcrt.js} +11 -11
  236. package/dist/chunks/{persistent-pty-r0185wf8.js → integration-ts74b2aa.js} +23 -23
  237. package/dist/chunks/{persistent-pty-bjyddaxd.js → integration-tv6v1fw0.js} +22 -22
  238. package/dist/chunks/{persistent-pty-zmtxzyyy.js → integration-tv8kvtrg.js} +11 -11
  239. package/dist/chunks/{persistent-pty-tvtrv512.js → integration-tvtrv512.js} +1 -1
  240. package/dist/chunks/{persistent-pty-hfwabszm.js → integration-tx47f3yx.js} +17 -17
  241. package/dist/chunks/{persistent-pty-veqvce7d.js → integration-veqvce7d.js} +1 -1
  242. package/dist/chunks/{persistent-pty-wn0nt2j8.js → integration-vgn02gcn.js} +24 -24
  243. package/dist/chunks/{persistent-pty-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{persistent-pty-cs048tcd.js → integration-w0t5mfte.js} +35 -35
  245. package/dist/chunks/{persistent-pty-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{persistent-pty-zjqwybhk.js → integration-w6yx7at2.js} +30 -30
  247. package/dist/chunks/{persistent-pty-wd87259q.js → integration-wd87259q.js} +1 -1
  248. package/dist/chunks/{persistent-pty-ene4sphv.js → integration-wgz7hchk.js} +6 -6
  249. package/dist/chunks/{persistent-pty-4st9gtz8.js → integration-whsap9g4.js} +11 -11
  250. package/dist/chunks/{persistent-pty-1z7bxdr8.js → integration-wk3yr6fy.js} +22 -21
  251. package/dist/chunks/{persistent-pty-4ygxkg3r.js → integration-wk7afg2y.js} +32 -32
  252. package/dist/chunks/{persistent-pty-d9tmdxxh.js → integration-wm4ff12p.js} +62 -62
  253. package/dist/chunks/{persistent-pty-8g5k0jjx.js → integration-wpm2rk0p.js} +8 -8
  254. package/dist/chunks/{persistent-pty-5esmf8a0.js → integration-wsh21s13.js} +31 -31
  255. package/dist/chunks/{persistent-pty-wx6gfcwp.js → integration-wx2t9nyy.js} +23 -23
  256. package/dist/chunks/{persistent-pty-gaezwqx6.js → integration-wxfef5f7.js} +23 -23
  257. package/dist/chunks/{persistent-pty-p2860678.js → integration-x0jthw69.js} +43 -43
  258. package/dist/chunks/{persistent-pty-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{persistent-pty-tqf3jwg0.js → integration-x2ehjnaf.js} +6 -6
  260. package/dist/chunks/{persistent-pty-06dd7vd0.js → integration-xbxrvfar.js} +17 -17
  261. package/dist/chunks/{persistent-pty-8szzmgce.js → integration-xcm9a8eq.js} +11 -11
  262. package/dist/chunks/{persistent-pty-gbe3t543.js → integration-xfwam4t6.js} +15 -15
  263. package/dist/chunks/{persistent-pty-gfkdt5qx.js → integration-xgghj434.js} +6 -6
  264. package/dist/chunks/{persistent-pty-hes1j7ga.js → integration-xsgk3b13.js} +9 -9
  265. package/dist/chunks/{persistent-pty-mhhfs06f.js → integration-xtg1xd5n.js} +98 -98
  266. package/dist/chunks/{persistent-pty-57ez7d0k.js → integration-xxhb4jr7.js} +9 -9
  267. package/dist/chunks/{persistent-pty-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{persistent-pty-5cyty3r2.js → integration-y324smtr.js} +288 -288
  269. package/dist/chunks/{persistent-pty-nga2x94v.js → integration-y3egp4dd.js} +9 -9
  270. package/dist/chunks/{persistent-pty-49e0ywga.js → integration-y3htf95n.js} +3 -3
  271. package/dist/chunks/{persistent-pty-b1a1n7cj.js → integration-y6f0p4jw.js} +3 -3
  272. package/dist/chunks/{persistent-pty-dpkg50ah.js → integration-y71avatq.js} +4 -4
  273. package/dist/chunks/{persistent-pty-mvf3rv83.js → integration-yf4y1y8p.js} +6 -6
  274. package/dist/chunks/{persistent-pty-ry98d82p.js → integration-yhmfm09s.js} +25 -25
  275. package/dist/chunks/{persistent-pty-yrhqyw5v.js → integration-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{persistent-pty-s4enseaf.js → integration-yrznvahk.js} +2 -2
  277. package/dist/chunks/{persistent-pty-8y1sr6jq.js → integration-yybj5cwe.js} +9 -9
  278. package/dist/chunks/{persistent-pty-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{persistent-pty-29x78va6.js → integration-z63w68vq.js} +6 -6
  280. package/dist/chunks/{persistent-pty-4ka5ffeb.js → integration-zeh3qhes.js} +33 -33
  281. package/dist/chunks/{persistent-pty-zeh9ct20.js → integration-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{persistent-pty-8558z9wf.js → integration-zkf5jky9.js} +5 -5
  283. package/dist/chunks/{persistent-pty-mns2zg1r.js → integration-zpnb0y11.js} +51 -51
  284. package/dist/chunks/{persistent-pty-sgwh5nyn.js → integration-zq6stcrg.js} +8 -8
  285. package/dist/chunks/{persistent-pty-e0rr02qg.js → integration-zqsm83yf.js} +11 -11
  286. package/dist/chunks/{persistent-pty-44ke2mar.js → integration-zqx8wcya.js} +4 -4
  287. package/dist/chunks/{persistent-pty-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{persistent-pty-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +120 -120
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +141 -141
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +80 -80
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +366 -366
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +220 -220
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +105 -105
  428. package/dist/form.js +79 -79
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +357 -357
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +354 -354
  470. package/dist/location.js +88 -88
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +125 -125
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +114 -114
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +83 -83
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +96 -96
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +217 -217
  494. package/dist/plugin/identity.js +1 -1
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +328 -328
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +95 -95
  499. package/dist/plugin/module.js +5 -5
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +101 -101
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +76 -76
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai.js +91 -91
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +136 -136
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +343 -343
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +4 -4
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +228 -228
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +89 -89
  558. package/dist/provider.js +98 -98
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +97 -97
  563. package/dist/reference/instructions.js +86 -86
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +133 -133
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +152 -152
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +89 -89
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +92 -92
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +118 -118
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +129 -129
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +228 -228
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +97 -97
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +113 -113
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +171 -171
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +149 -149
  616. package/dist/session/to-session-error.js +110 -110
  617. package/dist/session/transfer.js +222 -222
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +11 -11
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +2 -2
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +111 -111
  628. package/dist/snapshot.js +92 -92
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +126 -126
  633. package/dist/tool/plugin/edit.js +111 -111
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +117 -117
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +110 -110
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +113 -113
  647. package/dist/tool/read-filesystem.js +95 -95
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +16 -16
  651. package/dist/types/form.d.ts +15 -0
  652. package/dist/types/integration.d.ts +60 -0
  653. package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
  654. package/dist/types/v1/config/migrate.d.ts +3 -3
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +7 -7
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +1 -1
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +81 -81
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +97 -97
  695. package/package.json +8 -8
  696. package/dist/chunks/persistent-pty-7m245gq7.js +0 -38
  697. package/dist/chunks/persistent-pty-gwk30na0.js +0 -65
  698. package/dist/chunks/persistent-pty-gxrgn0ds.js +0 -252
  699. package/dist/chunks/persistent-pty-hr9dp009.js +0 -4
  700. package/dist/chunks/persistent-pty-v1faaxn9.js +0 -18
  701. package/dist/chunks/persistent-pty-vkwmxz0p.js +0 -26
  702. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-24dcb14g.js → integration-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-2710q6r3.js → integration-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-359p4xyc.js → integration-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-3asan66x.js → integration-3asan66x.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-53557ph1.js → integration-53557ph1.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-550bvhaj.js → integration-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-6prwharc.js → integration-6prwharc.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-7m9af43g.js → integration-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-822emrt2.js → integration-822emrt2.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-8n3pysct.js → integration-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-922hggd3.js → integration-922hggd3.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-af5trqkr.js → integration-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-afrmfg78.js → integration-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-d9fn303g.js → integration-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-dajrwvna.js → integration-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-dap0rakb.js → integration-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-df08tz66.js → integration-df08tz66.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-dy18nga0.js → integration-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-ec1grn59.js → integration-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-faypxj3z.js → integration-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-fd410y7t.js → integration-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-g86h250q.js → integration-g86h250q.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-gftt206x.js → integration-gftt206x.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-hk9envan.js → integration-hk9envan.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-mp448xyj.js → integration-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-njntx4h6.js → integration-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-q74kybfr.js → integration-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-twg0f83k.js → integration-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-w803qqfp.js → integration-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-wtztk69x.js → integration-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-x61499pn.js → integration-x61499pn.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-y44na4kk.js → integration-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-y8f7s663.js → integration-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-ym463w8f.js → integration-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-z9919s4g.js → integration-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./integration-922hggd3.js";
4
4
  import {
5
- node85
6
- } from "./persistent-pty-74rrnwt7.js";
5
+ node84
6
+ } from "./integration-jtazzn7t.js";
7
7
  import {
8
- Service79,
9
- node83
10
- } from "./persistent-pty-pqkcmren.js";
8
+ Service71,
9
+ node74
10
+ } from "./integration-e7190871.js";
11
11
  import {
12
12
  create3
13
- } from "./persistent-pty-rdw6cm16.js";
13
+ } from "./integration-rdw6cm16.js";
14
14
  import {
15
- make12
16
- } from "./persistent-pty-svvemcs6.js";
15
+ make15
16
+ } from "./integration-r2tzf22e.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./integration-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service15,
24
+ Service: () => Service36,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node18
26
+ node: () => node39
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service15 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service36 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service15, Effect.gen(function* () {
37
- const location = yield* Service79;
36
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
37
+ const location = yield* Service71;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make12;
39
+ const git = yield* make15;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service15.of({ ...state, directory: location.directory });
58
+ return Service36.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node18 = makeLocationNode({
61
- service: Service15,
60
+ var node39 = makeLocationNode({
61
+ service: Service36,
62
62
  layer,
63
- deps: [node83, Global.node, node85, FSUtil.node]
63
+ deps: [node74, Global.node, node84, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service15, node18, exports_strategies };
66
+ export { Service36, node39, exports_strategies };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./integration-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./integration-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./persistent-pty-e0rr02qg.js";
5
- import {
6
- latestSequence2,
7
2
  Service82,
8
3
  node86
9
- } from "./persistent-pty-ze07024f.js";
4
+ } from "./integration-zqsm83yf.js";
5
+ import {
6
+ latestSequence2,
7
+ Service81,
8
+ node85
9
+ } from "./integration-dw76zyaf.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./persistent-pty-5t3nmthw.js";
12
+ } from "./integration-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./persistent-pty-ec1grn59.js";
15
+ } from "./integration-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./persistent-pty-masp7ejj.js";
18
+ } from "./integration-8ybgfkrt.js";
19
19
  import {
20
- Service61,
21
- node65
22
- } from "./persistent-pty-hfwabszm.js";
20
+ Service64,
21
+ node67
22
+ } from "./integration-tx47f3yx.js";
23
23
  import {
24
- Service19,
25
- node23
26
- } from "./persistent-pty-4c1zt1be.js";
24
+ Service24,
25
+ node28
26
+ } from "./integration-ayfk1h0n.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./persistent-pty-tdstcens.js";
30
+ } from "./integration-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./integration-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
@@ -59,11 +59,11 @@ var isUntitled2 = (session) => isExactRootFallback({
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
61
  var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
- const bus = yield* Service82;
62
+ const bus = yield* Service81;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service19;
65
- const store = yield* Service61;
66
- const db = (yield* Service83).db;
64
+ const context = yield* Service24;
65
+ const store = yield* Service64;
66
+ const db = (yield* Service82).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -150,7 +150,7 @@ Recent conversation:
150
150
  var node3 = makeLocationNode({
151
151
  service: Service2,
152
152
  layer: layer3,
153
- deps: [node86, llmClient2, node23, node65, node87]
153
+ deps: [node85, llmClient2, node28, node67, node86]
154
154
  });
155
155
 
156
156
  export { Service2, isUntitled2, layer3, node3, exports_title };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./persistent-pty-5t3nmthw.js";
3
+ } from "./integration-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./integration-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service23,
11
+ Service: () => Service28,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer11,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node27
15
+ node: () => node32
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service23 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* ()
360
360
  }, { discard: true });
361
361
  });
362
362
  yield* Effect.addFinalizer(() => closeAll);
363
- return Service23.of({ bind, close, closeAll });
363
+ return Service28.of({ bind, close, closeAll });
364
364
  }));
365
- var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
365
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
366
366
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
367
367
  })));
368
- var node27 = makeGlobalNode({ service: Service23, layer: layer11, deps: [webSocketConstructor2] });
368
+ var node32 = makeGlobalNode({ service: Service28, layer: layer12, deps: [webSocketConstructor2] });
369
369
 
370
- export { Service23, makeLayer2, layer11, node27, exports_model_transport };
370
+ export { Service28, makeLayer2, layer12, node32, exports_model_transport };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make21,
4
+ make20,
5
5
  diffByKey2
6
- } from "./persistent-pty-s8d7rejh.js";
6
+ } from "./integration-rhjbct0v.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./persistent-pty-3fc6dm20.js";
11
+ } from "./integration-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./integration-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions3 = {};
18
- __export(exports_instructions3, {
19
- CodeModeInstructions: () => exports_instructions3,
17
+ var exports_instructions4 = {};
18
+ __export(exports_instructions4, {
19
+ CodeModeInstructions: () => exports_instructions4,
20
20
  make: () => make14,
21
- render: () => render2,
21
+ render: () => render3,
22
22
  update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
34
34
  - ${searchSignature}` : ""}
35
35
 
36
36
  ## Available tools`;
37
- function render2(catalog) {
37
+ function render3(catalog) {
38
38
  if (catalog.total === 0)
39
39
  return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
40
40
  const tools = catalog.namespaces.flatMap((namespace) => {
@@ -48,7 +48,7 @@ ${tools.join(`
48
48
  function update3(previous, current) {
49
49
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
50
50
 
51
- ${render2(current)}`;
51
+ ${render3(current)}`;
52
52
  if (current.total === 0)
53
53
  return replacement;
54
54
  const previousComplete = previous.shown === previous.total;
@@ -115,16 +115,16 @@ var key = Key3.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
116
  var make14 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
- return make21({
118
+ return make20({
119
119
  key,
120
120
  codec,
121
121
  read: Effect.succeed(catalog),
122
122
  render: {
123
- initial: render2,
123
+ initial: render3,
124
124
  changed: update3,
125
125
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
126
126
  }
127
127
  });
128
128
  };
129
129
 
130
- export { render2, update3, make14, exports_instructions3 };
130
+ export { render3, update3, make14, exports_instructions4 };
@@ -0,0 +1,252 @@
1
+ import {
2
+ node69
3
+ } from "./integration-1wbhvsa0.js";
4
+ import {
5
+ node78
6
+ } from "./integration-ex9wjj40.js";
7
+ import {
8
+ node76
9
+ } from "./integration-ch54p1a9.js";
10
+ import {
11
+ node74,
12
+ boundNode2
13
+ } from "./integration-e7190871.js";
14
+ import {
15
+ node73
16
+ } from "./integration-fwdrt8y0.js";
17
+ import {
18
+ node65
19
+ } from "./integration-whsap9g4.js";
20
+ import {
21
+ node72
22
+ } from "./integration-t09rmbfd.js";
23
+ import {
24
+ node40
25
+ } from "./integration-ts74b2aa.js";
26
+ import {
27
+ configured7,
28
+ node53
29
+ } from "./integration-egjdmc9a.js";
30
+ import {
31
+ node56
32
+ } from "./integration-gsw5hfjj.js";
33
+ import {
34
+ node15
35
+ } from "./integration-hgytqh36.js";
36
+ import {
37
+ node22
38
+ } from "./integration-bje2awg5.js";
39
+ import {
40
+ node20
41
+ } from "./integration-4n9c6g4h.js";
42
+ import {
43
+ node19
44
+ } from "./integration-s1yskcg0.js";
45
+ import {
46
+ node64
47
+ } from "./integration-g98kts4v.js";
48
+ import {
49
+ node44
50
+ } from "./integration-06j1jany.js";
51
+ import {
52
+ node43
53
+ } from "./integration-xsgk3b13.js";
54
+ import {
55
+ node35
56
+ } from "./integration-mnaavyqg.js";
57
+ import {
58
+ Service59,
59
+ node62
60
+ } from "./integration-9gea571p.js";
61
+ import {
62
+ node29
63
+ } from "./integration-ha2e1a5y.js";
64
+ import {
65
+ node70
66
+ } from "./integration-30846h32.js";
67
+ import {
68
+ node66
69
+ } from "./integration-tj7ekckq.js";
70
+ import {
71
+ node61
72
+ } from "./integration-dw8gz3mq.js";
73
+ import {
74
+ configured5,
75
+ node41
76
+ } from "./integration-k06s6pez.js";
77
+ import {
78
+ node36
79
+ } from "./integration-4tem132z.js";
80
+ import {
81
+ node42
82
+ } from "./integration-4f6d0pew.js";
83
+ import {
84
+ node34
85
+ } from "./integration-wk7afg2y.js";
86
+ import {
87
+ node81
88
+ } from "./integration-8bnawm75.js";
89
+ import {
90
+ node37
91
+ } from "./integration-m2ygz4rv.js";
92
+ import {
93
+ node48
94
+ } from "./integration-nej4p9g1.js";
95
+ import {
96
+ node33
97
+ } from "./integration-g49fastt.js";
98
+ import {
99
+ node28
100
+ } from "./integration-ayfk1h0n.js";
101
+ import {
102
+ node47
103
+ } from "./integration-1ksm7rsz.js";
104
+ import {
105
+ node55
106
+ } from "./integration-qtzk0ftm.js";
107
+ import {
108
+ node87
109
+ } from "./integration-s12geb02.js";
110
+ import {
111
+ node51
112
+ } from "./integration-zpnb0y11.js";
113
+ import {
114
+ node45
115
+ } from "./integration-d892zs75.js";
116
+ import {
117
+ node49
118
+ } from "./integration-wx2t9nyy.js";
119
+ import {
120
+ node50
121
+ } from "./integration-b5y8n1e6.js";
122
+ import {
123
+ node39
124
+ } from "./integration-fepr4w5j.js";
125
+ import {
126
+ node24
127
+ } from "./integration-tv6v1fw0.js";
128
+ import {
129
+ node13
130
+ } from "./integration-t96h8vn6.js";
131
+ import {
132
+ Service15,
133
+ node17
134
+ } from "./integration-0p29q02t.js";
135
+ import {
136
+ node23
137
+ } from "./integration-hynrrzr9.js";
138
+ import {
139
+ node6,
140
+ bound2
141
+ } from "./integration-5xtgfte3.js";
142
+ import {
143
+ node7
144
+ } from "./integration-qcwz4p84.js";
145
+ import {
146
+ node11
147
+ } from "./integration-xfwam4t6.js";
148
+ import {
149
+ node12
150
+ } from "./integration-tv8kvtrg.js";
151
+ import {
152
+ node4
153
+ } from "./integration-zeh3qhes.js";
154
+ import {
155
+ node18
156
+ } from "./integration-dzbr64j7.js";
157
+ import {
158
+ node3
159
+ } from "./integration-fjhejfvr.js";
160
+ import {
161
+ node2
162
+ } from "./integration-grt2chjq.js";
163
+ import {
164
+ __export
165
+ } from "./integration-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service59,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node62
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node74,
181
+ node17,
182
+ node56,
183
+ node53,
184
+ node69,
185
+ node40,
186
+ node81,
187
+ node45,
188
+ node50,
189
+ node76,
190
+ node73,
191
+ node72,
192
+ node64,
193
+ node65,
194
+ node24,
195
+ node70,
196
+ node6,
197
+ node4,
198
+ node39,
199
+ node20,
200
+ node19,
201
+ node55,
202
+ node18,
203
+ node51,
204
+ node48,
205
+ node36,
206
+ node41,
207
+ node23,
208
+ node15,
209
+ node22,
210
+ node35,
211
+ node66,
212
+ node42,
213
+ node87,
214
+ node43,
215
+ node33,
216
+ node37,
217
+ node29,
218
+ node78,
219
+ node44,
220
+ node12,
221
+ node34,
222
+ node11,
223
+ node61,
224
+ node7,
225
+ node3,
226
+ node28,
227
+ node47,
228
+ node2,
229
+ node49,
230
+ node13
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node53.replace(configured7({ project: false, global: false })),
235
+ node41.replace(configured5({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node74.replace(boundNode2(ref, { discovery: options.discovery })),
243
+ node6.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service15).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-wsmhkxds.js";
3
+ } from "./integration-pjgwjwxs.js";
4
4
  import {
5
- Service82
6
- } from "./persistent-pty-ze07024f.js";
5
+ Service81
6
+ } from "./integration-dw76zyaf.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./persistent-pty-ry98d82p.js";
10
+ } from "./integration-yhmfm09s.js";
11
11
  import {
12
- ID14,
12
+ ID15,
13
13
  MethodID2
14
- } from "./persistent-pty-gbwj81ez.js";
14
+ } from "./integration-ch54p1a9.js";
15
15
  import {
16
16
  which2
17
- } from "./persistent-pty-qaymkmh1.js";
17
+ } from "./integration-qaymkmh1.js";
18
18
  import {
19
- ID13,
19
+ ID12,
20
20
  mergeOverlay2
21
- } from "./persistent-pty-j10zwm3w.js";
21
+ } from "./integration-fwdrt8y0.js";
22
22
  import {
23
23
  iife2
24
- } from "./persistent-pty-1kg9ymc8.js";
24
+ } from "./integration-1kg9ymc8.js";
25
25
  import {
26
26
  configuredSettings2
27
- } from "./persistent-pty-gfkdt5qx.js";
27
+ } from "./integration-xgghj434.js";
28
28
 
29
29
  // src/plugin/provider/azure.ts
30
30
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -44,9 +44,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
44
44
  var AzurePlugin2 = define({
45
45
  id: "opencode.provider.azure",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const configured = yield* configuredSettings2(ID13.azure);
47
+ const configured = yield* configuredSettings2(ID12.azure);
48
48
  const processes = yield* AppProcess.Service;
49
- const bus = yield* Service82;
49
+ const bus = yield* Service81;
50
50
  const tokens = new Map;
51
51
  const loading = Semaphore.makeUnsafe(1);
52
52
  const loaded = {};
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
80
80
  });
81
81
  yield* ctx.integration.transform((editor) => {
82
82
  editor.method.update({
83
- integrationID: ID13.azure,
83
+ integrationID: ID12.azure,
84
84
  method: { type: "key", label: "API key", form: form() }
85
85
  });
86
86
  if (!available)
87
87
  return;
88
88
  editor.method.update({
89
- integrationID: ID13.azure,
89
+ integrationID: ID12.azure,
90
90
  method: {
91
91
  id: methodID,
92
92
  type: "oauth",
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
118
118
  });
119
119
  });
120
120
  const load = Effect.fn("AzurePlugin.load")(function* () {
121
- const connection = yield* ctx.integration.connection.active(ID13.azure);
121
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
122
122
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
123
123
  return;
124
124
  })) : undefined;
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
132
132
  yield* load();
133
133
  yield* ctx.provider.transform((evt) => {
134
134
  for (const item of evt.list()) {
135
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
136
136
  continue;
137
137
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
138
138
  if (resourceName)
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
147
147
  });
148
148
  yield* ctx.model.transform((models) => {
149
149
  for (const item of models.provider.list()) {
150
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
150
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
151
151
  continue;
152
152
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
153
153
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID13.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID13.azure)
178
+ if (evt.model.providerID !== ID12.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID13.azure });
187
+ }), { providerID: ID12.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID13.azure)
189
+ if (evt.model.providerID !== ID12.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID13.azure });
198
+ }), { providerID: ID12.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {