@opencode/core 2.0.27 → 2.0.29

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{filesystem-2q2afj7r.js → websearch-07vcyzex.js} +23 -23
  8. package/dist/chunks/{filesystem-075nkgpd.js → websearch-0fz4623t.js} +1 -1
  9. package/dist/chunks/{filesystem-q0xm7vwc.js → websearch-0j77ygfz.js} +6 -6
  10. package/dist/chunks/{filesystem-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{filesystem-xw91mmsj.js → websearch-0wmc8652.js} +11 -11
  12. package/dist/chunks/{filesystem-2r4m1mbx.js → websearch-0zmxjhgt.js} +34 -34
  13. package/dist/chunks/{filesystem-85yr590m.js → websearch-103sg1x0.js} +31 -31
  14. package/dist/chunks/{filesystem-c35597j6.js → websearch-1b4m0bzf.js} +4 -4
  15. package/dist/chunks/{filesystem-277mr6gh.js → websearch-1cegxmx6.js} +58 -18
  16. package/dist/chunks/{filesystem-3y40vn7b.js → websearch-1k6qkxqp.js} +4 -4
  17. package/dist/chunks/{filesystem-42nthewb.js → websearch-1p799z25.js} +2 -2
  18. package/dist/chunks/{filesystem-75yaxqej.js → websearch-1pekzpef.js} +21 -21
  19. package/dist/chunks/{filesystem-dmn46mqv.js → websearch-1tehwsrg.js} +9 -9
  20. package/dist/chunks/{filesystem-hh0yy80h.js → websearch-1y335d10.js} +4 -4
  21. package/dist/chunks/{filesystem-40hy4nm0.js → websearch-25xd1pye.js} +25 -16
  22. package/dist/chunks/{filesystem-4ts7tf6z.js → websearch-2ccvkpx1.js} +2 -2
  23. package/dist/chunks/{filesystem-q3kzbh51.js → websearch-2yb0fdev.js} +49 -49
  24. package/dist/chunks/{filesystem-x5s67ttw.js → websearch-30n06459.js} +12 -12
  25. package/dist/chunks/{filesystem-31xfzrxg.js → websearch-31xfzrxg.js} +2 -2
  26. package/dist/chunks/{filesystem-9zhh23v8.js → websearch-346y6mfm.js} +7 -7
  27. package/dist/chunks/{filesystem-6p6bhjzq.js → websearch-3c656pdg.js} +11 -11
  28. package/dist/chunks/{filesystem-x2t9anc7.js → websearch-3dmcmtv3.js} +17 -17
  29. package/dist/chunks/{filesystem-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{filesystem-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{filesystem-3hwn7j4h.js → websearch-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{filesystem-7qtbp6f0.js → websearch-3m7syb4v.js} +15 -15
  33. package/dist/chunks/{filesystem-z5eh1vkz.js → websearch-3p5nkzgw.js} +16 -16
  34. package/dist/chunks/{filesystem-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{filesystem-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{filesystem-qr40m89d.js → websearch-3yzh7hr7.js} +20 -20
  37. package/dist/chunks/{filesystem-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{filesystem-jtpxbk3r.js → websearch-44gjh96b.js} +84 -84
  39. package/dist/chunks/{filesystem-x5w8kc5x.js → websearch-4ft0y05w.js} +24 -24
  40. package/dist/chunks/{filesystem-g18ezh2c.js → websearch-4gq7ecwc.js} +18 -18
  41. package/dist/chunks/{filesystem-3c7k6cm5.js → websearch-4se3h60w.js} +9 -9
  42. package/dist/chunks/websearch-4wb4djvq.js +253 -0
  43. package/dist/chunks/{filesystem-gp94me86.js → websearch-4xzdjh1a.js} +10 -10
  44. package/dist/chunks/{filesystem-p4njbyer.js → websearch-52xjsfcv.js} +11 -11
  45. package/dist/chunks/{filesystem-54ma36ye.js → websearch-54ma36ye.js} +1 -1
  46. package/dist/chunks/{filesystem-rhjt4rsm.js → websearch-55nka2g1.js} +4 -4
  47. package/dist/chunks/{filesystem-z3pazvy2.js → websearch-5aq1sray.js} +15 -15
  48. package/dist/chunks/{filesystem-y15vpdnr.js → websearch-5e1pzs32.js} +9 -9
  49. package/dist/chunks/{filesystem-h0s8229g.js → websearch-5hft8km6.js} +18 -18
  50. package/dist/chunks/{filesystem-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{filesystem-tx4skpae.js → websearch-5pffn7jv.js} +32 -32
  52. package/dist/chunks/{filesystem-628cnxdp.js → websearch-5r3x27sy.js} +20 -20
  53. package/dist/chunks/{filesystem-sy62yj56.js → websearch-5z3y5rqa.js} +50 -50
  54. package/dist/chunks/{filesystem-t63kk2n9.js → websearch-6560wqgx.js} +2 -2
  55. package/dist/chunks/{filesystem-jex0hdh0.js → websearch-663z1agk.js} +126 -44
  56. package/dist/chunks/{filesystem-6hjx5zpb.js → websearch-6hjx5zpb.js} +2 -2
  57. package/dist/chunks/{filesystem-krjgrvpb.js → websearch-6wc34s84.js} +11 -11
  58. package/dist/chunks/{filesystem-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{filesystem-xpk7egw8.js → websearch-6xt5eqb0.js} +6 -6
  60. package/dist/chunks/{filesystem-g6yfr6ja.js → websearch-6yz0wx8n.js} +5 -5
  61. package/dist/chunks/{filesystem-vfb4jdsz.js → websearch-71434wjh.js} +18 -18
  62. package/dist/chunks/{filesystem-shj64zqm.js → websearch-73ndx0kt.js} +9 -9
  63. package/dist/chunks/{filesystem-2vvh33eb.js → websearch-775gj3j1.js} +9 -3
  64. package/dist/chunks/{filesystem-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{filesystem-vc6ht4b9.js → websearch-7cmmjc66.js} +8 -8
  66. package/dist/chunks/{filesystem-2r93mh4x.js → websearch-7gra0nqm.js} +5 -5
  67. package/dist/chunks/{filesystem-gjacmpd0.js → websearch-7hpzdccj.js} +8 -8
  68. package/dist/chunks/{filesystem-6ea2fwcg.js → websearch-7qq3ahcc.js} +6 -6
  69. package/dist/chunks/{filesystem-wfk26c6d.js → websearch-7xrzajz9.js} +16 -16
  70. package/dist/chunks/{filesystem-84txncab.js → websearch-84txncab.js} +1 -1
  71. package/dist/chunks/{filesystem-cmdzq1er.js → websearch-866agajq.js} +25 -25
  72. package/dist/chunks/{filesystem-4yh5fkek.js → websearch-88wazn9e.js} +34 -34
  73. package/dist/chunks/{filesystem-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
  74. package/dist/chunks/{filesystem-3dreg0vn.js → websearch-8p3ctfjr.js} +11 -11
  75. package/dist/chunks/{filesystem-6pc27hjz.js → websearch-8sze2n9a.js} +2 -2
  76. package/dist/chunks/{filesystem-jh2bfv56.js → websearch-8t7fzwbd.js} +13 -13
  77. package/dist/chunks/{filesystem-05zcap53.js → websearch-8wjeg5tw.js} +11 -11
  78. package/dist/chunks/{filesystem-mnav64s8.js → websearch-8wkxae25.js} +13 -13
  79. package/dist/chunks/{filesystem-91qna3x0.js → websearch-91qna3x0.js} +3 -3
  80. package/dist/chunks/{filesystem-8wps0r52.js → websearch-92m1j5rh.js} +15 -13
  81. package/dist/chunks/{filesystem-gbtkprqj.js → websearch-97j7w773.js} +42 -42
  82. package/dist/chunks/{filesystem-g8xm47b4.js → websearch-97zq4prq.js} +11 -11
  83. package/dist/chunks/{filesystem-rzs3gq0x.js → websearch-9c3np669.js} +8 -8
  84. package/dist/chunks/{filesystem-zdbbxb0y.js → websearch-9h5qj14f.js} +5 -5
  85. package/dist/chunks/{filesystem-5yzzbxa7.js → websearch-9hn6k4tm.js} +8 -8
  86. package/dist/chunks/{filesystem-zxy7mtkf.js → websearch-9vkn4ng5.js} +31 -31
  87. package/dist/chunks/{filesystem-d6jv500s.js → websearch-9zfhyfhf.js} +3 -3
  88. package/dist/chunks/{filesystem-rezt1fjs.js → websearch-a2647qfq.js} +151 -142
  89. package/dist/chunks/websearch-a4h58p2q.js +102 -0
  90. package/dist/chunks/{filesystem-yj5krche.js → websearch-a73a6c6h.js} +14 -14
  91. package/dist/chunks/{filesystem-gteqr3kb.js → websearch-aa567zw8.js} +11 -11
  92. package/dist/chunks/{filesystem-hfx4ttpe.js → websearch-ada5kfrj.js} +10 -10
  93. package/dist/chunks/{filesystem-addxnjmp.js → websearch-addxnjmp.js} +1 -1
  94. package/dist/chunks/{filesystem-kfxykwst.js → websearch-am1tmpj5.js} +11 -11
  95. package/dist/chunks/{filesystem-6s1gmk25.js → websearch-aq92k1t1.js} +35 -29
  96. package/dist/chunks/{filesystem-e77w7m4c.js → websearch-aqa98z50.js} +14 -14
  97. package/dist/chunks/{filesystem-45gnhb3v.js → websearch-arkfezfn.js} +14 -14
  98. package/dist/chunks/{filesystem-bddt2pqj.js → websearch-avae2qkj.js} +9 -9
  99. package/dist/chunks/{filesystem-wxetx7mh.js → websearch-ay2x71k1.js} +9 -9
  100. package/dist/chunks/{filesystem-avya17qh.js → websearch-ay3jh19j.js} +22 -25
  101. package/dist/chunks/{filesystem-1ffvrpkg.js → websearch-bjx1sjef.js} +6 -6
  102. package/dist/chunks/{filesystem-qf68ybps.js → websearch-br0hqn3c.js} +25 -25
  103. package/dist/chunks/{filesystem-tkfxpf5w.js → websearch-btgkzwpb.js} +11 -11
  104. package/dist/chunks/{filesystem-zqpzmbkm.js → websearch-bwd5tn72.js} +3 -3
  105. package/dist/chunks/{filesystem-c1fqxshp.js → websearch-c1fqxshp.js} +3 -3
  106. package/dist/chunks/{filesystem-qmqgtz8f.js → websearch-c765mh8b.js} +9 -9
  107. package/dist/chunks/{filesystem-mh1qw9wf.js → websearch-c7gbd1xe.js} +13 -13
  108. package/dist/chunks/{filesystem-zxe4qb9c.js → websearch-caa8k32f.js} +34 -27
  109. package/dist/chunks/{filesystem-52hym6es.js → websearch-crt9038w.js} +28 -28
  110. package/dist/chunks/{filesystem-fs4v6yja.js → websearch-cyakegjg.js} +11 -11
  111. package/dist/chunks/websearch-d08ezc3t.js +26 -0
  112. package/dist/chunks/{filesystem-jd655njr.js → websearch-d2wa1q6j.js} +22 -22
  113. package/dist/chunks/{filesystem-zsa8nsz8.js → websearch-d883s65k.js} +29 -29
  114. package/dist/chunks/{filesystem-psy0m90e.js → websearch-d8qsn68y.js} +15 -15
  115. package/dist/chunks/{filesystem-g6kk69s6.js → websearch-da8gdpq5.js} +9 -9
  116. package/dist/chunks/{filesystem-chn727mr.js → websearch-ddypr82j.js} +8 -8
  117. package/dist/chunks/{filesystem-9bbnj2zh.js → websearch-dhb2hta4.js} +5 -5
  118. package/dist/chunks/{filesystem-k76fn4kw.js → websearch-dhmh7aw6.js} +4 -4
  119. package/dist/chunks/{filesystem-vw56mdd2.js → websearch-dk6ncfcg.js} +6 -6
  120. package/dist/chunks/{filesystem-j56e64zr.js → websearch-dqxsqydv.js} +3 -1
  121. package/dist/chunks/{filesystem-sb9d9eyx.js → websearch-dxzfr4ve.js} +7 -7
  122. package/dist/chunks/{filesystem-jnzzg47p.js → websearch-dyd0ex0t.js} +19 -19
  123. package/dist/chunks/{filesystem-dwatz751.js → websearch-e0dbc2qq.js} +4 -4
  124. package/dist/chunks/{filesystem-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
  125. package/dist/chunks/{filesystem-r2z489rp.js → websearch-e80seqcp.js} +3 -3
  126. package/dist/chunks/{filesystem-n59f5cqe.js → websearch-e8peznf1.js} +21 -21
  127. package/dist/chunks/{filesystem-8r0rjxx3.js → websearch-eawvaaey.js} +48 -48
  128. package/dist/chunks/{filesystem-s3mqqn9k.js → websearch-ec2vep54.js} +18 -13
  129. package/dist/chunks/{filesystem-eej6y6fw.js → websearch-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{filesystem-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{filesystem-ae5sdhnp.js → websearch-efjjmtnj.js} +27 -27
  132. package/dist/chunks/{filesystem-xq0502x8.js → websearch-espep7zj.js} +3 -3
  133. package/dist/chunks/{filesystem-bhzg07mw.js → websearch-etc2b570.js} +15 -15
  134. package/dist/chunks/{filesystem-3xq304at.js → websearch-f7ayr8mx.js} +24 -24
  135. package/dist/chunks/{filesystem-0jwsre1p.js → websearch-fcrkznn8.js} +5 -5
  136. package/dist/chunks/{filesystem-6hh8tjw2.js → websearch-fm2qvscf.js} +4 -4
  137. package/dist/chunks/{filesystem-e6f2cxsr.js → websearch-g37mjr4e.js} +18 -18
  138. package/dist/chunks/{filesystem-vdfrtany.js → websearch-g5x1q65a.js} +4 -4
  139. package/dist/chunks/{filesystem-tjefdw4f.js → websearch-g6vmwyfr.js} +11 -11
  140. package/dist/chunks/{filesystem-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{filesystem-6yajptbt.js → websearch-gdbb1day.js} +1 -1
  142. package/dist/chunks/{filesystem-nvjf5yyf.js → websearch-geq2zx23.js} +320 -320
  143. package/dist/chunks/{filesystem-0dfv01xh.js → websearch-gfhhve88.js} +5 -5
  144. package/dist/chunks/{filesystem-ma9a1mz6.js → websearch-gjk5m4qa.js} +3 -3
  145. package/dist/chunks/{filesystem-r69zxgc9.js → websearch-gqkzrhj2.js} +11 -11
  146. package/dist/chunks/{filesystem-hhj1gqex.js → websearch-gspy0ysg.js} +4 -4
  147. package/dist/chunks/{filesystem-nnbqx04f.js → websearch-gwj41vyz.js} +7 -7
  148. package/dist/chunks/{filesystem-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{filesystem-xpeshqab.js → websearch-haa4cca0.js} +6 -6
  150. package/dist/chunks/{filesystem-cjgcse4q.js → websearch-hcxmzztb.js} +6 -11
  151. package/dist/chunks/{filesystem-hgz4x7wa.js → websearch-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{filesystem-ddg7egp8.js → websearch-hhd9bfcx.js} +14 -14
  153. package/dist/chunks/{filesystem-1k1hwgxp.js → websearch-hhtxcv9s.js} +32 -32
  154. package/dist/chunks/{filesystem-7t7k8w74.js → websearch-hhyv66vq.js} +8 -8
  155. package/dist/chunks/{filesystem-kqx1b4hy.js → websearch-hkffa77z.js} +4 -4
  156. package/dist/chunks/{filesystem-a812m1sc.js → websearch-hkkd4pm1.js} +7 -7
  157. package/dist/chunks/{filesystem-hq3c8me3.js → websearch-hq3c8me3.js} +1 -1
  158. package/dist/chunks/{filesystem-p03r7pt3.js → websearch-hrg4krg0.js} +9 -9
  159. package/dist/chunks/{filesystem-92hybt7t.js → websearch-hrgbrncq.js} +12 -12
  160. package/dist/chunks/{filesystem-y4861qag.js → websearch-hx6kv5hf.js} +42 -42
  161. package/dist/chunks/{filesystem-cd22zj3n.js → websearch-ja06ey8y.js} +11 -11
  162. package/dist/chunks/{filesystem-vk5e0qsv.js → websearch-jehjq15e.js} +14 -14
  163. package/dist/chunks/{filesystem-v9rcgtcn.js → websearch-jhxrt86x.js} +28 -28
  164. package/dist/chunks/{filesystem-x7xmxswz.js → websearch-jneafm26.js} +13 -13
  165. package/dist/chunks/{filesystem-v0t15ase.js → websearch-k10p7qps.js} +4 -4
  166. package/dist/chunks/{filesystem-zp2jr73m.js → websearch-k2grd0fw.js} +3 -3
  167. package/dist/chunks/{filesystem-hbmg3jd1.js → websearch-k9mnbpyw.js} +86 -69
  168. package/dist/chunks/{filesystem-9zg8t2tr.js → websearch-kb7wnz6t.js} +25 -25
  169. package/dist/chunks/{filesystem-17ahada2.js → websearch-kev8d4bj.js} +27 -27
  170. package/dist/chunks/{filesystem-wz02ft3p.js → websearch-kfxbay1b.js} +13 -13
  171. package/dist/chunks/{filesystem-w7mvh2x4.js → websearch-kjm8yh2d.js} +19 -19
  172. package/dist/chunks/{filesystem-zzbddhc6.js → websearch-kkkrbyg1.js} +22 -22
  173. package/dist/chunks/{filesystem-nmqm2vvz.js → websearch-kqn4kc20.js} +17 -17
  174. package/dist/chunks/{filesystem-7wwt250p.js → websearch-krdzrw7f.js} +84 -84
  175. package/dist/chunks/{filesystem-hdckhky9.js → websearch-m2xy2q1r.js} +10 -10
  176. package/dist/chunks/{filesystem-ndz7w8hx.js → websearch-m3chcn87.js} +16 -16
  177. package/dist/chunks/{filesystem-gty1xwv8.js → websearch-m5yraf7v.js} +24 -24
  178. package/dist/chunks/{filesystem-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{filesystem-gk8qb678.js → websearch-maspj1v3.js} +6 -19
  180. package/dist/chunks/{filesystem-kc69xce9.js → websearch-mj7h6rjn.js} +19 -19
  181. package/dist/chunks/{filesystem-bwds47ca.js → websearch-mp6nn8em.js} +3 -3
  182. package/dist/chunks/{filesystem-qjke1250.js → websearch-mq0qga5n.js} +28 -28
  183. package/dist/chunks/{filesystem-4dd6559a.js → websearch-n33ezsnm.js} +28 -27
  184. package/dist/chunks/{filesystem-wn2vj619.js → websearch-n3dj4p5b.js} +8 -8
  185. package/dist/chunks/{filesystem-28b6phvf.js → websearch-ng1gee1q.js} +5 -5
  186. package/dist/chunks/{filesystem-njatc343.js → websearch-nkndh8r8.js} +11 -11
  187. package/dist/chunks/{filesystem-gacw69ge.js → websearch-nkt96xeg.js} +3 -3
  188. package/dist/chunks/{filesystem-hehj8e2f.js → websearch-nvgev6qc.js} +17 -17
  189. package/dist/chunks/{filesystem-cztcbjsk.js → websearch-nytcpyw5.js} +46 -46
  190. package/dist/chunks/{filesystem-jq5272j9.js → websearch-p08b6fdv.js} +14 -14
  191. package/dist/chunks/{filesystem-28mv0yws.js → websearch-p2aadfsr.js} +15 -15
  192. package/dist/chunks/{filesystem-nbhbhab9.js → websearch-p2w45j0v.js} +21 -16
  193. package/dist/chunks/{filesystem-52fe2n6x.js → websearch-p97g2b6e.js} +6 -6
  194. package/dist/chunks/{filesystem-8679j8d8.js → websearch-pb47hwpg.js} +13 -11
  195. package/dist/chunks/{filesystem-egftk3gc.js → websearch-pghxh1nh.js} +11 -11
  196. package/dist/chunks/{filesystem-cp3h7zv6.js → websearch-phepkm1d.js} +23 -23
  197. package/dist/chunks/{filesystem-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{filesystem-97aeaand.js → websearch-pkj8hqbd.js} +9 -9
  199. package/dist/chunks/{filesystem-pknna89w.js → websearch-pknna89w.js} +1 -1
  200. package/dist/chunks/{filesystem-1pdq80h1.js → websearch-pqwxz2b0.js} +5 -5
  201. package/dist/chunks/{filesystem-v15nq2pf.js → websearch-pxwwnbaf.js} +87 -42
  202. package/dist/chunks/{filesystem-30hpp6bd.js → websearch-pzwg7x8a.js} +32 -32
  203. package/dist/chunks/{filesystem-tbqraact.js → websearch-q8fpdxtt.js} +45 -44
  204. package/dist/chunks/{filesystem-d9xsbmzv.js → websearch-qcs9fwqv.js} +11 -11
  205. package/dist/chunks/{filesystem-3fm12cj0.js → websearch-qfx9w7bq.js} +7 -7
  206. package/dist/chunks/{filesystem-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{filesystem-mm2s9j4z.js → websearch-qp956b5j.js} +8 -8
  208. package/dist/chunks/{filesystem-v7q8sg4f.js → websearch-qr9hjn0s.js} +9 -9
  209. package/dist/chunks/{filesystem-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  210. package/dist/chunks/{filesystem-4w5f3qm5.js → websearch-qwjmgwmn.js} +8 -8
  211. package/dist/chunks/{filesystem-wtsf8rdt.js → websearch-r2710ff6.js} +23 -23
  212. package/dist/chunks/{filesystem-8y0srtbm.js → websearch-r2k8chwn.js} +45 -45
  213. package/dist/chunks/{filesystem-h3s3f80v.js → websearch-r8x9drbh.js} +5 -5
  214. package/dist/chunks/{filesystem-eaednpsc.js → websearch-r9m9gn5p.js} +27 -24
  215. package/dist/chunks/websearch-rap9a73h.js +18 -0
  216. package/dist/chunks/{filesystem-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{filesystem-rert0e01.js → websearch-rert0e01.js} +2 -2
  218. package/dist/chunks/{filesystem-jcr0a5xm.js → websearch-rgxvqbqk.js} +31 -31
  219. package/dist/chunks/{filesystem-zfgdk5x8.js → websearch-rh5yy33f.js} +36 -36
  220. package/dist/chunks/{filesystem-43fay8tn.js → websearch-rhbc2745.js} +11 -11
  221. package/dist/chunks/{filesystem-rj3eygr5.js → websearch-rj3eygr5.js} +2 -2
  222. package/dist/chunks/{filesystem-ge3tf0hw.js → websearch-rp432f9z.js} +27 -27
  223. package/dist/chunks/{filesystem-edp2jp4p.js → websearch-rww43xzx.js} +3 -3
  224. package/dist/chunks/{filesystem-x2eytdts.js → websearch-s5dq0fh7.js} +33 -33
  225. package/dist/chunks/{filesystem-rhjbct0v.js → websearch-s8d7rejh.js} +4 -4
  226. package/dist/chunks/{filesystem-sa8ekw3f.js → websearch-sa8ekw3f.js} +2 -2
  227. package/dist/chunks/{filesystem-b3f8fkhc.js → websearch-scgrse2b.js} +5 -5
  228. package/dist/chunks/{filesystem-xx66htzt.js → websearch-sjh1dprn.js} +31 -31
  229. package/dist/chunks/{filesystem-nr11xpps.js → websearch-stv64172.js} +24 -24
  230. package/dist/chunks/{filesystem-syv4x271.js → websearch-syv4x271.js} +1 -1
  231. package/dist/chunks/{filesystem-a7x960be.js → websearch-t3nt8dwz.js} +13 -13
  232. package/dist/chunks/{filesystem-yyy8m62c.js → websearch-t41sszjr.js} +24 -24
  233. package/dist/chunks/{filesystem-ted6dyzx.js → websearch-t8n1383z.js} +36 -36
  234. package/dist/chunks/{filesystem-e850ppb0.js → websearch-tax3fkaf.js} +1 -1
  235. package/dist/chunks/{filesystem-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{filesystem-dzse07y5.js → websearch-tcay1cqt.js} +6 -6
  237. package/dist/chunks/{filesystem-89znhe33.js → websearch-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{filesystem-w5j8pc94.js → websearch-tdhdpjpk.js} +8 -8
  239. package/dist/chunks/{filesystem-tdstcens.js → websearch-tdstcens.js} +1 -1
  240. package/dist/chunks/{filesystem-qmyze75f.js → websearch-tf2nhjex.js} +16 -16
  241. package/dist/chunks/{filesystem-0paq2nw3.js → websearch-tm0kqsz3.js} +26 -2
  242. package/dist/chunks/{filesystem-n61013np.js → websearch-tmfxf5e7.js} +11 -11
  243. package/dist/chunks/{filesystem-0jz028se.js → websearch-tt87ktex.js} +16 -16
  244. package/dist/chunks/{filesystem-h18kbg2g.js → websearch-tx4eqkkw.js} +25 -25
  245. package/dist/chunks/{filesystem-tyytaxap.js → websearch-tyytaxap.js} +1 -1
  246. package/dist/chunks/{filesystem-v0es1rhs.js → websearch-v0es1rhs.js} +2 -2
  247. package/dist/chunks/{filesystem-mqbwmym3.js → websearch-v1kmxtyj.js} +3 -3
  248. package/dist/chunks/{filesystem-v7p4zvkq.js → websearch-v7p4zvkq.js} +2 -2
  249. package/dist/chunks/{filesystem-41czef58.js → websearch-v7z2bvyd.js} +4 -4
  250. package/dist/chunks/{filesystem-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  251. package/dist/chunks/{filesystem-cfrzcmt6.js → websearch-vrc1bnre.js} +29 -29
  252. package/dist/chunks/{filesystem-tn22h724.js → websearch-vywg70mg.js} +13 -13
  253. package/dist/chunks/{filesystem-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{filesystem-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{filesystem-58rgv5ce.js → websearch-w46jqsvm.js} +24 -24
  256. package/dist/chunks/{filesystem-qptcxqn9.js → websearch-w4y2mxn4.js} +20 -20
  257. package/dist/chunks/{filesystem-v45b1mqa.js → websearch-w4zft92x.js} +9 -9
  258. package/dist/chunks/{filesystem-ykhp3ymj.js → websearch-wazcrk27.js} +11 -11
  259. package/dist/chunks/{filesystem-wd87259q.js → websearch-wd87259q.js} +1 -1
  260. package/dist/chunks/{filesystem-qwwffz8c.js → websearch-we87z89c.js} +13 -13
  261. package/dist/chunks/{filesystem-517r2k0v.js → websearch-wgdke5pv.js} +9 -9
  262. package/dist/chunks/{filesystem-bw78ga2c.js → websearch-wjj7prxr.js} +9 -0
  263. package/dist/chunks/{filesystem-qz7nybpq.js → websearch-x0fnqmv0.js} +13 -13
  264. package/dist/chunks/{filesystem-8w54sq4a.js → websearch-x5h28p89.js} +20 -20
  265. package/dist/chunks/{filesystem-a1fpssew.js → websearch-x5wkbpg0.js} +42 -93
  266. package/dist/chunks/{filesystem-drwq78ky.js → websearch-xfkkasph.js} +4 -4
  267. package/dist/chunks/{filesystem-7nranytg.js → websearch-xg4371px.js} +30 -30
  268. package/dist/chunks/{filesystem-58072hz9.js → websearch-xkhfjrgz.js} +3 -3
  269. package/dist/chunks/{filesystem-0nqtnax1.js → websearch-xrb85mgg.js} +24 -24
  270. package/dist/chunks/{filesystem-a89e0tac.js → websearch-xxxym934.js} +4 -4
  271. package/dist/chunks/{filesystem-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{filesystem-y71avatq.js → websearch-y71avatq.js} +1 -1
  273. package/dist/chunks/{filesystem-gdq97084.js → websearch-y7nndgyc.js} +9 -9
  274. package/dist/chunks/{filesystem-xtzs4z5v.js → websearch-yfy85faz.js} +5 -5
  275. package/dist/chunks/{filesystem-amjhxwh3.js → websearch-ynreg67e.js} +1 -1
  276. package/dist/chunks/{filesystem-1acjjqhc.js → websearch-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{filesystem-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{filesystem-75czp452.js → websearch-z7m47ewa.js} +11 -11
  279. package/dist/chunks/{filesystem-v7gjr6wa.js → websearch-z938xz10.js} +42 -42
  280. package/dist/chunks/{filesystem-gccjnz6h.js → websearch-zd7wpxs7.js} +2 -2
  281. package/dist/chunks/{filesystem-0rj8zrsn.js → websearch-zkf2w606.js} +20 -19
  282. package/dist/chunks/{filesystem-b674v2dg.js → websearch-zmr78fwr.js} +5 -5
  283. package/dist/chunks/{filesystem-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{filesystem-b6pj8f6d.js → websearch-ztcw2cka.js} +16 -16
  285. package/dist/chunks/{filesystem-gvc0m829.js → websearch-ztvjr4k5.js} +17 -17
  286. package/dist/chunks/{filesystem-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +92 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/compatibility.js +136 -136
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +119 -119
  301. package/dist/config/plugin/image.js +118 -118
  302. package/dist/config/plugin/instruction.js +92 -92
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +119 -119
  306. package/dist/config/plugin/provider.js +118 -118
  307. package/dist/config/plugin/reference.js +120 -120
  308. package/dist/config/plugin/shell.js +120 -120
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill.js +139 -139
  311. package/dist/config/plugin/snapshot.js +118 -118
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +119 -119
  314. package/dist/config/plugin/websearch.js +119 -119
  315. package/dist/config/plugin/worktree.js +120 -120
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +123 -123
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +79 -79
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +97 -97
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -72
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +220 -220
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +108 -108
  427. package/dist/form.js +76 -76
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +107 -107
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +101 -101
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +359 -359
  455. package/dist/instruction-discovery.js +87 -87
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +83 -83
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +356 -356
  467. package/dist/location.js +83 -83
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +111 -111
  471. package/dist/mcp/instructions.js +131 -131
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +101 -101
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model.js +102 -102
  478. package/dist/models-dev.js +105 -105
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +82 -82
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +115 -115
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +92 -92
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +77 -77
  488. package/dist/plugin/agent.js +76 -76
  489. package/dist/plugin/command.js +102 -102
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +213 -213
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +331 -331
  495. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  496. package/dist/plugin/models-dev.js +98 -98
  497. package/dist/plugin/module.js +117 -117
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +104 -104
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  502. package/dist/plugin/provider/azure.js +118 -119
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/chatgpt.js +118 -96
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +114 -114
  509. package/dist/plugin/provider/databricks.js +1 -1
  510. package/dist/plugin/provider/digitalocean.js +95 -95
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/github-copilot.js +97 -97
  514. package/dist/plugin/provider/gitlab.js +95 -95
  515. package/dist/plugin/provider/google-vertex.js +115 -115
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +80 -80
  518. package/dist/plugin/provider/lmstudio.js +127 -127
  519. package/dist/plugin/provider/local.js +124 -124
  520. package/dist/plugin/provider/modal.js +94 -94
  521. package/dist/plugin/provider/neon.js +1 -1
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +127 -127
  524. package/dist/plugin/provider/openai.js +118 -95
  525. package/dist/plugin/provider/opencode.js +99 -99
  526. package/dist/plugin/provider/openrouter.js +93 -93
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +81 -81
  529. package/dist/plugin/provider/prompt-cache-key.js +1 -92
  530. package/dist/plugin/provider/sap-ai-core.js +93 -93
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  533. package/dist/plugin/provider/vercel.js +92 -92
  534. package/dist/plugin/provider/vllm.js +125 -125
  535. package/dist/plugin/provider/xai.js +93 -93
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +169 -169
  538. package/dist/plugin/sdk.js +76 -76
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +136 -136
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +348 -348
  543. package/dist/plugin/tool-input-repair.js +4 -4
  544. package/dist/plugin/update.js +2 -2
  545. package/dist/plugin/vcs/git.js +88 -88
  546. package/dist/plugin/vcs/hg.js +88 -88
  547. package/dist/plugin/verbosity.js +95 -95
  548. package/dist/plugin/warming.js +116 -116
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +4 -4
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +2 -2
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +82 -82
  560. package/dist/provider.js +107 -103
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +101 -101
  564. package/dist/reference/instructions.js +91 -91
  565. package/dist/reference.js +91 -91
  566. package/dist/repository-cache.js +83 -83
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +99 -99
  570. package/dist/rpc.js +88 -88
  571. package/dist/schema.js +1 -1
  572. package/dist/session/affinity.js +1 -1
  573. package/dist/session/command.js +76 -76
  574. package/dist/session/compaction.js +135 -135
  575. package/dist/session/context.js +155 -155
  576. package/dist/session/diff.js +90 -90
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +216 -216
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +156 -156
  583. package/dist/session/history.js +15 -15
  584. package/dist/session/inbox.js +90 -90
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +81 -81
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +99 -99
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +122 -122
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +131 -131
  594. package/dist/session/projector.js +88 -88
  595. package/dist/session/prompt.js +107 -107
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +92 -92
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +226 -226
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +100 -100
  603. package/dist/session/runner/publish-llm-event.js +115 -115
  604. package/dist/session/runner/retry.js +4 -4
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +166 -166
  609. package/dist/session/shell.js +132 -132
  610. package/dist/session/skill.js +105 -105
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +75 -75
  613. package/dist/session/store.js +87 -87
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +207 -207
  616. package/dist/session/system-prompt.js +3 -3
  617. package/dist/session/title.js +157 -157
  618. package/dist/session/to-session-error.js +113 -113
  619. package/dist/session/transfer.js +209 -209
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +211 -211
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +134 -134
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +107 -107
  629. package/dist/skill.js +114 -114
  630. package/dist/snapshot.js +93 -93
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +130 -130
  635. package/dist/tool/plugin/edit.js +122 -122
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +126 -126
  638. package/dist/tool/plugin/grep.js +124 -124
  639. package/dist/tool/plugin/mcp-resource.js +119 -119
  640. package/dist/tool/plugin/opencode.js +111 -111
  641. package/dist/tool/plugin/patch.js +124 -124
  642. package/dist/tool/plugin/question.js +107 -107
  643. package/dist/tool/plugin/read.js +127 -127
  644. package/dist/tool/plugin/shell.js +212 -212
  645. package/dist/tool/plugin/skill.js +115 -115
  646. package/dist/tool/plugin/subagent.js +214 -214
  647. package/dist/tool/plugin/webfetch.js +112 -112
  648. package/dist/tool/plugin/websearch.js +116 -116
  649. package/dist/tool/plugin/write.js +124 -124
  650. package/dist/tool/read-filesystem.js +102 -102
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +7 -7
  653. package/dist/tool.js +16 -16
  654. package/dist/types/agent.d.ts +1 -0
  655. package/dist/types/config/discovery.d.ts +18 -0
  656. package/dist/types/config.d.ts +3 -1
  657. package/dist/types/image/photon.d.ts +2 -2
  658. package/dist/types/model.d.ts +7 -0
  659. package/dist/types/plugin/provider/azure.d.ts +2 -3
  660. package/dist/types/plugin/provider/chatgpt.d.ts +2 -1
  661. package/dist/types/plugin/provider/openai.d.ts +2 -1
  662. package/dist/types/provider.d.ts +30 -1
  663. package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
  664. package/dist/types/session/runner/step.d.ts +32 -3
  665. package/dist/types/v1/config/migrate.d.ts +13 -4
  666. package/dist/types/v1/config/provider-options.d.ts +8 -0
  667. package/dist/util/error-summary.js +1 -1
  668. package/dist/util/error.js +1 -1
  669. package/dist/util/git-executable.js +2 -2
  670. package/dist/util/iife.js +1 -1
  671. package/dist/util/lazy.js +1 -1
  672. package/dist/util/slug.js +1 -1
  673. package/dist/util/token.js +1 -1
  674. package/dist/util/which.js +1 -1
  675. package/dist/util/wildcard.js +1 -1
  676. package/dist/v1/config/agent.js +7 -7
  677. package/dist/v1/config/command.js +3 -3
  678. package/dist/v1/config/error.js +4 -4
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +94 -94
  681. package/dist/v1/config/permission.js +7 -7
  682. package/dist/v1/config/plugin.js +3 -3
  683. package/dist/v1/config/provider-options.js +3 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +91 -91
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +78 -78
  690. package/dist/wellknown.js +83 -83
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +84 -84
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +91 -91
  698. package/dist/worktree.js +98 -98
  699. package/package.json +9 -9
  700. package/dist/chunks/filesystem-45th5jwr.js +0 -18
  701. package/dist/chunks/filesystem-8p91w73h.js +0 -59
  702. package/dist/chunks/filesystem-g4vk7v1j.js +0 -253
  703. package/dist/chunks/filesystem-zr1cpq3k.js +0 -26
  704. /package/dist/chunks/{filesystem-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{filesystem-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{filesystem-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{filesystem-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{filesystem-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{filesystem-24dcb14g.js → websearch-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{filesystem-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{filesystem-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{filesystem-2bv980vf.js → websearch-2bv980vf.js} +0 -0
  713. /package/dist/chunks/{filesystem-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{filesystem-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{filesystem-3asan66x.js → websearch-3asan66x.js} +0 -0
  716. /package/dist/chunks/{filesystem-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
  717. /package/dist/chunks/{filesystem-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{filesystem-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{filesystem-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{filesystem-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{filesystem-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{filesystem-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{filesystem-53557ph1.js → websearch-53557ph1.js} +0 -0
  724. /package/dist/chunks/{filesystem-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{filesystem-6prwharc.js → websearch-6prwharc.js} +0 -0
  726. /package/dist/chunks/{filesystem-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
  727. /package/dist/chunks/{filesystem-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{filesystem-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{filesystem-822emrt2.js → websearch-822emrt2.js} +0 -0
  730. /package/dist/chunks/{filesystem-84wd9syh.js → websearch-84wd9syh.js} +0 -0
  731. /package/dist/chunks/{filesystem-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{filesystem-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{filesystem-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{filesystem-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{filesystem-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{filesystem-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{filesystem-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{filesystem-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{filesystem-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{filesystem-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{filesystem-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{filesystem-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{filesystem-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{filesystem-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{filesystem-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{filesystem-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{filesystem-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{filesystem-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{filesystem-df08tz66.js → websearch-df08tz66.js} +0 -0
  750. /package/dist/chunks/{filesystem-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{filesystem-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{filesystem-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{filesystem-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{filesystem-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{filesystem-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{filesystem-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{filesystem-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{filesystem-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{filesystem-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{filesystem-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{filesystem-g86h250q.js → websearch-g86h250q.js} +0 -0
  762. /package/dist/chunks/{filesystem-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{filesystem-gftt206x.js → websearch-gftt206x.js} +0 -0
  764. /package/dist/chunks/{filesystem-hk9envan.js → websearch-hk9envan.js} +0 -0
  765. /package/dist/chunks/{filesystem-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{filesystem-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{filesystem-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{filesystem-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{filesystem-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{filesystem-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
  771. /package/dist/chunks/{filesystem-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{filesystem-m18g726c.js → websearch-m18g726c.js} +0 -0
  773. /package/dist/chunks/{filesystem-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{filesystem-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{filesystem-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{filesystem-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{filesystem-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{filesystem-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
  779. /package/dist/chunks/{filesystem-pyv0edze.js → websearch-pyv0edze.js} +0 -0
  780. /package/dist/chunks/{filesystem-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{filesystem-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{filesystem-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{filesystem-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{filesystem-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{filesystem-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{filesystem-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{filesystem-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{filesystem-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{filesystem-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{filesystem-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
  791. /package/dist/chunks/{filesystem-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{filesystem-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{filesystem-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{filesystem-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{filesystem-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{filesystem-x61499pn.js → websearch-x61499pn.js} +0 -0
  797. /package/dist/chunks/{filesystem-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{filesystem-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{filesystem-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{filesystem-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{filesystem-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
  802. /package/dist/chunks/{filesystem-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID8,
2
+ ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./filesystem-zxe4qb9c.js";
5
+ } from "./websearch-caa8k32f.js";
6
6
  import {
7
- ID7,
7
+ ID12,
8
8
  VariantID2,
9
9
  Family2,
10
- Info16
11
- } from "./filesystem-4dd6559a.js";
10
+ Info21
11
+ } from "./websearch-n33ezsnm.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./websearch-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID7.make(id);
97
+ const key = ID12.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info16.make({
122
- ...Info16.default(ID8.githubCopilot, id),
121
+ return Info21.make({
122
+ ...Info21.default(ID13.githubCopilot, id),
123
123
  id,
124
- modelID: ID7.make(remote.id),
125
- providerID: ID8.githubCopilot,
124
+ modelID: ID12.make(remote.id),
125
+ providerID: ID13.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID12
3
- } from "./filesystem-3xq304at.js";
2
+ ID10
3
+ } from "./websearch-f7ayr8mx.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./filesystem-z5v4ffb3.js";
6
+ } from "./websearch-z5v4ffb3.js";
7
7
  import {
8
- Info9
9
- } from "./filesystem-n61013np.js";
8
+ Info19
9
+ } from "./websearch-tmfxf5e7.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./filesystem-40hy4nm0.js";
12
+ } from "./websearch-25xd1pye.js";
13
13
  import {
14
14
  latest2,
15
- Service44
16
- } from "./filesystem-v15nq2pf.js";
15
+ Service72
16
+ } from "./websearch-pxwwnbaf.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./filesystem-8m6m0r52.js";
19
+ } from "./websearch-8m6m0r52.js";
20
20
  import {
21
21
  __export
22
- } from "./filesystem-9rqn6x4v.js";
22
+ } from "./websearch-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
26
26
  __export(exports_agent2, {
27
27
  ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin48
28
+ Plugin: () => Plugin21
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info9);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin48 = define({
47
+ var Plugin21 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service44;
50
+ const config = yield* Service72;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin48 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID12.make(configuredDefault));
79
+ editor.default(ID10.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID12.make(id);
85
+ const agentID = ID10.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin48, exports_agent2 };
164
+ export { Plugin21, exports_agent2 };
@@ -1,118 +1,118 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./filesystem-zqpzmbkm.js";
4
+ } from "./websearch-bwd5tn72.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./filesystem-42nthewb.js";
8
+ } from "./websearch-1p799z25.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service60,
13
- node63
14
- } from "./filesystem-4dd6559a.js";
12
+ Service75,
13
+ node79
14
+ } from "./websearch-n33ezsnm.js";
15
15
  import {
16
- ID12,
17
- Service73,
18
- node77
19
- } from "./filesystem-3xq304at.js";
16
+ ID10,
17
+ Service70,
18
+ node74
19
+ } from "./websearch-f7ayr8mx.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./filesystem-9zhh23v8.js";
22
+ } from "./websearch-346y6mfm.js";
23
23
  import {
24
24
  combine2
25
- } from "./filesystem-rhjbct0v.js";
25
+ } from "./websearch-s8d7rejh.js";
26
26
  import {
27
27
  provenance2
28
- } from "./filesystem-c35597j6.js";
28
+ } from "./websearch-1b4m0bzf.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./filesystem-krjgrvpb.js";
31
+ } from "./websearch-6wc34s84.js";
32
32
  import {
33
- Service71,
34
- node75
35
- } from "./filesystem-e77w7m4c.js";
33
+ Service69,
34
+ node73
35
+ } from "./websearch-aqa98z50.js";
36
36
  import {
37
37
  merge2
38
- } from "./filesystem-q3kzbh51.js";
38
+ } from "./websearch-2yb0fdev.js";
39
39
  import {
40
40
  make13
41
- } from "./filesystem-bddt2pqj.js";
41
+ } from "./websearch-avae2qkj.js";
42
42
  import {
43
- Service67,
44
- node71
45
- } from "./filesystem-gty1xwv8.js";
43
+ Service50,
44
+ node52
45
+ } from "./websearch-m5yraf7v.js";
46
46
  import {
47
- Service25,
48
- node28
49
- } from "./filesystem-tn22h724.js";
47
+ Service30,
48
+ node33
49
+ } from "./websearch-vywg70mg.js";
50
50
  import {
51
- Service47,
52
- node51
53
- } from "./filesystem-h18kbg2g.js";
51
+ Service54,
52
+ node56
53
+ } from "./websearch-tx4eqkkw.js";
54
54
  import {
55
- Service19,
56
- node23
57
- } from "./filesystem-cfrzcmt6.js";
55
+ Service39,
56
+ node42
57
+ } from "./websearch-vrc1bnre.js";
58
58
  import {
59
- Service17,
60
- node21
61
- } from "./filesystem-wtsf8rdt.js";
59
+ Service37,
60
+ node40
61
+ } from "./websearch-r2710ff6.js";
62
62
  import {
63
- Service18,
64
- node22
65
- } from "./filesystem-e6f2cxsr.js";
63
+ Service36,
64
+ node39
65
+ } from "./websearch-g37mjr4e.js";
66
66
  import {
67
- Service26,
68
- node29
69
- } from "./filesystem-w7mvh2x4.js";
67
+ Service38,
68
+ node41
69
+ } from "./websearch-kjm8yh2d.js";
70
70
  import {
71
- Service21,
72
- node24
73
- } from "./filesystem-psy0m90e.js";
71
+ Service32,
72
+ node36
73
+ } from "./websearch-d8qsn68y.js";
74
74
  import {
75
- Service23,
76
- node26
77
- } from "./filesystem-2r4m1mbx.js";
75
+ Service34,
76
+ node37
77
+ } from "./websearch-0zmxjhgt.js";
78
78
  import {
79
- Service54,
80
- node57
81
- } from "./filesystem-wz02ft3p.js";
79
+ Service49,
80
+ node51
81
+ } from "./websearch-kfxbay1b.js";
82
82
  import {
83
83
  __export
84
- } from "./filesystem-9rqn6x4v.js";
84
+ } from "./websearch-9rqn6x4v.js";
85
85
 
86
86
  // src/session/context.ts
87
87
  var exports_context = {};
88
88
  __export(exports_context, {
89
- Service: () => Service16,
89
+ Service: () => Service29,
90
90
  SessionContext: () => exports_context,
91
- node: () => node20
91
+ node: () => node32
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
- class Service16 extends Context.Service()("@opencode/SessionContext") {
95
+ class Service29 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
- var layer = Layer.effect(Service16, Effect.gen(function* () {
98
- const agents = yield* Service73;
99
- const builtins = yield* Service25;
100
- const model = yield* Service60;
97
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
98
+ const agents = yield* Service70;
99
+ const builtins = yield* Service30;
100
+ const model = yield* Service75;
101
101
  const db = (yield* Service85).db;
102
- const discovery = yield* Service67;
103
- const entries = yield* Service21;
102
+ const discovery = yield* Service50;
103
+ const entries = yield* Service32;
104
104
  const location = yield* Service81;
105
- const mcpInstructions = yield* Service17;
106
- const mcpTools = yield* Service19;
107
- const models = yield* Service54;
108
- const request = yield* Service23;
109
- const referenceInstructions = yield* Service18;
110
- const skillInstructions = yield* Service26;
111
- const store = yield* Service71;
112
- const registry = yield* Service47;
105
+ const mcpInstructions = yield* Service37;
106
+ const mcpTools = yield* Service39;
107
+ const models = yield* Service49;
108
+ const request = yield* Service34;
109
+ const referenceInstructions = yield* Service36;
110
+ const skillInstructions = yield* Service38;
111
+ const store = yield* Service69;
112
+ const registry = yield* Service54;
113
113
  const resolveModel = (session) => models.resolve(session, model.available);
114
114
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
115
- const agent = yield* agents.get(ID12.make("title"));
115
+ const agent = yield* agents.get(ID10.make("title"));
116
116
  if (!agent)
117
117
  return;
118
118
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
188
188
  tools: selection.tools
189
189
  };
190
190
  });
191
- return Service16.of({ select, load, resolveModel, selectTitle, request });
191
+ return Service29.of({ select, load, resolveModel, selectTitle, request });
192
192
  }));
193
193
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
194
- var node20 = makeLocationNode({
195
- service: Service16,
194
+ var node32 = makeLocationNode({
195
+ service: Service29,
196
196
  layer,
197
197
  deps: [
198
- node77,
199
- node63,
198
+ node74,
199
+ node79,
200
200
  node89,
201
- node28,
202
- node71,
203
- node24,
201
+ node33,
202
+ node52,
203
+ node36,
204
204
  node85,
205
- node21,
206
- node23,
207
- node22,
208
- node57,
209
- node26,
210
- node75,
211
- node29,
212
- node51
205
+ node40,
206
+ node42,
207
+ node39,
208
+ node51,
209
+ node37,
210
+ node73,
211
+ node41,
212
+ node56
213
213
  ]
214
214
  });
215
215
 
216
- export { Service16, node20, exports_context };
216
+ export { Service29, node32, exports_context };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service44
3
- } from "./filesystem-v15nq2pf.js";
2
+ Service72
3
+ } from "./websearch-pxwwnbaf.js";
4
4
  import {
5
- Service22
6
- } from "./filesystem-v7gjr6wa.js";
5
+ Service40
6
+ } from "./websearch-z938xz10.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./websearch-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin45,
15
+ Plugin: () => Plugin25,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin45 = define({
20
+ var Plugin25 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service44;
28
- const mcp = yield* Service22;
27
+ const config = yield* Service72;
28
+ const mcp = yield* Service40;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin45, register2, exports_mcp2 };
49
+ export { Plugin25, register2, exports_mcp2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./filesystem-vdfrtany.js";
4
+ } from "./websearch-g5x1q65a.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./filesystem-42nthewb.js";
8
+ } from "./websearch-1p799z25.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./filesystem-ec1grn59.js";
11
+ } from "./websearch-ec1grn59.js";
12
12
  import {
13
- Service71,
14
- node75
15
- } from "./filesystem-e77w7m4c.js";
13
+ Service69,
14
+ node73
15
+ } from "./websearch-aqa98z50.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./websearch-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service7,
23
+ Service: () => Service11,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node9
25
+ node: () => node13
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service7 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service7, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
38
38
  const bus = yield* Service84;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service71;
40
+ const store = yield* Service69;
41
41
  const location = yield* Service81;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service7.of({ load });
87
+ return Service11.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node9 = makeLocationNode({
98
+ var node13 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node88, FSUtil.node, node85, node75]
101
+ deps: [node88, FSUtil.node, node85, node73]
102
102
  });
103
103
 
104
- export { Service7, node9, exports_instructions };
104
+ export { Service11, node13, exports_instructions };
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service84,
4
4
  node88
5
- } from "./filesystem-vdfrtany.js";
5
+ } from "./websearch-g5x1q65a.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make21,
11
11
  diffByKey2
12
- } from "./filesystem-rhjbct0v.js";
12
+ } from "./websearch-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./filesystem-z5v4ffb3.js";
15
+ } from "./websearch-z5v4ffb3.js";
16
16
  import {
17
17
  create3
18
- } from "./filesystem-rdw6cm16.js";
18
+ } from "./websearch-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./filesystem-9rqn6x4v.js";
21
+ } from "./websearch-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event15,
26
+ Event: () => Event9,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options10,
30
- Service: () => Service67,
31
- configured: () => configured11,
32
- layer: () => layer26,
33
- node: () => node71
29
+ Options: () => Options6,
30
+ Service: () => Service50,
31
+ configured: () => configured6,
32
+ layer: () => layer21,
33
+ node: () => node52
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event15 = {
45
+ var Event9 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options10 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service67 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer26 = (options) => Layer.effect(Service67, Effect.gen(function* () {
55
+ var layer21 = (options) => Layer.effect(Service50, Effect.gen(function* () {
56
56
  const bus = yield* Service84;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer26 = (options) => Layer.effect(Service67, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event15.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make20({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer26 = (options) => Layer.effect(Service67, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service67.of({
93
+ return Service50.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer26 = (options) => Layer.effect(Service67, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured11(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service67,
110
- layer: layer26(options),
109
+ service: Service50,
110
+ layer: layer21(options),
111
111
  deps: [node88]
112
112
  });
113
113
  }
114
- var node71 = configured11();
114
+ var node52 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event15, Options10, Service67, layer26, configured11, node71, exports_instruction_discovery };
145
+ export { File2, Event9, Options6, Service50, layer21, configured6, node52, exports_instruction_discovery };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./filesystem-emrn6kk6.js";
7
+ } from "./websearch-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";