@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
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./worktree-3w5fmr99.js";
7
+ } from "./websearch-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./worktree-k3c624dm.js";
11
+ } from "./websearch-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./worktree-rdw6cm16.js";
14
+ } from "./websearch-rdw6cm16.js";
15
+ import {
16
+ Service43,
17
+ node46
18
+ } from "./websearch-7v81x33d.js";
15
19
  import {
16
20
  Service67,
17
21
  node70
18
- } from "./worktree-h5m7e0fe.js";
19
- import {
20
- Service68,
21
- node71
22
- } from "./worktree-4a0nv7mx.js";
22
+ } from "./websearch-30846h32.js";
23
23
  import {
24
24
  match2
25
- } from "./worktree-y1fvbwt7.js";
25
+ } from "./websearch-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./worktree-9rqn6x4v.js";
28
+ } from "./websearch-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error5,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service66,
38
+ Service: () => Service42,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node69
41
+ node: () => node45
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service66 extends Context.Service()("@opencode/Tool") {
54
+ class Service42 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service66, Effect.gen(function* () {
57
- const hooks = yield* Service68;
58
- const image = yield* Service67;
56
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
57
+ const hooks = yield* Service67;
58
+ const image = yield* Service43;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service66.of({
187
+ return Service42.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node69 = makeLocationNode({
277
- service: Service66,
276
+ var node45 = makeLocationNode({
277
+ service: Service42,
278
278
  layer,
279
- deps: [node71, node70]
279
+ deps: [node70, node46]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service66, node69, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./worktree-z63w68vq.js";
3
+ } from "./websearch-29x78va6.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./websearch-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service67
3
- } from "./worktree-h5m7e0fe.js";
2
+ Service43
3
+ } from "./websearch-7v81x33d.js";
4
4
  import {
5
- Service53
6
- } from "./worktree-0jkw1j53.js";
5
+ Service49
6
+ } from "./websearch-v8jfbz3g.js";
7
7
  import {
8
8
  detect2
9
- } from "./worktree-3smtnn6g.js";
9
+ } from "./websearch-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./worktree-qc068m1q.js";
12
+ } from "./websearch-qc068m1q.js";
13
13
  import {
14
- Service68
15
- } from "./worktree-4a0nv7mx.js";
14
+ Service67
15
+ } from "./websearch-30846h32.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./worktree-aj9wrhbp.js";
19
+ } from "./websearch-jvz2vva3.js";
20
20
  import {
21
21
  prepare3,
22
- Service56
23
- } from "./worktree-0qy4awsn.js";
22
+ Service53
23
+ } from "./websearch-2d3was31.js";
24
24
  import {
25
25
  __export
26
- } from "./worktree-9rqn6x4v.js";
26
+ } from "./websearch-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service53;
42
+ const instances = yield* Service49;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service68;
45
+ const hooks = yield* Service67;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service56;
64
+ const skillService = yield* Service53;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service67;
129
+ const image = yield* Service43;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-z16xbst3.js";
4
+ } from "./websearch-m1h0tx1s.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service83,
8
- node87
9
- } from "./worktree-gm0g7gcc.js";
7
+ Service82,
8
+ node85
9
+ } from "./websearch-c349nqvk.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./worktree-5t3nmthw.js";
12
+ } from "./websearch-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./worktree-ec1grn59.js";
15
+ } from "./websearch-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./worktree-7f7t51gq.js";
18
+ } from "./websearch-mq4hv3jy.js";
19
19
  import {
20
- Service64,
21
- node67
22
- } from "./worktree-sgemhp45.js";
20
+ Service56,
21
+ node59
22
+ } from "./websearch-vne8fx5y.js";
23
23
  import {
24
- Service31,
25
- node35
26
- } from "./worktree-bpa6zfs4.js";
24
+ Service28,
25
+ node31
26
+ } from "./websearch-nwaxkyn6.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./worktree-tdstcens.js";
30
+ } from "./websearch-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./worktree-9rqn6x4v.js";
33
+ } from "./websearch-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service5,
38
+ Service: () => Service11,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer5,
42
- node: () => node7
41
+ layer: () => layer6,
42
+ node: () => node13
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 Service5 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service11 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 layer5 = Layer.effect(Service5, Effect.gen(function* () {
62
- const bus = yield* Service83;
61
+ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
62
+ const bus = yield* Service82;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service31;
65
- const store = yield* Service64;
64
+ const context = yield* Service28;
65
+ const store = yield* Service56;
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 Service5.of({ generate });
148
+ return Service11.of({ generate });
149
149
  }));
150
- var node7 = makeLocationNode({
151
- service: Service5,
152
- layer: layer5,
153
- deps: [node87, llmClient2, node35, node67, node88]
150
+ var node13 = makeLocationNode({
151
+ service: Service11,
152
+ layer: layer6,
153
+ deps: [node85, llmClient2, node31, node59, node88]
154
154
  });
155
155
 
156
- export { Service5, isUntitled2, layer5, node7, exports_title };
156
+ export { Service11, isUntitled2, layer6, node13, exports_title };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-z16xbst3.js";
4
+ } from "./websearch-m1h0tx1s.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./worktree-gm0g7gcc.js";
6
+ Service82,
7
+ node85
8
+ } from "./websearch-c349nqvk.js";
9
9
  import {
10
- Service58,
11
- node60
12
- } from "./worktree-yg13730w.js";
10
+ Service50,
11
+ node53
12
+ } from "./websearch-tnjqcmf2.js";
13
13
  import {
14
- Service53,
15
- node55
16
- } from "./worktree-0jkw1j53.js";
14
+ Service49,
15
+ node52
16
+ } from "./websearch-v8jfbz3g.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./worktree-ec1grn59.js";
19
+ } from "./websearch-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./worktree-1acjjqhc.js";
21
+ make18
22
+ } from "./websearch-r8xr0va3.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service50
26
- } from "./worktree-baaqp4zd.js";
25
+ Service46
26
+ } from "./websearch-dhmh7aw6.js";
27
27
  import {
28
- Service64,
29
- node67
30
- } from "./worktree-sgemhp45.js";
28
+ Service56,
29
+ node59
30
+ } from "./websearch-vne8fx5y.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./worktree-tha3vvwn.js";
33
+ } from "./websearch-e809e4x5.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./worktree-93fchcwg.js";
36
+ } from "./websearch-8yt0sx58.js";
37
37
  import {
38
38
  __export
39
- } from "./worktree-9rqn6x4v.js";
39
+ } from "./websearch-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service49,
44
+ Service: () => Service45,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer20,
47
- node: () => node52,
48
- noopLayer: () => noopLayer3,
46
+ layer: () => layer19,
47
+ node: () => node49,
48
+ noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service49 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service45 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer20 = Layer.effect(Service49, Effect.gen(function* () {
63
- const store = yield* Service64;
64
- const instances = yield* Service53;
65
- const bus = yield* Service83;
66
- const jobs = yield* Service58;
62
+ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
63
+ const store = yield* Service56;
64
+ const instances = yield* Service49;
65
+ const bus = yield* Service82;
66
+ const jobs = yield* Service50;
67
67
  const db = (yield* Service84).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service50.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make17({
86
+ const coordinator = yield* make18({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service49.of({
107
+ return Service45.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node52 = makeGlobalNode({
127
- service: Service49,
128
- layer: layer20,
129
- deps: [node67, node55, node87, node88, node60]
126
+ var node49 = makeGlobalNode({
127
+ service: Service45,
128
+ layer: layer19,
129
+ deps: [node59, node52, node85, node88, node53]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service49, Service49.of({
131
+ var noopLayer2 = Layer.succeed(Service45, Service45.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service49, Service49.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service49, terminal2, layer20, node52, noopLayer3, exports_execution };
140
+ export { Service45, terminal2, layer19, node49, noopLayer2, exports_execution };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./worktree-550bvhaj.js";
3
+ } from "./websearch-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./worktree-j5zkgpj8.js";
6
+ } from "./websearch-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./worktree-3asan66x.js";
9
+ } from "./websearch-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./worktree-9b00c1fb.js";
12
+ } from "./websearch-2cmv458r.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./worktree-hy20qw0x.js";
3
+ } from "./websearch-3gqbdmzf.js";
4
4
  import {
5
5
  lazy2
6
- } from "./worktree-88xbtdfr.js";
6
+ } from "./websearch-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./worktree-y1fvbwt7.js";
9
+ } from "./websearch-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./worktree-9rqn6x4v.js";
12
+ } from "./websearch-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./websearch-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service46
7
- } from "./worktree-xj9aad7z.js";
6
+ Service63
7
+ } from "./websearch-v82ahx5x.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./worktree-2a5m3afh.js";
10
+ } from "./websearch-2a5m3afh.js";
11
11
  import {
12
- Service48
13
- } from "./worktree-fy02dvg1.js";
12
+ Service65
13
+ } from "./websearch-25danj7w.js";
14
14
  import {
15
- Service58
16
- } from "./worktree-yg13730w.js";
15
+ Service50
16
+ } from "./websearch-tnjqcmf2.js";
17
17
  import {
18
- Service62
19
- } from "./worktree-y3m4vy1g.js";
18
+ Service54
19
+ } from "./websearch-8amrmy6h.js";
20
20
  import {
21
- Service21,
21
+ Service17,
22
22
  resolvePath2
23
- } from "./worktree-w8m5q4xe.js";
23
+ } from "./websearch-b31wxpcf.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./worktree-vzs5sf6e.js";
29
+ } from "./websearch-vzs5sf6e.js";
30
30
  import {
31
- Service61,
31
+ Service73,
32
32
  name15
33
- } from "./worktree-hy20qw0x.js";
33
+ } from "./websearch-3gqbdmzf.js";
34
34
  import {
35
35
  NotFoundError7,
36
- Service43
37
- } from "./worktree-7qann507.js";
36
+ Service60
37
+ } from "./websearch-65cry6gt.js";
38
38
  import {
39
- Service29
40
- } from "./worktree-0k65zfrv.js";
39
+ Service27
40
+ } from "./websearch-ckbmf8wb.js";
41
41
  import {
42
42
  scan2
43
- } from "./worktree-34q1q4g3.js";
43
+ } from "./websearch-sht1ggzb.js";
44
44
  import {
45
45
  __export
46
- } from "./worktree-9rqn6x4v.js";
46
+ } from "./websearch-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin20,
54
- ShellTool: () => exports_shell,
55
- name: () => name4
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin33,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input4 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin20 = {
119
+ var Plugin33 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service29;
123
- const jobs = yield* Service58;
122
+ const sessions = yield* Service27;
123
+ const jobs = yield* Service50;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service48;
126
- const access = yield* Service21;
127
- const shell = yield* Service43;
128
- const shellSelect = yield* Service61;
125
+ const environment = yield* Service65;
126
+ const access = yield* Service17;
127
+ const shell = yield* Service60;
128
+ const shellSelect = yield* Service73;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service62;
131
- const config = yield* Service46;
130
+ const permission = yield* Service54;
131
+ const config = yield* Service63;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin20 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name4,
150
+ action: name12,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin20 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name4,
187
+ name: name12,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input4,
190
+ input: Input12,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name4,
227
+ type: name12,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name4];
257
+ const tool = event.tools[name12];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin20, exports_shell };
268
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin33, exports_shell2 };