@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,22 +1,22 @@
1
1
  import {
2
- Service56,
3
- node59
4
- } from "./location-jy8sf8ka.js";
2
+ Service58,
3
+ node60
4
+ } from "./rpc-zc3gqq1k.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./location-5cmxdwv8.js";
7
+ } from "./rpc-q19p4fn9.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./rpc-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service48,
17
+ Service: () => Service52,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node50,
19
+ node: () => node54,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service52 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service48, Effect.gen(function* () {
58
- const resolver = yield* Service56;
59
- return Service48.of({
57
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
58
+ const resolver = yield* Service58;
59
+ return Service52.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node50 = makeLocationNode({ service: Service48, layer, deps: [node59] });
77
+ var node54 = makeLocationNode({ service: Service52, layer, deps: [node60] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service48, resolved2, node50, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service52, resolved2, node54, exports_model };
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service41
6
- } from "./location-y653rv1a.js";
5
+ Service39
6
+ } from "./rpc-ea8zm51c.js";
7
7
  import {
8
- Service75
9
- } from "./location-w6mz219s.js";
8
+ Service69
9
+ } from "./rpc-r4rdmmte.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./rpc-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin25
18
+ Plugin: () => Plugin28
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin25 = {
22
+ var Plugin28 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service41;
26
- const permission = yield* Service75;
25
+ const mcp = yield* Service39;
26
+ const permission = yield* Service69;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin25 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin25, exports_mcp_resource };
96
+ export { Plugin28, exports_mcp_resource };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service60
3
- } from "./location-8ssk0f6f.js";
2
+ Service45
3
+ } from "./rpc-62f0kzmk.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./location-eaj1djv9.js";
6
+ } from "./rpc-s8d7rejh.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./location-922hggd3.js";
9
+ } from "./rpc-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service55
13
- } from "./location-c9sp74yg.js";
12
+ Service63
13
+ } from "./rpc-ym26fzz4.js";
14
14
  import {
15
15
  Service80
16
- } from "./location-z4eayw4n.js";
16
+ } from "./rpc-e32h2zds.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin12
25
+ Plugin: () => Plugin48
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin12 = define({
32
+ var Plugin48 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service55;
35
+ const discovery = yield* Service63;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
41
  const location = yield* Service80;
42
- const watcher = yield* Service60;
42
+ const watcher = yield* Service45;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin12, exports_instruction };
117
+ export { Plugin48, exports_instruction };
@@ -1,37 +1,37 @@
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
- Service68
11
- } from "./location-rr7rd4zm.js";
9
+ Event19,
10
+ Service76
11
+ } from "./rpc-m0ftxd20.js";
12
12
  import {
13
- ID8,
13
+ ID13,
14
14
  MethodID2,
15
- Service66
16
- } from "./location-jtc1v7sa.js";
15
+ Service75
16
+ } from "./rpc-g6yabpgm.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./location-pjvnvgmy.js";
20
+ } from "./rpc-pjvnvgmy.js";
21
21
  import {
22
- ID7
23
- } from "./location-wdz763xm.js";
22
+ ID12
23
+ } from "./rpc-wsr1ah9b.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./location-9m41ce2e.js";
26
+ } from "./rpc-5xfmbqkv.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID7.make("snowflake-cortex");
34
- var integrationID = ID8.make(providerID);
33
+ var providerID = ID12.make("snowflake-cortex");
34
+ var integrationID = ID13.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service68;
57
- const integrations = yield* Service66;
56
+ const credentials = yield* Service76;
57
+ const integrations = yield* Service75;
58
58
  const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -2,27 +2,27 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./location-n4v0rfv1.js";
5
+ } from "./rpc-wv1xvc5h.js";
6
6
  import {
7
- Service62,
8
- node65
9
- } from "./location-745s8vaw.js";
7
+ Service66,
8
+ node70
9
+ } from "./rpc-asqr2k0y.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./rpc-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event12,
19
+ Event: () => Event10,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service61,
22
+ Service: () => Service46,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node64,
25
+ node: () => node49,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service61 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service46 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event12 = {
51
+ var Event10 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service61, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service62;
80
+ const kv = yield* Service66;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event12.Updated, {});
112
+ yield* bus.publish(Event10.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service61.of({
115
+ return Service46.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event12.Updated, {});
128
+ yield* bus.publish(Event10.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event12.Updated, {});
141
+ yield* bus.publish(Event10.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [httpClient, node65, node87] });
146
+ var node49 = makeGlobalNode({ service: Service46, layer, deps: [httpClient, node70, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service61, Event12, inspect2, resolve3, node64, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service46, Event10, inspect2, resolve3, node49, exports_wellknown };
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID16,
3
- Info31,
2
+ ID11,
3
+ Info26,
4
4
  SessionSchema2
5
- } from "./location-5cmxdwv8.js";
5
+ } from "./rpc-q19p4fn9.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./location-922hggd3.js";
8
+ } from "./rpc-922hggd3.js";
9
9
  import {
10
10
  Service84,
11
11
  node88
12
- } from "./location-nd5ewv74.js";
12
+ } from "./rpc-v9xrr8sf.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service83,
16
16
  node87
17
- } from "./location-n4v0rfv1.js";
17
+ } from "./rpc-wv1xvc5h.js";
18
18
  import {
19
19
  Service81,
20
20
  node85
21
- } from "./location-80ebag5h.js";
21
+ } from "./rpc-ps0jvca7.js";
22
22
  import {
23
- Service47,
24
- node49
25
- } from "./location-2a6rn6yr.js";
23
+ Service53,
24
+ node55
25
+ } from "./rpc-0jkw1j53.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./location-ec1grn59.js";
28
+ } from "./rpc-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./location-bjtzbw4r.js";
31
+ } from "./rpc-bjtzbw4r.js";
32
32
  import {
33
- node48
34
- } from "./location-3c7r44jp.js";
33
+ node53
34
+ } from "./rpc-xx4yg2g6.js";
35
35
  import {
36
36
  current2
37
- } from "./location-1ed2t66p.js";
37
+ } from "./rpc-mzywpf3p.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./location-9kyxe6d2.js";
40
+ } from "./rpc-p1k6g3zz.js";
41
41
  import {
42
42
  Slug2
43
- } from "./location-gebd4c9n.js";
43
+ } from "./rpc-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node34
47
- } from "./location-9tgtz3hc.js";
46
+ node33
47
+ } from "./rpc-4kmxbxdg.js";
48
48
  import {
49
49
  Metadata2,
50
- node58
51
- } from "./location-espmheeq.js";
50
+ node63
51
+ } from "./rpc-cc4mce2f.js";
52
52
  import {
53
- NotFoundError10,
53
+ NotFoundError9,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./location-n3vygs5b.js";
64
+ } from "./rpc-h07bg3jc.js";
65
65
  import {
66
- ListInput5,
67
- Service77,
68
- node81
69
- } from "./location-8s1frede.js";
66
+ ListInput4,
67
+ Service70,
68
+ node74
69
+ } from "./rpc-rh0bbtdf.js";
70
70
  import {
71
- Service50,
72
- node52
73
- } from "./location-xz21yfmd.js";
71
+ Service54,
72
+ node56
73
+ } from "./rpc-ncms4gaj.js";
74
74
  import {
75
- Service44,
76
- node47
77
- } from "./location-dxkh69ct.js";
75
+ Service49,
76
+ node52
77
+ } from "./rpc-2bbyca3v.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./location-5t3nmthw.js";
80
+ } from "./rpc-5t3nmthw.js";
81
81
  import {
82
82
  Service35,
83
- node39
84
- } from "./location-atzxk3q8.js";
83
+ node38
84
+ } from "./rpc-p9g6edyn.js";
85
85
  import {
86
86
  generate2
87
- } from "./location-t8kexe44.js";
87
+ } from "./rpc-r6jt1nbf.js";
88
88
  import {
89
89
  execute2
90
- } from "./location-e5pqzwnt.js";
90
+ } from "./rpc-nxzfgd6f.js";
91
91
  import {
92
- Service49,
93
- node51
94
- } from "./location-w7bkmztz.js";
92
+ Service68,
93
+ node72
94
+ } from "./rpc-ssbdqrjt.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service30,
100
- node33
101
- } from "./location-fch6zz7r.js";
99
+ Service29,
100
+ node32
101
+ } from "./rpc-sd7amxc6.js";
102
102
  import {
103
- Service58,
104
- node61
105
- } from "./location-7dbmnfn4.js";
103
+ Service43,
104
+ node46
105
+ } from "./rpc-yvvvp4gn.js";
106
106
  import {
107
107
  make13
108
- } from "./location-ssg653vt.js";
108
+ } from "./rpc-ttpmax8e.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./location-vw38ypps.js";
112
+ } from "./rpc-vmnk7m7g.js";
113
113
  import {
114
114
  __export
115
- } from "./location-9rqn6x4v.js";
115
+ } from "./rpc-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID16,
126
+ ID: () => ID11,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info31,
128
+ Info: () => Info26,
129
129
  ListAnchor: () => ListAnchor2,
130
130
  ListInput: () => ListInput3,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError10,
133
+ NotFoundError: () => NotFoundError9,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service29,
135
+ Service: () => Service28,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node32
141
+ node: () => node31
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput3 = ListInput5;
152
- class Service29 extends Context.Service()("@opencode/Session") {
151
+ var ListInput3 = ListInput4;
152
+ class Service28 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service29, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service84;
157
157
  const db = database.db;
158
158
  const bus = yield* Service83;
159
159
  const projects = yield* Service81;
160
- const execution = yield* Service44;
160
+ const execution = yield* Service49;
161
161
  const llm = yield* LLMClient.Service;
162
162
  const transport = yield* Service35;
163
- const store = yield* Service77;
164
- const instances = yield* Service47;
165
- const moves = yield* Service30;
166
- const jobs = yield* Service50;
167
- const environments = yield* Service58;
168
- const locations = yield* Service49;
163
+ const store = yield* Service70;
164
+ const instances = yield* Service53;
165
+ const moves = yield* Service29;
166
+ const jobs = yield* Service54;
167
+ const environments = yield* Service43;
168
+ const locations = yield* Service68;
169
169
  const sessions = yield* make13();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service29.of({
171
+ const result = Service28.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError10({ sessionID: input.parentID });
179
+ return yield* new NotFoundError9({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service47, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service53, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
327
327
  });
328
328
  return result;
329
329
  }));
330
- var node32 = Node.makeGlobalNode({
331
- service: Service29,
330
+ var node31 = Node.makeGlobalNode({
331
+ service: Service28,
332
332
  layer,
333
333
  deps: [
334
- node52,
335
- node61,
334
+ node56,
335
+ node46,
336
336
  node88,
337
337
  node87,
338
338
  node85,
339
- node47,
340
- node39,
339
+ node52,
340
+ node38,
341
341
  llmClient2,
342
- node81,
343
- node49,
344
- node48,
342
+ node74,
343
+ node55,
344
+ node53,
345
+ node32,
345
346
  node33,
346
- node34,
347
- node51,
347
+ node72,
348
348
  FSUtil.node,
349
- node58
349
+ node63
350
350
  ]
351
351
  });
352
352
 
353
- export { ListAnchor2, ListInput3, Service29, node32, exports_session };
353
+ export { ListAnchor2, ListInput3, Service28, node31, exports_session };