@opencode/core 0.0.0-dev-20335 → 0.0.0-dev-20341

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{repository-d3bs9tdw.js → persistent-pty-00vf67kq.js} +9 -9
  8. package/dist/chunks/persistent-pty-01qtd5dc.js +252 -0
  9. package/dist/chunks/{repository-95w30yp9.js → persistent-pty-04wpcwjp.js} +17 -17
  10. package/dist/chunks/{repository-amrnnyta.js → persistent-pty-05hmz687.js} +11 -11
  11. package/dist/chunks/{repository-tvqfpfee.js → persistent-pty-0aksezd1.js} +6 -6
  12. package/dist/chunks/{repository-50d9sfsv.js → persistent-pty-0cmajtfh.js} +20 -20
  13. package/dist/chunks/{repository-16vz77rp.js → persistent-pty-0fq9kbe5.js} +14 -14
  14. package/dist/chunks/{repository-m7153hwt.js → persistent-pty-0jnnzt4k.js} +32 -32
  15. package/dist/chunks/{repository-2k8khapm.js → persistent-pty-0jwsre1p.js} +5 -5
  16. package/dist/chunks/persistent-pty-0ntnwng5.js +507 -0
  17. package/dist/chunks/{repository-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{repository-2hqp8s59.js → persistent-pty-0ymbac85.js} +30 -30
  19. package/dist/chunks/{repository-wfnh7d6s.js → persistent-pty-14xhwdvx.js} +11 -11
  20. package/dist/chunks/{repository-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{repository-hm1b0gbb.js → persistent-pty-1fkbnb3h.js} +31 -31
  22. package/dist/chunks/{repository-4j6xyef2.js → persistent-pty-1jyay2fm.js} +27 -27
  23. package/dist/chunks/{repository-7yqjxrmz.js → persistent-pty-1nzs1dt7.js} +6 -6
  24. package/dist/chunks/{repository-kbrbwa51.js → persistent-pty-1v8stjbz.js} +1 -1
  25. package/dist/chunks/{repository-vy4zg7qh.js → persistent-pty-20zz1ang.js} +8 -8
  26. package/dist/chunks/{repository-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  27. package/dist/chunks/{repository-arn5xykm.js → persistent-pty-29cwx4ks.js} +2 -2
  28. package/dist/chunks/{repository-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{repository-dqmwfghx.js → persistent-pty-2f0bjgcj.js} +5 -5
  30. package/dist/chunks/{repository-s3525we2.js → persistent-pty-2h15mtsb.js} +11 -11
  31. package/dist/chunks/{repository-ph4v5nv3.js → persistent-pty-2nes80nj.js} +11 -11
  32. package/dist/chunks/{repository-15rs1j4r.js → persistent-pty-2pw9t7y0.js} +15 -15
  33. package/dist/chunks/{repository-mzrbxmyd.js → persistent-pty-2vjymgz4.js} +11 -11
  34. package/dist/chunks/{repository-f19qfh98.js → persistent-pty-2w7feyg1.js} +11 -11
  35. package/dist/chunks/{repository-wzwyn12v.js → persistent-pty-31jg3jzd.js} +10 -10
  36. package/dist/chunks/{repository-3gxz2t13.js → persistent-pty-32tkr9wa.js} +36 -36
  37. package/dist/chunks/{repository-k8ard8cz.js → persistent-pty-3878e13v.js} +90 -90
  38. package/dist/chunks/{repository-v72s44yw.js → persistent-pty-3bkzp6nm.js} +11 -11
  39. package/dist/chunks/{repository-5t80mpw4.js → persistent-pty-3efxt51q.js} +19 -19
  40. package/dist/chunks/{repository-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{repository-wr7z7pm1.js → persistent-pty-3fv5zerb.js} +12 -12
  42. package/dist/chunks/{repository-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{repository-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{repository-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{repository-tygebkv4.js → persistent-pty-3vb8825b.js} +19 -19
  46. package/dist/chunks/{repository-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{repository-n1p8stbd.js → persistent-pty-42mqjpyj.js} +13 -13
  48. package/dist/chunks/{repository-gmq1kaeg.js → persistent-pty-46pet8gs.js} +15 -15
  49. package/dist/chunks/{repository-h6qw6arq.js → persistent-pty-4hvfhxsc.js} +17 -17
  50. package/dist/chunks/{repository-4z58m4b4.js → persistent-pty-4j4tgtq5.js} +4 -4
  51. package/dist/chunks/{repository-kgf2e1tk.js → persistent-pty-4n3sdfe5.js} +4 -4
  52. package/dist/chunks/{repository-0zxndn7z.js → persistent-pty-4p2v91mq.js} +15 -15
  53. package/dist/chunks/{repository-3v0sd91a.js → persistent-pty-4wfraw0w.js} +25 -25
  54. package/dist/chunks/{repository-tcay1cqt.js → persistent-pty-51f5btjf.js} +6 -6
  55. package/dist/chunks/{repository-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
  56. package/dist/chunks/{repository-ckecvw8r.js → persistent-pty-54tcyq79.js} +2 -2
  57. package/dist/chunks/{repository-bfm303mw.js → persistent-pty-55zfesz9.js} +11 -11
  58. package/dist/chunks/{repository-ah8v3g6t.js → persistent-pty-55zqgwvr.js} +11 -11
  59. package/dist/chunks/{repository-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{repository-ehmk2s93.js → persistent-pty-5cpzvd3j.js} +15 -15
  61. package/dist/chunks/{repository-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  62. package/dist/chunks/{repository-6qgczjnx.js → persistent-pty-5jqc7mmh.js} +48 -48
  63. package/dist/chunks/{repository-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
  64. package/dist/chunks/{repository-588n7640.js → persistent-pty-5rwf64p2.js} +9 -9
  65. package/dist/chunks/{repository-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{repository-nsdxmg59.js → persistent-pty-5xq1sedg.js} +47 -47
  67. package/dist/chunks/{repository-9y6gpmex.js → persistent-pty-64wymc54.js} +12 -12
  68. package/dist/chunks/{repository-669tq793.js → persistent-pty-669tq793.js} +1 -1
  69. package/dist/chunks/{repository-7mksp0wg.js → persistent-pty-6b79em31.js} +15 -15
  70. package/dist/chunks/persistent-pty-6k12j7x1.js +26 -0
  71. package/dist/chunks/{repository-adpk0erv.js → persistent-pty-6khx4p0d.js} +75 -75
  72. package/dist/chunks/{repository-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{repository-fdkzaggf.js → persistent-pty-6n8a4jjg.js} +16 -16
  74. package/dist/chunks/{repository-grmhakfb.js → persistent-pty-6nweqnhb.js} +24 -24
  75. package/dist/chunks/{repository-14deg24w.js → persistent-pty-6q8zcy5k.js} +11 -11
  76. package/dist/chunks/{repository-cw8972wq.js → persistent-pty-6vyb99v6.js} +10 -10
  77. package/dist/chunks/{repository-xew1cczc.js → persistent-pty-6yfg5v83.js} +23 -23
  78. package/dist/chunks/{repository-f6hq4jm4.js → persistent-pty-6ypennq8.js} +43 -43
  79. package/dist/chunks/{repository-bkgqdper.js → persistent-pty-72hvh6jh.js} +27 -27
  80. package/dist/chunks/{repository-ah7atdab.js → persistent-pty-75jb4kyn.js} +12 -12
  81. package/dist/chunks/{repository-tazp3vs0.js → persistent-pty-784hb5j4.js} +4 -4
  82. package/dist/chunks/{repository-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{repository-hfdq9xfh.js → persistent-pty-7ews3x9x.js} +41 -41
  84. package/dist/chunks/{repository-jpa7cehe.js → persistent-pty-7hpm9vff.js} +17 -17
  85. package/dist/chunks/{repository-rr68r3wr.js → persistent-pty-7j5zvf86.js} +4 -4
  86. package/dist/chunks/{repository-86m3yb96.js → persistent-pty-811rfafr.js} +26 -26
  87. package/dist/chunks/{repository-84txncab.js → persistent-pty-84txncab.js} +1 -1
  88. package/dist/chunks/{repository-zjddxd3j.js → persistent-pty-84y3cxrg.js} +14 -14
  89. package/dist/chunks/{repository-jkzkeyzq.js → persistent-pty-880ef89g.js} +11 -11
  90. package/dist/chunks/{repository-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
  91. package/dist/chunks/{repository-zvjhkatg.js → persistent-pty-8aaqm6qj.js} +8 -8
  92. package/dist/chunks/{repository-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{repository-6cnesaz1.js → persistent-pty-8e7wxhqf.js} +36 -36
  94. package/dist/chunks/{repository-vctgtqyk.js → persistent-pty-8jyzywxv.js} +15 -15
  95. package/dist/chunks/{repository-kz2hxhwe.js → persistent-pty-8s8r9gf0.js} +19 -19
  96. package/dist/chunks/{repository-py3kkmfq.js → persistent-pty-8sze2n9a.js} +6 -6
  97. package/dist/chunks/{repository-3hwhnchq.js → persistent-pty-981fg1k8.js} +10 -10
  98. package/dist/chunks/{repository-qx2z80z2.js → persistent-pty-9b50t81g.js} +6 -6
  99. package/dist/chunks/{repository-25kp255n.js → persistent-pty-9qb76avw.js} +9 -9
  100. package/dist/chunks/{repository-x5sf7ath.js → persistent-pty-9v2r64bp.js} +1 -1
  101. package/dist/chunks/{repository-yqs7fwh1.js → persistent-pty-9vjccf17.js} +6 -6
  102. package/dist/chunks/{repository-mxr1v1s0.js → persistent-pty-9wncg805.js} +8 -8
  103. package/dist/chunks/{repository-wpy48h4a.js → persistent-pty-9zrtdmhy.js} +11 -11
  104. package/dist/chunks/{repository-tjtpwfd8.js → persistent-pty-a0ga5595.js} +11 -11
  105. package/dist/chunks/{repository-nrsb7t6v.js → persistent-pty-a2yvrr1e.js} +49 -49
  106. package/dist/chunks/{repository-nng2ktcm.js → persistent-pty-a3r4dcrj.js} +2 -2
  107. package/dist/chunks/{repository-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  108. package/dist/chunks/{repository-bnzngw4e.js → persistent-pty-aapjkkww.js} +45 -45
  109. package/dist/chunks/{repository-a3ftg8j6.js → persistent-pty-ajdjch6h.js} +9 -9
  110. package/dist/chunks/{repository-tjp7nbbc.js → persistent-pty-apbqs3pw.js} +1 -1
  111. package/dist/chunks/{repository-ng5pw36k.js → persistent-pty-aq6cef94.js} +10 -10
  112. package/dist/chunks/{repository-yarqv08n.js → persistent-pty-avvhg6ef.js} +3 -3
  113. package/dist/chunks/{repository-epd18y3s.js → persistent-pty-azexmtne.js} +6 -6
  114. package/dist/chunks/{repository-7xyrrtj6.js → persistent-pty-b0grxa7w.js} +5 -5
  115. package/dist/chunks/{repository-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{repository-6asekhfp.js → persistent-pty-b6sgv4g0.js} +25 -25
  117. package/dist/chunks/{repository-qesg53n6.js → persistent-pty-b95vg044.js} +20 -20
  118. package/dist/chunks/{repository-4j4dq07s.js → persistent-pty-b985cns1.js} +10 -10
  119. package/dist/chunks/{repository-44cd2caf.js → persistent-pty-bdhtmqf5.js} +37 -37
  120. package/dist/chunks/{repository-1bbp1d6c.js → persistent-pty-be3be266.js} +3 -3
  121. package/dist/chunks/{repository-1gfgk62c.js → persistent-pty-bjmt3h04.js} +8 -8
  122. package/dist/chunks/{repository-z07pqspn.js → persistent-pty-bjtzbw4r.js} +3 -3
  123. package/dist/chunks/{repository-5kembwtx.js → persistent-pty-bp98ntrt.js} +24 -24
  124. package/dist/chunks/{repository-177x5hfm.js → persistent-pty-bw6eqvc2.js} +26 -26
  125. package/dist/chunks/{repository-wwwg9xe9.js → persistent-pty-c1m7agks.js} +15 -15
  126. package/dist/chunks/{repository-5wtwrezn.js → persistent-pty-cavr175a.js} +21 -21
  127. package/dist/chunks/{repository-rscpm148.js → persistent-pty-chmcxnpv.js} +11 -11
  128. package/dist/chunks/{repository-hstvm2rm.js → persistent-pty-cj0q7yrn.js} +32 -32
  129. package/dist/chunks/{repository-eft2fq7z.js → persistent-pty-cjdtr2ds.js} +33 -31
  130. package/dist/chunks/{repository-n0snsaj8.js → persistent-pty-cjs1c48m.js} +13 -13
  131. package/dist/chunks/{repository-b78x4hqs.js → persistent-pty-dbkkmbew.js} +10 -10
  132. package/dist/chunks/{repository-c765mh8b.js → persistent-pty-djszqvmq.js} +9 -9
  133. package/dist/chunks/{repository-xkntkrq7.js → persistent-pty-dmqcgk4z.js} +5 -5
  134. package/dist/chunks/{repository-dnxkq42g.js → persistent-pty-dnxkq42g.js} +1 -1
  135. package/dist/chunks/{repository-jevn6b1b.js → persistent-pty-dsv4qt6d.js} +16 -16
  136. package/dist/chunks/{repository-mj08mqq8.js → persistent-pty-dy5mtzz8.js} +11 -11
  137. package/dist/chunks/{repository-ecfe7b91.js → persistent-pty-ecfe7b91.js} +2 -2
  138. package/dist/chunks/{repository-n26pg8f3.js → persistent-pty-ect61mw4.js} +12 -12
  139. package/dist/chunks/{repository-2jb0f4sx.js → persistent-pty-edbn27ge.js} +4 -4
  140. package/dist/chunks/{repository-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{repository-spzctr33.js → persistent-pty-efm7cqaz.js} +27 -27
  142. package/dist/chunks/{repository-j77nvagq.js → persistent-pty-efxgthxc.js} +16 -16
  143. package/dist/chunks/{repository-1nhg81ky.js → persistent-pty-ek57zv8b.js} +17 -17
  144. package/dist/chunks/{repository-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{repository-y16p1w2y.js → persistent-pty-eye44qas.js} +9 -9
  146. package/dist/chunks/{repository-w01ghv19.js → persistent-pty-f1as396s.js} +11 -11
  147. package/dist/chunks/{repository-0d42ryz0.js → persistent-pty-f4xqw7wa.js} +22 -22
  148. package/dist/chunks/{repository-cp1npnye.js → persistent-pty-f9t0t77v.js} +27 -27
  149. package/dist/chunks/{repository-7rkyr6sz.js → persistent-pty-fdmgm320.js} +14 -14
  150. package/dist/chunks/{repository-nq7qbqzc.js → persistent-pty-fhs97t90.js} +9 -9
  151. package/dist/chunks/{repository-gzbkpp9m.js → persistent-pty-fjvydvzm.js} +4 -4
  152. package/dist/chunks/{repository-4652gtcq.js → persistent-pty-fq1eaaax.js} +28 -28
  153. package/dist/chunks/{repository-gc135ar8.js → persistent-pty-fqj9nv8j.js} +8 -8
  154. package/dist/chunks/{repository-s7ftbfps.js → persistent-pty-fw7a63m3.js} +6 -6
  155. package/dist/chunks/{repository-p42hj8p8.js → persistent-pty-g0445xdp.js} +8 -8
  156. package/dist/chunks/{repository-8hgfhrm0.js → persistent-pty-g8jasmdt.js} +11 -11
  157. package/dist/chunks/{repository-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{repository-n9kzwy15.js → persistent-pty-gdgx11yp.js} +10 -10
  159. package/dist/chunks/{repository-94ek1h2f.js → persistent-pty-gfvb90ym.js} +2 -2
  160. package/dist/chunks/{repository-9yegeevc.js → persistent-pty-ggr88sj4.js} +18 -18
  161. package/dist/chunks/{repository-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{repository-6g6nehze.js → persistent-pty-h0n6hth2.js} +32 -32
  163. package/dist/chunks/{repository-smb3a1vy.js → persistent-pty-h1s4ax7h.js} +13 -13
  164. package/dist/chunks/{repository-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{repository-8tsdq50x.js → persistent-pty-h90v2x9d.js} +4 -4
  166. package/dist/chunks/{repository-3556dn8t.js → persistent-pty-hd8vw2pw.js} +1 -1
  167. package/dist/chunks/{repository-jrvxvghc.js → persistent-pty-hgsmh1nh.js} +16 -16
  168. package/dist/chunks/{repository-qnqdsnqy.js → persistent-pty-hn4w1bkj.js} +18 -18
  169. package/dist/chunks/{repository-y0arntg5.js → persistent-pty-hnkth8hh.js} +7 -7
  170. package/dist/chunks/{repository-njp7nbsm.js → persistent-pty-hr7t50ew.js} +13 -13
  171. package/dist/chunks/{repository-4crnhx2x.js → persistent-pty-hs14hted.js} +10 -10
  172. package/dist/chunks/{repository-zcxn7avd.js → persistent-pty-hsz3e5dy.js} +29 -29
  173. package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
  174. package/dist/chunks/{repository-kye418mf.js → persistent-pty-hym2md94.js} +10 -10
  175. package/dist/chunks/{repository-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  176. package/dist/chunks/{repository-aqryd466.js → persistent-pty-jcenn4a0.js} +24 -24
  177. package/dist/chunks/{repository-7w99qc9d.js → persistent-pty-jexxy024.js} +3 -3
  178. package/dist/chunks/{repository-ss8nxy6a.js → persistent-pty-jgg5903p.js} +33 -33
  179. package/dist/chunks/{repository-zbttfwdc.js → persistent-pty-jh34xga3.js} +9 -9
  180. package/dist/chunks/{repository-bjpa3xan.js → persistent-pty-jhcrq6fy.js} +18 -18
  181. package/dist/chunks/{repository-gjcmh5na.js → persistent-pty-jk236s1c.js} +32 -32
  182. package/dist/chunks/{repository-f136476x.js → persistent-pty-jsqbbv53.js} +16 -16
  183. package/dist/chunks/{repository-y71avatq.js → persistent-pty-jwcy2c2z.js} +4 -4
  184. package/dist/chunks/{repository-bwnx15mf.js → persistent-pty-jxg7w2yt.js} +56 -56
  185. package/dist/chunks/{repository-x3drdvdf.js → persistent-pty-k2cf7ycz.js} +9 -9
  186. package/dist/chunks/{repository-6cdq8sz3.js → persistent-pty-k3akrp7q.js} +55 -55
  187. package/dist/chunks/{repository-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
  188. package/dist/chunks/{repository-rgzws67g.js → persistent-pty-k5nxbakh.js} +26 -26
  189. package/dist/chunks/{repository-806j49yq.js → persistent-pty-k8962brh.js} +7 -7
  190. package/dist/chunks/{repository-zd30eb5w.js → persistent-pty-k8hpw67k.js} +5 -5
  191. package/dist/chunks/{repository-esvq6ems.js → persistent-pty-kazy0ayh.js} +1 -1
  192. package/dist/chunks/{repository-frwzdz0p.js → persistent-pty-kb09e3ps.js} +2 -2
  193. package/dist/chunks/{repository-xs9p6a56.js → persistent-pty-kt0am480.js} +5 -5
  194. package/dist/chunks/{repository-gwzjmqr0.js → persistent-pty-kt98sm59.js} +3 -3
  195. package/dist/chunks/{repository-5amwhyk8.js → persistent-pty-kyktj0vd.js} +6 -6
  196. package/dist/chunks/{repository-c91ayza2.js → persistent-pty-m142re3c.js} +24 -24
  197. package/dist/chunks/{repository-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  198. package/dist/chunks/{repository-1wb0x8n3.js → persistent-pty-m3nayt80.js} +8 -8
  199. package/dist/chunks/{repository-efz4qfm7.js → persistent-pty-m97jxw3r.js} +9 -9
  200. package/dist/chunks/{repository-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  201. package/dist/chunks/{repository-0mcex0vm.js → persistent-pty-mb8ahhxd.js} +46 -46
  202. package/dist/chunks/{repository-56gdpj1q.js → persistent-pty-mfqp6xfm.js} +6 -6
  203. package/dist/chunks/{repository-7yh4e7ss.js → persistent-pty-mhkvc446.js} +3 -3
  204. package/dist/chunks/{repository-qpedwap1.js → persistent-pty-mnxyjaz9.js} +21 -21
  205. package/dist/chunks/{repository-ytsv5nsm.js → persistent-pty-mwxvj69v.js} +27 -27
  206. package/dist/chunks/{repository-p3t27j1r.js → persistent-pty-nbwqk53a.js} +16 -16
  207. package/dist/chunks/{repository-ccmf13nx.js → persistent-pty-nd5pg0jd.js} +15 -15
  208. package/dist/chunks/{repository-p540ebbs.js → persistent-pty-new922dw.js} +19 -19
  209. package/dist/chunks/{repository-8q2kdvn6.js → persistent-pty-ng06zct7.js} +27 -27
  210. package/dist/chunks/{repository-ge62tnff.js → persistent-pty-nyh6yxg3.js} +19 -19
  211. package/dist/chunks/{repository-nxhqveyz.js → persistent-pty-p44d8wdy.js} +5 -5
  212. package/dist/chunks/{repository-tx92n959.js → persistent-pty-pcxghkgz.js} +4 -4
  213. package/dist/chunks/{repository-tft3ktne.js → persistent-pty-pdrz96x4.js} +10 -10
  214. package/dist/chunks/{repository-espax8zg.js → persistent-pty-pgp1nwjn.js} +4 -4
  215. package/dist/chunks/{repository-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  216. package/dist/chunks/{repository-7gdfpyqw.js → persistent-pty-pknkq1ya.js} +8 -8
  217. package/dist/chunks/{repository-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  218. package/dist/chunks/{repository-91869f37.js → persistent-pty-pmth53f6.js} +32 -32
  219. package/dist/chunks/{repository-dkbdvgew.js → persistent-pty-pqsj7wgp.js} +5 -5
  220. package/dist/chunks/{repository-wd3x2cqz.js → persistent-pty-psazpmmj.js} +2 -2
  221. package/dist/chunks/{repository-npkye8kr.js → persistent-pty-pysk3085.js} +151 -151
  222. package/dist/chunks/{repository-4z2cpt3j.js → persistent-pty-q63sg9wh.js} +14 -14
  223. package/dist/chunks/{repository-cp7v009q.js → persistent-pty-qfqtz2mg.js} +3 -3
  224. package/dist/chunks/{repository-vmzvv6jk.js → persistent-pty-qkk4yay7.js} +8 -8
  225. package/dist/chunks/{repository-jrpxshtx.js → persistent-pty-qkt14v07.js} +35 -35
  226. package/dist/chunks/{repository-1c5jrzvp.js → persistent-pty-qreq96fy.js} +16 -16
  227. package/dist/chunks/{repository-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  228. package/dist/chunks/{repository-7x182g3c.js → persistent-pty-qxv5x38a.js} +13 -13
  229. package/dist/chunks/{repository-8gtajd2c.js → persistent-pty-qy1187xz.js} +37 -37
  230. package/dist/chunks/{repository-1wwpvd1c.js → persistent-pty-r2cdb093.js} +20 -20
  231. package/dist/chunks/{repository-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  232. package/dist/chunks/{repository-ej670j8y.js → persistent-pty-rebxb36w.js} +7 -7
  233. package/dist/chunks/{repository-0k2n229t.js → persistent-pty-rev16gg1.js} +32 -32
  234. package/dist/chunks/{repository-bjcxr48j.js → persistent-pty-rhe6q90e.js} +25 -25
  235. package/dist/chunks/{repository-my042x6s.js → persistent-pty-rsjwp548.js} +20 -20
  236. package/dist/chunks/{repository-ccqvcrpm.js → persistent-pty-s4df5zxh.js} +17 -17
  237. package/dist/chunks/{repository-1xpch1h6.js → persistent-pty-s4rskdge.js} +9 -9
  238. package/dist/chunks/{repository-eg45xm7b.js → persistent-pty-s7h7at2m.js} +26 -26
  239. package/dist/chunks/{repository-ynaczmmt.js → persistent-pty-sd75nvd1.js} +18 -18
  240. package/dist/chunks/{repository-0gdmqesm.js → persistent-pty-t550f9t1.js} +4 -4
  241. package/dist/chunks/{repository-r98e92ep.js → persistent-pty-t9zs3egg.js} +4 -4
  242. package/dist/chunks/{repository-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{repository-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  244. package/dist/chunks/{repository-sr1f61nh.js → persistent-pty-te9eb2ne.js} +18 -18
  245. package/dist/chunks/{repository-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  246. package/dist/chunks/{repository-5vh6m982.js → persistent-pty-v2xh51ss.js} +27 -27
  247. package/dist/chunks/{repository-an4zz5am.js → persistent-pty-v4qes6kb.js} +17 -17
  248. package/dist/chunks/{repository-z21br254.js → persistent-pty-v8n97m4h.js} +8 -8
  249. package/dist/chunks/{repository-msvxw073.js → persistent-pty-vaydq29x.js} +48 -48
  250. package/dist/chunks/{repository-s0wrr388.js → persistent-pty-vdphxgnn.js} +10 -10
  251. package/dist/chunks/{repository-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  252. package/dist/chunks/{repository-s7ts0s5b.js → persistent-pty-vnqycjs3.js} +34 -34
  253. package/dist/chunks/{repository-bnhgcfss.js → persistent-pty-vs8k4vg6.js} +25 -25
  254. package/dist/chunks/{repository-7awdj4ds.js → persistent-pty-vv4wkjrp.js} +8 -8
  255. package/dist/chunks/{repository-epnzmdpm.js → persistent-pty-vwcfpena.js} +9 -9
  256. package/dist/chunks/{repository-1sev21en.js → persistent-pty-vz9db08s.js} +4 -4
  257. package/dist/chunks/{repository-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{repository-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{repository-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{repository-4szb5sg6.js → persistent-pty-w936gsj9.js} +11 -11
  261. package/dist/chunks/{repository-hcz3zddy.js → persistent-pty-wbkyxrgf.js} +5 -5
  262. package/dist/chunks/{repository-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  263. package/dist/chunks/{repository-fp6c7zsr.js → persistent-pty-wf2zhhrq.js} +32 -32
  264. package/dist/chunks/{repository-k2mvq2xf.js → persistent-pty-wp1mqwss.js} +3 -3
  265. package/dist/chunks/{repository-zx9zy5mt.js → persistent-pty-wq4zc2h0.js} +18 -18
  266. package/dist/chunks/{repository-9cvjrp9p.js → persistent-pty-wvq7e1s4.js} +4 -4
  267. package/dist/chunks/{repository-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{repository-2p8k3371.js → persistent-pty-x9ate6zv.js} +3 -3
  269. package/dist/chunks/{repository-6agef5e8.js → persistent-pty-xen1zbvx.js} +2 -2
  270. package/dist/chunks/{repository-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
  271. package/dist/chunks/{repository-swxh916n.js → persistent-pty-xkaxm87r.js} +9 -9
  272. package/dist/chunks/{repository-b4p19tx4.js → persistent-pty-xvp1j2dc.js} +5 -5
  273. package/dist/chunks/{repository-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{repository-5xq3t6w1.js → persistent-pty-yabnvfn3.js} +88 -88
  275. package/dist/chunks/{repository-jfz7kgha.js → persistent-pty-ygxhnps7.js} +17 -17
  276. package/dist/chunks/{repository-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
  277. package/dist/chunks/{repository-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{repository-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
  279. package/dist/chunks/{repository-ymz6mr5d.js → persistent-pty-yt5c9h39.js} +30 -30
  280. package/dist/chunks/{repository-8b0rfz7c.js → persistent-pty-yxdp53eh.js} +1 -1
  281. package/dist/chunks/{repository-qy7g33vm.js → persistent-pty-yy0dcyjw.js} +5 -5
  282. package/dist/chunks/{repository-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{repository-4enn4tzn.js → persistent-pty-z4szxkd7.js} +9 -9
  284. package/dist/chunks/{repository-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
  285. package/dist/chunks/{repository-embw8kgh.js → persistent-pty-zcrspsvn.js} +4 -4
  286. package/dist/chunks/{repository-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{repository-87deq66t.js → persistent-pty-zfq801h6.js} +4 -4
  288. package/dist/chunks/{repository-td8xq64f.js → persistent-pty-zjasv8zh.js} +26 -26
  289. package/dist/chunks/{repository-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{repository-5hcyjm69.js → persistent-pty-zvs730z4.js} +8 -8
  291. package/dist/chunks/{repository-7wcp0dp1.js → persistent-pty-zvxz31za.js} +9 -9
  292. package/dist/chunks/{repository-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{repository-0d66s06f.js → persistent-pty-zyrwm43r.js} +17 -17
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +85 -85
  299. package/dist/config/discovery.js +84 -84
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +121 -121
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +83 -83
  328. package/dist/database/database.js +72 -72
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +72 -72
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +228 -228
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +108 -108
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +8 -8
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +79 -79
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +133 -133
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +127 -127
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +100 -100
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +95 -95
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -354
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +224 -224
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +82 -82
  566. package/dist/provider.js +91 -91
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +91 -91
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +135 -135
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +223 -223
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +84 -84
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +1 -1
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +218 -218
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +126 -126
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +218 -218
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +80 -80
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +3 -3
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +94 -94
  700. package/package.json +8 -8
  701. package/dist/chunks/repository-b02qhphd.js +0 -252
  702. package/dist/chunks/repository-enhmk9nd.js +0 -507
  703. package/dist/chunks/repository-jqh9b0xq.js +0 -18
  704. package/dist/chunks/repository-xxzmwayv.js +0 -26
  705. /package/dist/chunks/{repository-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{repository-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{repository-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{repository-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{repository-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{repository-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{repository-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{repository-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{repository-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{repository-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{repository-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{repository-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  717. /package/dist/chunks/{repository-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{repository-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{repository-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{repository-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{repository-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{repository-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{repository-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{repository-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  725. /package/dist/chunks/{repository-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{repository-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  727. /package/dist/chunks/{repository-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{repository-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{repository-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  730. /package/dist/chunks/{repository-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{repository-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{repository-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{repository-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  734. /package/dist/chunks/{repository-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{repository-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{repository-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{repository-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{repository-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{repository-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{repository-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{repository-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{repository-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{repository-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{repository-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{repository-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{repository-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{repository-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{repository-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{repository-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  750. /package/dist/chunks/{repository-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{repository-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{repository-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{repository-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{repository-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{repository-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{repository-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{repository-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{repository-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{repository-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{repository-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{repository-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{repository-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  763. /package/dist/chunks/{repository-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{repository-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  765. /package/dist/chunks/{repository-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{repository-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  767. /package/dist/chunks/{repository-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{repository-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{repository-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{repository-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{repository-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{repository-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{repository-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{repository-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{repository-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{repository-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{repository-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{repository-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{repository-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{repository-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{repository-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{repository-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{repository-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{repository-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{repository-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{repository-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{repository-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{repository-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{repository-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{repository-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{repository-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{repository-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{repository-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{repository-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  795. /package/dist/chunks/{repository-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{repository-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{repository-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{repository-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{repository-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{repository-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./repository-rdw6cm16.js";
3
+ } from "./persistent-pty-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service45,
14
+ Service: () => Service34,
15
15
  SizeError: () => SizeError2,
16
- node: () => node48
16
+ node: () => node37
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service45 extends Context.Service()("@opencode/Image") {
45
+ class Service34 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service45, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service45.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service34.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node48 = makeLocationNode({ service: Service45, layer, deps: [] });
79
+ var node37 = makeLocationNode({ service: Service34, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service45, node48, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service34, node37, exports_image2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83
3
- } from "./repository-bfm303mw.js";
3
+ } from "./persistent-pty-55zfesz9.js";
4
4
  import {
5
- Service78
6
- } from "./repository-zjddxd3j.js";
5
+ Service80
6
+ } from "./persistent-pty-84y3cxrg.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service41
10
- } from "./repository-nrsb7t6v.js";
9
+ Service32
10
+ } from "./persistent-pty-a2yvrr1e.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin46
19
+ Plugin: () => Plugin32
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin46 = define({
196
+ var Plugin32 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service78;
200
- const mcp = yield* Service41;
199
+ const location = yield* Service80;
200
+ const mcp = yield* Service32;
201
201
  const bus = yield* Service83;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin46, exports_command2 };
283
+ export { Plugin32, exports_command2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83,
3
- node87
4
- } from "./repository-bfm303mw.js";
3
+ node86
4
+ } from "./persistent-pty-55zfesz9.js";
5
5
  import {
6
6
  __export
7
- } from "./repository-9rqn6x4v.js";
7
+ } from "./persistent-pty-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID16,
20
- Info: () => Info32,
19
+ ID: () => ID15,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service79,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node83,
28
+ layer: () => layer24,
29
+ node: () => node81,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID16 = Form.ID;
39
- var Info32 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID16
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID16
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID16
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID16,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service79 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service79, Effect.gen(function* () {
84
+ var layer24 = Layer.effect(Service78, Effect.gen(function* () {
85
85
  const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID16.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service79.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
167
+ var node81 = makeLocationNode({ service: Service78, layer: layer24, deps: [node86] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID16, Info32, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer24, node81, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service69,
3
- node71
4
- } from "./repository-aqryd466.js";
2
+ Service50,
3
+ node52
4
+ } from "./persistent-pty-jcenn4a0.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./repository-zjddxd3j.js";
6
+ Service80,
7
+ node83
8
+ } from "./persistent-pty-84y3cxrg.js";
9
9
  import {
10
- Service68,
11
- node70
12
- } from "./repository-nsdxmg59.js";
10
+ Service49,
11
+ node51
12
+ } from "./persistent-pty-5xq1sedg.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./repository-zxq2ej10.js";
16
+ } from "./persistent-pty-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-9rqn6x4v.js";
19
+ } from "./persistent-pty-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service4,
25
+ Service: () => Service2,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node6
27
+ layer: () => layer4,
28
+ node: () => node3
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service68;
40
- const watcher = yield* Service69;
38
+ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
+ const config = yield* Service49;
40
+ const watcher = yield* Service50;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service78;
42
+ const location = yield* Service80;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service4.of({
61
+ return Service2.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service4,
75
- layer: layer5,
76
- deps: [node70, FSUtil.node, node71, node82]
73
+ var node3 = makeLocationNode({
74
+ service: Service2,
75
+ layer: layer4,
76
+ deps: [node51, FSUtil.node, node52, node83]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service2,
80
+ layer: Layer.succeed(Service2, Service2.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service4, layer5, node6, empty2, exports_source };
140
+ export { Service2, layer4, node3, empty2, exports_source };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-mzrbxmyd.js";
3
+ } from "./persistent-pty-2vjymgz4.js";
4
4
  import {
5
5
  Service83
6
- } from "./repository-bfm303mw.js";
6
+ } from "./persistent-pty-55zfesz9.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./repository-2hqp8s59.js";
9
+ Event20
10
+ } from "./persistent-pty-0ymbac85.js";
11
11
  import {
12
12
  key2
13
- } from "./repository-dnxkq42g.js";
13
+ } from "./persistent-pty-dnxkq42g.js";
14
14
  import {
15
15
  ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./repository-ccqvcrpm.js";
18
+ } from "./persistent-pty-s4df5zxh.js";
19
19
  import {
20
- Service28
21
- } from "./repository-mxr1v1s0.js";
20
+ Service53
21
+ } from "./persistent-pty-9wncg805.js";
22
22
  import {
23
23
  ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./repository-zx9zy5mt.js";
26
+ } from "./persistent-pty-wq4zc2h0.js";
27
27
  import {
28
28
  ID4,
29
- Input13,
29
+ Input14,
30
30
  Response2
31
- } from "./repository-kz2hxhwe.js";
31
+ } from "./persistent-pty-8s8r9gf0.js";
32
32
 
33
33
  // src/plugin/provider/opencode.ts
34
34
  import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
163
163
  const bus = yield* Service83;
164
164
  const client = yield* HttpClient.HttpClient;
165
165
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
166
- const managed = yield* Service28;
166
+ const managed = yield* Service53;
167
167
  const scope = yield* Scope.Scope;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
328
328
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
329
329
  const token = credential.type === "oauth" ? credential.access : credential.key;
330
330
  const server = yield* normalizeServer(serverUrl(credential));
331
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
331
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
332
332
  query: input.query,
333
333
  providerID: descriptor.providerID
334
334
  }));
@@ -386,7 +386,7 @@ var OpencodePlugin2 = define({
386
386
  explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
387
387
  });
388
388
  yield* guard(snapshot);
389
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
389
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
390
390
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
391
391
  })
392
392
  });
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service12,
11
+ Service: () => Service8,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node14
13
+ node: () => node10
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service12, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service12.of({
66
+ return Service8.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service12, node14, exports_discovery };
155
+ export { Service8, node10, exports_discovery };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
9
  Entry: () => Entry3,
10
- Info: () => Info18
10
+ Info: () => Info17
11
11
  });
12
12
  import { Schema } from "effect";
13
13
  var Entry3 = Schema.Struct({
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry3, Info18, exports_formatter3 };
21
+ export { Entry3, Info17, exports_formatter3 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
- node88
4
- } from "./repository-jkzkeyzq.js";
3
+ node87
4
+ } from "./persistent-pty-880ef89g.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service83,
8
- node87
9
- } from "./repository-bfm303mw.js";
8
+ node86
9
+ } from "./persistent-pty-55zfesz9.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./repository-5t3nmthw.js";
12
+ } from "./persistent-pty-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./repository-ec1grn59.js";
15
+ } from "./persistent-pty-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./repository-wpy48h4a.js";
18
+ } from "./persistent-pty-9zrtdmhy.js";
19
19
  import {
20
- Service57,
21
- node59
22
- } from "./repository-jpa7cehe.js";
20
+ Service62,
21
+ node64
22
+ } from "./persistent-pty-7hpm9vff.js";
23
23
  import {
24
- Service30,
25
- node33
26
- } from "./repository-5xq3t6w1.js";
24
+ Service21,
25
+ node24
26
+ } from "./persistent-pty-yabnvfn3.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./repository-tdstcens.js";
30
+ } from "./persistent-pty-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-9rqn6x4v.js";
33
+ } from "./persistent-pty-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service6,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node3
41
+ layer: () => layer6,
42
+ node: () => node8
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service6 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
61
+ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
62
62
  const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service30;
65
- const store = yield* Service57;
64
+ const context = yield* Service21;
65
+ const store = yield* Service62;
66
66
  const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service2.of({ generate });
148
+ return Service6.of({ generate });
149
149
  }));
150
- var node3 = makeLocationNode({
151
- service: Service2,
152
- layer: layer3,
153
- deps: [node87, llmClient2, node33, node59, node88]
150
+ var node8 = makeLocationNode({
151
+ service: Service6,
152
+ layer: layer6,
153
+ deps: [node86, llmClient2, node24, node64, node87]
154
154
  });
155
155
 
156
- export { Service2, isUntitled2, layer3, node3, exports_title };
156
+ export { Service6, isUntitled2, layer6, node8, exports_title };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./repository-56gdpj1q.js";
3
+ } from "./persistent-pty-mfqp6xfm.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin43,
11
+ Plugin: () => Plugin20,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint6 = "https://mcp.exa.ai/mcp";
18
+ var endpoint2 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin43 = define({
30
+ var Plugin20 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin43 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint6);
52
+ const url = new URL(endpoint2);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint6, Plugin43, exports_exa };
83
+ export { endpoint2, Plugin20, exports_exa };