@opencode/core 0.0.0-dev-20314 → 0.0.0-dev-20315

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 (799) 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 +75 -75
  7. package/dist/chunks/websearch-0562jfy0.js +507 -0
  8. package/dist/chunks/{worktree-m92xhnzy.js → websearch-05gncdem.js} +3 -3
  9. package/dist/chunks/{worktree-pgtq6dzx.js → websearch-0ck15x4z.js} +21 -21
  10. package/dist/chunks/{worktree-8edxm6pr.js → websearch-0dbhx5c8.js} +10 -10
  11. package/dist/chunks/{worktree-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{worktree-4tg3mvfj.js → websearch-15q9zhw6.js} +32 -32
  13. package/dist/chunks/{worktree-kztetyb1.js → websearch-18q5qf09.js} +30 -30
  14. package/dist/chunks/{worktree-mhkvc446.js → websearch-1bbkgx8g.js} +3 -3
  15. package/dist/chunks/{worktree-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{worktree-4yvz2rcy.js → websearch-1dmbhjkf.js} +12 -12
  17. package/dist/chunks/{worktree-5rpzdny6.js → websearch-1p4wrj55.js} +23 -23
  18. package/dist/chunks/{worktree-6xk05h7s.js → websearch-1vhcn32p.js} +6 -6
  19. package/dist/chunks/{worktree-21r38tys.js → websearch-21r38tys.js} +1 -1
  20. package/dist/chunks/{worktree-fy02dvg1.js → websearch-25danj7w.js} +24 -24
  21. package/dist/chunks/{worktree-1fm7vbk4.js → websearch-2735jr6x.js} +12 -12
  22. package/dist/chunks/{worktree-z63w68vq.js → websearch-29x78va6.js} +6 -6
  23. package/dist/chunks/{worktree-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{worktree-9b00c1fb.js → websearch-2cmv458r.js} +5 -5
  25. package/dist/chunks/{worktree-0qy4awsn.js → websearch-2d3was31.js} +28 -28
  26. package/dist/chunks/{worktree-2k8khapm.js → websearch-2k8khapm.js} +1 -1
  27. package/dist/chunks/{worktree-vqhx5d1p.js → websearch-2qg9r24m.js} +29 -29
  28. package/dist/chunks/{worktree-gm1x238t.js → websearch-2ve4gsd6.js} +8 -8
  29. package/dist/chunks/{worktree-gsaq8s04.js → websearch-2zeps9bf.js} +27 -27
  30. package/dist/chunks/{worktree-4a0nv7mx.js → websearch-30846h32.js} +8 -8
  31. package/dist/chunks/{worktree-ryr25ayn.js → websearch-34rkz0x9.js} +7 -7
  32. package/dist/chunks/{worktree-pf2hb43r.js → websearch-35agz59w.js} +4 -4
  33. package/dist/chunks/{worktree-ebpkp5tm.js → websearch-37rvek3e.js} +5 -5
  34. package/dist/chunks/{worktree-z4jtqfv3.js → websearch-3c019r4e.js} +6 -6
  35. package/dist/chunks/{worktree-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{worktree-mvksx64m.js → websearch-3fmtxraa.js} +4 -4
  37. package/dist/chunks/{worktree-z4b5t13m.js → websearch-3gkfjs8g.js} +22 -22
  38. package/dist/chunks/{worktree-hy20qw0x.js → websearch-3gqbdmzf.js} +15 -15
  39. package/dist/chunks/{worktree-mn20a28a.js → websearch-3h88fw2c.js} +9 -9
  40. package/dist/chunks/{worktree-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{worktree-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{worktree-m2vze1yq.js → websearch-3ta3wknr.js} +10 -10
  43. package/dist/chunks/{worktree-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{worktree-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{worktree-varpx0pc.js → websearch-4ayrdjn3.js} +13 -13
  46. package/dist/chunks/{worktree-c66ced72.js → websearch-4k6nebbf.js} +8 -8
  47. package/dist/chunks/{worktree-8gh9vszs.js → websearch-4kq9pb9m.js} +27 -27
  48. package/dist/chunks/{worktree-pzjt7r8f.js → websearch-4smaernk.js} +6 -6
  49. package/dist/chunks/{worktree-dc6tzc5b.js → websearch-4sn99hha.js} +5 -5
  50. package/dist/chunks/{worktree-7fp3pbdt.js → websearch-4ww9n9r4.js} +32 -32
  51. package/dist/chunks/{worktree-afjydgk3.js → websearch-4wwqnvbr.js} +4 -4
  52. package/dist/chunks/{worktree-xp0f2vnn.js → websearch-510kmzsn.js} +5 -5
  53. package/dist/chunks/{worktree-92dk74jt.js → websearch-54frdkap.js} +11 -11
  54. package/dist/chunks/{worktree-54ma36ye.js → websearch-54ma36ye.js} +1 -1
  55. package/dist/chunks/{worktree-zqm7km32.js → websearch-55t35ge0.js} +5 -5
  56. package/dist/chunks/{worktree-1ygqh575.js → websearch-56gdpj1q.js} +9 -9
  57. package/dist/chunks/{worktree-pb82r3ma.js → websearch-58dtx8ms.js} +11 -11
  58. package/dist/chunks/{worktree-2wmsjg7e.js → websearch-599yrsc6.js} +12 -12
  59. package/dist/chunks/{worktree-rwan6hkh.js → websearch-5brnvgs1.js} +13 -13
  60. package/dist/chunks/{worktree-277eer69.js → websearch-5cp6651z.js} +4 -4
  61. package/dist/chunks/{worktree-5daktx2q.js → websearch-5daktx2q.js} +1 -1
  62. package/dist/chunks/{worktree-4j4tgtq5.js → websearch-5dkn69vz.js} +4 -4
  63. package/dist/chunks/{worktree-swh571tt.js → websearch-5pcerek2.js} +1 -1
  64. package/dist/chunks/{worktree-1sejb65e.js → websearch-5qmq9jsc.js} +13 -13
  65. package/dist/chunks/{worktree-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{worktree-0nc4skqk.js → websearch-5xy19ny6.js} +9 -9
  67. package/dist/chunks/{worktree-34nypsh0.js → websearch-6361pm7t.js} +11 -11
  68. package/dist/chunks/{worktree-7qann507.js → websearch-65cry6gt.js} +46 -46
  69. package/dist/chunks/{worktree-669tq793.js → websearch-669tq793.js} +1 -1
  70. package/dist/chunks/{worktree-f40tx9v5.js → websearch-67yngfbk.js} +7 -7
  71. package/dist/chunks/{worktree-n9a5crpx.js → websearch-6c75yjmg.js} +8 -8
  72. package/dist/chunks/{worktree-m8jn794n.js → websearch-6dzt0jsp.js} +33 -33
  73. package/dist/chunks/{worktree-2v3kr2zz.js → websearch-6jev5hzb.js} +45 -45
  74. package/dist/chunks/{worktree-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{worktree-50fh3k1w.js → websearch-6q2vn9ec.js} +17 -17
  76. package/dist/chunks/{worktree-7f76ypb7.js → websearch-743fkmh2.js} +16 -16
  77. package/dist/chunks/{worktree-4wj5hqyp.js → websearch-744h6hpz.js} +10 -10
  78. package/dist/chunks/{worktree-k96bfvzz.js → websearch-74k0abgc.js} +24 -24
  79. package/dist/chunks/{worktree-cac6dn0k.js → websearch-75bft53p.js} +10 -10
  80. package/dist/chunks/{worktree-fr5646w7.js → websearch-75cbc0wp.js} +42 -42
  81. package/dist/chunks/{worktree-a43gst0m.js → websearch-76jqgbzw.js} +5 -5
  82. package/dist/chunks/{worktree-djszqvmq.js → websearch-79qaa2kf.js} +9 -9
  83. package/dist/chunks/{worktree-77vpx1b6.js → websearch-7bbm11g6.js} +17 -17
  84. package/dist/chunks/{worktree-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{worktree-fnz0r7q7.js → websearch-7g2dwhq9.js} +11 -11
  86. package/dist/chunks/{worktree-2mxwjfq3.js → websearch-7krgpby0.js} +23 -23
  87. package/dist/chunks/{worktree-h5m7e0fe.js → websearch-7v81x33d.js} +9 -9
  88. package/dist/chunks/{worktree-0z5kb6hf.js → websearch-7zt2hy8r.js} +5 -5
  89. package/dist/chunks/{worktree-5cbjsbf2.js → websearch-83yvtnma.js} +7 -7
  90. package/dist/chunks/{worktree-84txncab.js → websearch-84txncab.js} +1 -1
  91. package/dist/chunks/{worktree-y3m4vy1g.js → websearch-8amrmy6h.js} +60 -60
  92. package/dist/chunks/{worktree-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{worktree-4857ee0e.js → websearch-8fk8ddme.js} +57 -57
  94. package/dist/chunks/{worktree-w3x9v1nk.js → websearch-8s1fj8xg.js} +8 -8
  95. package/dist/chunks/{worktree-83xp5e3e.js → websearch-8s64f4zr.js} +2 -2
  96. package/dist/chunks/{worktree-py3kkmfq.js → websearch-8sze2n9a.js} +6 -6
  97. package/dist/chunks/{worktree-yvyjs43v.js → websearch-8vb5tqwb.js} +38 -38
  98. package/dist/chunks/{worktree-93fchcwg.js → websearch-8yt0sx58.js} +23 -23
  99. package/dist/chunks/{worktree-6apn3h4b.js → websearch-8zvfy1sx.js} +9 -9
  100. package/dist/chunks/{worktree-94ek1h2f.js → websearch-94ek1h2f.js} +2 -2
  101. package/dist/chunks/{worktree-g8rmq192.js → websearch-9k94y365.js} +20 -20
  102. package/dist/chunks/{worktree-05xfxpq7.js → websearch-9nj21xqc.js} +8 -8
  103. package/dist/chunks/{worktree-6rebv3cw.js → websearch-9sjzy932.js} +3 -3
  104. package/dist/chunks/{worktree-6hzy2d5p.js → websearch-a5k959kv.js} +39 -39
  105. package/dist/chunks/{worktree-aaet6srn.js → websearch-aaet6srn.js} +2 -2
  106. package/dist/chunks/{worktree-tta4ne66.js → websearch-aftbda3g.js} +15 -15
  107. package/dist/chunks/{worktree-w8m5q4xe.js → websearch-b31wxpcf.js} +18 -18
  108. package/dist/chunks/{worktree-g3bz5gs9.js → websearch-b48k6s9j.js} +22 -22
  109. package/dist/chunks/{worktree-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{worktree-r0s9vhwa.js → websearch-b9rp53qd.js} +15 -15
  111. package/dist/chunks/{worktree-gm0g7gcc.js → websearch-c349nqvk.js} +14 -14
  112. package/dist/chunks/websearch-c72agqfj.js +252 -0
  113. package/dist/chunks/{worktree-akpb58q4.js → websearch-cbnb0qhw.js} +18 -18
  114. package/dist/chunks/{worktree-0k65zfrv.js → websearch-ckbmf8wb.js} +93 -93
  115. package/dist/chunks/{worktree-ckecvw8r.js → websearch-ckecvw8r.js} +2 -2
  116. package/dist/chunks/{worktree-9n87anw0.js → websearch-d32cvgp3.js} +10 -10
  117. package/dist/chunks/{worktree-htbmzt7n.js → websearch-d8q7azdv.js} +12 -12
  118. package/dist/chunks/{worktree-3kxsbfdd.js → websearch-det6nmjv.js} +27 -27
  119. package/dist/chunks/{worktree-baaqp4zd.js → websearch-dhmh7aw6.js} +4 -4
  120. package/dist/chunks/{worktree-wd71bnwr.js → websearch-djw7193z.js} +26 -26
  121. package/dist/chunks/{worktree-xkntkrq7.js → websearch-dmqcgk4z.js} +5 -5
  122. package/dist/chunks/{worktree-dpkg50ah.js → websearch-dpkg50ah.js} +1 -1
  123. package/dist/chunks/{worktree-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{worktree-59fdznsn.js → websearch-e5jdprf0.js} +15 -15
  125. package/dist/chunks/{worktree-brpj3swx.js → websearch-e68yym1a.js} +32 -32
  126. package/dist/chunks/{worktree-tha3vvwn.js → websearch-e809e4x5.js} +5 -5
  127. package/dist/chunks/{worktree-ecfe7b91.js → websearch-ecfe7b91.js} +2 -2
  128. package/dist/chunks/{worktree-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{worktree-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{worktree-9hn6k4tm.js → websearch-eys57y9b.js} +8 -8
  131. package/dist/chunks/{worktree-6r564qq4.js → websearch-f1smd48c.js} +11 -11
  132. package/dist/chunks/{worktree-dkq1mqd6.js → websearch-f473zzm1.js} +4 -4
  133. package/dist/chunks/{worktree-jw8n4n6p.js → websearch-f7hnam9t.js} +22 -22
  134. package/dist/chunks/{worktree-t5fc0zjg.js → websearch-fajpydvj.js} +5 -5
  135. package/dist/chunks/{worktree-vhqg2wpr.js → websearch-fg62k31m.js} +34 -34
  136. package/dist/chunks/{worktree-vd7rzxqf.js → websearch-g5agzp2h.js} +5 -5
  137. package/dist/chunks/{worktree-z4ygwn82.js → websearch-g7swxvb3.js} +12 -12
  138. package/dist/chunks/{worktree-s0sx2v9z.js → websearch-ga9qj16j.js} +182 -182
  139. package/dist/chunks/{worktree-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{worktree-garp4qw6.js → websearch-gd52xpsw.js} +5 -5
  141. package/dist/chunks/{worktree-ap2tpm1x.js → websearch-gdhrwhft.js} +24 -24
  142. package/dist/chunks/{worktree-8s0ze3zt.js → websearch-gfxm4tx3.js} +10 -10
  143. package/dist/chunks/{worktree-87temrgz.js → websearch-ghjn1vr2.js} +9 -9
  144. package/dist/chunks/{worktree-f8hpcc62.js → websearch-ghr0z1c5.js} +29 -29
  145. package/dist/chunks/{worktree-5xn2kdjj.js → websearch-gj3tcdjz.js} +69 -69
  146. package/dist/chunks/{worktree-qaj4vhma.js → websearch-gmffv4tx.js} +3 -3
  147. package/dist/chunks/{worktree-c3nyckct.js → websearch-gs5xsmqt.js} +22 -22
  148. package/dist/chunks/{worktree-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{worktree-adbp0bjj.js → websearch-gx9hpsfx.js} +10 -10
  150. package/dist/chunks/{worktree-s3b2wgtr.js → websearch-h34v8h42.js} +11 -11
  151. package/dist/chunks/{worktree-hd8vw2pw.js → websearch-h5w29vws.js} +1 -1
  152. package/dist/chunks/{worktree-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{worktree-z04dqx9d.js → websearch-has5vve3.js} +5 -5
  154. package/dist/chunks/{worktree-m8h3g6ey.js → websearch-hegvwz92.js} +5 -5
  155. package/dist/chunks/{worktree-pnd0g9pf.js → websearch-hn98dy4c.js} +3 -3
  156. package/dist/chunks/{worktree-h316dbp4.js → websearch-hnhy823k.js} +11 -11
  157. package/dist/chunks/{worktree-qjnxxf51.js → websearch-hnr5yq9h.js} +5 -5
  158. package/dist/chunks/{worktree-tgtk0jyg.js → websearch-j3fq2wes.js} +23 -23
  159. package/dist/chunks/{worktree-j56e64zr.js → websearch-j56e64zr.js} +1 -1
  160. package/dist/chunks/{worktree-ky3seynh.js → websearch-j699j8bt.js} +2 -2
  161. package/dist/chunks/{worktree-e7f86dzg.js → websearch-jb03acqs.js} +13 -13
  162. package/dist/chunks/{worktree-smzykshb.js → websearch-jeyg0ke5.js} +3 -3
  163. package/dist/chunks/{worktree-jvhjazwr.js → websearch-jmdxyne3.js} +11 -11
  164. package/dist/chunks/{worktree-s7m1jgh3.js → websearch-jrb3ybzb.js} +39 -39
  165. package/dist/chunks/{worktree-yntvrfmt.js → websearch-jtpqwtf5.js} +18 -18
  166. package/dist/chunks/{worktree-aj9wrhbp.js → websearch-jvz2vva3.js} +9 -9
  167. package/dist/chunks/{worktree-jtq10j8j.js → websearch-jznkeq6r.js} +23 -23
  168. package/dist/chunks/{worktree-k3c624dm.js → websearch-k3c624dm.js} +3 -3
  169. package/dist/chunks/{worktree-11dqjexa.js → websearch-kdq8v965.js} +9 -9
  170. package/dist/chunks/{worktree-m84c3eg8.js → websearch-kf2091jj.js} +15 -15
  171. package/dist/chunks/{worktree-hanh6chz.js → websearch-kgw03ymn.js} +24 -24
  172. package/dist/chunks/{worktree-z16xbst3.js → websearch-m1h0tx1s.js} +3 -3
  173. package/dist/chunks/{worktree-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{worktree-df33jmy2.js → websearch-m4x1wxq0.js} +23 -23
  175. package/dist/chunks/{worktree-rvyqzb1a.js → websearch-m868v4qf.js} +26 -26
  176. package/dist/chunks/{worktree-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{worktree-kvh070sc.js → websearch-mefsdm1z.js} +37 -37
  178. package/dist/chunks/{worktree-ps28zk1z.js → websearch-mfjatvga.js} +14 -14
  179. package/dist/chunks/{worktree-kf269fqw.js → websearch-mg4kb3sm.js} +36 -36
  180. package/dist/chunks/{worktree-n810d9f4.js → websearch-mgpyxjx6.js} +11 -11
  181. package/dist/chunks/{worktree-dnxkq42g.js → websearch-mpk0rfs5.js} +4 -4
  182. package/dist/chunks/{worktree-7f7t51gq.js → websearch-mq4hv3jy.js} +11 -11
  183. package/dist/chunks/{worktree-6gx3r2kv.js → websearch-mq5qpvgt.js} +14 -14
  184. package/dist/chunks/{worktree-mje1cxe4.js → websearch-mxcxzvg0.js} +27 -27
  185. package/dist/chunks/{worktree-2wfhz1m8.js → websearch-mzch8gy8.js} +14 -14
  186. package/dist/chunks/{worktree-pnv527nz.js → websearch-n35d2xk4.js} +9 -9
  187. package/dist/chunks/{worktree-r5vpsbwz.js → websearch-n8r2xnj4.js} +29 -29
  188. package/dist/chunks/{worktree-k3dyg6dm.js → websearch-nfbxkr4j.js} +20 -20
  189. package/dist/chunks/{worktree-twe926b3.js → websearch-nswq2vff.js} +12 -12
  190. package/dist/chunks/{worktree-bpa6zfs4.js → websearch-nwaxkyn6.js} +87 -87
  191. package/dist/chunks/{worktree-wgss2cbp.js → websearch-nxas41wb.js} +11 -11
  192. package/dist/chunks/{worktree-pecb0brz.js → websearch-nxhqveyz.js} +5 -5
  193. package/dist/chunks/{worktree-6jn9sxf3.js → websearch-nzzq53xj.js} +32 -32
  194. package/dist/chunks/{worktree-g190xswt.js → websearch-p51p3jcg.js} +21 -21
  195. package/dist/chunks/{worktree-4jv7e9dq.js → websearch-p57dvf2n.js} +7 -7
  196. package/dist/chunks/{worktree-0xxe8pk9.js → websearch-pbex7gjf.js} +3 -3
  197. package/dist/chunks/{worktree-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{worktree-xxynqx5z.js → websearch-pk2244jm.js} +3 -3
  199. package/dist/chunks/{worktree-pknna89w.js → websearch-pknna89w.js} +1 -1
  200. package/dist/chunks/{worktree-8hbfdwcy.js → websearch-pnvk1zxf.js} +8 -8
  201. package/dist/chunks/{worktree-3zm2m16b.js → websearch-pp3sfry4.js} +23 -23
  202. package/dist/chunks/{worktree-7627eybd.js → websearch-pqs75qat.js} +18 -18
  203. package/dist/chunks/{worktree-senast2p.js → websearch-pr7xs3qk.js} +20 -20
  204. package/dist/chunks/{worktree-qc068m1q.js → websearch-qc068m1q.js} +1 -1
  205. package/dist/chunks/{worktree-sxwx9tkq.js → websearch-qd90pas1.js} +35 -35
  206. package/dist/chunks/{worktree-5e7ha89d.js → websearch-qn2t683x.js} +15 -15
  207. package/dist/chunks/{worktree-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  208. package/dist/chunks/{worktree-2x11xqq5.js → websearch-qv4qswxh.js} +28 -28
  209. package/dist/chunks/{worktree-z0ya5s7h.js → websearch-qwn8ah54.js} +9 -9
  210. package/dist/chunks/{worktree-5g59cdd4.js → websearch-qzvt6g0y.js} +48 -48
  211. package/dist/chunks/websearch-r26p9eks.js +26 -0
  212. package/dist/chunks/{worktree-1acjjqhc.js → websearch-r8xr0va3.js} +4 -4
  213. package/dist/chunks/{worktree-5m5pvpe6.js → websearch-r8z811q0.js} +18 -18
  214. package/dist/chunks/{worktree-vncycja5.js → websearch-r98e92ep.js} +4 -4
  215. package/dist/chunks/{worktree-5qpsy98w.js → websearch-ram43mb6.js} +24 -24
  216. package/dist/chunks/{worktree-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{worktree-rhjbct0v.js → websearch-rhjbct0v.js} +1 -1
  218. package/dist/chunks/{worktree-6gtt5snn.js → websearch-rjfym8a1.js} +36 -36
  219. package/dist/chunks/{worktree-v7z2bvyd.js → websearch-rk7s9xkn.js} +4 -4
  220. package/dist/chunks/{worktree-s5c30328.js → websearch-rndjshpn.js} +3 -3
  221. package/dist/chunks/{worktree-q4s4x04b.js → websearch-rv6z7gw2.js} +23 -23
  222. package/dist/chunks/{worktree-yrznvahk.js → websearch-s4enseaf.js} +2 -2
  223. package/dist/chunks/{worktree-kk69x7kr.js → websearch-s6ta71px.js} +16 -16
  224. package/dist/chunks/{worktree-xpjcprn4.js → websearch-s6thwhsa.js} +29 -29
  225. package/dist/chunks/{worktree-37xnkr9x.js → websearch-s9e0embe.js} +40 -40
  226. package/dist/chunks/{worktree-fyq3qmbb.js → websearch-sbg2ffdw.js} +4 -4
  227. package/dist/chunks/{worktree-34q1q4g3.js → websearch-sht1ggzb.js} +4 -4
  228. package/dist/chunks/{worktree-07ka27pw.js → websearch-snyhvzmq.js} +44 -44
  229. package/dist/chunks/{worktree-fk0r5cwe.js → websearch-sp2q8w15.js} +15 -15
  230. package/dist/chunks/{worktree-x79bsykc.js → websearch-sp9z2nbm.js} +11 -11
  231. package/dist/chunks/{worktree-2kba3xe6.js → websearch-t30g6ptf.js} +26 -26
  232. package/dist/chunks/{worktree-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{worktree-nwxgwzyy.js → websearch-tc6h97yq.js} +9 -9
  234. package/dist/chunks/{worktree-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{worktree-tdstcens.js → websearch-tdstcens.js} +1 -1
  236. package/dist/chunks/{worktree-a4e1tewd.js → websearch-tmzr3e9p.js} +4 -4
  237. package/dist/chunks/{worktree-yg13730w.js → websearch-tnjqcmf2.js} +17 -17
  238. package/dist/chunks/{worktree-tvtrv512.js → websearch-tvtrv512.js} +1 -1
  239. package/dist/chunks/{worktree-de6phzbx.js → websearch-v3y2rnh8.js} +6 -6
  240. package/dist/chunks/{worktree-herfy2z0.js → websearch-v7y0g2dx.js} +13 -13
  241. package/dist/chunks/{worktree-xj9aad7z.js → websearch-v82ahx5x.js} +44 -44
  242. package/dist/chunks/{worktree-0jkw1j53.js → websearch-v8jfbz3g.js} +6 -6
  243. package/dist/chunks/{worktree-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  244. package/dist/chunks/{worktree-sgemhp45.js → websearch-vne8fx5y.js} +14 -14
  245. package/dist/chunks/{worktree-abrjz9qv.js → websearch-vs04cnh9.js} +13 -13
  246. package/dist/chunks/{worktree-0b08qf3v.js → websearch-vter92x3.js} +8 -8
  247. package/dist/chunks/{worktree-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{worktree-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{worktree-ghxjqect.js → websearch-w2h2marb.js} +13 -13
  250. package/dist/chunks/{worktree-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{worktree-jp5y0tg6.js → websearch-w50pcx5b.js} +24 -24
  252. package/dist/chunks/{worktree-zqcr6gem.js → websearch-wbpsemv3.js} +20 -20
  253. package/dist/chunks/{worktree-wd3x2cqz.js → websearch-wd3x2cqz.js} +2 -2
  254. package/dist/chunks/{worktree-wd87259q.js → websearch-wd87259q.js} +1 -1
  255. package/dist/chunks/{worktree-3ebwcaah.js → websearch-whtab2de.js} +27 -27
  256. package/dist/chunks/{worktree-hkarc3f0.js → websearch-wjhk09fd.js} +9 -9
  257. package/dist/chunks/{worktree-7sgyf0xz.js → websearch-wzaheq51.js} +6 -6
  258. package/dist/chunks/{worktree-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{worktree-gfzbkctm.js → websearch-x2g21h5k.js} +19 -19
  260. package/dist/chunks/{worktree-xfkkasph.js → websearch-xfkkasph.js} +1 -1
  261. package/dist/chunks/{worktree-5j6r72e5.js → websearch-xftkdb3f.js} +1 -1
  262. package/dist/chunks/{worktree-gyccd9n7.js → websearch-xkwfj8pw.js} +26 -26
  263. package/dist/chunks/{worktree-pa3vm0gt.js → websearch-xpcm6zc0.js} +37 -37
  264. package/dist/chunks/{worktree-dqanwn8q.js → websearch-xqe4nx7y.js} +19 -19
  265. package/dist/chunks/{worktree-bb5562zs.js → websearch-xs77dcbq.js} +33 -33
  266. package/dist/chunks/{worktree-g36vf30t.js → websearch-xwdehcth.js} +13 -13
  267. package/dist/chunks/{worktree-vrxaz2n4.js → websearch-y13zm6th.js} +8 -8
  268. package/dist/chunks/{worktree-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{worktree-fa575c2x.js → websearch-y58kfvay.js} +28 -28
  270. package/dist/chunks/{worktree-mve018rq.js → websearch-y76jjpt2.js} +44 -44
  271. package/dist/chunks/{worktree-prdv2mte.js → websearch-y8r0b0d7.js} +4 -4
  272. package/dist/chunks/{worktree-msy23jaw.js → websearch-ydvyv12k.js} +20 -20
  273. package/dist/chunks/{worktree-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{worktree-m02w9rze.js → websearch-ysmh0qcb.js} +28 -28
  275. package/dist/chunks/{worktree-fhz5gfgy.js → websearch-yt3hy1g9.js} +5 -5
  276. package/dist/chunks/{worktree-3grjp0nz.js → websearch-yw5az23y.js} +13 -13
  277. package/dist/chunks/{worktree-z07pqspn.js → websearch-z07pqspn.js} +3 -3
  278. package/dist/chunks/{worktree-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{worktree-evbgk2k8.js → websearch-z3pw5915.js} +5 -5
  280. package/dist/chunks/{worktree-b92gs9tv.js → websearch-z46atd3x.js} +24 -24
  281. package/dist/chunks/{worktree-hcvxcehv.js → websearch-z46nqmt0.js} +22 -22
  282. package/dist/chunks/{worktree-t794wzvf.js → websearch-z8b4kjbk.js} +29 -29
  283. package/dist/chunks/{worktree-9x0b5x9j.js → websearch-z961w9n7.js} +14 -14
  284. package/dist/chunks/{worktree-xeavwtd2.js → websearch-z9hgdvrx.js} +31 -31
  285. package/dist/chunks/{worktree-818pfwc9.js → websearch-ze3aemja.js} +11 -11
  286. package/dist/chunks/{worktree-0zz42z4j.js → websearch-zed2rj9n.js} +11 -11
  287. package/dist/chunks/{worktree-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{worktree-vd5yy21v.js → websearch-zfras33v.js} +35 -35
  289. package/dist/chunks/{worktree-knad820t.js → websearch-zqmxcax1.js} +13 -13
  290. package/dist/chunks/{worktree-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{worktree-7twg7rgh.js → websearch-ztg86a82.js} +18 -18
  292. package/dist/chunks/{worktree-eycgq67k.js → websearch-zw0fwj7b.js} +46 -46
  293. package/dist/chunks/{worktree-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +9 -9
  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 +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  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 +123 -123
  311. package/dist/config/plugin/mcp.js +132 -132
  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 +123 -123
  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 +81 -81
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +1 -1
  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 +74 -74
  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 +226 -226
  428. package/dist/filesystem/protected.js +1 -1
  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 +100 -100
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +10 -10
  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 +99 -99
  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 +1 -1
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +87 -87
  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 +135 -135
  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 +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +103 -103
  478. package/dist/mcp/instructions.js +125 -125
  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 +99 -99
  483. package/dist/model-resolver.js +98 -98
  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 +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +115 -115
  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 +104 -104
  496. package/dist/plugin/command.js +102 -102
  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 +1 -1
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  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 +6 -6
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +6 -6
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +222 -222
  563. package/dist/project/schema.js +4 -4
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +84 -84
  566. package/dist/provider.js +99 -99
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  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 +95 -95
  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 +129 -129
  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 +225 -225
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  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 +118 -118
  598. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  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 +172 -172
  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 +85 -85
  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 +221 -221
  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 +9 -9
  632. package/dist/shell.js +138 -138
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +93 -93
  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 +124 -124
  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 +122 -122
  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 +107 -107
  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 +112 -112
  655. package/dist/tool/plugin/write.js +120 -120
  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 +14 -14
  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 +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  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 +1 -1
  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 +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +87 -87
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +7 -7
  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 +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/worktree-dfjfj6f0.js +0 -252
  702. package/dist/chunks/worktree-t3czs8ed.js +0 -26
  703. package/dist/chunks/worktree-y019w46x.js +0 -507
  704. /package/dist/chunks/{worktree-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{worktree-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{worktree-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{worktree-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{worktree-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{worktree-24dcb14g.js → websearch-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{worktree-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{worktree-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{worktree-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{worktree-34c7v6d4.js → websearch-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{worktree-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{worktree-3asan66x.js → websearch-3asan66x.js} +0 -0
  716. /package/dist/chunks/{worktree-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{worktree-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{worktree-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{worktree-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{worktree-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{worktree-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{worktree-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{worktree-53557ph1.js → websearch-53557ph1.js} +0 -0
  724. /package/dist/chunks/{worktree-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{worktree-6prwharc.js → websearch-6prwharc.js} +0 -0
  726. /package/dist/chunks/{worktree-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{worktree-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{worktree-822emrt2.js → websearch-822emrt2.js} +0 -0
  729. /package/dist/chunks/{worktree-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{worktree-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{worktree-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{worktree-922hggd3.js → websearch-922hggd3.js} +0 -0
  733. /package/dist/chunks/{worktree-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{worktree-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{worktree-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{worktree-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{worktree-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{worktree-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{worktree-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{worktree-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{worktree-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{worktree-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{worktree-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{worktree-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{worktree-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{worktree-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{worktree-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{worktree-df08tz66.js → websearch-df08tz66.js} +0 -0
  749. /package/dist/chunks/{worktree-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{worktree-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{worktree-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{worktree-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{worktree-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{worktree-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{worktree-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{worktree-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{worktree-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{worktree-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{worktree-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{worktree-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{worktree-g86h250q.js → websearch-g86h250q.js} +0 -0
  762. /package/dist/chunks/{worktree-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{worktree-gftt206x.js → websearch-gftt206x.js} +0 -0
  764. /package/dist/chunks/{worktree-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{worktree-hk9envan.js → websearch-hk9envan.js} +0 -0
  766. /package/dist/chunks/{worktree-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{worktree-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{worktree-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{worktree-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{worktree-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{worktree-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{worktree-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{worktree-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{worktree-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{worktree-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{worktree-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{worktree-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{worktree-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{worktree-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{worktree-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{worktree-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{worktree-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{worktree-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{worktree-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{worktree-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{worktree-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{worktree-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{worktree-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{worktree-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{worktree-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{worktree-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{worktree-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{worktree-x61499pn.js → websearch-x61499pn.js} +0 -0
  794. /package/dist/chunks/{worktree-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{worktree-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{worktree-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{worktree-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{worktree-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{worktree-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-z16xbst3.js";
4
+ } from "./websearch-m1h0tx1s.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service83,
8
- node87
9
- } from "./worktree-gm0g7gcc.js";
7
+ Service82,
8
+ node85
9
+ } from "./websearch-c349nqvk.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./worktree-ec1grn59.js";
12
+ } from "./websearch-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./worktree-gftt206x.js";
15
+ } from "./websearch-gftt206x.js";
16
16
  import {
17
- update2
18
- } from "./worktree-xkntkrq7.js";
17
+ update3
18
+ } from "./websearch-dmqcgk4z.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./worktree-922hggd3.js";
22
+ } from "./websearch-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./worktree-wd3x2cqz.js";
25
+ } from "./websearch-wd3x2cqz.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./worktree-z07pqspn.js";
30
+ } from "./websearch-z07pqspn.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./worktree-93fchcwg.js";
36
+ } from "./websearch-8yt0sx58.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./worktree-mvksx64m.js";
42
+ } from "./websearch-3fmtxraa.js";
43
43
  import {
44
44
  initialize2
45
- } from "./worktree-abrjz9qv.js";
45
+ } from "./websearch-vs04cnh9.js";
46
46
  import {
47
47
  Slug2
48
- } from "./worktree-gebd4c9n.js";
48
+ } from "./websearch-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./worktree-9rqn6x4v.js";
51
+ } from "./websearch-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node34
58
+ node: () => node41
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -246,7 +246,7 @@ function run(db, event) {
246
246
  updateCompaction: updateMessage,
247
247
  appendMessage
248
248
  };
249
- yield* update2(adapter, event);
249
+ yield* update3(adapter, event);
250
250
  });
251
251
  }
252
252
  function insertMessage(db, event, message) {
@@ -276,7 +276,7 @@ function projectIdle(db, event) {
276
276
  });
277
277
  }
278
278
  var layer = Layer.effectDiscard(Effect.gen(function* () {
279
- const bus = yield* Service83;
279
+ const bus = yield* Service82;
280
280
  const db = (yield* Service84).db;
281
281
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
282
282
  const stored = yield* db.insert(SessionTable2).values({
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
459
459
  return publishSessionUsage(db, bus, event.data.sessionID);
460
460
  }), Effect.forkScoped({ startImmediately: true }));
461
461
  }));
462
- var node34 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
462
+ var node41 = makeGlobalNode({ name: "session-projector", layer, deps: [node85, node88] });
463
463
 
464
- export { SessionAlreadyProjected2, node34, exports_projector };
464
+ export { SessionAlreadyProjected2, node41, exports_projector };
@@ -4,34 +4,34 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./worktree-tazgh4e4.js";
7
+ } from "./websearch-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./worktree-ef5x83kb.js";
10
+ } from "./websearch-ef5x83kb.js";
11
11
  import {
12
- Service77
13
- } from "./worktree-ps28zk1z.js";
12
+ Service79
13
+ } from "./websearch-mfjatvga.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./worktree-msy23jaw.js";
16
+ } from "./websearch-ydvyv12k.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./websearch-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin3,
24
+ Plugin: () => Plugin35,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin3 = define({
31
+ var Plugin35 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
- const location = yield* Service77;
34
+ const location = yield* Service79;
35
35
  if (location.vcs?.type !== "git")
36
36
  return;
37
37
  const processes = yield* AppProcess.Service;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin3, exports_git };
473
+ export { Plugin35, exports_git };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./worktree-922hggd3.js";
4
+ } from "./websearch-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
+ Service81,
9
+ node84
10
+ } from "./websearch-1dmbhjkf.js";
11
+ import {
8
12
  Service79,
9
13
  node82
10
- } from "./worktree-4yvz2rcy.js";
11
- import {
12
- Service77,
13
- node80
14
- } from "./worktree-ps28zk1z.js";
14
+ } from "./websearch-mfjatvga.js";
15
15
  import {
16
16
  create3
17
- } from "./worktree-rdw6cm16.js";
17
+ } from "./websearch-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./worktree-9rqn6x4v.js";
20
+ } from "./websearch-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service45,
25
+ Error: () => Error4,
26
+ ID: () => ID7,
27
+ Service: () => Service59,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node48,
30
- noopLayer: () => noopLayer2
29
+ node: () => node62,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service45 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service59 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service45, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service79;
50
+ const git = yield* Service81;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service77;
52
+ const location = yield* Service79;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID7.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node48 = makeLocationNode({
144
- service: Service45,
143
+ var node62 = makeLocationNode({
144
+ service: Service59,
145
145
  layer,
146
- deps: [FSUtil.node, node82, Global.node, node80]
146
+ deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service45, Service45.of({
148
+ var noopLayer3 = Layer.succeed(Service59, Service59.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service45, Service45.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service45, node48, noopLayer2, exports_snapshot2 };
166
+ export { ID7, Error4, Service59, node62, noopLayer3, exports_snapshot2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./websearch-922hggd3.js";
4
4
  import {
5
- Service77,
6
- node80
7
- } from "./worktree-ps28zk1z.js";
5
+ Service79,
6
+ node82
7
+ } from "./websearch-mfjatvga.js";
8
8
  import {
9
- Service19,
10
- node22
11
- } from "./worktree-6gx3r2kv.js";
9
+ Service26,
10
+ node29
11
+ } from "./websearch-mq5qpvgt.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./worktree-tcezcvh9.js";
15
+ } from "./websearch-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./websearch-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service17,
26
- configured: () => configured3,
24
+ Options: () => Options4,
25
+ Service: () => Service25,
26
+ configured: () => configured4,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer10,
29
- node: () => node20,
28
+ layer: () => layer11,
29
+ node: () => node28,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options4 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service25 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
62
- const location = yield* Service77;
63
- const ripgrep = yield* Service19;
61
+ var ripgrepLayer2 = Layer.effect(Service25, Effect.gen(function* () {
62
+ const location = yield* Service79;
63
+ const ripgrep = yield* Service26;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service17.of({
108
+ return Service25.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
116
- const location = yield* Service77;
115
+ var fffLayer2 = Layer.effect(Service25, Effect.gen(function* () {
116
+ const location = yield* Service79;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service17.of({
129
+ return Service25.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service17.of({
134
+ return Service25.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service77;
177
+ var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service79;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service17, layer: layer10(options), deps: [node80, node22] });
185
+ function configured4(options) {
186
+ return makeLocationNode({ service: Service25, layer: layer11(options), deps: [node82, node29] });
187
187
  }
188
- var node20 = configured3();
188
+ var node28 = configured4();
189
189
 
190
- export { Options3, Service17, ripgrepLayer2, fffLayer2, layer10, configured3, node20, exports_search };
190
+ export { Options4, Service25, ripgrepLayer2, fffLayer2, layer11, configured4, node28, exports_search };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./worktree-qaymkmh1.js";
3
+ } from "./websearch-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make9(input) {
8
+ function make7(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make9 };
264
+ export { make7 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-2a5m3afh.js";
5
+ } from "./websearch-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./worktree-9rqn6x4v.js";
8
+ } from "./websearch-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./worktree-922hggd3.js";
4
+ } from "./websearch-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./worktree-dpkg50ah.js";
7
+ } from "./websearch-dpkg50ah.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./worktree-tazgh4e4.js";
12
+ } from "./websearch-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./worktree-ef5x83kb.js";
15
+ } from "./websearch-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./websearch-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service79,
26
+ Service: () => Service81,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node82
30
+ node: () => node84
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service79 extends Context.Service()("@opencode/Git") {
96
+ class Service81 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service79, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service79.of({
422
+ return Service81.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node82 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node84 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node82, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node84, exports_git3 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service84
3
- } from "./worktree-z16xbst3.js";
3
+ } from "./websearch-m1h0tx1s.js";
4
4
  import {
5
- Service83
6
- } from "./worktree-gm0g7gcc.js";
5
+ Service82
6
+ } from "./websearch-c349nqvk.js";
7
7
  import {
8
- Service53
9
- } from "./worktree-0jkw1j53.js";
8
+ Service49
9
+ } from "./websearch-v8jfbz3g.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./worktree-922hggd3.js";
12
+ } from "./websearch-922hggd3.js";
13
13
  import {
14
- ID5,
15
- Service45
16
- } from "./worktree-4tg3mvfj.js";
14
+ ID7,
15
+ Service59
16
+ } from "./websearch-15q9zhw6.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./worktree-ec1grn59.js";
19
+ } from "./websearch-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./worktree-gftt206x.js";
22
+ } from "./websearch-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./worktree-aj9wrhbp.js";
25
+ } from "./websearch-jvz2vva3.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./worktree-z07pqspn.js";
28
+ } from "./websearch-z07pqspn.js";
29
29
  import {
30
30
  __export
31
- } from "./worktree-9rqn6x4v.js";
31
+ } from "./websearch-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service53;
45
+ const instances = yield* Service49;
46
46
  const database = yield* Service84;
47
- const bus = yield* Service83;
47
+ const bus = yield* Service82;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service45;
50
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service59;
50
+ const original = input.session.revert?.snapshot ? ID7.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service53;
78
- const bus = yield* Service83;
77
+ const instances = yield* Service49;
78
+ const bus = yield* Service82;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service45;
80
+ const snapshot = yield* Service59;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID7.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID5.make(message.snapshot.start));
114
+ files.set(file, ID7.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });