@opencode/core 0.0.0-dev-20276 → 0.0.0-dev-20281

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 (797) 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 +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-a44b6qvx.js → rpc-05x7j1j7.js} +14 -14
  8. package/dist/chunks/{location-4stzy43z.js → rpc-06j8v02r.js} +14 -14
  9. package/dist/chunks/{location-2a6rn6yr.js → rpc-0jkw1j53.js} +6 -6
  10. package/dist/chunks/{location-nwqf1d5h.js → rpc-0kvh2d7d.js} +21 -21
  11. package/dist/chunks/{location-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-5rwbqegk.js → rpc-0t2955jx.js} +25 -25
  13. package/dist/chunks/{location-jnz9m78q.js → rpc-0vf1tx4v.js} +32 -32
  14. package/dist/chunks/{location-0h3pt5nx.js → rpc-141hy0jj.js} +21 -21
  15. package/dist/chunks/{location-mzba7wnk.js → rpc-14h20gk9.js} +17 -17
  16. package/dist/chunks/{location-vmgq4x8b.js → rpc-182ks7j2.js} +2 -2
  17. package/dist/chunks/{location-aakk90ee.js → rpc-1866jdqb.js} +21 -21
  18. package/dist/chunks/{location-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{location-18a36fer.js → rpc-1j7wb12c.js} +13 -13
  20. package/dist/chunks/{location-56gdpj1q.js → rpc-1ygqh575.js} +9 -9
  21. package/dist/chunks/{location-x8ygcmws.js → rpc-1z5zt5kg.js} +10 -10
  22. package/dist/chunks/{location-21r38tys.js → rpc-21r38tys.js} +1 -1
  23. package/dist/chunks/{location-5wfhmhr2.js → rpc-298xyahw.js} +8 -8
  24. package/dist/chunks/{location-6mxndphv.js → rpc-29ewe8af.js} +12 -12
  25. package/dist/chunks/{location-rk7s9xkn.js → rpc-29qym6xz.js} +4 -4
  26. package/dist/chunks/{location-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{location-dxkh69ct.js → rpc-2bbyca3v.js} +35 -35
  28. package/dist/chunks/{location-7v98fvm1.js → rpc-2ehxhhx0.js} +10 -10
  29. package/dist/chunks/{location-768gsh1v.js → rpc-2p8k3371.js} +3 -3
  30. package/dist/chunks/{location-kt9mpxjt.js → rpc-2sskxj6s.js} +26 -26
  31. package/dist/chunks/{location-6gph9127.js → rpc-3149w101.js} +3 -3
  32. package/dist/chunks/{location-wsvmp3ny.js → rpc-32gc6g6n.js} +15 -15
  33. package/dist/chunks/{location-gfq5dj1e.js → rpc-349p06hg.js} +13 -13
  34. package/dist/chunks/{location-ngc4nbq5.js → rpc-365rh5wb.js} +8 -8
  35. package/dist/chunks/{location-c78bbtc9.js → rpc-37s12vcn.js} +5 -5
  36. package/dist/chunks/{location-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{location-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{location-amb4vwg9.js → rpc-3s9hx8mg.js} +6 -6
  39. package/dist/chunks/{location-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{location-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{location-csytna75.js → rpc-3v1hba8n.js} +33 -33
  42. package/dist/chunks/{location-b4smrmcv.js → rpc-3v4byysy.js} +4 -4
  43. package/dist/chunks/{location-vqet09zx.js → rpc-3x4nas8y.js} +11 -11
  44. package/dist/chunks/{location-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{location-a2qe2ev9.js → rpc-4e8vs6eh.js} +8 -8
  46. package/dist/chunks/{location-z4h05mhr.js → rpc-4gc3neaj.js} +11 -11
  47. package/dist/chunks/{location-13ggeyh8.js → rpc-4k0xqdp1.js} +8 -8
  48. package/dist/chunks/{location-9tgtz3hc.js → rpc-4kmxbxdg.js} +16 -16
  49. package/dist/chunks/{location-0ryd0fps.js → rpc-4n607a2z.js} +5 -5
  50. package/dist/chunks/{location-x9ssgtdb.js → rpc-4zyrrfq5.js} +16 -16
  51. package/dist/chunks/{location-f3ngv102.js → rpc-50mzsvk4.js} +4 -4
  52. package/dist/chunks/{location-qn4ba14w.js → rpc-510m7gjw.js} +5 -5
  53. package/dist/chunks/{location-54ma36ye.js → rpc-54ma36ye.js} +1 -1
  54. package/dist/chunks/{location-54tcyq79.js → rpc-54tcyq79.js} +2 -2
  55. package/dist/chunks/{location-xfkkasph.js → rpc-57b9ws8p.js} +7 -7
  56. package/dist/chunks/{location-57ez7d0k.js → rpc-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{location-f5brv8eq.js → rpc-5964kreg.js} +8 -8
  58. package/dist/chunks/{location-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  59. package/dist/chunks/{location-qsawcycn.js → rpc-5j6r72e5.js} +1 -1
  60. package/dist/chunks/{location-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{location-tjca4006.js → rpc-5vhcwf2z.js} +40 -40
  62. package/dist/chunks/{location-9m41ce2e.js → rpc-5xfmbqkv.js} +6 -6
  63. package/dist/chunks/{location-qsjwzbna.js → rpc-5ypa2p6a.js} +20 -20
  64. package/dist/chunks/{location-8ssk0f6f.js → rpc-62f0kzmk.js} +22 -22
  65. package/dist/chunks/{location-4sk9wqmx.js → rpc-633ne18k.js} +27 -27
  66. package/dist/chunks/{location-669tq793.js → rpc-669tq793.js} +1 -1
  67. package/dist/chunks/{location-kdpg6j2h.js → rpc-66d21r53.js} +316 -316
  68. package/dist/chunks/{location-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{location-0pb2tsr6.js → rpc-6s236mgx.js} +12 -12
  70. package/dist/chunks/{location-v1ryjrvj.js → rpc-6vz6grh2.js} +30 -30
  71. package/dist/chunks/{location-paw7gv03.js → rpc-6wxw79w5.js} +16 -16
  72. package/dist/chunks/{location-ydk8kw93.js → rpc-701yh738.js} +11 -11
  73. package/dist/chunks/{location-7yh4e7ss.js → rpc-73tb2d7t.js} +3 -3
  74. package/dist/chunks/{location-1fw2a5v8.js → rpc-7860t2hb.js} +18 -18
  75. package/dist/chunks/{location-pgk5vny9.js → rpc-791sxkqm.js} +9 -9
  76. package/dist/chunks/{location-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{location-c3p8ecy6.js → rpc-7padzwyv.js} +5 -5
  78. package/dist/chunks/{location-2wnt8bbg.js → rpc-7rvkzce7.js} +13 -13
  79. package/dist/chunks/{location-vsm5skh5.js → rpc-7s8ttw7e.js} +24 -24
  80. package/dist/chunks/{location-zpc9w55b.js → rpc-7w4s0c2p.js} +33 -33
  81. package/dist/chunks/{location-697fm79x.js → rpc-7zpeh0yx.js} +4 -4
  82. package/dist/chunks/{location-gqayqhyj.js → rpc-83xp5e3e.js} +2 -2
  83. package/dist/chunks/{location-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{location-jtb1j844.js → rpc-8m6sn5gg.js} +13 -13
  85. package/dist/chunks/{location-mm5kxf07.js → rpc-8mfdap3f.js} +8 -8
  86. package/dist/chunks/{location-re7w4886.js → rpc-8q7zwx93.js} +160 -160
  87. package/dist/chunks/{location-x7993znb.js → rpc-8rhgz57t.js} +4 -4
  88. package/dist/chunks/rpc-8skgypty.js +252 -0
  89. package/dist/chunks/{location-5yqvxvd9.js → rpc-999vxy5h.js} +5 -5
  90. package/dist/chunks/{location-rweezmpe.js → rpc-9dvxtgw7.js} +19 -19
  91. package/dist/chunks/{location-fapqdhr6.js → rpc-9e1k052j.js} +11 -11
  92. package/dist/chunks/{location-q826ync2.js → rpc-9e4j78a5.js} +15 -15
  93. package/dist/chunks/{location-ggqz94d5.js → rpc-9gx13w9t.js} +24 -24
  94. package/dist/chunks/{location-19xkyn56.js → rpc-9nepbqpa.js} +6 -6
  95. package/dist/chunks/rpc-9sh4wc5j.js +18 -0
  96. package/dist/chunks/{location-f98hm7nt.js → rpc-a5bdhyw0.js} +11 -11
  97. package/dist/chunks/{location-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  98. package/dist/chunks/{location-d51j8nb8.js → rpc-afqdt354.js} +4 -4
  99. package/dist/chunks/{location-mbcnae1e.js → rpc-aqr04kca.js} +48 -48
  100. package/dist/chunks/{location-kkg46zsd.js → rpc-arqmvm47.js} +7 -7
  101. package/dist/chunks/{location-745s8vaw.js → rpc-asqr2k0y.js} +10 -10
  102. package/dist/chunks/{location-vgzres6n.js → rpc-b39ffzrr.js} +9 -9
  103. package/dist/chunks/{location-eqzyz2a8.js → rpc-b4g74394.js} +1 -1
  104. package/dist/chunks/{location-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{location-m9dd4gnk.js → rpc-b87jqyzw.js} +8 -8
  106. package/dist/chunks/{location-t7n9q6bq.js → rpc-baaqp4zd.js} +4 -4
  107. package/dist/chunks/{location-fs7gwttq.js → rpc-bakcbm75.js} +11 -11
  108. package/dist/chunks/{location-r98e92ep.js → rpc-bct739vz.js} +4 -4
  109. package/dist/chunks/{location-5eb3a1ca.js → rpc-bgvfp3ce.js} +12 -12
  110. package/dist/chunks/{location-y56fgtjc.js → rpc-bh0r781w.js} +42 -42
  111. package/dist/chunks/{location-x3d5atbz.js → rpc-bjqeqaym.js} +22 -22
  112. package/dist/chunks/{location-bjtzbw4r.js → rpc-bjtzbw4r.js} +3 -3
  113. package/dist/chunks/{location-b8wj4r0t.js → rpc-bn1bhpjp.js} +19 -19
  114. package/dist/chunks/{location-gc90ewg5.js → rpc-c10q62gs.js} +22 -22
  115. package/dist/chunks/{location-0m5nw8df.js → rpc-c9vtk06m.js} +13 -13
  116. package/dist/chunks/{location-espmheeq.js → rpc-cc4mce2f.js} +8 -8
  117. package/dist/chunks/{location-94gfxd8b.js → rpc-cee7aztj.js} +13 -13
  118. package/dist/chunks/{location-4ntyr3h2.js → rpc-cky531be.js} +10 -10
  119. package/dist/chunks/{location-n8wsbnmg.js → rpc-cxb8c9p3.js} +13 -13
  120. package/dist/chunks/{location-37e61ywe.js → rpc-d5msnsy6.js} +17 -17
  121. package/dist/chunks/{location-gtah93dy.js → rpc-d9skxfzj.js} +18 -18
  122. package/dist/chunks/{location-553akxd4.js → rpc-deeq2pzv.js} +82 -82
  123. package/dist/chunks/{location-8a0sy633.js → rpc-dgkzhmrs.js} +24 -24
  124. package/dist/chunks/{location-8v6pyhej.js → rpc-dv1qgsyq.js} +8 -8
  125. package/dist/chunks/{location-zmzjstmk.js → rpc-dw0sqts0.js} +15 -15
  126. package/dist/chunks/{location-z4eayw4n.js → rpc-e32h2zds.js} +2 -2
  127. package/dist/chunks/{location-462ftxvc.js → rpc-e3zw7zk6.js} +5 -5
  128. package/dist/chunks/{location-xx3xskn4.js → rpc-e42pfdfs.js} +26 -26
  129. package/dist/chunks/{location-y653rv1a.js → rpc-ea8zm51c.js} +39 -39
  130. package/dist/chunks/{location-ecfe7b91.js → rpc-ecfe7b91.js} +2 -2
  131. package/dist/chunks/{location-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{location-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{location-s30fyz93.js → rpc-f29mbr7f.js} +4 -4
  134. package/dist/chunks/{location-frhdz160.js → rpc-f40tx9v5.js} +7 -7
  135. package/dist/chunks/{location-33x84ssc.js → rpc-fe85qmjv.js} +9 -9
  136. package/dist/chunks/{location-5htrahb1.js → rpc-fjv2ngq8.js} +9 -9
  137. package/dist/chunks/{location-fm2qvscf.js → rpc-fqb2p7cx.js} +4 -4
  138. package/dist/chunks/{location-d4he2qe1.js → rpc-ft3hqk2c.js} +9 -9
  139. package/dist/chunks/{location-c26hev1n.js → rpc-fy1sbc2w.js} +25 -25
  140. package/dist/chunks/{location-k50vre3t.js → rpc-g0hp4pfd.js} +27 -27
  141. package/dist/chunks/{location-yah15ztz.js → rpc-g30dahm1.js} +18 -18
  142. package/dist/chunks/{location-bbcw15hs.js → rpc-g4tp3wzg.js} +25 -25
  143. package/dist/chunks/{location-afy572fx.js → rpc-g6begz1c.js} +4 -4
  144. package/dist/chunks/{location-jtc1v7sa.js → rpc-g6yabpgm.js} +29 -29
  145. package/dist/chunks/{location-7nh7q5qm.js → rpc-g7xrawpy.js} +37 -37
  146. package/dist/chunks/{location-2xhakehx.js → rpc-g9kjbw1c.js} +35 -35
  147. package/dist/chunks/rpc-gc8f23sy.js +26 -0
  148. package/dist/chunks/{location-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{location-j22t5rnv.js → rpc-geewefw6.js} +5 -5
  150. package/dist/chunks/{location-gfvb90ym.js → rpc-gfvb90ym.js} +2 -2
  151. package/dist/chunks/{location-mp62f6px.js → rpc-gjeb9azq.js} +9 -9
  152. package/dist/chunks/{location-mfyfvt3e.js → rpc-gs3nyf6v.js} +10 -10
  153. package/dist/chunks/{location-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{location-n3vygs5b.js → rpc-h07bg3jc.js} +6 -6
  155. package/dist/chunks/{location-cpj0znwe.js → rpc-h6r3nrb9.js} +4 -4
  156. package/dist/chunks/{location-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{location-978t30qm.js → rpc-hcjd2d0x.js} +20 -20
  158. package/dist/chunks/{location-nxhqveyz.js → rpc-hkfg6fzm.js} +5 -5
  159. package/dist/chunks/{location-ae1n2vcd.js → rpc-hvn3gssd.js} +4 -4
  160. package/dist/chunks/{location-2cc3a0er.js → rpc-j51ddsps.js} +21 -21
  161. package/dist/chunks/{location-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  162. package/dist/chunks/{location-1c5qr0d4.js → rpc-jcrvr82e.js} +26 -26
  163. package/dist/chunks/{location-vxh2n5pk.js → rpc-jej1981d.js} +3 -3
  164. package/dist/chunks/{location-g7ptqdwz.js → rpc-jt55evk2.js} +15 -15
  165. package/dist/chunks/{location-jc2h4ya1.js → rpc-k5tj5dm6.js} +5 -5
  166. package/dist/chunks/{location-qpygv4fp.js → rpc-kpyndhjd.js} +5 -5
  167. package/dist/chunks/{location-cpy6gm2a.js → rpc-kxpygcw9.js} +6 -6
  168. package/dist/chunks/{location-actspjgq.js → rpc-kz2x8dvd.js} +12 -12
  169. package/dist/chunks/{location-rr7rd4zm.js → rpc-m0ftxd20.js} +30 -30
  170. package/dist/chunks/{location-7h0vcxh8.js → rpc-m2x37xra.js} +7 -7
  171. package/dist/chunks/{location-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{location-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{location-ff3hhqst.js → rpc-mgnc1c7z.js} +20 -20
  174. package/dist/chunks/{location-rmyddrcn.js → rpc-mm13qbkm.js} +3 -3
  175. package/dist/chunks/{location-0fx1c86e.js → rpc-mmrehy5f.js} +8 -8
  176. package/dist/chunks/{location-vgvjrf8v.js → rpc-mwqdf1sn.js} +22 -22
  177. package/dist/chunks/{location-tw3t2x25.js → rpc-myd9142g.js} +18 -18
  178. package/dist/chunks/{location-1ed2t66p.js → rpc-mzywpf3p.js} +4 -4
  179. package/dist/chunks/{location-m5qgxshp.js → rpc-n4jfkgh8.js} +6 -6
  180. package/dist/chunks/{location-se36eqgj.js → rpc-n5e92k76.js} +11 -11
  181. package/dist/chunks/{location-z42cn8j0.js → rpc-n6gj03av.js} +7 -7
  182. package/dist/chunks/{location-xz21yfmd.js → rpc-ncms4gaj.js} +15 -15
  183. package/dist/chunks/{location-zq6vnbzn.js → rpc-nfjk7xkz.js} +34 -34
  184. package/dist/chunks/{location-a4hewyqn.js → rpc-nmjntwhv.js} +11 -11
  185. package/dist/chunks/{location-eva5q63f.js → rpc-nt1ytqhs.js} +16 -16
  186. package/dist/chunks/{location-xw0saaw0.js → rpc-nt406rr4.js} +28 -28
  187. package/dist/chunks/{location-qdy5jae5.js → rpc-ntfntkz5.js} +1 -1
  188. package/dist/chunks/{location-2vq7jkms.js → rpc-nw79srx6.js} +8 -8
  189. package/dist/chunks/{location-e5pqzwnt.js → rpc-nxzfgd6f.js} +8 -8
  190. package/dist/chunks/{location-k3c624dm.js → rpc-nzks3jc8.js} +3 -3
  191. package/dist/chunks/{location-9kyxe6d2.js → rpc-p1k6g3zz.js} +13 -13
  192. package/dist/chunks/{location-hc04de6s.js → rpc-p5fnt7js.js} +43 -43
  193. package/dist/chunks/{location-atzxk3q8.js → rpc-p9g6edyn.js} +7 -7
  194. package/dist/chunks/{location-hy3r2exk.js → rpc-pccby3rj.js} +24 -24
  195. package/dist/chunks/{location-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{location-pknna89w.js → rpc-pknna89w.js} +1 -1
  197. package/dist/chunks/{location-80ebag5h.js → rpc-ps0jvca7.js} +8 -8
  198. package/dist/chunks/{location-psazpmmj.js → rpc-psazpmmj.js} +2 -2
  199. package/dist/chunks/{location-5cmxdwv8.js → rpc-q19p4fn9.js} +3 -3
  200. package/dist/chunks/{location-9196f380.js → rpc-qbsyshfb.js} +11 -11
  201. package/dist/chunks/{location-pnv527nz.js → rpc-qg0jgkcp.js} +9 -9
  202. package/dist/chunks/{location-2k8khapm.js → rpc-qgn6gcr1.js} +5 -5
  203. package/dist/chunks/{location-kdk8byp1.js → rpc-qkqfr02h.js} +12 -12
  204. package/dist/chunks/{location-cmr86hnb.js → rpc-qkxbnhbs.js} +23 -23
  205. package/dist/chunks/{location-mygq0r12.js → rpc-qmq4w36z.js} +15 -15
  206. package/dist/chunks/{location-n6dqm6n8.js → rpc-qs4aqrgb.js} +5 -5
  207. package/dist/chunks/{location-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  208. package/dist/chunks/{location-w6mz219s.js → rpc-r4rdmmte.js} +52 -52
  209. package/dist/chunks/{location-2xwkyk0m.js → rpc-r4yqrmdq.js} +5 -5
  210. package/dist/chunks/{location-t8kexe44.js → rpc-r6jt1nbf.js} +12 -12
  211. package/dist/chunks/{location-sq2kpqez.js → rpc-r8bat8tc.js} +5 -5
  212. package/dist/chunks/{location-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{location-8s1frede.js → rpc-rh0bbtdf.js} +14 -14
  214. package/dist/chunks/{location-nc08s4b6.js → rpc-rjeydd8s.js} +3 -3
  215. package/dist/chunks/{location-0bfcnrg1.js → rpc-rk1r2hx8.js} +1 -1
  216. package/dist/chunks/{location-e7rgh627.js → rpc-rwmsc9fw.js} +23 -23
  217. package/dist/chunks/{location-xrc18w18.js → rpc-s61pm60b.js} +16 -16
  218. package/dist/chunks/{location-eaj1djv9.js → rpc-s8d7rejh.js} +6 -6
  219. package/dist/chunks/{location-fch6zz7r.js → rpc-sd7amxc6.js} +50 -50
  220. package/dist/chunks/{location-xdx7acry.js → rpc-sqmzwr9m.js} +9 -9
  221. package/dist/chunks/{location-kzyk0qtv.js → rpc-sqq1y2kk.js} +33 -33
  222. package/dist/chunks/{location-w7bkmztz.js → rpc-ssbdqrjt.js} +9 -9
  223. package/dist/chunks/{location-dbr74085.js → rpc-t3e63qpa.js} +11 -11
  224. package/dist/chunks/{location-12296md0.js → rpc-t3ew74rm.js} +18 -18
  225. package/dist/chunks/{location-hkxjwzsw.js → rpc-t5h2sqdf.js} +13 -13
  226. package/dist/chunks/{location-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{location-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{location-tdstcens.js → rpc-tdstcens.js} +1 -1
  229. package/dist/chunks/{location-ab4qw10a.js → rpc-tmxcz70p.js} +18 -18
  230. package/dist/chunks/{location-ax5q5x3y.js → rpc-tp2y1s10.js} +3 -3
  231. package/dist/chunks/{location-ssg653vt.js → rpc-ttpmax8e.js} +30 -30
  232. package/dist/chunks/{location-tvtrv512.js → rpc-tvtrv512.js} +1 -1
  233. package/dist/chunks/{location-4dgfv34j.js → rpc-tw7vszv5.js} +11 -11
  234. package/dist/chunks/{location-r9a21ze6.js → rpc-v9cny2f3.js} +11 -11
  235. package/dist/chunks/{location-0057bkce.js → rpc-v9d4hk29.js} +4 -4
  236. package/dist/chunks/{location-nd5ewv74.js → rpc-v9xrr8sf.js} +3 -3
  237. package/dist/chunks/{location-3ewed21c.js → rpc-vbfgae2j.js} +4 -4
  238. package/dist/chunks/{location-sjxg3jn5.js → rpc-ve87mz4w.js} +39 -39
  239. package/dist/chunks/{location-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  240. package/dist/chunks/{location-vw38ypps.js → rpc-vmnk7m7g.js} +11 -11
  241. package/dist/chunks/{location-2q79s005.js → rpc-vs4gd2t2.js} +3 -3
  242. package/dist/chunks/{location-b09w9vsw.js → rpc-vt17nwfb.js} +80 -80
  243. package/dist/chunks/{location-gmjq4p6e.js → rpc-vy4zg7qh.js} +5 -5
  244. package/dist/chunks/{location-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{location-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{location-mxyfxq61.js → rpc-w169z2fj.js} +3 -3
  247. package/dist/chunks/{location-84txncab.js → rpc-w1eejvng.js} +5 -5
  248. package/dist/chunks/{location-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{location-py3kkmfq.js → rpc-w92k2e0p.js} +8 -8
  250. package/dist/chunks/{location-r7nsrefv.js → rpc-wcjyc11q.js} +6 -6
  251. package/dist/chunks/{location-wd87259q.js → rpc-wd87259q.js} +1 -1
  252. package/dist/chunks/{location-b0dgvpy7.js → rpc-wk5z6jzv.js} +9 -9
  253. package/dist/chunks/{location-j5b3v8p4.js → rpc-wp3v471f.js} +13 -13
  254. package/dist/chunks/{location-wdz763xm.js → rpc-wsr1ah9b.js} +29 -29
  255. package/dist/chunks/{location-n4v0rfv1.js → rpc-wv1xvc5h.js} +4 -4
  256. package/dist/chunks/{location-wetczrvy.js → rpc-ww9wy50d.js} +20 -20
  257. package/dist/chunks/{location-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{location-5cqar878.js → rpc-x3pzyyn5.js} +5 -5
  259. package/dist/chunks/{location-tgzah0tt.js → rpc-x8fbbgnb.js} +13 -13
  260. package/dist/chunks/{location-vjst3kcb.js → rpc-xbcqcrm3.js} +31 -31
  261. package/dist/chunks/{location-xkntkrq7.js → rpc-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{location-8zh4h089.js → rpc-xvp1j2dc.js} +5 -5
  263. package/dist/chunks/{location-3c7r44jp.js → rpc-xx4yg2g6.js} +22 -22
  264. package/dist/chunks/{location-r5z9vr3t.js → rpc-xzp83s65.js} +9 -9
  265. package/dist/chunks/{location-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{location-f113p6m0.js → rpc-y66s3efq.js} +25 -25
  267. package/dist/chunks/{location-y71avatq.js → rpc-y71avatq.js} +1 -1
  268. package/dist/chunks/{location-yv63dtz0.js → rpc-ycaeh1sm.js} +60 -60
  269. package/dist/chunks/{location-615mg57g.js → rpc-yd2mve5d.js} +31 -31
  270. package/dist/chunks/{location-f323rzvq.js → rpc-yd8awzfr.js} +9 -9
  271. package/dist/chunks/{location-31vv3vzb.js → rpc-ye2dcr60.js} +14 -14
  272. package/dist/chunks/{location-s1hvx6t4.js → rpc-ykbhpvja.js} +24 -24
  273. package/dist/chunks/{location-c9sp74yg.js → rpc-ym26fzz4.js} +24 -24
  274. package/dist/chunks/{location-yp2x3t23.js → rpc-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{location-bscb95cy.js → rpc-yq2cczkq.js} +9 -9
  276. package/dist/chunks/{location-65asqpss.js → rpc-yr3j3mvp.js} +14 -14
  277. package/dist/chunks/{location-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{location-yrznvahk.js → rpc-yrznvahk.js} +2 -2
  279. package/dist/chunks/{location-7dbmnfn4.js → rpc-yvvvp4gn.js} +8 -8
  280. package/dist/chunks/{location-vpw9xy5b.js → rpc-yw9vmcw5.js} +21 -21
  281. package/dist/chunks/{location-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{location-m6f3t844.js → rpc-z5rd9rww.js} +8 -8
  283. package/dist/chunks/{location-z63w68vq.js → rpc-z63w68vq.js} +2 -2
  284. package/dist/chunks/{location-y5v4pytj.js → rpc-zbrmq810.js} +17 -17
  285. package/dist/chunks/{location-jy8sf8ka.js → rpc-zc3gqq1k.js} +35 -35
  286. package/dist/chunks/{location-j14xwnx3.js → rpc-zd488a3c.js} +9 -9
  287. package/dist/chunks/{location-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{location-kxvx07my.js → rpc-zem4mrp3.js} +18 -18
  289. package/dist/chunks/{location-aaf8swx0.js → rpc-zn33kztm.js} +5 -5
  290. package/dist/chunks/{location-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{location-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +75 -75
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +215 -215
  302. package/dist/config/plugin/compaction.js +161 -161
  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 +132 -132
  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 +126 -126
  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 +66 -66
  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 +76 -76
  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 +70 -70
  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/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +228 -228
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +93 -93
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +98 -98
  431. package/dist/form.js +84 -84
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +89 -89
  434. package/dist/generate.js +99 -99
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +77 -77
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +359 -359
  472. package/dist/location.js +81 -81
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +100 -100
  476. package/dist/mcp/instructions.js +128 -128
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +91 -91
  481. package/dist/model-resolver.js +96 -96
  482. package/dist/model.js +98 -98
  483. package/dist/models-dev.js +101 -101
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +113 -113
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +82 -82
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +101 -101
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +334 -334
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +95 -95
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +77 -77
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +120 -120
  526. package/dist/plugin/provider/openai.js +95 -95
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +78 -78
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +162 -162
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +80 -80
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +153 -153
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +222 -222
  584. package/dist/session/execution.js +128 -128
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +88 -88
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +77 -77
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +93 -93
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +130 -130
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +90 -90
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +98 -98
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +4 -4
  608. package/dist/session/runner/step.js +124 -124
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +170 -170
  612. package/dist/session/shell.js +138 -138
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +73 -73
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +211 -211
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +151 -151
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +215 -215
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +219 -219
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +138 -138
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +105 -105
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +121 -121
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +116 -116
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +101 -101
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +214 -214
  648. package/dist/tool/plugin/skill.js +109 -109
  649. package/dist/tool/plugin/subagent.js +218 -218
  650. package/dist/tool/plugin/webfetch.js +106 -106
  651. package/dist/tool/plugin/websearch.js +112 -112
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +96 -96
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +12 -12
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +7 -7
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +91 -91
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +87 -87
  686. package/dist/websearch.js +80 -80
  687. package/dist/wellknown/plugin.js +76 -76
  688. package/dist/wellknown.js +79 -79
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +8 -8
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +94 -94
  697. package/package.json +8 -8
  698. package/dist/chunks/location-0kcwsw03.js +0 -252
  699. package/dist/chunks/location-f81tjggh.js +0 -18
  700. package/dist/chunks/location-xqecqxs5.js +0 -26
  701. /package/dist/chunks/{location-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{location-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{location-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{location-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{location-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{location-24dcb14g.js → rpc-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{location-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{location-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{location-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{location-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{location-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{location-3asan66x.js → rpc-3asan66x.js} +0 -0
  713. /package/dist/chunks/{location-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{location-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{location-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{location-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{location-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{location-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{location-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{location-53557ph1.js → rpc-53557ph1.js} +0 -0
  721. /package/dist/chunks/{location-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{location-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{location-6prwharc.js → rpc-6prwharc.js} +0 -0
  724. /package/dist/chunks/{location-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{location-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{location-822emrt2.js → rpc-822emrt2.js} +0 -0
  727. /package/dist/chunks/{location-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{location-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{location-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{location-922hggd3.js → rpc-922hggd3.js} +0 -0
  731. /package/dist/chunks/{location-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{location-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{location-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{location-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{location-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{location-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{location-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{location-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{location-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{location-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{location-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{location-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{location-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{location-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{location-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{location-df08tz66.js → rpc-df08tz66.js} +0 -0
  747. /package/dist/chunks/{location-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{location-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{location-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{location-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{location-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{location-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{location-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{location-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{location-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{location-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{location-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{location-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{location-g86h250q.js → rpc-g86h250q.js} +0 -0
  760. /package/dist/chunks/{location-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{location-gftt206x.js → rpc-gftt206x.js} +0 -0
  762. /package/dist/chunks/{location-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{location-hk9envan.js → rpc-hk9envan.js} +0 -0
  764. /package/dist/chunks/{location-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{location-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{location-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{location-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{location-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{location-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{location-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{location-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{location-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{location-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{location-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{location-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{location-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{location-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{location-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{location-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{location-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{location-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{location-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{location-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{location-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{location-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{location-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{location-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{location-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{location-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{location-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{location-x61499pn.js → rpc-x61499pn.js} +0 -0
  792. /package/dist/chunks/{location-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{location-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{location-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{location-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{location-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{location-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./location-z4eayw4n.js";
6
+ } from "./rpc-e32h2zds.js";
7
7
  import {
8
- Service19
9
- } from "./location-wsvmp3ny.js";
8
+ Service67
9
+ } from "./rpc-32gc6g6n.js";
10
10
  import {
11
11
  Service6
12
- } from "./location-f323rzvq.js";
12
+ } from "./rpc-yd8awzfr.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./location-2a5m3afh.js";
15
+ } from "./rpc-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -24,25 +24,25 @@ import {
24
24
  TextPage2,
25
25
  ListPage2,
26
26
  Service7
27
- } from "./location-j14xwnx3.js";
27
+ } from "./rpc-zd488a3c.js";
28
28
  import {
29
29
  __export
30
- } from "./location-9rqn6x4v.js";
30
+ } from "./rpc-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input8,
36
- Plugin: () => Plugin28,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin22,
37
37
  ReadTool: () => exports_read,
38
- name: () => name8,
39
- toModelContent: () => toModelContent5
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent3
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name8 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input8 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin28 = {
58
+ var Plugin22 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
61
  const reader = yield* Service7;
62
- const access = yield* Service19;
62
+ const access = yield* Service67;
63
63
  const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name8,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input8,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin28 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent3(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -145,7 +145,7 @@ ${suggestions.join(`
145
145
  });
146
146
  })
147
147
  };
148
- var toModelContent5 = (path, offset, output) => {
148
+ var toModelContent3 = (path, offset, output) => {
149
149
  if (output.type === "file" && output.encoding === "base64")
150
150
  return [
151
151
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -181,4 +181,4 @@ var toModelContent5 = (path, offset, output) => {
181
181
  `);
182
182
  };
183
183
 
184
- export { name8, Input8, Plugin28, toModelContent5, exports_read };
184
+ export { name6, Input6, Plugin22, toModelContent3, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./location-ym463w8f.js";
3
+ } from "./rpc-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service18,
10
- node: () => node20
9
+ Service: () => Service24,
10
+ node: () => node27
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service18 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service24 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service18, () => {
17
+ var layer = Layer.sync(Service24, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service18.of({
19
+ return Service24.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node20 = makeGlobalNode({ service: Service18, layer, deps: [] });
26
+ var node27 = makeGlobalNode({ service: Service24, layer, deps: [] });
27
27
 
28
- export { Service18, node20, exports_managed_policy };
28
+ export { Service24, node27, exports_managed_policy };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./location-2axfhc9x.js";
3
+ } from "./rpc-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-nd5ewv74.js";
4
+ } from "./rpc-v9xrr8sf.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./location-54tcyq79.js";
7
+ } from "./rpc-54tcyq79.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./rpc-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID14,
17
- Info: () => Info28,
18
- ListInput: () => ListInput4,
16
+ ID: () => ID9,
17
+ Info: () => Info24,
18
+ ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service76,
21
- node: () => node80
20
+ Service: () => Service71,
21
+ node: () => node75
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID14 = PermissionSaved.ID;
29
- var Info28 = PermissionSaved.Info;
30
- var ListInput4 = Schema.Struct({
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info24 = PermissionSaved.Info;
30
+ var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service76 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service71 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service76, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID14.create(),
60
+ id: ID9.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service76.of({ list, add, remove });
69
+ return Service71.of({ list, add, remove });
70
70
  }));
71
- var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88] });
71
+ var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
72
72
 
73
- export { ID14, Info28, ListInput4, AddInput2, Service76, node80, exports_saved };
73
+ export { ID9, Info24, ListInput5, AddInput2, Service71, node75, exports_saved };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID8,
3
- Service66,
4
- node69
5
- } from "./location-jtc1v7sa.js";
2
+ ID13,
3
+ Service75,
4
+ node79
5
+ } from "./rpc-g6yabpgm.js";
6
6
  import {
7
- ID7,
7
+ ID12,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service65,
16
- node68
17
- } from "./location-wdz763xm.js";
15
+ Service74,
16
+ node78
17
+ } from "./rpc-wsr1ah9b.js";
18
18
  import {
19
- Service64,
20
- node67
21
- } from "./location-fs7gwttq.js";
19
+ Service59,
20
+ node61
21
+ } from "./rpc-bakcbm75.js";
22
22
  import {
23
23
  ID6,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service63,
27
- node66
28
- } from "./location-e7rgh627.js";
26
+ Service60,
27
+ node62
28
+ } from "./rpc-rwmsc9fw.js";
29
29
  import {
30
30
  __export
31
- } from "./location-9rqn6x4v.js";
31
+ } from "./rpc-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,7 +37,7 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError2,
38
38
  ModelInitializationError: () => ModelInitializationError2,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service56,
40
+ Service: () => Service58,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError2,
@@ -45,7 +45,7 @@ __export(exports_model_resolver, {
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
47
  layer: () => layer22,
48
- node: () => node59,
48
+ node: () => node60,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,7 +55,7 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID7,
58
+ providerID: ID12,
59
59
  modelID: ID6,
60
60
  variant: VariantID2
61
61
  }) {
@@ -65,7 +65,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID7,
68
+ providerID: ID12,
69
69
  modelID: ID6,
70
70
  package: Schema.String
71
71
  }) {
@@ -76,7 +76,7 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID7,
79
+ providerID: ID12,
80
80
  modelID: ID6,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
@@ -87,7 +87,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID7,
90
+ providerID: ID12,
91
91
  modelID: ID6,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
@@ -99,7 +99,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID7,
102
+ providerID: ID12,
103
103
  modelID: ID6,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
@@ -109,7 +109,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID7,
112
+ providerID: ID12,
113
113
  modelID: ID6,
114
114
  route: Schema.String
115
115
  }) {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service56 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service58 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer22 = Layer.effect(Service56, Effect.gen(function* () {
262
- const providers = yield* Service65;
263
- const models = yield* Service63;
264
- const integrations = yield* Service66;
261
+ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
262
+ const providers = yield* Service74;
263
+ const models = yield* Service60;
264
+ const integrations = yield* Service75;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service64;
266
+ const aisdk = yield* Service59;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer22 = Layer.effect(Service56, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service56.of({
296
+ return Service58.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node59 = makeLocationNode({
314
- service: Service56,
313
+ var node60 = makeLocationNode({
314
+ service: Service58,
315
315
  layer: layer22,
316
- deps: [node68, node66, node69, Npm.node, node67]
316
+ deps: [node78, node62, node79, Npm.node, node61]
317
317
  });
318
318
 
319
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node59, exports_model_resolver };
319
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node60, exports_model_resolver };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-922hggd3.js";
5
+ } from "./rpc-922hggd3.js";
6
6
  import {
7
- Service73,
8
- node76
9
- } from "./location-nwqf1d5h.js";
7
+ Service61,
8
+ node64
9
+ } from "./rpc-0kvh2d7d.js";
10
10
  import {
11
11
  Content2
12
- } from "./location-0pb2tsr6.js";
12
+ } from "./rpc-6s236mgx.js";
13
13
  import {
14
14
  detect2
15
- } from "./location-3smtnn6g.js";
15
+ } from "./rpc-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./rpc-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
331
331
  }
332
332
  };
333
333
  var layer = Layer.effect(Service7, Effect.gen(function* () {
334
- const environment = yield* Service73;
334
+ const environment = yield* Service61;
335
335
  return Service7.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node76] });
340
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [node64] });
341
341
 
342
342
  export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-espmheeq.js";
3
+ } from "./rpc-cc4mce2f.js";
4
4
  import {
5
5
  Service83
6
- } from "./location-n4v0rfv1.js";
6
+ } from "./rpc-wv1xvc5h.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./location-rr7rd4zm.js";
9
+ Event19
10
+ } from "./rpc-m0ftxd20.js";
11
11
  import {
12
- ID8,
12
+ ID13,
13
13
  MethodID2
14
- } from "./location-jtc1v7sa.js";
14
+ } from "./rpc-g6yabpgm.js";
15
15
  import {
16
16
  key2
17
- } from "./location-cpj0znwe.js";
17
+ } from "./rpc-h6r3nrb9.js";
18
18
  import {
19
- Service18
20
- } from "./location-m6f3t844.js";
19
+ Service24
20
+ } from "./rpc-z5rd9rww.js";
21
21
  import {
22
- ID7,
22
+ ID12,
23
23
  mergeOverlay2,
24
24
  mergeHeaders2
25
- } from "./location-wdz763xm.js";
25
+ } from "./rpc-wsr1ah9b.js";
26
26
  import {
27
27
  ID4,
28
28
  Input13,
29
29
  Response2
30
- } from "./location-12296md0.js";
30
+ } from "./rpc-t3ew74rm.js";
31
31
 
32
32
  // src/plugin/provider/opencode.ts
33
33
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -71,7 +71,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
71
71
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
72
72
  function oauth(http) {
73
73
  return {
74
- integrationID: ID8.make("opencode"),
74
+ integrationID: ID13.make("opencode"),
75
75
  method: {
76
76
  id: methodID,
77
77
  type: "oauth",
@@ -128,7 +128,7 @@ var OpencodePlugin2 = define({
128
128
  const bus = yield* Service83;
129
129
  const client = yield* HttpClient.HttpClient;
130
130
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
131
- const managed = yield* Service18;
131
+ const managed = yield* Service24;
132
132
  const loading = Semaphore.makeUnsafe(1);
133
133
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
134
134
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -162,7 +162,7 @@ var OpencodePlugin2 = define({
162
162
  providers.update(providerID, (provider) => {
163
163
  if (source && source.provider !== provider)
164
164
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
165
- provider.integrationID = ID8.make("opencode");
165
+ provider.integrationID = ID13.make("opencode");
166
166
  if (item.canonical !== undefined)
167
167
  provider.canonical = item.canonical;
168
168
  if (item.name !== undefined)
@@ -232,7 +232,7 @@ var OpencodePlugin2 = define({
232
232
  sourceConnection: snapshot.connection
233
233
  });
234
234
  }
235
- const item = providers.get(ID7.opencode);
235
+ const item = providers.get(ID12.opencode);
236
236
  if (!item)
237
237
  return;
238
238
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -244,7 +244,7 @@ var OpencodePlugin2 = define({
244
244
  });
245
245
  });
246
246
  yield* ctx.model.transform((models) => {
247
- const item = models.provider.get(ID7.opencode);
247
+ const item = models.provider.get(ID12.opencode);
248
248
  if (!item)
249
249
  return;
250
250
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
314
314
  });
315
315
  });
316
316
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
317
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
317
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
318
318
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
319
319
  })
320
320
  });
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID7
3
- } from "./location-wdz763xm.js";
2
+ ID12
3
+ } from "./rpc-wsr1ah9b.js";
4
4
  import {
5
5
  iife2
6
- } from "./location-1kg9ymc8.js";
6
+ } from "./rpc-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./location-9m41ce2e.js";
9
+ } from "./rpc-5xfmbqkv.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID7.make("cloudflare-workers-ai");
15
+ var providerID = ID12.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -4,7 +4,7 @@ import {
4
4
  summarize2,
5
5
  namespaceLine2,
6
6
  exports_catalog
7
- } from "../chunks/location-3fc6dm20.js";
7
+ } from "../chunks/rpc-3fc6dm20.js";
8
8
  export {
9
9
  exports_catalog as CodeModeCatalog,
10
10
  Summary2 as Summary,
@@ -1,14 +1,14 @@
1
1
  import {
2
- render2,
2
+ render3,
3
3
  update3,
4
- make14,
5
- exports_instructions3
6
- } from "../chunks/location-q826ync2.js";
7
- import"../chunks/location-3fc6dm20.js";
8
- import"../chunks/location-eaj1djv9.js";
4
+ make15,
5
+ exports_instructions5
6
+ } from "../chunks/rpc-9e4j78a5.js";
7
+ import"../chunks/rpc-3fc6dm20.js";
8
+ import"../chunks/rpc-s8d7rejh.js";
9
9
  export {
10
- exports_instructions3 as CodeModeInstructions,
11
- make14 as make,
12
- render2 as render,
10
+ exports_instructions5 as CodeModeInstructions,
11
+ make15 as make,
12
+ render3 as render,
13
13
  update3 as update
14
14
  };