@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,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-2a5m3afh.js";
3
+ } from "./rpc-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-922hggd3.js";
6
+ } from "./rpc-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./location-z4eayw4n.js";
9
+ } from "./rpc-e32h2zds.js";
10
10
  import {
11
- Service73
12
- } from "./location-nwqf1d5h.js";
11
+ Service61
12
+ } from "./rpc-0kvh2d7d.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service72
16
- } from "./location-yah15ztz.js";
15
+ Service23
16
+ } from "./rpc-g30dahm1.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./location-0pb2tsr6.js";
23
+ } from "./rpc-6s236mgx.js";
24
24
  import {
25
- Service75
26
- } from "./location-w6mz219s.js";
25
+ Service69
26
+ } from "./rpc-r4rdmmte.js";
27
27
  import {
28
- Service19
29
- } from "./location-wsvmp3ny.js";
28
+ Service67
29
+ } from "./rpc-32gc6g6n.js";
30
30
  import {
31
31
  __export
32
- } from "./location-9rqn6x4v.js";
32
+ } from "./rpc-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input9,
39
- Output: () => Output6,
40
- Plugin: () => Plugin29,
41
- name: () => name9,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
+ Plugin: () => Plugin18,
41
+ name: () => name2,
42
+ toModelContent: () => toModelContent2
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name9 = "grep";
48
- var Input9 = Schema.Struct({
47
+ var name2 = "grep";
48
+ var Input2 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output6 = Schema.Array(Match2);
69
- var toModelContent6 = (matches, truncated = false) => {
68
+ var Output2 = Schema.Array(Match2);
69
+ var toModelContent2 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin29 = {
86
+ var Plugin18 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service73;
90
- const ripgrep = yield* Service72;
89
+ const environment = yield* Service61;
90
+ const ripgrep = yield* Service23;
91
91
  const location = yield* Service80;
92
- const access = yield* Service19;
93
- const permission = yield* Service75;
92
+ const access = yield* Service67;
93
+ const permission = yield* Service69;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name9,
95
+ name: name2,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input9,
99
- output: Output6,
98
+ input: Input2,
99
+ output: Output2,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name9,
105
+ action: name2,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin29 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent6(result.matches.map((match) => ({
147
+ content: toModelContent2(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin29 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name9, Input9, Output6, toModelContent6, Plugin29, exports_grep };
157
+ export { name2, Input2, Output2, toModelContent2, Plugin18, exports_grep };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./location-0paq2nw3.js";
4
+ } from "./rpc-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./location-wdz763xm.js";
7
+ } from "./rpc-wsr1ah9b.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./location-e7rgh627.js";
11
+ } from "./rpc-rwmsc9fw.js";
12
12
  import {
13
13
  __export
14
- } from "./location-9rqn6x4v.js";
14
+ } from "./rpc-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service59
3
- } from "./location-tjca4006.js";
2
+ Service44
3
+ } from "./rpc-5vhcwf2z.js";
4
4
  import {
5
- Service5
6
- } from "./location-ggqz94d5.js";
5
+ Service8
6
+ } from "./rpc-9gx13w9t.js";
7
7
  import {
8
8
  observe2
9
- } from "./location-qsdy395h.js";
9
+ } from "./rpc-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./rpc-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin14
18
+ Plugin: () => Plugin36
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin14 = define({
22
+ var Plugin36 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service59;
26
- const compaction = yield* Service5;
25
+ const config = yield* Service44;
26
+ const compaction = yield* Service8;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin14 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin14, exports_compaction };
42
+ export { Plugin36, exports_compaction };
@@ -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/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service79,
10
- node: () => node83
9
+ Service: () => Service73,
10
+ node: () => node77
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service79 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service79, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service79.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node83 = makeLocationNode({ service: Service79, layer, deps: [] });
59
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service79, node83, exports_hooks };
61
+ export { Service73, node77, exports_hooks };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service59
4
- } from "./location-tjca4006.js";
3
+ Service44
4
+ } from "./rpc-5vhcwf2z.js";
5
5
  import {
6
- Service69
7
- } from "./location-5eb3a1ca.js";
6
+ Service57
7
+ } from "./rpc-bgvfp3ce.js";
8
8
  import {
9
9
  observe2
10
- } from "./location-qsdy395h.js";
10
+ } from "./rpc-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./rpc-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin15
19
+ Plugin: () => Plugin39
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin15 = define({
23
+ var Plugin39 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service59;
27
- const output = yield* Service69;
26
+ const config = yield* Service44;
27
+ const output = yield* Service57;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin15 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin15, exports_tool_output };
41
+ export { Plugin39, exports_tool_output };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
- Info18
6
- } from "./location-f3ngv102.js";
5
+ Info14
6
+ } from "./rpc-50mzsvk4.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./rpc-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info13
15
+ Info: () => Info11
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info18)
47
+ permission: Schema.optional(Info14)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info13, exports_agent3 };
74
+ export { Info11, exports_agent3 };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-nd5ewv74.js";
4
+ } from "./rpc-v9xrr8sf.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service83,
8
8
  node87
9
- } from "./location-n4v0rfv1.js";
9
+ } from "./rpc-wv1xvc5h.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./location-ec1grn59.js";
12
+ } from "./rpc-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./location-gftt206x.js";
15
+ } from "./rpc-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./location-xkntkrq7.js";
18
+ } from "./rpc-xkntkrq7.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./location-922hggd3.js";
22
+ } from "./rpc-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./location-psazpmmj.js";
25
+ } from "./rpc-psazpmmj.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./location-bjtzbw4r.js";
30
+ } from "./rpc-bjtzbw4r.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./location-3c7r44jp.js";
36
+ } from "./rpc-xx4yg2g6.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./location-1ed2t66p.js";
42
+ } from "./rpc-mzywpf3p.js";
43
43
  import {
44
44
  initialize2
45
- } from "./location-9kyxe6d2.js";
45
+ } from "./rpc-p1k6g3zz.js";
46
46
  import {
47
47
  Slug2
48
- } from "./location-gebd4c9n.js";
48
+ } from "./rpc-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./location-9rqn6x4v.js";
51
+ } from "./rpc-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node34
58
+ node: () => node33
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
459
459
  return publishSessionUsage(db, bus, event.data.sessionID);
460
460
  }), Effect.forkScoped({ startImmediately: true }));
461
461
  }));
462
- var node34 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
462
+ var node33 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
463
463
 
464
- export { SessionAlreadyProjected2, node34, exports_projector };
464
+ export { SessionAlreadyProjected2, node33, exports_projector };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./location-3w5fmr99.js";
3
+ } from "./rpc-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin44,
11
+ Plugin: () => Plugin12,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin44 = define({
18
+ var Plugin12 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin44, exports_tool_input_repair };
123
+ export { Plugin12, exports_tool_input_repair };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83
3
- } from "./location-n4v0rfv1.js";
3
+ } from "./rpc-wv1xvc5h.js";
4
4
  import {
5
- Service62
6
- } from "./location-745s8vaw.js";
5
+ Service66
6
+ } from "./rpc-asqr2k0y.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./location-rdw6cm16.js";
12
+ } from "./rpc-rdw6cm16.js";
13
13
  import {
14
- Service40,
14
+ Service32,
15
15
  awaitActivation2
16
- } from "./location-f81tjggh.js";
16
+ } from "./rpc-9sh4wc5j.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./location-re7w4886.js";
21
+ } from "./rpc-8q7zwx93.js";
22
22
  import {
23
23
  __export
24
- } from "./location-9rqn6x4v.js";
24
+ } from "./rpc-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service40,
33
+ Service: () => Service32,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node23
37
+ node: () => node18
38
38
  });
39
39
  import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service40, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
44
44
  const bus = yield* Service83;
45
- const kv = yield* Service62;
45
+ const kv = yield* Service66;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service40.of({
208
+ return Service32.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node23 = Node.makeLocationNode({
226
- service: Service40,
225
+ var node18 = Node.makeLocationNode({
226
+ service: Service32,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node23, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
231
+ export { node18, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info18,
10
+ Info: () => Info14,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info18 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info14 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info18, exports_permission };
41
+ export { Action2, Object2, Rule2, Info14, exports_permission };
@@ -1,15 +1,15 @@
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/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info12,
12
+ Info: () => Info17,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info12 = Schema.Struct({
64
+ var Info17 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info12, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info17, exports_provider2 };
@@ -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/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./location-qfa1cgps.js";
3
+ } from "./rpc-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./location-psazpmmj.js";
6
+ } from "./rpc-psazpmmj.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
10
- render: () => render3
9
+ make: () => make14,
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
33
- return render3(system_default, tools);
32
+ function make14(tools) {
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make14, render2, exports_system_prompt };