@opencode/core 0.0.0-dev-20201 → 0.0.0-dev-20206

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 (803) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{instruction-discovery-nev00ktm.js → model-resolver-06x0cg99.js} +10 -10
  8. package/dist/chunks/{instruction-discovery-g4y22msr.js → model-resolver-0ad39zh4.js} +20 -20
  9. package/dist/chunks/{instruction-discovery-qgn6gcr1.js → model-resolver-0jwsre1p.js} +5 -5
  10. package/dist/chunks/{instruction-discovery-d48vtfkp.js → model-resolver-0mm9aq32.js} +10 -10
  11. package/dist/chunks/{instruction-discovery-0mcn7v1a.js → model-resolver-0mtkqq6e.js} +6 -6
  12. package/dist/chunks/{instruction-discovery-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{instruction-discovery-qgxmrbd2.js → model-resolver-0xyjb436.js} +13 -13
  14. package/dist/chunks/{instruction-discovery-tme0fwn1.js → model-resolver-0yw898m4.js} +40 -40
  15. package/dist/chunks/{instruction-discovery-0hevse2d.js → model-resolver-1aq54yaq.js} +24 -24
  16. package/dist/chunks/{instruction-discovery-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{instruction-discovery-0p94bapm.js → model-resolver-1ey1z90k.js} +24 -24
  18. package/dist/chunks/{instruction-discovery-4y9v7fm9.js → model-resolver-1h9atmhq.js} +19 -19
  19. package/dist/chunks/{instruction-discovery-sbv68sdq.js → model-resolver-1nv7ymr6.js} +25 -25
  20. package/dist/chunks/{instruction-discovery-tg8xb7s7.js → model-resolver-1qghahg6.js} +23 -23
  21. package/dist/chunks/{instruction-discovery-hexry4kh.js → model-resolver-1r2atdqm.js} +24 -24
  22. package/dist/chunks/{instruction-discovery-9czdv8f4.js → model-resolver-1wjepk3t.js} +36 -36
  23. package/dist/chunks/{instruction-discovery-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  24. package/dist/chunks/{instruction-discovery-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  25. package/dist/chunks/{instruction-discovery-b998031c.js → model-resolver-267sahkc.js} +48 -48
  26. package/dist/chunks/{instruction-discovery-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{instruction-discovery-fvanntqq.js → model-resolver-2d57kztd.js} +6 -6
  28. package/dist/chunks/{instruction-discovery-1gmn1d4c.js → model-resolver-2fvr2s65.js} +30 -30
  29. package/dist/chunks/{instruction-discovery-9eczen2y.js → model-resolver-2zdc6rg7.js} +11 -11
  30. package/dist/chunks/{instruction-discovery-4nt6gyzn.js → model-resolver-31879egc.js} +17 -17
  31. package/dist/chunks/{instruction-discovery-7x2gjr73.js → model-resolver-31j6fr5m.js} +17 -17
  32. package/dist/chunks/{instruction-discovery-v6ghzfeb.js → model-resolver-35ng7dkh.js} +5 -5
  33. package/dist/chunks/{instruction-discovery-253mwr29.js → model-resolver-35xajyyx.js} +13 -13
  34. package/dist/chunks/{instruction-discovery-dj9sq318.js → model-resolver-37s12vcn.js} +5 -5
  35. package/dist/chunks/{instruction-discovery-dbfdzhzx.js → model-resolver-3c98vr6c.js} +10 -10
  36. package/dist/chunks/{instruction-discovery-tf8k2ct1.js → model-resolver-3dx22m0j.js} +12 -12
  37. package/dist/chunks/{instruction-discovery-vmwh049b.js → model-resolver-3f15rfkp.js} +6 -6
  38. package/dist/chunks/{instruction-discovery-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{instruction-discovery-sy0q8s5r.js → model-resolver-3ghz8s00.js} +19 -19
  40. package/dist/chunks/{instruction-discovery-zf69n85s.js → model-resolver-3h8pbnga.js} +17 -17
  41. package/dist/chunks/{instruction-discovery-5r1fmgqk.js → model-resolver-3hdgzgjd.js} +22 -22
  42. package/dist/chunks/{instruction-discovery-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{instruction-discovery-x2dff076.js → model-resolver-3k23bpvr.js} +9 -9
  44. package/dist/chunks/{instruction-discovery-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{instruction-discovery-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{instruction-discovery-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{instruction-discovery-8d0p2m37.js → model-resolver-40jcz8ad.js} +8 -8
  48. package/dist/chunks/{instruction-discovery-2rk6v76p.js → model-resolver-4111r571.js} +22 -22
  49. package/dist/chunks/{instruction-discovery-jwdv21t5.js → model-resolver-48zhkjc5.js} +78 -76
  50. package/dist/chunks/{instruction-discovery-nzyhnfxz.js → model-resolver-4dgbcxzg.js} +4 -4
  51. package/dist/chunks/{instruction-discovery-h48630q4.js → model-resolver-4gtvk39h.js} +4 -4
  52. package/dist/chunks/{instruction-discovery-xgg9hmxa.js → model-resolver-4kngcreg.js} +37 -37
  53. package/dist/chunks/{instruction-discovery-z4dh3vqn.js → model-resolver-4rhbtwdt.js} +9 -9
  54. package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
  55. package/dist/chunks/{instruction-discovery-10zks11j.js → model-resolver-4w4q249n.js} +8 -8
  56. package/dist/chunks/{instruction-discovery-mygxndw1.js → model-resolver-55kqbvq6.js} +9 -9
  57. package/dist/chunks/{instruction-discovery-56gdpj1q.js → model-resolver-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{instruction-discovery-57ez7d0k.js → model-resolver-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{instruction-discovery-h4psvgch.js → model-resolver-5ctg7cef.js} +51 -33
  60. package/dist/chunks/{instruction-discovery-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  61. package/dist/chunks/{instruction-discovery-ydyhm6d1.js → model-resolver-5jmkacqm.js} +2 -2
  62. package/dist/chunks/{instruction-discovery-csym5fq6.js → model-resolver-5jqe332k.js} +8 -8
  63. package/dist/chunks/{instruction-discovery-krfewakq.js → model-resolver-5kgz3sjj.js} +17 -17
  64. package/dist/chunks/{instruction-discovery-4rttqgcn.js → model-resolver-5nb4515h.js} +29 -29
  65. package/dist/chunks/model-resolver-5qyz8na8.js +507 -0
  66. package/dist/chunks/{instruction-discovery-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{instruction-discovery-bkekp0bs.js → model-resolver-662kcsnq.js} +17 -17
  68. package/dist/chunks/{instruction-discovery-669tq793.js → model-resolver-669tq793.js} +1 -1
  69. package/dist/chunks/{instruction-discovery-cercamy6.js → model-resolver-6bwfswtt.js} +25 -25
  70. package/dist/chunks/{instruction-discovery-9z1p3ewq.js → model-resolver-6kkcd6qd.js} +11 -11
  71. package/dist/chunks/{instruction-discovery-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{instruction-discovery-ks9yaxq2.js → model-resolver-6ncjhc5z.js} +33 -33
  73. package/dist/chunks/{instruction-discovery-1s4jnf68.js → model-resolver-6nf8xs8b.js} +54 -40
  74. package/dist/chunks/{instruction-discovery-0m9abmmn.js → model-resolver-6ntqtawn.js} +46 -46
  75. package/dist/chunks/{instruction-discovery-1379bkbv.js → model-resolver-6st2m2tt.js} +12 -12
  76. package/dist/chunks/{instruction-discovery-v0n01akt.js → model-resolver-6w2apkvv.js} +25 -25
  77. package/dist/chunks/{instruction-discovery-19m74aww.js → model-resolver-6xec00j9.js} +26 -26
  78. package/dist/chunks/{instruction-discovery-1e45gtaj.js → model-resolver-6ytc35nj.js} +19 -19
  79. package/dist/chunks/{instruction-discovery-n6g7pm9a.js → model-resolver-70pv625h.js} +20 -20
  80. package/dist/chunks/{instruction-discovery-3vqk67dv.js → model-resolver-72syy6q7.js} +4 -4
  81. package/dist/chunks/{instruction-discovery-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{instruction-discovery-e2yk33t0.js → model-resolver-7f9xvnkr.js} +18 -18
  83. package/dist/chunks/{instruction-discovery-w92k2e0p.js → model-resolver-7fkffz83.js} +6 -6
  84. package/dist/chunks/{instruction-discovery-g93jr2kh.js → model-resolver-7pnt7zw0.js} +7 -7
  85. package/dist/chunks/{instruction-discovery-gaz93y6q.js → model-resolver-7y88vt3g.js} +7 -7
  86. package/dist/chunks/{instruction-discovery-73tb2d7t.js → model-resolver-7yh4e7ss.js} +3 -3
  87. package/dist/chunks/{instruction-discovery-2g0ztak0.js → model-resolver-84gx0bmj.js} +1 -1
  88. package/dist/chunks/{instruction-discovery-tcezcvh9.js → model-resolver-89znhe33.js} +4 -4
  89. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{instruction-discovery-j2g318hr.js → model-resolver-8emzq1v9.js} +11 -11
  91. package/dist/chunks/{instruction-discovery-qj9rkb8h.js → model-resolver-8h1zszsv.js} +17 -17
  92. package/dist/chunks/{instruction-discovery-nqm1jzm6.js → model-resolver-8q7htp70.js} +22 -22
  93. package/dist/chunks/{instruction-discovery-t1pte4dq.js → model-resolver-8q8smbff.js} +11 -11
  94. package/dist/chunks/{instruction-discovery-s595rm5c.js → model-resolver-8qa1wps4.js} +3 -3
  95. package/dist/chunks/{instruction-discovery-gjr572bt.js → model-resolver-8tpjzhs1.js} +6 -6
  96. package/dist/chunks/{instruction-discovery-4bm5ja14.js → model-resolver-8tsdq50x.js} +4 -4
  97. package/dist/chunks/{instruction-discovery-9zmqhxbz.js → model-resolver-8ttzzsr1.js} +44 -44
  98. package/dist/chunks/{instruction-discovery-aazjjeev.js → model-resolver-8x7avsgx.js} +5 -5
  99. package/dist/chunks/{instruction-discovery-7f3mg9np.js → model-resolver-90zwzkn8.js} +22 -22
  100. package/dist/chunks/{instruction-discovery-hkpbwr5n.js → model-resolver-93gypvht.js} +34 -34
  101. package/dist/chunks/{instruction-discovery-zka01a4k.js → model-resolver-93smetpw.js} +3 -3
  102. package/dist/chunks/{instruction-discovery-gfvb90ym.js → model-resolver-94ek1h2f.js} +2 -2
  103. package/dist/chunks/{instruction-discovery-nsm263hr.js → model-resolver-9h236asx.js} +32 -32
  104. package/dist/chunks/{instruction-discovery-2fwe55ar.js → model-resolver-9y9w4qw6.js} +6 -6
  105. package/dist/chunks/{instruction-discovery-hv4kwx9p.js → model-resolver-a0s8413t.js} +5 -5
  106. package/dist/chunks/{instruction-discovery-9jzp6rtr.js → model-resolver-a3ftg8j6.js} +9 -9
  107. package/dist/chunks/{instruction-discovery-j41jk2xd.js → model-resolver-a8vp4ryg.js} +5 -5
  108. package/dist/chunks/{instruction-discovery-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  109. package/dist/chunks/{instruction-discovery-qajb4ab4.js → model-resolver-acnx8j53.js} +6 -6
  110. package/dist/chunks/{instruction-discovery-vjpvmx0s.js → model-resolver-ak9g7d9n.js} +28 -28
  111. package/dist/chunks/{instruction-discovery-nhmmjf3s.js → model-resolver-b03gjzb4.js} +30 -30
  112. package/dist/chunks/{instruction-discovery-977ht9t5.js → model-resolver-b37fysv1.js} +13 -13
  113. package/dist/chunks/{instruction-discovery-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{instruction-discovery-zd30eb5w.js → model-resolver-b7b4ctej.js} +5 -5
  115. package/dist/chunks/{instruction-discovery-btkw48kz.js → model-resolver-bb326kwh.js} +17 -17
  116. package/dist/chunks/{instruction-discovery-1n6cta5e.js → model-resolver-bds46r3z.js} +50 -50
  117. package/dist/chunks/{instruction-discovery-bzrgxa7n.js → model-resolver-beg0vm9f.js} +14 -14
  118. package/dist/chunks/{instruction-discovery-xxttpmb7.js → model-resolver-bg8arhpn.js} +36 -36
  119. package/dist/chunks/{instruction-discovery-espax8zg.js → model-resolver-bgc5ggmx.js} +4 -4
  120. package/dist/chunks/{instruction-discovery-3yrwsvjf.js → model-resolver-bhgmygfr.js} +7 -7
  121. package/dist/chunks/{instruction-discovery-dtvc26hn.js → model-resolver-bmcwmng9.js} +8 -8
  122. package/dist/chunks/{instruction-discovery-rxmdwt28.js → model-resolver-bmv2wk1h.js} +28 -28
  123. package/dist/chunks/{instruction-discovery-a2qe2ev9.js → model-resolver-bnmr3cva.js} +8 -8
  124. package/dist/chunks/{instruction-discovery-5dm9y5jy.js → model-resolver-bpm0h9ra.js} +19 -19
  125. package/dist/chunks/{instruction-discovery-1ajx6rf5.js → model-resolver-br0tr5aq.js} +8 -8
  126. package/dist/chunks/{instruction-discovery-4m57d5j7.js → model-resolver-c1q35zrn.js} +20 -20
  127. package/dist/chunks/{instruction-discovery-p6wxjpka.js → model-resolver-c35597j6.js} +4 -4
  128. package/dist/chunks/{instruction-discovery-gcxftnca.js → model-resolver-c5885s0q.js} +11 -11
  129. package/dist/chunks/{instruction-discovery-zee1rnkq.js → model-resolver-ca7w653e.js} +4 -4
  130. package/dist/chunks/{instruction-discovery-2jmd7hhv.js → model-resolver-cbx2ya3s.js} +26 -26
  131. package/dist/chunks/{instruction-discovery-618n4sfx.js → model-resolver-cgmaehw3.js} +4 -4
  132. package/dist/chunks/{instruction-discovery-54tcyq79.js → model-resolver-ckecvw8r.js} +2 -2
  133. package/dist/chunks/{instruction-discovery-dq0v80fr.js → model-resolver-cnvnzs5z.js} +12 -12
  134. package/dist/chunks/{instruction-discovery-gvbq99q9.js → model-resolver-d2m9pb5z.js} +20 -20
  135. package/dist/chunks/{instruction-discovery-m11z29hh.js → model-resolver-d3mkwwpa.js} +41 -41
  136. package/dist/chunks/{instruction-discovery-sd347z6p.js → model-resolver-d3ndzfne.js} +36 -36
  137. package/dist/chunks/{instruction-discovery-cwa6csj7.js → model-resolver-d4he2qe1.js} +9 -9
  138. package/dist/chunks/{instruction-discovery-313btym2.js → model-resolver-d9ayxges.js} +49 -49
  139. package/dist/chunks/{instruction-discovery-8ahh5dpe.js → model-resolver-dfbbfk99.js} +23 -23
  140. package/dist/chunks/{instruction-discovery-cjb35hf5.js → model-resolver-dfbyaknh.js} +5 -5
  141. package/dist/chunks/{instruction-discovery-r55skn5g.js → model-resolver-dr1fjqgk.js} +8 -8
  142. package/dist/chunks/{instruction-discovery-p3762mbd.js → model-resolver-dzrsrzty.js} +8 -8
  143. package/dist/chunks/{instruction-discovery-mx08f3d4.js → model-resolver-e8n3qg4t.js} +37 -37
  144. package/dist/chunks/{instruction-discovery-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
  145. package/dist/chunks/{instruction-discovery-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{instruction-discovery-4p9pg674.js → model-resolver-eq6d70b7.js} +44 -44
  147. package/dist/chunks/{instruction-discovery-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{instruction-discovery-t071t56z.js → model-resolver-exarhmpa.js} +15 -15
  149. package/dist/chunks/{instruction-discovery-50mzsvk4.js → model-resolver-f3ngv102.js} +4 -4
  150. package/dist/chunks/{instruction-discovery-xj1gnyjz.js → model-resolver-f3rwh7he.js} +28 -28
  151. package/dist/chunks/{instruction-discovery-5ebwwas2.js → model-resolver-fmcqyzhx.js} +9 -9
  152. package/dist/chunks/{instruction-discovery-hekxc47r.js → model-resolver-fp2xarvc.js} +1 -1
  153. package/dist/chunks/{instruction-discovery-0g47z5db.js → model-resolver-fp8b183e.js} +10 -10
  154. package/dist/chunks/{instruction-discovery-by21sspw.js → model-resolver-gce79w0q.js} +18 -18
  155. package/dist/chunks/{instruction-discovery-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{instruction-discovery-nt6vq48h.js → model-resolver-gja2jk4r.js} +57 -57
  157. package/dist/chunks/{instruction-discovery-rnce621k.js → model-resolver-gse5gt66.js} +4 -4
  158. package/dist/chunks/{instruction-discovery-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{instruction-discovery-95m3yrnv.js → model-resolver-gyswrdsk.js} +1 -1
  160. package/dist/chunks/{instruction-discovery-cnxtgke5.js → model-resolver-h6pajdtw.js} +10 -10
  161. package/dist/chunks/{instruction-discovery-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{instruction-discovery-v78mbkhs.js → model-resolver-ha2jz5gs.js} +11 -11
  163. package/dist/chunks/{instruction-discovery-ngfwjn3z.js → model-resolver-hagmrwq3.js} +61 -61
  164. package/dist/chunks/{instruction-discovery-2gps5qkv.js → model-resolver-hez0a82b.js} +32 -32
  165. package/dist/chunks/{instruction-discovery-aep3g16v.js → model-resolver-hgf5wkwr.js} +22 -22
  166. package/dist/chunks/{instruction-discovery-dbv05mm3.js → model-resolver-hnr8f6ws.js} +4 -4
  167. package/dist/chunks/{instruction-discovery-9famhe87.js → model-resolver-j3pfw49f.js} +15 -15
  168. package/dist/chunks/{instruction-discovery-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  169. package/dist/chunks/{instruction-discovery-bw9zjykr.js → model-resolver-j5w2yx54.js} +6 -6
  170. package/dist/chunks/{instruction-discovery-vmgq4x8b.js → model-resolver-j699j8bt.js} +2 -2
  171. package/dist/chunks/{instruction-discovery-6abecr9g.js → model-resolver-j7d6ser5.js} +25 -25
  172. package/dist/chunks/{instruction-discovery-hv2q3w3f.js → model-resolver-j9gbxbd4.js} +3 -3
  173. package/dist/chunks/{instruction-discovery-rt9dj4yq.js → model-resolver-jc9nhtt9.js} +13 -13
  174. package/dist/chunks/{instruction-discovery-6gjdrgth.js → model-resolver-jehhjn5p.js} +11 -11
  175. package/dist/chunks/{instruction-discovery-zc5xmhzd.js → model-resolver-jnt43jm9.js} +98 -98
  176. package/dist/chunks/{instruction-discovery-rf4f2dr1.js → model-resolver-jqseed9b.js} +17 -17
  177. package/dist/chunks/{instruction-discovery-0de1jdh9.js → model-resolver-jwz36s33.js} +175 -175
  178. package/dist/chunks/{instruction-discovery-essdahbf.js → model-resolver-k50stbs9.js} +10 -10
  179. package/dist/chunks/{instruction-discovery-mazzq2sp.js → model-resolver-k7fv6ppr.js} +11 -11
  180. package/dist/chunks/{instruction-discovery-fwbecdke.js → model-resolver-k7h4drr1.js} +27 -27
  181. package/dist/chunks/{instruction-discovery-462mt53s.js → model-resolver-kcrma5rg.js} +14 -14
  182. package/dist/chunks/{instruction-discovery-3w21a4te.js → model-resolver-kd7vez3r.js} +4 -4
  183. package/dist/chunks/{instruction-discovery-9dq8xf2p.js → model-resolver-kt0b5dy1.js} +21 -21
  184. package/dist/chunks/{instruction-discovery-ec8m6frp.js → model-resolver-kw6cevd8.js} +40 -40
  185. package/dist/chunks/{instruction-discovery-4crd9m5v.js → model-resolver-m0t981be.js} +27 -27
  186. package/dist/chunks/{instruction-discovery-s5358avs.js → model-resolver-m11tzp6r.js} +5 -5
  187. package/dist/chunks/{instruction-discovery-ywkfy99j.js → model-resolver-m2d0j7c0.js} +9 -9
  188. package/dist/chunks/{instruction-discovery-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{instruction-discovery-f3cngsvp.js → model-resolver-m3qnxpr9.js} +9 -9
  190. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{instruction-discovery-hrr3p34g.js → model-resolver-mbekgbbb.js} +3 -3
  192. package/dist/chunks/{instruction-discovery-7jjmtfmg.js → model-resolver-mj3g57tw.js} +20 -20
  193. package/dist/chunks/{instruction-discovery-4yrht77e.js → model-resolver-mnbtwaby.js} +8 -8
  194. package/dist/chunks/{instruction-discovery-mz7s15yj.js → model-resolver-ms5024b2.js} +6 -6
  195. package/dist/chunks/{instruction-discovery-kh9sx4kg.js → model-resolver-ms93yq6r.js} +8 -8
  196. package/dist/chunks/{instruction-discovery-1ed2t66p.js → model-resolver-mvksx64m.js} +4 -4
  197. package/dist/chunks/{instruction-discovery-4hy5hsgr.js → model-resolver-n0eb95ej.js} +11 -11
  198. package/dist/chunks/model-resolver-n4x6w9v1.js +26 -0
  199. package/dist/chunks/{instruction-discovery-htjw9qza.js → model-resolver-naj50rvz.js} +8 -8
  200. package/dist/chunks/{instruction-discovery-57e9z27j.js → model-resolver-nhqjn2vx.js} +5 -5
  201. package/dist/chunks/{instruction-discovery-4qj1kjwb.js → model-resolver-nk4qtf6b.js} +31 -31
  202. package/dist/chunks/{instruction-discovery-hkfg6fzm.js → model-resolver-nxhqveyz.js} +5 -5
  203. package/dist/chunks/{instruction-discovery-nzks3jc8.js → model-resolver-nzks3jc8.js} +3 -3
  204. package/dist/chunks/model-resolver-pg8etanv.js +252 -0
  205. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{instruction-discovery-5cmxdwv8.js → model-resolver-pk2244jm.js} +3 -3
  207. package/dist/chunks/{instruction-discovery-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  208. package/dist/chunks/{instruction-discovery-0v53mg2y.js → model-resolver-pmr4s4kc.js} +4 -4
  209. package/dist/chunks/{instruction-discovery-d1nyvj9r.js → model-resolver-pvz5x29g.js} +3 -3
  210. package/dist/chunks/{instruction-discovery-83nzp4gh.js → model-resolver-q1aqvm29.js} +25 -25
  211. package/dist/chunks/{instruction-discovery-4snd7rxp.js → model-resolver-q5q8f7qb.js} +33 -33
  212. package/dist/chunks/{instruction-discovery-sxz6gkc3.js → model-resolver-qa3qhgw8.js} +7 -7
  213. package/dist/chunks/{instruction-discovery-hnr5yq9h.js → model-resolver-qn4ba14w.js} +5 -5
  214. package/dist/chunks/{instruction-discovery-57b9ws8p.js → model-resolver-qqeeq2t9.js} +4 -4
  215. package/dist/chunks/{instruction-discovery-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  216. package/dist/chunks/{instruction-discovery-mj1xe8px.js → model-resolver-r6zp23ak.js} +17 -17
  217. package/dist/chunks/{instruction-discovery-f6msy67p.js → model-resolver-r8v59qyv.js} +16 -16
  218. package/dist/chunks/{instruction-discovery-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{instruction-discovery-eaj1djv9.js → model-resolver-rhjbct0v.js} +8 -8
  220. package/dist/chunks/{instruction-discovery-vrw7f2ye.js → model-resolver-rsh5se6h.js} +9 -9
  221. package/dist/chunks/{instruction-discovery-qw8pzqw4.js → model-resolver-rzmcp3en.js} +16 -16
  222. package/dist/chunks/{instruction-discovery-xf7wsf7v.js → model-resolver-rznw7p1c.js} +30 -30
  223. package/dist/chunks/{instruction-discovery-59c5e31r.js → model-resolver-s0thh5dw.js} +10 -10
  224. package/dist/chunks/{instruction-discovery-pa3zv37e.js → model-resolver-s3pj7kac.js} +12 -12
  225. package/dist/chunks/{instruction-discovery-e0ncgxgt.js → model-resolver-s5defpr9.js} +14 -14
  226. package/dist/chunks/{instruction-discovery-3y9a08y5.js → model-resolver-s6xd6wvt.js} +7 -7
  227. package/dist/chunks/{instruction-discovery-b35m9fe4.js → model-resolver-t058hrzj.js} +22 -22
  228. package/dist/chunks/{instruction-discovery-n2f6f3b8.js → model-resolver-tahc25fw.js} +3 -3
  229. package/dist/chunks/{instruction-discovery-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{instruction-discovery-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  231. package/dist/chunks/{instruction-discovery-9hm3kz5r.js → model-resolver-tftgz9xd.js} +3 -3
  232. package/dist/chunks/{instruction-discovery-1v0y93kt.js → model-resolver-tj8qce5x.js} +26 -26
  233. package/dist/chunks/{instruction-discovery-v86d1rgq.js → model-resolver-tm1heg02.js} +8 -8
  234. package/dist/chunks/{instruction-discovery-wtj1fkcm.js → model-resolver-tq6twe20.js} +30 -30
  235. package/dist/chunks/{instruction-discovery-ez6g3cfe.js → model-resolver-tr8rwgax.js} +12 -12
  236. package/dist/chunks/{instruction-discovery-1zt3wmc0.js → model-resolver-tt3q36pf.js} +9 -9
  237. package/dist/chunks/{instruction-discovery-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  238. package/dist/chunks/{instruction-discovery-m7kk9p21.js → model-resolver-tyfabpdn.js} +6 -6
  239. package/dist/chunks/{instruction-discovery-sfjv4z1e.js → model-resolver-tzs7fj4j.js} +48 -48
  240. package/dist/chunks/{instruction-discovery-pt6tajbr.js → model-resolver-v4gwmykp.js} +28 -28
  241. package/dist/chunks/{instruction-discovery-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  242. package/dist/chunks/{instruction-discovery-gthjt79f.js → model-resolver-vspyk4wa.js} +27 -27
  243. package/dist/chunks/{instruction-discovery-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{instruction-discovery-zm898m83.js → model-resolver-w00ed993.js} +5 -5
  246. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{instruction-discovery-0mz76y92.js → model-resolver-w6ns9rpk.js} +27 -27
  248. package/dist/chunks/{instruction-discovery-zmmq3vtx.js → model-resolver-w90vmgx1.js} +40 -40
  249. package/dist/chunks/{instruction-discovery-0ktvqtxx.js → model-resolver-w9j9c9r7.js} +12 -12
  250. package/dist/chunks/{instruction-discovery-psazpmmj.js → model-resolver-wd3x2cqz.js} +2 -2
  251. package/dist/chunks/{instruction-discovery-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  252. package/dist/chunks/{instruction-discovery-atgyr79m.js → model-resolver-weww5mga.js} +19 -19
  253. package/dist/chunks/{instruction-discovery-83kp2sb4.js → model-resolver-wq13kg2q.js} +36 -36
  254. package/dist/chunks/{instruction-discovery-tssg28ba.js → model-resolver-wqk93c07.js} +13 -13
  255. package/dist/chunks/{instruction-discovery-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{instruction-discovery-k1qrnqst.js → model-resolver-x2qdxhwm.js} +8 -8
  257. package/dist/chunks/{instruction-discovery-t52m587s.js → model-resolver-x5vcyvvk.js} +92 -92
  258. package/dist/chunks/{instruction-discovery-qqx79t2y.js → model-resolver-xchhwgmm.js} +13 -13
  259. package/dist/chunks/{instruction-discovery-fhadyd41.js → model-resolver-xfpvjh8w.js} +37 -37
  260. package/dist/chunks/{instruction-discovery-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  261. package/dist/chunks/{instruction-discovery-5jryjte4.js → model-resolver-xmh38ey0.js} +12 -12
  262. package/dist/chunks/model-resolver-xrsqh21y.js +4 -0
  263. package/dist/chunks/{instruction-discovery-hrb0vm0w.js → model-resolver-xtcf9r2h.js} +14 -14
  264. package/dist/chunks/{instruction-discovery-pgwx98q6.js → model-resolver-xvbsysbp.js} +42 -42
  265. package/dist/chunks/{instruction-discovery-d5es2r86.js → model-resolver-y0gws88p.js} +11 -11
  266. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{instruction-discovery-2wmwqrmr.js → model-resolver-y20bgrwx.js} +15 -15
  268. package/dist/chunks/{instruction-discovery-yq75na06.js → model-resolver-y473g9cd.js} +18 -18
  269. package/dist/chunks/{instruction-discovery-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  270. package/dist/chunks/{instruction-discovery-4hbdev4w.js → model-resolver-yajf6e80.js} +28 -28
  271. package/dist/chunks/{instruction-discovery-ah8906zj.js → model-resolver-yfkyvkx0.js} +18 -18
  272. package/dist/chunks/{instruction-discovery-r8xr0va3.js → model-resolver-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{instruction-discovery-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{instruction-discovery-haf9dfsv.js → model-resolver-yryk7av5.js} +7 -7
  275. package/dist/chunks/{instruction-discovery-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  276. package/dist/chunks/{instruction-discovery-kwp4fxk2.js → model-resolver-yzyw4hev.js} +14 -14
  277. package/dist/chunks/{instruction-discovery-bjtzbw4r.js → model-resolver-z07pqspn.js} +3 -3
  278. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{instruction-discovery-y20bjj5g.js → model-resolver-z2c7c2d6.js} +24 -19
  280. package/dist/chunks/{instruction-discovery-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  281. package/dist/chunks/{instruction-discovery-g7cwama8.js → model-resolver-z97dy45p.js} +12 -12
  282. package/dist/chunks/{instruction-discovery-6x932a0b.js → model-resolver-zckyz7ek.js} +9 -9
  283. package/dist/chunks/{instruction-discovery-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{instruction-discovery-t6f8zp4h.js → model-resolver-zfa6q2z4.js} +37 -37
  285. package/dist/chunks/{instruction-discovery-63xfv5kt.js → model-resolver-zfy63nf8.js} +20 -20
  286. package/dist/chunks/{instruction-discovery-j61gwjnb.js → model-resolver-zmg0hy4v.js} +11 -11
  287. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{instruction-discovery-fkj9hg5w.js → model-resolver-zvnydg09.js} +18 -18
  289. package/dist/chunks/{instruction-discovery-tpwc6ef7.js → model-resolver-zx0yy5px.js} +22 -22
  290. package/dist/chunks/{instruction-discovery-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{instruction-discovery-fjvydvzm.js → model-resolver-zxrxjv84.js} +9 -9
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +82 -82
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  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 +108 -108
  478. package/dist/mcp/instructions.js +124 -124
  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 +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +333 -333
  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/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +94 -94
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +94 -94
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +161 -161
  543. package/dist/plugin/sdk.js +74 -74
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +137 -137
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +84 -84
  551. package/dist/plugin/vcs/hg.js +84 -84
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +223 -223
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +86 -86
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +96 -96
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -132
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +93 -93
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +154 -154
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +223 -223
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +220 -220
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +116 -116
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +217 -217
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +118 -118
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/types/session/compaction.d.ts +5 -0
  660. package/dist/types/session/model-request.d.ts +5 -0
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +14 -14
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +7 -7
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +5 -5
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +87 -87
  690. package/dist/websearch.js +78 -78
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +78 -78
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +96 -96
  701. package/package.json +8 -8
  702. package/dist/chunks/instruction-discovery-2ar97v3n.js +0 -252
  703. package/dist/chunks/instruction-discovery-6kdq0pjd.js +0 -4
  704. package/dist/chunks/instruction-discovery-hy0r23vx.js +0 -507
  705. package/dist/chunks/instruction-discovery-n95b3jav.js +0 -18
  706. package/dist/chunks/instruction-discovery-z6qbewq6.js +0 -26
  707. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{instruction-discovery-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{instruction-discovery-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  798. /package/dist/chunks/{instruction-discovery-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{instruction-discovery-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{instruction-discovery-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{instruction-discovery-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./instruction-discovery-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service51
7
- } from "./instruction-discovery-313btym2.js";
6
+ Service48
7
+ } from "./model-resolver-d9ayxges.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./instruction-discovery-2a5m3afh.js";
10
+ } from "./model-resolver-2a5m3afh.js";
11
11
  import {
12
- Service54
13
- } from "./instruction-discovery-0p94bapm.js";
12
+ Service69
13
+ } from "./model-resolver-1ey1z90k.js";
14
14
  import {
15
- Service64
16
- } from "./instruction-discovery-4nt6gyzn.js";
15
+ Service37
16
+ } from "./model-resolver-31879egc.js";
17
17
  import {
18
- Service75
19
- } from "./instruction-discovery-nt6vq48h.js";
18
+ Service55
19
+ } from "./model-resolver-gja2jk4r.js";
20
20
  import {
21
- Service25,
21
+ Service54,
22
22
  resolvePath2
23
- } from "./instruction-discovery-zf69n85s.js";
23
+ } from "./model-resolver-3h8pbnga.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./instruction-discovery-vzs5sf6e.js";
29
+ } from "./model-resolver-vzs5sf6e.js";
30
30
  import {
31
- Service56,
31
+ Service79,
32
32
  name15
33
- } from "./instruction-discovery-by21sspw.js";
33
+ } from "./model-resolver-gce79w0q.js";
34
34
  import {
35
- NotFoundError6,
36
- Service48
37
- } from "./instruction-discovery-sfjv4z1e.js";
35
+ NotFoundError4,
36
+ Service43
37
+ } from "./model-resolver-tzs7fj4j.js";
38
38
  import {
39
- Service30
40
- } from "./instruction-discovery-zc5xmhzd.js";
39
+ Service19
40
+ } from "./model-resolver-jnt43jm9.js";
41
41
  import {
42
42
  scan2
43
- } from "./instruction-discovery-rnce621k.js";
43
+ } from "./model-resolver-gse5gt66.js";
44
44
  import {
45
45
  __export
46
- } from "./instruction-discovery-9rqn6x4v.js";
46
+ } from "./model-resolver-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input9,
53
- Plugin: () => Plugin29,
54
- ShellTool: () => exports_shell2,
55
- name: () => name9
52
+ Input: () => Input6,
53
+ Plugin: () => Plugin7,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name6
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name9 = "shell";
59
+ var name6 = "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 Input9 = Schema.Struct({
73
+ var Input6 = 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 Plugin29 = {
119
+ var Plugin7 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service30;
123
- const jobs = yield* Service64;
122
+ const sessions = yield* Service19;
123
+ const jobs = yield* Service37;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service54;
126
- const access = yield* Service25;
127
- const shell = yield* Service48;
128
- const shellSelect = yield* Service56;
125
+ const environment = yield* Service69;
126
+ const access = yield* Service54;
127
+ const shell = yield* Service43;
128
+ const shellSelect = yield* Service79;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service75;
131
- const config = yield* Service51;
130
+ const permission = yield* Service55;
131
+ const config = yield* Service48;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin29 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name9,
150
+ action: name6,
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 Plugin29 = {
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: name9,
187
+ name: name6,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input9,
190
+ input: Input6,
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;
@@ -206,7 +206,7 @@ var Plugin29 = {
206
206
  const run = Effect.gen(function* () {
207
207
  const result = yield* shell.result(info);
208
208
  if (!result.capture)
209
- return yield* new NotFoundError6({ id: info.id });
209
+ return yield* new NotFoundError4({ id: info.id });
210
210
  const output = output2(result);
211
211
  return {
212
212
  ...output,
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
220
220
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
221
221
  const job = yield* jobs.start({
222
222
  id: info.id,
223
- type: name9,
223
+ type: name6,
224
224
  title: info.command,
225
225
  metadata: { sessionID: context.sessionID, shellID: info.id },
226
226
  recovery: {
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
250
250
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
251
251
  })).pipe(Effect.orDie);
252
252
  const hook = (event) => Effect.gen(function* () {
253
- const tool = event.tools[name9];
253
+ const tool = event.tools[name6];
254
254
  if (!tool)
255
255
  return;
256
256
  tool.description = description(name15(yield* compatibleShell));
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
261
261
  })
262
262
  };
263
263
 
264
- export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin29, exports_shell2 };
264
+ export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin7, exports_shell };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./instruction-discovery-gd4qta3r.js";
3
+ } from "./model-resolver-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./instruction-discovery-tvtrv512.js";
6
+ } from "./model-resolver-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./instruction-discovery-rdw6cm16.js";
9
+ } from "./model-resolver-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./instruction-discovery-9rqn6x4v.js";
12
+ } from "./model-resolver-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service50,
21
+ Service: () => Service45,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node54
23
+ node: () => node47
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service50 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service45 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service50, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service50.of({
119
+ return Service45.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node54 = makeLocationNode({
137
- service: Service50,
136
+ var node47 = makeLocationNode({
137
+ service: Service45,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service50, node54, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service45, node47, exports_tool_output2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./instruction-discovery-v78mbkhs.js";
3
+ } from "./model-resolver-ha2jz5gs.js";
4
4
  import {
5
- Service83
6
- } from "./instruction-discovery-f6msy67p.js";
5
+ Service80
6
+ } from "./model-resolver-r8v59qyv.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./instruction-discovery-xxttpmb7.js";
9
+ Event20
10
+ } from "./model-resolver-bg8arhpn.js";
11
11
  import {
12
- ID10,
12
+ ID14,
13
13
  MethodID2
14
- } from "./instruction-discovery-83nzp4gh.js";
14
+ } from "./model-resolver-q1aqvm29.js";
15
15
  import {
16
16
  which2
17
- } from "./instruction-discovery-qaymkmh1.js";
17
+ } from "./model-resolver-qaymkmh1.js";
18
18
  import {
19
- ID9
20
- } from "./instruction-discovery-2gps5qkv.js";
19
+ ID12
20
+ } from "./model-resolver-hez0a82b.js";
21
21
  import {
22
22
  iife2
23
- } from "./instruction-discovery-1kg9ymc8.js";
23
+ } from "./model-resolver-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./instruction-discovery-0mcn7v1a.js";
26
+ } from "./model-resolver-0mtkqq6e.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID9.azure);
46
+ const configured = yield* configuredSettings2(ID12.azure);
47
47
  const processes = yield* AppProcess.Service;
48
- const bus = yield* Service83;
48
+ const bus = yield* Service80;
49
49
  const tokens = new Map;
50
50
  const loading = Semaphore.makeUnsafe(1);
51
51
  const loaded = {};
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID9.azure,
82
+ integrationID: ID12.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID9.azure,
88
+ integrationID: ID12.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID9.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID9.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID9.azure)
178
+ if (evt.model.providerID !== ID12.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID9.azure });
187
+ }), { providerID: ID12.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID9.azure)
189
+ if (evt.model.providerID !== ID12.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID9.azure });
198
+ }), { providerID: ID12.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,38 +1,38 @@
1
1
  import {
2
- Service80
3
- } from "./instruction-discovery-462mt53s.js";
2
+ Service75
3
+ } from "./model-resolver-kcrma5rg.js";
4
4
  import {
5
- Service54
6
- } from "./instruction-discovery-0p94bapm.js";
5
+ Service69
6
+ } from "./model-resolver-1ey1z90k.js";
7
7
  import {
8
- Service16,
8
+ Service46,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./instruction-discovery-253mwr29.js";
11
+ } from "./model-resolver-35xajyyx.js";
12
12
  import {
13
- Service17
14
- } from "./instruction-discovery-yq75na06.js";
13
+ Service65
14
+ } from "./model-resolver-y473g9cd.js";
15
15
  import {
16
- Service75
17
- } from "./instruction-discovery-nt6vq48h.js";
16
+ Service55
17
+ } from "./model-resolver-gja2jk4r.js";
18
18
  import {
19
- Service25,
19
+ Service54,
20
20
  resolvePath2
21
- } from "./instruction-discovery-zf69n85s.js";
21
+ } from "./model-resolver-3h8pbnga.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./instruction-discovery-6prwharc.js";
24
+ } from "./model-resolver-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./instruction-discovery-9rqn6x4v.js";
27
+ } from "./model-resolver-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
33
  Input: () => Input4,
34
- Output: () => Output4,
35
- Plugin: () => Plugin22,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin5,
36
36
  name: () => name4
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output4 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin22 = {
106
+ var Plugin5 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service25;
110
- const fileMutation = yield* Service16;
111
- const environment = yield* Service54;
112
- const formatter = yield* Service17;
113
- const location = yield* Service80;
114
- const permission = yield* Service75;
109
+ const access = yield* Service54;
110
+ const fileMutation = yield* Service46;
111
+ const environment = yield* Service69;
112
+ const formatter = yield* Service65;
113
+ const location = yield* Service75;
114
+ const permission = yield* Service55;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
116
  name: name4,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
119
  input: Input4,
120
- output: Output4,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin22 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name4, Input4, Output4, Plugin22, exports_edit };
197
+ export { name4, Input4, Output3, Plugin5, exports_edit };
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./instruction-discovery-f6msy67p.js";
2
+ Service80,
3
+ node84
4
+ } from "./model-resolver-r8v59qyv.js";
5
5
  import {
6
- Service65,
7
- node69
8
- } from "./instruction-discovery-977ht9t5.js";
6
+ Service51,
7
+ node54
8
+ } from "./model-resolver-b37fysv1.js";
9
9
  import {
10
10
  create3
11
- } from "./instruction-discovery-rdw6cm16.js";
11
+ } from "./model-resolver-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./instruction-discovery-9rqn6x4v.js";
14
+ } from "./model-resolver-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service14,
31
+ Service: () => Service15,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node17
33
+ node: () => node18
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
63
63
  }) {
64
64
  }
65
65
 
66
- class Service14 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service15 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service14, Effect.gen(function* () {
69
- const bus = yield* Service83;
70
- const kv = yield* Service65;
68
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
69
+ const bus = yield* Service80;
70
+ const kv = yield* Service51;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service14.of({
127
+ return Service15.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node17 = makeLocationNode({
188
- service: Service14,
187
+ var node18 = makeLocationNode({
188
+ service: Service15,
189
189
  layer,
190
- deps: [node87, node69]
190
+ deps: [node84, node54]
191
191
  });
192
192
 
193
- export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service14, node17, exports_websearch3, Event3 };
193
+ export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service15, node18, exports_websearch3, Event3 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./instruction-discovery-f6msy67p.js";
2
+ Service80,
3
+ node84
4
+ } from "./model-resolver-r8v59qyv.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./instruction-discovery-tazgh4e4.js";
9
+ } from "./model-resolver-tazgh4e4.js";
10
10
  import {
11
- Service80,
12
- node84
13
- } from "./instruction-discovery-462mt53s.js";
11
+ Service75,
12
+ node79
13
+ } from "./model-resolver-kcrma5rg.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./instruction-discovery-rdw6cm16.js";
17
+ } from "./model-resolver-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./instruction-discovery-9rqn6x4v.js";
20
+ } from "./model-resolver-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -28,9 +28,9 @@ __export(exports_vcs, {
28
28
  FileStatus: () => FileStatus2,
29
29
  Info: () => Info3,
30
30
  Mode: () => Mode2,
31
- Service: () => Service22,
31
+ Service: () => Service14,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node25
33
+ node: () => node17
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service22 extends Context.Service()("@opencode/Vcs") {
48
+ class Service14 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service22, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service80;
53
- const bus = yield* Service83;
52
+ const location = yield* Service75;
53
+ const bus = yield* Service80;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service22.of({
121
+ return Service14.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node25 = makeLocationNode({
168
- service: Service22,
167
+ var node17 = makeLocationNode({
168
+ service: Service14,
169
169
  layer,
170
- deps: [FSUtil.node, node84, node87]
170
+ deps: [FSUtil.node, node79, node84]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service22, node25, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service14, node17, exports_vcs };