@opencode/core 0.0.0-dev-20950 → 0.0.0-dev-20954

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 (789) 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 +75 -75
  7. package/dist/chunks/{model-resolver-eyc9h8gm.js → instance-049ztdrq.js} +4 -4
  8. package/dist/chunks/{model-resolver-zza4sf78.js → instance-06y773be.js} +28 -28
  9. package/dist/chunks/{model-resolver-q0xm7vwc.js → instance-0j77ygfz.js} +6 -6
  10. package/dist/chunks/{model-resolver-yw18zvsa.js → instance-0k1qxdkc.js} +9 -9
  11. package/dist/chunks/{model-resolver-mk389d74.js → instance-0t8zfa62.js} +20 -20
  12. package/dist/chunks/{model-resolver-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{model-resolver-a634dvb9.js → instance-11626hss.js} +15 -15
  14. package/dist/chunks/{model-resolver-0jq9fyba.js → instance-11dqjexa.js} +9 -9
  15. package/dist/chunks/{model-resolver-g05j57d7.js → instance-12khtxcx.js} +5 -5
  16. package/dist/chunks/{model-resolver-5fqe9rrs.js → instance-12tfj69t.js} +13 -13
  17. package/dist/chunks/{model-resolver-xqsvy1tg.js → instance-1359n4t6.js} +11 -11
  18. package/dist/chunks/{model-resolver-2erc5g3s.js → instance-153cwxcv.js} +4 -4
  19. package/dist/chunks/{model-resolver-qsry094s.js → instance-18mxrhrw.js} +5 -5
  20. package/dist/chunks/{model-resolver-9y5jvg7a.js → instance-1c29c2dv.js} +34 -34
  21. package/dist/chunks/{model-resolver-zeadje1f.js → instance-1q02rcrj.js} +22 -22
  22. package/dist/chunks/{model-resolver-f1nae5s7.js → instance-1qwng1wt.js} +14 -14
  23. package/dist/chunks/{model-resolver-d2czbp48.js → instance-1rn5pcm9.js} +4 -4
  24. package/dist/chunks/{model-resolver-9mtvkt7f.js → instance-1rpevywg.js} +20 -20
  25. package/dist/chunks/{model-resolver-pr6x9sxx.js → instance-2c3anf0v.js} +4 -4
  26. package/dist/chunks/{model-resolver-be7qvw84.js → instance-2n295dmf.js} +8 -8
  27. package/dist/chunks/{model-resolver-dmq48mpy.js → instance-2n83m6nt.js} +39 -39
  28. package/dist/chunks/{model-resolver-fftm5veb.js → instance-2tpn8pbq.js} +11 -11
  29. package/dist/chunks/{model-resolver-xjdp5kgq.js → instance-32m51mgg.js} +3 -3
  30. package/dist/chunks/{model-resolver-w0qm4gzb.js → instance-3c2vgzf0.js} +15 -15
  31. package/dist/chunks/{model-resolver-89j1w47y.js → instance-3dxwnv9s.js} +26 -26
  32. package/dist/chunks/{model-resolver-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{model-resolver-0p78r4x4.js → instance-3g642jy4.js} +10 -10
  34. package/dist/chunks/{model-resolver-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{model-resolver-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{model-resolver-ggp1egtm.js → instance-3mtcg1ph.js} +6 -6
  37. package/dist/chunks/{model-resolver-sxzvkvgj.js → instance-3ppptnan.js} +6 -6
  38. package/dist/chunks/{model-resolver-jsjp95jt.js → instance-3ratq7br.js} +13 -13
  39. package/dist/chunks/{model-resolver-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{model-resolver-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{model-resolver-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{model-resolver-aj3rbcf1.js → instance-461nxmbv.js} +5 -5
  43. package/dist/chunks/{model-resolver-9hwaqfsw.js → instance-47jkzegy.js} +5 -5
  44. package/dist/chunks/{model-resolver-7h0gvqqa.js → instance-48r0wrnn.js} +10 -10
  45. package/dist/chunks/{model-resolver-kkhtdzsm.js → instance-4c1c6x0j.js} +20 -20
  46. package/dist/chunks/{model-resolver-der77a5r.js → instance-4f5ys4z8.js} +48 -48
  47. package/dist/chunks/{model-resolver-vsx5rp07.js → instance-4fcyy0r7.js} +37 -37
  48. package/dist/chunks/{model-resolver-d8d1mz9r.js → instance-4h50sa89.js} +28 -28
  49. package/dist/chunks/{model-resolver-rkp05d3h.js → instance-4k1x6kpe.js} +33 -33
  50. package/dist/chunks/{model-resolver-cp937pt4.js → instance-4v7ngy20.js} +4 -4
  51. package/dist/chunks/{model-resolver-54ma36ye.js → instance-54ma36ye.js} +1 -1
  52. package/dist/chunks/{model-resolver-s73414qt.js → instance-55msp0mp.js} +27 -27
  53. package/dist/chunks/{model-resolver-b0dxm10x.js → instance-588c8p84.js} +22 -22
  54. package/dist/chunks/{model-resolver-97aeaand.js → instance-5fec3t3w.js} +9 -9
  55. package/dist/chunks/{model-resolver-5x1d34z2.js → instance-5kbwm9w7.js} +3 -3
  56. package/dist/chunks/{model-resolver-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{model-resolver-cvkyw9pt.js → instance-5nsk3cgd.js} +9 -9
  58. package/dist/chunks/{model-resolver-phvmwwrc.js → instance-5qw0f10w.js} +16 -16
  59. package/dist/chunks/{model-resolver-vh39qgwm.js → instance-5sf8jfzs.js} +7 -7
  60. package/dist/chunks/{model-resolver-j9r8495c.js → instance-5tb5cwdx.js} +3 -3
  61. package/dist/chunks/{model-resolver-y9rz79sf.js → instance-5wpsrqhm.js} +35 -35
  62. package/dist/chunks/instance-65q80m5k.js +26 -0
  63. package/dist/chunks/{model-resolver-xybefm6f.js → instance-68wqtz75.js} +1 -1
  64. package/dist/chunks/{model-resolver-1wp3hb2k.js → instance-6am9e49w.js} +9 -9
  65. package/dist/chunks/{model-resolver-jk540des.js → instance-6g107h22.js} +2 -2
  66. package/dist/chunks/{model-resolver-tkmwgdpd.js → instance-6hh8tjw2.js} +7 -7
  67. package/dist/chunks/{model-resolver-3vswmpk1.js → instance-6hysr14g.js} +34 -34
  68. package/dist/chunks/{model-resolver-ev42rs7f.js → instance-6mt73k75.js} +12 -12
  69. package/dist/chunks/{model-resolver-k0pj753z.js → instance-6n70g1xh.js} +13 -13
  70. package/dist/chunks/{model-resolver-97bpphjt.js → instance-6wh5whrv.js} +13 -13
  71. package/dist/chunks/{model-resolver-4j05sq0m.js → instance-6wmwxeyx.js} +27 -27
  72. package/dist/chunks/{model-resolver-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{model-resolver-y11gfp3c.js → instance-70z6efj4.js} +26 -26
  74. package/dist/chunks/{model-resolver-kwjtxjfb.js → instance-73z18d76.js} +21 -21
  75. package/dist/chunks/{model-resolver-775gj3j1.js → instance-775gj3j1.js} +2 -2
  76. package/dist/chunks/{model-resolver-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{model-resolver-tsktfrs2.js → instance-7g3h11yw.js} +87 -87
  78. package/dist/chunks/{model-resolver-72qbjese.js → instance-7h042088.js} +11 -11
  79. package/dist/chunks/{model-resolver-7kpkhag7.js → instance-7t06q8yg.js} +61 -61
  80. package/dist/chunks/{model-resolver-2r93mh4x.js → instance-81fjg4yx.js} +12 -12
  81. package/dist/chunks/{model-resolver-84txncab.js → instance-84txncab.js} +1 -1
  82. package/dist/chunks/{model-resolver-tcezcvh9.js → instance-89znhe33.js} +4 -4
  83. package/dist/chunks/{model-resolver-n28jv3gc.js → instance-8kyj49b1.js} +11 -11
  84. package/dist/chunks/{model-resolver-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{model-resolver-egwn3b3z.js → instance-8wp5nj2m.js} +2 -2
  86. package/dist/chunks/{model-resolver-91qna3x0.js → instance-91qna3x0.js} +3 -3
  87. package/dist/chunks/{model-resolver-yhd2m4kx.js → instance-98pzc9xt.js} +20 -20
  88. package/dist/chunks/{model-resolver-zwq9gsm5.js → instance-9devznn4.js} +5 -5
  89. package/dist/chunks/{model-resolver-b134vsz7.js → instance-9jaqn8p5.js} +7 -7
  90. package/dist/chunks/{model-resolver-7xfrtcks.js → instance-9mgbv78s.js} +21 -21
  91. package/dist/chunks/{model-resolver-vxvsynfj.js → instance-9mwbd6df.js} +22 -22
  92. package/dist/chunks/{model-resolver-ya3jbp1k.js → instance-9vmcz4h6.js} +24 -24
  93. package/dist/chunks/{model-resolver-7968cave.js → instance-9wqt6yc5.js} +29 -29
  94. package/dist/chunks/{model-resolver-31knp78d.js → instance-a34xer23.js} +18 -18
  95. package/dist/chunks/{model-resolver-zhzk0jbj.js → instance-a6sze9s6.js} +11 -11
  96. package/dist/chunks/{model-resolver-pnkbpv6t.js → instance-a7bcxdzj.js} +9 -9
  97. package/dist/chunks/{model-resolver-kjxvkwmy.js → instance-aseyxkj3.js} +18 -18
  98. package/dist/chunks/{model-resolver-yqev8n43.js → instance-at6w9p8t.js} +18 -18
  99. package/dist/chunks/{model-resolver-scgrse2b.js → instance-b3f8fkhc.js} +5 -5
  100. package/dist/chunks/{model-resolver-wjr9rjd7.js → instance-bjx1sjef.js} +6 -6
  101. package/dist/chunks/{model-resolver-8e2jakfn.js → instance-bschsqn1.js} +11 -11
  102. package/dist/chunks/{model-resolver-9hcy9v3f.js → instance-bvezaeyq.js} +5 -5
  103. package/dist/chunks/{model-resolver-r70na3yp.js → instance-bxqk5pf5.js} +9 -9
  104. package/dist/chunks/instance-by5v678g.js +18 -0
  105. package/dist/chunks/{model-resolver-tm6yce80.js → instance-c2kw168f.js} +14 -14
  106. package/dist/chunks/{model-resolver-c41wscbt.js → instance-c41wscbt.js} +2 -2
  107. package/dist/chunks/{model-resolver-hws0p7qv.js → instance-c4p9y2fc.js} +18 -18
  108. package/dist/chunks/{model-resolver-c8ax2afj.js → instance-c8ax2afj.js} +2 -2
  109. package/dist/chunks/{model-resolver-017v6ka8.js → instance-cbx6rtke.js} +27 -27
  110. package/dist/chunks/{model-resolver-81rxcsqc.js → instance-cdp3vbb0.js} +20 -20
  111. package/dist/chunks/{model-resolver-zxz20fz9.js → instance-cfx9nmr8.js} +24 -24
  112. package/dist/chunks/{model-resolver-vx7qmf9g.js → instance-cqg0hr3x.js} +189 -189
  113. package/dist/chunks/{model-resolver-wphhsbqm.js → instance-crfvgcqx.js} +38 -38
  114. package/dist/chunks/{model-resolver-276bngqz.js → instance-crqsjnwy.js} +14 -14
  115. package/dist/chunks/{model-resolver-1sr5z03x.js → instance-d3svy0c6.js} +38 -38
  116. package/dist/chunks/{model-resolver-21jrmc9g.js → instance-de4tk2kz.js} +16 -16
  117. package/dist/chunks/{model-resolver-e9azs9n6.js → instance-dph5h907.js} +9 -9
  118. package/dist/chunks/{model-resolver-vrcgr47b.js → instance-dpk9s60g.js} +4 -4
  119. package/dist/chunks/{model-resolver-y71avatq.js → instance-dpkg50ah.js} +4 -4
  120. package/dist/chunks/{model-resolver-n6r6gr2k.js → instance-dpwn1cem.js} +11 -11
  121. package/dist/chunks/{model-resolver-apj3cz87.js → instance-dqrdxvr6.js} +19 -19
  122. package/dist/chunks/{model-resolver-dqxsqydv.js → instance-dqxsqydv.js} +1 -1
  123. package/dist/chunks/{model-resolver-xfkkasph.js → instance-drwq78ky.js} +4 -4
  124. package/dist/chunks/{model-resolver-y87z2683.js → instance-dx0ahrbs.js} +11 -11
  125. package/dist/chunks/{model-resolver-vqv75wwx.js → instance-e2s2rsf8.js} +11 -11
  126. package/dist/chunks/{model-resolver-5qd3pb7m.js → instance-e3qxr5gk.js} +2 -2
  127. package/dist/chunks/{model-resolver-7014qyn6.js → instance-e3t2rexw.js} +6 -6
  128. package/dist/chunks/{model-resolver-s57pv86b.js → instance-e3x9se89.js} +35 -35
  129. package/dist/chunks/{model-resolver-2zd7cxc8.js → instance-e55zmt9g.js} +14 -14
  130. package/dist/chunks/{model-resolver-80scg3y3.js → instance-eahhehpg.js} +4 -4
  131. package/dist/chunks/{model-resolver-5y2nakwc.js → instance-ecb995cy.js} +22 -22
  132. package/dist/chunks/{model-resolver-r24h05zg.js → instance-eebbcbg0.js} +25 -25
  133. package/dist/chunks/{model-resolver-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
  134. package/dist/chunks/{model-resolver-tbxprhjc.js → instance-eewvv2kc.js} +54 -54
  135. package/dist/chunks/{model-resolver-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{model-resolver-r05rzvq1.js → instance-em38mb3z.js} +50 -50
  137. package/dist/chunks/{model-resolver-es1vcfrp.js → instance-es1vcfrp.js} +3 -3
  138. package/dist/chunks/{model-resolver-yyc693px.js → instance-etkznbs4.js} +33 -33
  139. package/dist/chunks/{model-resolver-ytye8eex.js → instance-f383z995.js} +28 -28
  140. package/dist/chunks/{model-resolver-v8hntyfk.js → instance-fbdvw7d5.js} +29 -29
  141. package/dist/chunks/{model-resolver-vxby77fw.js → instance-fgem0d3n.js} +8 -8
  142. package/dist/chunks/{model-resolver-7e1nrk9x.js → instance-fhe5w9ys.js} +19 -19
  143. package/dist/chunks/{model-resolver-ch7mpmes.js → instance-fnr33zha.js} +11 -11
  144. package/dist/chunks/{model-resolver-wh1hjrhc.js → instance-ftjfjc71.js} +20 -20
  145. package/dist/chunks/{model-resolver-khmqacep.js → instance-fxaymqdw.js} +4 -4
  146. package/dist/chunks/{model-resolver-gw3qbjtg.js → instance-fy4vjmwr.js} +23 -23
  147. package/dist/chunks/{model-resolver-73bangna.js → instance-g6s0yqyn.js} +15 -15
  148. package/dist/chunks/{model-resolver-ny62zz38.js → instance-g7by923y.js} +11 -11
  149. package/dist/chunks/{model-resolver-xd4yhhbd.js → instance-g8q5r6zk.js} +32 -32
  150. package/dist/chunks/{model-resolver-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{model-resolver-7haz9w5k.js → instance-gd8nhz58.js} +10 -10
  152. package/dist/chunks/{model-resolver-ft3hqk2c.js → instance-gjwgx2c5.js} +9 -9
  153. package/dist/chunks/{model-resolver-8hje7a9v.js → instance-gmxdk168.js} +27 -27
  154. package/dist/chunks/{model-resolver-12tpmng7.js → instance-gsd3cehb.js} +79 -79
  155. package/dist/chunks/{model-resolver-xpkszdg2.js → instance-gshs7jb6.js} +6 -6
  156. package/dist/chunks/{model-resolver-06x8he3q.js → instance-gst7axd9.js} +4 -4
  157. package/dist/chunks/{model-resolver-xpf8z4nb.js → instance-gsxqm9kc.js} +8 -8
  158. package/dist/chunks/{model-resolver-dy66nzqs.js → instance-gw7gqfev.js} +5 -5
  159. package/dist/chunks/{model-resolver-ntwdp302.js → instance-gwcmcykx.js} +4 -4
  160. package/dist/chunks/{model-resolver-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{model-resolver-m93cgr6s.js → instance-h70qh0pf.js} +8 -8
  162. package/dist/chunks/{model-resolver-h7s7r6s9.js → instance-h7s7r6s9.js} +2 -2
  163. package/dist/chunks/{model-resolver-3g3fherm.js → instance-hd5px97x.js} +38 -38
  164. package/dist/chunks/{model-resolver-sm1cpy88.js → instance-hem2fds5.js} +16 -16
  165. package/dist/chunks/{model-resolver-1kswe1g3.js → instance-hf1csh9t.js} +49 -49
  166. package/dist/chunks/{model-resolver-01s1begh.js → instance-hg8dw4jf.js} +17 -17
  167. package/dist/chunks/{model-resolver-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
  168. package/dist/chunks/{model-resolver-2ryng5r3.js → instance-hqhp0zxs.js} +4 -4
  169. package/dist/chunks/{model-resolver-hz5abz9m.js → instance-ht9x2vd6.js} +11 -11
  170. package/dist/chunks/{model-resolver-h8v25wh0.js → instance-hyedsnzy.js} +23 -23
  171. package/dist/chunks/{model-resolver-axe3mf62.js → instance-hzrfc1p4.js} +3 -3
  172. package/dist/chunks/{model-resolver-pdtwfjed.js → instance-j2sv15a5.js} +4 -4
  173. package/dist/chunks/{model-resolver-4djhckew.js → instance-j3gj8bpw.js} +28 -28
  174. package/dist/chunks/{model-resolver-psde1en3.js → instance-j723vaq8.js} +1 -1
  175. package/dist/chunks/{model-resolver-4az1a8cs.js → instance-jp4d7tph.js} +6 -6
  176. package/dist/chunks/{model-resolver-0satj92y.js → instance-jx879jcj.js} +14 -14
  177. package/dist/chunks/{model-resolver-125fewv7.js → instance-k03wy1kc.js} +11 -11
  178. package/dist/chunks/{model-resolver-fvjzj6fm.js → instance-k1mw4f8e.js} +5 -5
  179. package/dist/chunks/instance-k2rh4x2t.js +253 -0
  180. package/dist/chunks/{model-resolver-hjn6f328.js → instance-k50tk4m1.js} +34 -34
  181. package/dist/chunks/{model-resolver-z2ce4t34.js → instance-kb7tk14c.js} +17 -17
  182. package/dist/chunks/{model-resolver-kdkn6452.js → instance-kb81nczd.js} +21 -21
  183. package/dist/chunks/{model-resolver-nnfex98a.js → instance-kbvqrc92.js} +16 -16
  184. package/dist/chunks/{model-resolver-9hfpa9m9.js → instance-kch01m1z.js} +28 -28
  185. package/dist/chunks/{model-resolver-vhxz3vg8.js → instance-kdqzryaz.js} +19 -19
  186. package/dist/chunks/{model-resolver-2qnat7dc.js → instance-kgm2m1rq.js} +14 -14
  187. package/dist/chunks/{model-resolver-5926cwpj.js → instance-kte28av3.js} +8 -8
  188. package/dist/chunks/instance-kwhtrawa.js +513 -0
  189. package/dist/chunks/{model-resolver-mejf7p9j.js → instance-m8f85jxc.js} +17 -17
  190. package/dist/chunks/{model-resolver-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{model-resolver-maspj1v3.js → instance-maspj1v3.js} +1 -1
  192. package/dist/chunks/{model-resolver-ze7t1560.js → instance-mbyq8427.js} +43 -43
  193. package/dist/chunks/{model-resolver-0rf3mqqe.js → instance-mf3tt33a.js} +18 -18
  194. package/dist/chunks/{model-resolver-vb82663b.js → instance-mfhppze3.js} +20 -20
  195. package/dist/chunks/{model-resolver-addxnjmp.js → instance-mxvxcxwy.js} +4 -4
  196. package/dist/chunks/{model-resolver-v8cmy866.js → instance-ng3918dk.js} +8 -8
  197. package/dist/chunks/{model-resolver-e80seqcp.js → instance-nma959mg.js} +3 -3
  198. package/dist/chunks/{model-resolver-et8wf2kw.js → instance-nqbn7kgw.js} +23 -23
  199. package/dist/chunks/{model-resolver-g0445xdp.js → instance-p37cw4rj.js} +8 -8
  200. package/dist/chunks/{model-resolver-69nevm9g.js → instance-p4n2vzg9.js} +97 -97
  201. package/dist/chunks/{model-resolver-q2g3ps59.js → instance-p8kjk1y4.js} +59 -59
  202. package/dist/chunks/{model-resolver-f14hekp8.js → instance-pe0vaf1g.js} +9 -9
  203. package/dist/chunks/{model-resolver-yxxmeqn1.js → instance-pgxhr7ry.js} +9 -9
  204. package/dist/chunks/{model-resolver-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{model-resolver-pknna89w.js → instance-pknna89w.js} +1 -1
  206. package/dist/chunks/{model-resolver-kk3mpyge.js → instance-pq5v3pd8.js} +25 -25
  207. package/dist/chunks/{model-resolver-7e6b2cwb.js → instance-pzca2xdh.js} +33 -33
  208. package/dist/chunks/{model-resolver-qeafh5k3.js → instance-q1tvsmm7.js} +11 -11
  209. package/dist/chunks/{model-resolver-p4613v5m.js → instance-q2she582.js} +5 -5
  210. package/dist/chunks/{model-resolver-bhhmns0g.js → instance-q4zwmxcv.js} +51 -51
  211. package/dist/chunks/{model-resolver-erdcs917.js → instance-q7tf21sk.js} +9 -9
  212. package/dist/chunks/{model-resolver-wrkpgzm9.js → instance-qcqzn796.js} +32 -32
  213. package/dist/chunks/{model-resolver-zaatn0x7.js → instance-qepgs3zw.js} +10 -10
  214. package/dist/chunks/{model-resolver-hyym503s.js → instance-qfrb8da6.js} +15 -15
  215. package/dist/chunks/{model-resolver-qgn6gcr1.js → instance-qgn6gcr1.js} +1 -1
  216. package/dist/chunks/{model-resolver-k18ytf7m.js → instance-qh8vdwx1.js} +8 -8
  217. package/dist/chunks/{model-resolver-zk8b9ssq.js → instance-qhxakm09.js} +15 -15
  218. package/dist/chunks/{model-resolver-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
  219. package/dist/chunks/{model-resolver-qsdy395h.js → instance-qsdy395h.js} +1 -1
  220. package/dist/chunks/{model-resolver-gwwgnv03.js → instance-r0yd71pn.js} +19 -19
  221. package/dist/chunks/{model-resolver-pjsqfx9m.js → instance-r3pqm3re.js} +9 -9
  222. package/dist/chunks/{model-resolver-kf8jqwvn.js → instance-r8wj9nz9.js} +45 -45
  223. package/dist/chunks/{model-resolver-w8t2jk6x.js → instance-r9dk3pzz.js} +13 -13
  224. package/dist/chunks/{model-resolver-k03dsn1k.js → instance-rbrz49bg.js} +22 -22
  225. package/dist/chunks/{model-resolver-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{model-resolver-g828bkxh.js → instance-rhms214n.js} +8 -8
  227. package/dist/chunks/{model-resolver-d9wzmzc3.js → instance-rkdvqggb.js} +5 -5
  228. package/dist/chunks/{model-resolver-8sze2n9a.js → instance-rkprpv83.js} +6 -6
  229. package/dist/chunks/{model-resolver-xdrp1hb6.js → instance-rpwdzjd4.js} +14 -14
  230. package/dist/chunks/{model-resolver-2y74b1pt.js → instance-rq46pevd.js} +36 -36
  231. package/dist/chunks/{model-resolver-bsagyafn.js → instance-rxdppyvx.js} +8 -8
  232. package/dist/chunks/{model-resolver-09rrpfny.js → instance-s5rmf723.js} +32 -32
  233. package/dist/chunks/{model-resolver-bwd9ews5.js → instance-sgnkj29h.js} +13 -13
  234. package/dist/chunks/{model-resolver-ef5bn39a.js → instance-skv3wcb4.js} +36 -36
  235. package/dist/chunks/{model-resolver-syv4x271.js → instance-syv4x271.js} +1 -1
  236. package/dist/chunks/{model-resolver-t5345zfw.js → instance-t1zbhmnh.js} +4 -4
  237. package/dist/chunks/{model-resolver-rhjbct0v.js → instance-t550f9t1.js} +4 -4
  238. package/dist/chunks/{model-resolver-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{model-resolver-1z02ee6a.js → instance-tdpmrm31.js} +32 -32
  240. package/dist/chunks/{model-resolver-tdstcens.js → instance-tdstcens.js} +1 -1
  241. package/dist/chunks/{model-resolver-tkb22qbm.js → instance-tkb22qbm.js} +2 -2
  242. package/dist/chunks/{model-resolver-tm0kqsz3.js → instance-tm0kqsz3.js} +1 -1
  243. package/dist/chunks/{model-resolver-tyytaxap.js → instance-tyytaxap.js} +1 -1
  244. package/dist/chunks/{model-resolver-v0es1rhs.js → instance-v0es1rhs.js} +2 -2
  245. package/dist/chunks/{model-resolver-8c3hmt3w.js → instance-v31sjffe.js} +22 -22
  246. package/dist/chunks/{model-resolver-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
  247. package/dist/chunks/{model-resolver-yahdewcc.js → instance-vc3pnw0r.js} +33 -33
  248. package/dist/chunks/{model-resolver-pj45xpz4.js → instance-vc9djmmy.js} +3 -3
  249. package/dist/chunks/{model-resolver-veqvce7d.js → instance-veqvce7d.js} +1 -1
  250. package/dist/chunks/{model-resolver-9y9sk2j9.js → instance-vjjaysxc.js} +2 -2
  251. package/dist/chunks/{model-resolver-e5xwx9q2.js → instance-vytvxkvy.js} +1 -1
  252. package/dist/chunks/{model-resolver-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{model-resolver-dssbfrwz.js → instance-w2h15q85.js} +5 -5
  254. package/dist/chunks/{model-resolver-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{model-resolver-1fsm553b.js → instance-w8rbtm3j.js} +16 -16
  256. package/dist/chunks/{model-resolver-wd87259q.js → instance-wd87259q.js} +1 -1
  257. package/dist/chunks/{model-resolver-jyrkv4gc.js → instance-whjf4gy9.js} +1 -1
  258. package/dist/chunks/{model-resolver-k1qskgm1.js → instance-wmmcjnbx.js} +28 -28
  259. package/dist/chunks/{model-resolver-nq9f5nkx.js → instance-wn3t7bpb.js} +5 -5
  260. package/dist/chunks/{model-resolver-26tsy11a.js → instance-wqzzjrnt.js} +15 -15
  261. package/dist/chunks/{model-resolver-5nns0kdt.js → instance-wyebs044.js} +27 -27
  262. package/dist/chunks/{model-resolver-k64pj0tg.js → instance-x2h9ec76.js} +24 -24
  263. package/dist/chunks/{model-resolver-7j0h8tbw.js → instance-x36jn30v.js} +20 -20
  264. package/dist/chunks/{model-resolver-vtt0yr3x.js → instance-x5h44zm2.js} +8 -8
  265. package/dist/chunks/{model-resolver-6r5rwgtp.js → instance-xatakwe1.js} +13 -13
  266. package/dist/chunks/{model-resolver-fhr47e0j.js → instance-xnb6dcjs.js} +45 -45
  267. package/dist/chunks/{model-resolver-3ggd8s46.js → instance-xt3y6wcz.js} +5 -5
  268. package/dist/chunks/{model-resolver-hba5qx00.js → instance-xzfz3f2s.js} +15 -15
  269. package/dist/chunks/{model-resolver-5jc797f7.js → instance-y0afz0bn.js} +22 -22
  270. package/dist/chunks/{model-resolver-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{model-resolver-k1d2vept.js → instance-y81ryenr.js} +33 -33
  272. package/dist/chunks/{model-resolver-076tdj8j.js → instance-yjbszvmy.js} +14 -14
  273. package/dist/chunks/{model-resolver-n61013np.js → instance-ynmknp8q.js} +11 -11
  274. package/dist/chunks/{model-resolver-dx3sr3as.js → instance-ynt1sdzt.js} +47 -47
  275. package/dist/chunks/{model-resolver-yp2x3t23.js → instance-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{model-resolver-31v9pj2m.js → instance-yp7qphem.js} +11 -11
  277. package/dist/chunks/{model-resolver-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-resolver-nhd34jsd.js → instance-z2yekhz7.js} +13 -13
  279. package/dist/chunks/{model-resolver-7a3t7few.js → instance-z5pd7bnx.js} +31 -31
  280. package/dist/chunks/{model-resolver-fqn434s7.js → instance-zgnxgcd3.js} +9 -9
  281. package/dist/chunks/{model-resolver-5x4mgjyy.js → instance-zmzkayzc.js} +26 -26
  282. package/dist/chunks/{model-resolver-jdqskayt.js → instance-zn53zvnm.js} +32 -32
  283. package/dist/chunks/{model-resolver-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{model-resolver-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +120 -120
  294. package/dist/config/plugin/command.js +209 -209
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +72 -72
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +81 -81
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +106 -106
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +101 -101
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +87 -87
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +87 -87
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +97 -97
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +117 -117
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +78 -78
  487. package/dist/plugin/command.js +104 -104
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +120 -120
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +125 -125
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  558. package/dist/provider.js +101 -101
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +99 -99
  562. package/dist/reference/instructions.js +85 -85
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +86 -86
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +77 -77
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +218 -218
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +215 -215
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +11 -11
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +107 -107
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +95 -95
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +116 -116
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +81 -81
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/model-resolver-9zdhvgqs.js +0 -18
  686. package/dist/chunks/model-resolver-e34gd66c.js +0 -26
  687. package/dist/chunks/model-resolver-px39bg4v.js +0 -513
  688. package/dist/chunks/model-resolver-q2d1k2hk.js +0 -253
  689. /package/dist/chunks/{model-resolver-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{model-resolver-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{model-resolver-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{model-resolver-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{model-resolver-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{model-resolver-24dcb14g.js → instance-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{model-resolver-2710q6r3.js → instance-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2bv980vf.js → instance-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{model-resolver-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{model-resolver-359p4xyc.js → instance-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3asan66x.js → instance-3asan66x.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{model-resolver-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{model-resolver-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{model-resolver-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{model-resolver-53557ph1.js → instance-53557ph1.js} +0 -0
  709. /package/dist/chunks/{model-resolver-550bvhaj.js → instance-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{model-resolver-6prwharc.js → instance-6prwharc.js} +0 -0
  711. /package/dist/chunks/{model-resolver-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{model-resolver-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{model-resolver-7m9af43g.js → instance-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{model-resolver-822emrt2.js → instance-822emrt2.js} +0 -0
  715. /package/dist/chunks/{model-resolver-84wd9syh.js → instance-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{model-resolver-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{model-resolver-8n3pysct.js → instance-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{model-resolver-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{model-resolver-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{model-resolver-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{model-resolver-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{model-resolver-af5trqkr.js → instance-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{model-resolver-afrmfg78.js → instance-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{model-resolver-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{model-resolver-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{model-resolver-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{model-resolver-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{model-resolver-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{model-resolver-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{model-resolver-d9fn303g.js → instance-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{model-resolver-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dajrwvna.js → instance-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{model-resolver-dap0rakb.js → instance-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{model-resolver-df08tz66.js → instance-df08tz66.js} +0 -0
  735. /package/dist/chunks/{model-resolver-dy18nga0.js → instance-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{model-resolver-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{model-resolver-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{model-resolver-ec1grn59.js → instance-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{model-resolver-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{model-resolver-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{model-resolver-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{model-resolver-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{model-resolver-faypxj3z.js → instance-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{model-resolver-fd410y7t.js → instance-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{model-resolver-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{model-resolver-g86h250q.js → instance-g86h250q.js} +0 -0
  747. /package/dist/chunks/{model-resolver-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{model-resolver-gftt206x.js → instance-gftt206x.js} +0 -0
  749. /package/dist/chunks/{model-resolver-hcxmzztb.js → instance-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{model-resolver-hk9envan.js → instance-hk9envan.js} +0 -0
  751. /package/dist/chunks/{model-resolver-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{model-resolver-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{model-resolver-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{model-resolver-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{model-resolver-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{model-resolver-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{model-resolver-m18g726c.js → instance-m18g726c.js} +0 -0
  759. /package/dist/chunks/{model-resolver-mp448xyj.js → instance-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{model-resolver-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{model-resolver-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{model-resolver-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{model-resolver-njntx4h6.js → instance-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{model-resolver-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{model-resolver-pyv0edze.js → instance-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{model-resolver-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{model-resolver-q74kybfr.js → instance-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{model-resolver-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{model-resolver-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{model-resolver-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{model-resolver-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{model-resolver-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{model-resolver-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{model-resolver-w803qqfp.js → instance-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{model-resolver-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{model-resolver-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wjj7prxr.js → instance-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{model-resolver-wtztk69x.js → instance-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{model-resolver-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{model-resolver-x61499pn.js → instance-x61499pn.js} +0 -0
  784. /package/dist/chunks/{model-resolver-y44na4kk.js → instance-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{model-resolver-y8f7s663.js → instance-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{model-resolver-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{model-resolver-ym463w8f.js → instance-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{model-resolver-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{model-resolver-z9919s4g.js → instance-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./instance-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service47
7
- } from "./model-resolver-bhhmns0g.js";
6
+ Service60
7
+ } from "./instance-q4zwmxcv.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./model-resolver-hgz4x7wa.js";
10
+ } from "./instance-hgz4x7wa.js";
11
11
  import {
12
- Service54
13
- } from "./model-resolver-zxz20fz9.js";
12
+ Service74
13
+ } from "./instance-cfx9nmr8.js";
14
14
  import {
15
- Service57
16
- } from "./model-resolver-xdrp1hb6.js";
15
+ Service45
16
+ } from "./instance-rpwdzjd4.js";
17
17
  import {
18
- Service71
19
- } from "./model-resolver-q2g3ps59.js";
18
+ Service42
19
+ } from "./instance-p8kjk1y4.js";
20
20
  import {
21
- Service18,
21
+ Service17,
22
22
  resolvePath2
23
- } from "./model-resolver-0rf3mqqe.js";
23
+ } from "./instance-mf3tt33a.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./model-resolver-vzs5sf6e.js";
29
+ } from "./instance-vzs5sf6e.js";
30
30
  import {
31
- Service56,
31
+ Service77,
32
32
  name15
33
- } from "./model-resolver-hba5qx00.js";
33
+ } from "./instance-xzfz3f2s.js";
34
34
  import {
35
- NotFoundError5,
36
- Service45
37
- } from "./model-resolver-1kswe1g3.js";
35
+ NotFoundError7,
36
+ Service58
37
+ } from "./instance-hf1csh9t.js";
38
38
  import {
39
- Service23
40
- } from "./model-resolver-69nevm9g.js";
39
+ Service22
40
+ } from "./instance-p4n2vzg9.js";
41
41
  import {
42
42
  scan2
43
- } from "./model-resolver-pr6x9sxx.js";
43
+ } from "./instance-2c3anf0v.js";
44
44
  import {
45
45
  __export
46
- } from "./model-resolver-9rqn6x4v.js";
46
+ } from "./instance-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input10,
53
- Plugin: () => Plugin47,
52
+ Input: () => Input5,
53
+ Plugin: () => Plugin40,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name10
55
+ name: () => name5
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name10 = "shell";
60
+ var name5 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  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.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input10 = Schema.Struct({
74
+ var Input5 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  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."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin47 = {
120
+ var Plugin40 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service23;
124
- const jobs = yield* Service57;
123
+ const sessions = yield* Service22;
124
+ const jobs = yield* Service45;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service54;
127
- const access = yield* Service18;
128
- const shell = yield* Service45;
129
- const shellSelect = yield* Service56;
126
+ const environment = yield* Service74;
127
+ const access = yield* Service17;
128
+ const shell = yield* Service58;
129
+ const shellSelect = yield* Service77;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service71;
132
- const config = yield* Service47;
131
+ const permission = yield* Service42;
132
+ const config = yield* Service60;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin47 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name10,
151
+ action: name5,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin47 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name10,
188
+ name: name5,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input10,
191
+ input: Input5,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin47 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError5({ id: info.id });
214
+ return yield* new NotFoundError7({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name10,
228
+ type: name5,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name10];
258
+ const tool = event.tools[name5];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin47, exports_shell2 };
269
+ export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin40, exports_shell2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./instance-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./model-resolver-k1qskgm1.js";
6
+ } from "./instance-wmmcjnbx.js";
7
7
  import {
8
- Service81,
9
- node85
10
- } from "./model-resolver-tm6yce80.js";
8
+ Service78,
9
+ node82
10
+ } from "./instance-c2kw168f.js";
11
11
  import {
12
- Service71,
13
- node74
14
- } from "./model-resolver-q2g3ps59.js";
12
+ Service42,
13
+ node44
14
+ } from "./instance-p8kjk1y4.js";
15
15
  import {
16
16
  __export
17
- } from "./model-resolver-9rqn6x4v.js";
17
+ } from "./instance-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service18,
26
- node: () => node20,
25
+ Service: () => Service17,
26
+ node: () => node19,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service18 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service17 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service18, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service81;
55
- const permission = yield* Service71;
54
+ const location = yield* Service78;
55
+ const permission = yield* Service42;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service18.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service17.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node20 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node85, node74] });
106
+ var node19 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node82, node44] });
107
107
 
108
- export { Kind2, ResolveInput2, Service18, resolvePath2, node20, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service17, resolvePath2, node19, exports_file_access };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make19,
5
5
  diffByKey2
6
- } from "./model-resolver-rhjbct0v.js";
6
+ } from "./instance-t550f9t1.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./model-resolver-q2g3ps59.js";
9
+ } from "./instance-p8kjk1y4.js";
10
10
  import {
11
- Service35,
12
- node38
13
- } from "./model-resolver-tbxprhjc.js";
11
+ Service30,
12
+ node34
13
+ } from "./instance-eewvv2kc.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./model-resolver-jdqskayt.js";
16
+ name13
17
+ } from "./instance-zn53zvnm.js";
18
18
  import {
19
19
  __export
20
- } from "./model-resolver-9rqn6x4v.js";
20
+ } from "./instance-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
23
  var exports_instructions5 = {};
24
24
  __export(exports_instructions5, {
25
25
  McpInstructions: () => exports_instructions5,
26
- Service: () => Service33,
27
- layer: () => layer15,
28
- node: () => node36
26
+ Service: () => Service28,
27
+ layer: () => layer12,
28
+ node: () => node32
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,13 +61,13 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service33 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service28 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer15 = Layer.effect(Service33, Effect.gen(function* () {
67
- const mcp = yield* Service35;
68
- return Service33.of({
66
+ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
67
+ const mcp = yield* Service30;
68
+ return Service28.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make20({
70
+ const source = (value) => make19({
71
71
  key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
@@ -86,7 +86,7 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node36 = makeLocationNode({ service: Service33, layer: layer15, deps: [node38] });
99
+ var node32 = makeLocationNode({ service: Service28, layer: layer12, deps: [node34] });
100
100
 
101
- export { Service33, layer15, node36, exports_instructions5 };
101
+ export { Service28, layer12, node32, exports_instructions5 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./instance-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info24,
10
+ Info: () => Info22,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info24 = Connection.Info;
18
+ var Info22 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info22, Status3, key2, exports_connection };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./model-resolver-wjr9rjd7.js";
3
+ } from "./instance-bjx1sjef.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./instance-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin26,
11
+ Plugin: () => Plugin5,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/http";
18
- var endpoint5 = "https://mcp.exa.ai/mcp";
18
+ var endpoint3 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin26 = define({
30
+ var Plugin5 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin26 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint5);
52
+ const url = new URL(endpoint3);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint5, Plugin26, exports_exa };
83
+ export { endpoint3, Plugin5, exports_exa };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./model-resolver-qaymkmh1.js";
3
+ } from "./instance-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/process";
8
- function make10(input) {
8
+ function make8(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make10 };
264
+ export { make8 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-xqsvy1tg.js";
3
+ } from "./instance-1359n4t6.js";
4
4
  import {
5
- Service84
6
- } from "./model-resolver-21jrmc9g.js";
5
+ Service81
6
+ } from "./instance-de4tk2kz.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./model-resolver-3vswmpk1.js";
9
+ Event18
10
+ } from "./instance-6hysr14g.js";
11
11
  import {
12
- ID14,
12
+ ID12,
13
13
  MethodID2
14
- } from "./model-resolver-7968cave.js";
14
+ } from "./instance-9wqt6yc5.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./model-resolver-pjvnvgmy.js";
18
+ } from "./instance-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID11,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./model-resolver-7e6b2cwb.js";
23
+ } from "./instance-pzca2xdh.js";
24
24
  import {
25
25
  get5
26
- } from "./model-resolver-54ma36ye.js";
26
+ } from "./instance-54ma36ye.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./model-resolver-7014qyn6.js";
29
+ } from "./instance-e3t2rexw.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID14.make("openai"),
53
+ integrationID: ID12.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID14.make("openai"),
126
+ integrationID: ID12.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -165,10 +165,10 @@ var headless = (app) => ({
165
165
  }),
166
166
  refresh: (value) => refresh(headlessMethodID, value, app)
167
167
  });
168
- var OpenAIPlugin3 = define({
168
+ var OpenAIPlugin2 = define({
169
169
  id: "opencode.provider.openai",
170
170
  effect: Effect.fn(function* (ctx) {
171
- const bus = yield* Service84;
171
+ const bus = yield* Service81;
172
172
  const loading = Semaphore.makeUnsafe(1);
173
173
  let chatgpt;
174
174
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
183
183
  editor.method.update(headless(ctx.app));
184
184
  });
185
185
  yield* load();
186
- const configured = yield* configuredSettings2(ID13.openai);
186
+ const configured = yield* configuredSettings2(ID11.openai);
187
187
  yield* ctx.provider.transform((providers) => {
188
- const item = providers.get(ID13.openai);
188
+ const item = providers.get(ID11.openai);
189
189
  if (!item)
190
190
  return;
191
191
  const account = chatgpt?.metadata?.accountID;
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
205
205
  });
206
206
  });
207
207
  yield* ctx.model.transform((models) => {
208
- for (const model of models.list(ID13.openai)) {
208
+ for (const model of models.list(ID11.openai)) {
209
209
  models.update(model.providerID, model.id, (draft) => {
210
210
  if (!chatgpt)
211
211
  return;
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
236
236
  }));
237
237
  evt.headers.originator = "opencode";
238
238
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
239
- }), { providerID: ID13.openai });
239
+ }), { providerID: ID11.openai });
240
240
  const omitOutputLimit = (evt) => Effect.sync(() => {
241
241
  delete evt.options.maxTokens;
242
242
  });
243
243
  for (const name of ["context", "compaction"])
244
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
244
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID11.openai });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
246
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  })
248
248
  });
249
249
  function headers(contentType, app) {
@@ -334,4 +334,4 @@ function claim(token) {
334
334
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
335
335
  }
336
336
 
337
- export { OpenAIPlugin3 };
337
+ export { OpenAIPlugin2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./instance-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service5,
18
+ var node5 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node6, bound2, exports_instance2 };
32
+ export { Service4, node5, bound2, exports_instance2 };