@opencode/core 0.0.0-dev-19542 → 0.0.0-dev-19543

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +76 -76
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{location-626qb2eb.js → vcs-0134vnbt.js} +9 -9
  9. package/dist/chunks/{location-rhjbct0v.js → vcs-02nrjc1r.js} +6 -6
  10. package/dist/chunks/{location-thhdn3hd.js → vcs-05ar9k21.js} +10 -10
  11. package/dist/chunks/{location-yq6wvp1y.js → vcs-0beevc0q.js} +10 -10
  12. package/dist/chunks/{location-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{location-frjn3nfh.js → vcs-0z4vcyj9.js} +11 -11
  15. package/dist/chunks/{location-htaz91yz.js → vcs-0zqhpepf.js} +285 -285
  16. package/dist/chunks/{location-zzwwppnv.js → vcs-11ngpntp.js} +9 -9
  17. package/dist/chunks/{location-0yq4avys.js → vcs-15zpymrv.js} +27 -27
  18. package/dist/chunks/{location-1acjjqhc.js → vcs-1acjjqhc.js} +1 -1
  19. package/dist/chunks/{location-mvfsc1pv.js → vcs-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{location-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-jwbn61yk.js → vcs-1jhwq68e.js} +24 -24
  22. package/dist/chunks/{location-036f132z.js → vcs-216091zf.js} +11 -11
  23. package/dist/chunks/{location-21r38tys.js → vcs-21r38tys.js} +1 -1
  24. package/dist/chunks/{location-trn0ebkj.js → vcs-234dm2bj.js} +2 -2
  25. package/dist/chunks/{location-2402vzrj.js → vcs-2402vzrj.js} +1 -1
  26. package/dist/chunks/{location-mj6ph3es.js → vcs-2a2n1f8e.js} +9 -9
  27. package/dist/chunks/{location-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{location-zgpdpn5c.js → vcs-2c706wqc.js} +5 -5
  29. package/dist/chunks/{location-zfcp8yb0.js → vcs-2djskdmr.js} +3 -3
  30. package/dist/chunks/{location-yez2bqh9.js → vcs-2hg3qswx.js} +9 -9
  31. package/dist/chunks/{location-2k8khapm.js → vcs-2k8khapm.js} +1 -1
  32. package/dist/chunks/{location-psg6n3xm.js → vcs-2kndbphh.js} +6 -6
  33. package/dist/chunks/{location-xmzr835j.js → vcs-2paythm0.js} +38 -35
  34. package/dist/chunks/{location-k33a3tse.js → vcs-2rka0yp2.js} +82 -82
  35. package/dist/chunks/{location-c92dvjnv.js → vcs-2zqsmd4h.js} +14 -14
  36. package/dist/chunks/{location-k1abzt0p.js → vcs-36n397ms.js} +10 -10
  37. package/dist/chunks/{location-w0pcakp2.js → vcs-37d2dft6.js} +11 -11
  38. package/dist/chunks/{location-cq37gk0t.js → vcs-3c4e3q8d.js} +4 -4
  39. package/dist/chunks/{location-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{location-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{location-g4wtk1yg.js → vcs-3pra5n8k.js} +6 -6
  42. package/dist/chunks/{location-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{location-2f04pwep.js → vcs-3yjg5mh2.js} +3 -3
  45. package/dist/chunks/{location-9328fxv7.js → vcs-43cgbf58.js} +10 -10
  46. package/dist/chunks/{location-8033czsa.js → vcs-4840zrk7.js} +8 -8
  47. package/dist/chunks/{location-yjcxr39e.js → vcs-49ayzkvm.js} +16 -16
  48. package/dist/chunks/{location-q99ra9zv.js → vcs-4b40vsya.js} +1 -1
  49. package/dist/chunks/{location-q1c2np19.js → vcs-4dz39p50.js} +8 -8
  50. package/dist/chunks/{location-26axh7t1.js → vcs-4e3dqy5p.js} +13 -13
  51. package/dist/chunks/{location-g500fjm7.js → vcs-4td4y4b3.js} +1 -1
  52. package/dist/chunks/{location-ay697b8v.js → vcs-5043qghc.js} +16 -16
  53. package/dist/chunks/{location-7y7r0vgy.js → vcs-52wk4g8k.js} +17 -17
  54. package/dist/chunks/{location-tq3dmmmr.js → vcs-55qfk59p.js} +22 -22
  55. package/dist/chunks/{location-efjfkye6.js → vcs-55rxggf2.js} +66 -66
  56. package/dist/chunks/{location-mfqp6xfm.js → vcs-56gdpj1q.js} +6 -6
  57. package/dist/chunks/{location-a1bz86dw.js → vcs-5c4hm403.js} +3 -3
  58. package/dist/chunks/{location-5daktx2q.js → vcs-5daktx2q.js} +1 -1
  59. package/dist/chunks/{location-7kx4sdq3.js → vcs-5rrcxc33.js} +41 -41
  60. package/dist/chunks/{location-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{location-qa7bh0h2.js → vcs-616b6p7x.js} +14 -14
  62. package/dist/chunks/{location-669tq793.js → vcs-669tq793.js} +1 -1
  63. package/dist/chunks/{location-10c34jta.js → vcs-68wdhjxv.js} +28 -28
  64. package/dist/chunks/{location-6s42ra37.js → vcs-6cqd20xf.js} +4 -4
  65. package/dist/chunks/{location-7kds0srq.js → vcs-6f856eqw.js} +11 -11
  66. package/dist/chunks/{location-jtptkwgj.js → vcs-6gxskptp.js} +20 -20
  67. package/dist/chunks/{location-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{location-z4zaedpe.js → vcs-6n88yxkj.js} +9 -9
  69. package/dist/chunks/{location-42avcs9s.js → vcs-6p5hnz19.js} +7 -7
  70. package/dist/chunks/{location-m945b776.js → vcs-6qnngr69.js} +89 -89
  71. package/dist/chunks/{location-fyveyagd.js → vcs-6s315dww.js} +24 -24
  72. package/dist/chunks/{location-1254qmjv.js → vcs-6t11chne.js} +1 -1
  73. package/dist/chunks/{location-3ypnsrhw.js → vcs-6yvesre5.js} +24 -24
  74. package/dist/chunks/{location-8t1wrec1.js → vcs-703jyx7f.js} +8 -8
  75. package/dist/chunks/{location-71q4at8m.js → vcs-71q4at8m.js} +1 -1
  76. package/dist/chunks/{location-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{location-hy1g3bgf.js → vcs-7t19srph.js} +1 -1
  78. package/dist/chunks/{location-sdd99z8d.js → vcs-7wvtvwa1.js} +33 -33
  79. package/dist/chunks/{location-e8t23edk.js → vcs-7zbr7ykm.js} +27 -27
  80. package/dist/chunks/{location-w6s34xcg.js → vcs-817xngw7.js} +21 -21
  81. package/dist/chunks/{location-3v8068pd.js → vcs-828cj25e.js} +19 -19
  82. package/dist/chunks/{location-rpby09da.js → vcs-83khedfr.js} +24 -24
  83. package/dist/chunks/{location-dv1qgsyq.js → vcs-844ef7ks.js} +8 -8
  84. package/dist/chunks/{location-r99cxfj6.js → vcs-84gdrbxj.js} +11 -11
  85. package/dist/chunks/{location-tcezcvh9.js → vcs-89znhe33.js} +4 -4
  86. package/dist/chunks/{location-6sv4j6tb.js → vcs-8b3yqjbd.js} +29 -29
  87. package/dist/chunks/{location-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{location-wkgt00bf.js → vcs-8xm6sxyw.js} +28 -28
  89. package/dist/chunks/{location-7r0r50e5.js → vcs-8y31xnqm.js} +5 -5
  90. package/dist/chunks/{location-ectx44z1.js → vcs-91s55bq6.js} +24 -24
  91. package/dist/chunks/{location-fp1g0m9s.js → vcs-93s725x3.js} +30 -30
  92. package/dist/chunks/{location-e9f6ng75.js → vcs-9488ffsa.js} +12 -12
  93. package/dist/chunks/{location-bwc1950q.js → vcs-980xfpxw.js} +9 -9
  94. package/dist/chunks/{location-a0w9kdt2.js → vcs-98zj8y75.js} +17 -17
  95. package/dist/chunks/{location-zcqf6png.js → vcs-9d375gd6.js} +6 -6
  96. package/dist/chunks/{location-a6mya1gb.js → vcs-9hn3y1ap.js} +11 -11
  97. package/dist/chunks/{location-mh9s5q0j.js → vcs-9z91vmsn.js} +11 -11
  98. package/dist/chunks/{location-e65zwyc2.js → vcs-a1vsjqdb.js} +37 -37
  99. package/dist/chunks/{location-v860pzrr.js → vcs-a291kd0j.js} +23 -23
  100. package/dist/chunks/{location-xcs774s4.js → vcs-a81n23zd.js} +11 -11
  101. package/dist/chunks/{location-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  102. package/dist/chunks/{location-2j4tqp5k.js → vcs-aem37vve.js} +11 -11
  103. package/dist/chunks/{location-9yh90y22.js → vcs-amqzaqt1.js} +3 -3
  104. package/dist/chunks/{location-h9cxr4wq.js → vcs-as0n2ynj.js} +9 -9
  105. package/dist/chunks/{location-95a4nxen.js → vcs-b0026ckp.js} +12 -12
  106. package/dist/chunks/{location-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{location-drhnesrb.js → vcs-bh0zfw7e.js} +11 -11
  108. package/dist/chunks/{location-qz49fwgp.js → vcs-bjs2yq5f.js} +6 -6
  109. package/dist/chunks/{location-m2ey3cvd.js → vcs-bm5daegx.js} +6 -6
  110. package/dist/chunks/{location-txp8aktn.js → vcs-bmvw9q6x.js} +6 -6
  111. package/dist/chunks/{location-fj365ecp.js → vcs-bpa8t5yh.js} +15 -15
  112. package/dist/chunks/{location-f5vwma0d.js → vcs-brk9edbg.js} +18 -18
  113. package/dist/chunks/{location-xs12am9p.js → vcs-bw0vgseb.js} +8 -8
  114. package/dist/chunks/{location-rjg803xe.js → vcs-c1z1xrrm.js} +14 -14
  115. package/dist/chunks/{location-0zwqsx91.js → vcs-c20nmzh2.js} +11 -11
  116. package/dist/chunks/{location-qska36k1.js → vcs-c5tvk5z2.js} +9 -9
  117. package/dist/chunks/{location-tn0aqsam.js → vcs-c78bbtc9.js} +5 -5
  118. package/dist/chunks/{location-9704n2mm.js → vcs-c7af8brc.js} +11 -11
  119. package/dist/chunks/{location-mvfdckk2.js → vcs-ceetf7sw.js} +6 -6
  120. package/dist/chunks/{location-k5dbpnja.js → vcs-cpet1atm.js} +20 -20
  121. package/dist/chunks/{location-fw6yfypp.js → vcs-cspmbg10.js} +12 -12
  122. package/dist/chunks/{location-3nbdta8h.js → vcs-ct2mk1yg.js} +19 -19
  123. package/dist/chunks/{location-v9dgs7p6.js → vcs-cwxby6pr.js} +9 -9
  124. package/dist/chunks/{location-q1a7cndp.js → vcs-cynacfj1.js} +9 -9
  125. package/dist/chunks/{location-brj2edwx.js → vcs-d7r387ef.js} +6 -6
  126. package/dist/chunks/{location-edh9f0mz.js → vcs-d8n99bgq.js} +4 -4
  127. package/dist/chunks/{location-xd121ra7.js → vcs-dbnm0m83.js} +13 -13
  128. package/dist/chunks/{location-9vj7yqvm.js → vcs-de8hzpm7.js} +9 -9
  129. package/dist/chunks/{location-ftzfwxz1.js → vcs-dg7y2dkj.js} +15 -15
  130. package/dist/chunks/{location-8p4f9s12.js → vcs-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{location-y5f1wfry.js → vcs-dkz4h62m.js} +2 -2
  132. package/dist/chunks/{location-y71avatq.js → vcs-dpkg50ah.js} +4 -4
  133. package/dist/chunks/{location-bf5a3t6s.js → vcs-e10aq1g2.js} +43 -43
  134. package/dist/chunks/{location-0q29pjbf.js → vcs-e46che4h.js} +12 -12
  135. package/dist/chunks/{location-j83x2c5c.js → vcs-e4a1y780.js} +32 -32
  136. package/dist/chunks/{location-e5nv3ght.js → vcs-e5nv3ght.js} +2 -2
  137. package/dist/chunks/{location-5tyr9vxf.js → vcs-eaqgtc5s.js} +34 -31
  138. package/dist/chunks/{location-44ywkmmm.js → vcs-eaqy37er.js} +16 -16
  139. package/dist/chunks/{location-74t9ss8a.js → vcs-eb812gk8.js} +22 -22
  140. package/dist/chunks/{location-nspnzx2r.js → vcs-ebkg1v6v.js} +11 -11
  141. package/dist/chunks/{location-0ppqyhex.js → vcs-edk817rf.js} +23 -23
  142. package/dist/chunks/{location-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{location-58ww9q9a.js → vcs-exmh4txv.js} +25 -25
  144. package/dist/chunks/{location-bdkgw8cf.js → vcs-eykm7ns6.js} +32 -32
  145. package/dist/chunks/{location-6mdnwp5h.js → vcs-ez3gzyzp.js} +11 -11
  146. package/dist/chunks/{location-2jwyrfxf.js → vcs-f3mbegaz.js} +44 -41
  147. package/dist/chunks/{location-0996nyz8.js → vcs-f7ehr2sm.js} +5 -5
  148. package/dist/chunks/{location-6zqq4ek8.js → vcs-f7tv3h97.js} +5 -5
  149. package/dist/chunks/{location-dfqckxk5.js → vcs-fq0pc14n.js} +25 -25
  150. package/dist/chunks/{location-xsmwh0mh.js → vcs-ftxa5p30.js} +149 -149
  151. package/dist/chunks/{location-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{location-3tz10jhh.js → vcs-fxfn3sht.js} +6 -6
  153. package/dist/chunks/{location-fs6bp36w.js → vcs-g6ddfetr.js} +5 -5
  154. package/dist/chunks/{location-cds4nqjn.js → vcs-g9k78q3y.js} +32 -32
  155. package/dist/chunks/{location-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{location-rsb1fe67.js → vcs-ger25q1p.js} +5 -5
  157. package/dist/chunks/{location-ys02tb6f.js → vcs-gg85ze80.js} +29 -29
  158. package/dist/chunks/{location-jyrggvz0.js → vcs-gmttzzga.js} +20 -20
  159. package/dist/chunks/{location-27yn085b.js → vcs-gq3r9j4n.js} +15 -15
  160. package/dist/chunks/{location-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{location-h03wrkyp.js → vcs-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{location-0qbfsv0x.js → vcs-h467qvvw.js} +4 -4
  163. package/dist/chunks/{location-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{location-31f4jhva.js → vcs-h7v99hnd.js} +30 -30
  165. package/dist/chunks/{location-84zt2byv.js → vcs-h7ygw6q4.js} +9 -9
  166. package/dist/chunks/{location-f828m53h.js → vcs-hdnk95c8.js} +2 -2
  167. package/dist/chunks/{location-hjt4xg1x.js → vcs-hjt4xg1x.js} +1 -1
  168. package/dist/chunks/{location-fvsyg6qk.js → vcs-hnr5yq9h.js} +5 -5
  169. package/dist/chunks/{location-t0x5rdq8.js → vcs-hrvd6t1f.js} +9 -9
  170. package/dist/chunks/{location-4b5x0nt9.js → vcs-hste9311.js} +19 -19
  171. package/dist/chunks/{location-x0ew26t4.js → vcs-hvb5q4dy.js} +4 -4
  172. package/dist/chunks/{location-yq2cy4vk.js → vcs-hypq3x55.js} +7 -7
  173. package/dist/chunks/{location-9ctdz51b.js → vcs-j4yw7sy1.js} +24 -24
  174. package/dist/chunks/{location-b2hm862w.js → vcs-j4zt4cj1.js} +18 -18
  175. package/dist/chunks/{location-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  176. package/dist/chunks/{location-r98e92ep.js → vcs-j83byb14.js} +4 -4
  177. package/dist/chunks/{location-dfj554pg.js → vcs-jjawnr8d.js} +9 -9
  178. package/dist/chunks/{location-jyn989r3.js → vcs-jtcfhw3c.js} +23 -23
  179. package/dist/chunks/{location-gy4p1xkh.js → vcs-k04vznwt.js} +1 -1
  180. package/dist/chunks/{location-vsp1fds9.js → vcs-k2h4r4s0.js} +19 -19
  181. package/dist/chunks/{location-ewjdxm92.js → vcs-k5xy40wg.js} +17 -17
  182. package/dist/chunks/{location-adcdh9yc.js → vcs-k90zknc5.js} +8 -8
  183. package/dist/chunks/{location-vk804zsa.js → vcs-kes4sneg.js} +27 -27
  184. package/dist/chunks/{location-kg06axw8.js → vcs-kg06axw8.js} +1 -1
  185. package/dist/chunks/{location-yh16dntz.js → vcs-kjg951ap.js} +53 -53
  186. package/dist/chunks/{location-cfpkc3c9.js → vcs-m0jqrx5p.js} +2 -2
  187. package/dist/chunks/vcs-m4jhp7qn.js +247 -0
  188. package/dist/chunks/{location-ddt2bs9e.js → vcs-m70sbz6t.js} +4 -4
  189. package/dist/chunks/{location-473b71hx.js → vcs-m78yv3jq.js} +13 -13
  190. package/dist/chunks/{location-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{location-2d362z0y.js → vcs-mfbd497n.js} +10 -10
  192. package/dist/chunks/{location-8sghyhzw.js → vcs-mgx963cj.js} +8 -8
  193. package/dist/chunks/{location-frqj80pv.js → vcs-mpbm1spn.js} +47 -47
  194. package/dist/chunks/{location-at5d07az.js → vcs-mtq6xxnx.js} +7 -7
  195. package/dist/chunks/vcs-myzk5n2s.js +26 -0
  196. package/dist/chunks/{location-baf2ph3h.js → vcs-n57pa20n.js} +29 -29
  197. package/dist/chunks/{location-jjrmtxp8.js → vcs-nh7zbcx6.js} +5 -5
  198. package/dist/chunks/{location-k0j25v2x.js → vcs-np3n7n3n.js} +15 -15
  199. package/dist/chunks/{location-th0vq4rj.js → vcs-nqp91hg0.js} +42 -42
  200. package/dist/chunks/{location-9drm9vkg.js → vcs-ntqwm10a.js} +20 -20
  201. package/dist/chunks/{location-b792c96b.js → vcs-ntrrvapb.js} +9 -9
  202. package/dist/chunks/{location-yyfky2bj.js → vcs-nvmga65c.js} +1 -1
  203. package/dist/chunks/{location-7j92jdde.js → vcs-nw2nz702.js} +4 -4
  204. package/dist/chunks/{location-njr1pezb.js → vcs-nxs71vds.js} +8 -8
  205. package/dist/chunks/{location-rrbca1ec.js → vcs-p6t3fjxg.js} +9 -6
  206. package/dist/chunks/{location-j935v87r.js → vcs-paphc93g.js} +2 -2
  207. package/dist/chunks/{location-81swgkk7.js → vcs-pjmw00w1.js} +5 -5
  208. package/dist/chunks/{location-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{location-pknna89w.js → vcs-pknna89w.js} +1 -1
  210. package/dist/chunks/{location-q6v9m3mm.js → vcs-ps2966zf.js} +20 -20
  211. package/dist/chunks/{location-qqj7ja7g.js → vcs-pwek4mmw.js} +16 -16
  212. package/dist/chunks/{location-kmjjtydn.js → vcs-pxm319h1.js} +7 -7
  213. package/dist/chunks/{location-kr0z5b0n.js → vcs-q38fqzw5.js} +12 -12
  214. package/dist/chunks/vcs-q509s3k3.js +18 -0
  215. package/dist/chunks/{location-st7z8rqw.js → vcs-q68c4f0q.js} +20 -20
  216. package/dist/chunks/{location-fcgej241.js → vcs-q6jq121h.js} +38 -38
  217. package/dist/chunks/{location-h17a27cz.js → vcs-q7wmg9kr.js} +47 -47
  218. package/dist/chunks/vcs-qapv375x.js +4 -0
  219. package/dist/chunks/{location-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  220. package/dist/chunks/{location-jhc25b2t.js → vcs-qsw4qewe.js} +32 -32
  221. package/dist/chunks/{location-c5db1mkp.js → vcs-qvzzg1n6.js} +20 -20
  222. package/dist/chunks/{location-qfb9szcf.js → vcs-qxt6y2k0.js} +8 -8
  223. package/dist/chunks/{location-r9mregkx.js → vcs-r9mregkx.js} +2 -2
  224. package/dist/chunks/{location-wty8bgxf.js → vcs-rbnn063c.js} +17 -17
  225. package/dist/chunks/{location-03acwmsz.js → vcs-rfsgj36k.js} +19 -19
  226. package/dist/chunks/{location-k6y5pwvv.js → vcs-rh2jh937.js} +16 -16
  227. package/dist/chunks/{location-2sv037bd.js → vcs-rm2j6wpe.js} +16 -16
  228. package/dist/chunks/{location-2grzxxc1.js → vcs-s31y3cjy.js} +14 -14
  229. package/dist/chunks/{location-zpn9qnw3.js → vcs-s628c0zm.js} +4 -4
  230. package/dist/chunks/{location-r0056zdr.js → vcs-sj3jh7ve.js} +13 -13
  231. package/dist/chunks/{location-5cfbqtfg.js → vcs-smrjz3b9.js} +18 -18
  232. package/dist/chunks/{location-s8610hey.js → vcs-svxygcjw.js} +2 -2
  233. package/dist/chunks/{location-jwjj6wv5.js → vcs-t3mktjaj.js} +6 -6
  234. package/dist/chunks/{location-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{location-qzrw3svz.js → vcs-tbw3c36v.js} +13 -13
  236. package/dist/chunks/{location-tdstcens.js → vcs-tdstcens.js} +1 -1
  237. package/dist/chunks/{location-1g8myb90.js → vcs-thsh4wec.js} +22 -22
  238. package/dist/chunks/{location-hj07p436.js → vcs-tq3512j9.js} +4 -4
  239. package/dist/chunks/{location-tvtrv512.js → vcs-tvtrv512.js} +1 -1
  240. package/dist/chunks/{location-tx9qvpbt.js → vcs-tx9qvpbt.js} +2 -2
  241. package/dist/chunks/{location-yydrw2qx.js → vcs-txqbax26.js} +5 -5
  242. package/dist/chunks/{location-83tr1t7h.js → vcs-v8ehpa7g.js} +28 -28
  243. package/dist/chunks/{location-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  244. package/dist/chunks/{location-h6hxmqda.js → vcs-vfhz1eq3.js} +6 -6
  245. package/dist/chunks/{location-w8cnm1fe.js → vcs-vg2gmgg6.js} +17 -17
  246. package/dist/chunks/{location-g2rnahzd.js → vcs-vgpkvjy0.js} +7 -7
  247. package/dist/chunks/{location-22m95qs7.js → vcs-vj81g6vn.js} +4 -4
  248. package/dist/chunks/{location-c3xvfvd3.js → vcs-vjsbzy9z.js} +15 -15
  249. package/dist/chunks/{location-6yjygpg1.js → vcs-vw1mers6.js} +13 -13
  250. package/dist/chunks/{location-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{location-tj0j24wc.js → vcs-w16wg7x4.js} +10 -10
  252. package/dist/chunks/{location-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-tes6d6n3.js → vcs-w8nd9dyx.js} +14 -14
  254. package/dist/chunks/{location-wd87259q.js → vcs-wd87259q.js} +1 -1
  255. package/dist/chunks/{location-qgq93atd.js → vcs-wdek6ynv.js} +26 -26
  256. package/dist/chunks/{location-cwspyxgg.js → vcs-wkawkmf2.js} +46 -46
  257. package/dist/chunks/{location-m72athct.js → vcs-wmg8ytqm.js} +4 -4
  258. package/dist/chunks/{location-v3bsw2k3.js → vcs-wmp55s22.js} +19 -19
  259. package/dist/chunks/{location-4jzrjc6m.js → vcs-wnxny4fe.js} +29 -29
  260. package/dist/chunks/{location-yf0jwjfc.js → vcs-wpv1fq52.js} +29 -29
  261. package/dist/chunks/{location-34ytdzas.js → vcs-wzvxt2x2.js} +1 -1
  262. package/dist/chunks/{location-cf3tj770.js → vcs-wzz0kxab.js} +7 -7
  263. package/dist/chunks/{location-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{location-a6x2cpah.js → vcs-x204myat.js} +5 -5
  265. package/dist/chunks/{location-rkmq0ftz.js → vcs-x4t6e216.js} +11 -11
  266. package/dist/chunks/{location-ef5ff6ft.js → vcs-x586zysr.js} +9 -9
  267. package/dist/chunks/{location-5rfw13p6.js → vcs-x9cxf4kd.js} +11 -11
  268. package/dist/chunks/{location-zyhvsr6w.js → vcs-xc7r4j3q.js} +2 -2
  269. package/dist/chunks/{location-q0q850wj.js → vcs-xkk9yemc.js} +32 -32
  270. package/dist/chunks/{location-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{location-ptrn6wv1.js → vcs-yam81w27.js} +51 -48
  272. package/dist/chunks/{location-j6yasvxk.js → vcs-ydeksb44.js} +13 -13
  273. package/dist/chunks/{location-mynqm169.js → vcs-ym3wztb4.js} +18 -18
  274. package/dist/chunks/{location-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{location-s4enseaf.js → vcs-yrznvahk.js} +2 -2
  276. package/dist/chunks/{location-mtft99cd.js → vcs-yt0fqk68.js} +5 -5
  277. package/dist/chunks/{location-636t8bd4.js → vcs-yzj7mwan.js} +18 -18
  278. package/dist/chunks/{location-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{location-dny4bs9e.js → vcs-z1rv843f.js} +28 -28
  280. package/dist/chunks/{location-29x78va6.js → vcs-z63w68vq.js} +6 -6
  281. package/dist/chunks/{location-hwg0j0eb.js → vcs-zd4dyd0c.js} +5 -5
  282. package/dist/chunks/{location-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{location-b0tjgqrn.js → vcs-zfp7fpm2.js} +5 -5
  284. package/dist/chunks/{location-gyrm231q.js → vcs-zjed2hh9.js} +32 -32
  285. package/dist/chunks/{location-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-cssnqykq.js → vcs-ztgmjw6y.js} +11 -11
  287. package/dist/chunks/{location-dhdv1zj0.js → vcs-ztmre2e9.js} +51 -51
  288. package/dist/chunks/{location-39jybg81.js → vcs-zxd7x465.js} +37 -37
  289. package/dist/chunks/{location-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +210 -210
  299. package/dist/config/plugin/compaction.js +157 -157
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +119 -119
  302. package/dist/config/plugin/image.js +117 -117
  303. package/dist/config/plugin/instruction.js +87 -87
  304. package/dist/config/plugin/location-watcher.js +117 -117
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +116 -116
  307. package/dist/config/plugin/provider.js +115 -115
  308. package/dist/config/plugin/reference.js +119 -119
  309. package/dist/config/plugin/shell.js +120 -120
  310. package/dist/config/plugin/skill-file.js +99 -99
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +117 -117
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +119 -119
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +120 -120
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +69 -69
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +361 -361
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +90 -90
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +92 -92
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +101 -101
  412. package/dist/file-mutation.js +91 -91
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +222 -222
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +101 -101
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +11 -11
  426. package/dist/filesystem.js +104 -104
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +90 -90
  431. package/dist/git.js +8 -8
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +3 -3
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +354 -354
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +84 -84
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +76 -76
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +128 -128
  465. package/dist/location-mutation.js +101 -101
  466. package/dist/location-service-map.js +81 -81
  467. package/dist/location-services.js +351 -351
  468. package/dist/location.js +82 -82
  469. package/dist/mcp/client.js +88 -88
  470. package/dist/mcp/index.js +103 -103
  471. package/dist/mcp/instructions.js +122 -122
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +87 -87
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +3 -3
  476. package/dist/model-resolver.js +87 -87
  477. package/dist/model.js +6 -6
  478. package/dist/models-dev.js +75 -75
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +110 -110
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +85 -85
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +99 -99
  489. package/dist/plugin/command.js +96 -96
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +215 -215
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +325 -325
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +76 -76
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +99 -99
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  502. package/dist/plugin/provider/azure.js +120 -120
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +116 -116
  508. package/dist/plugin/provider/digitalocean.js +80 -80
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +81 -81
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +77 -77
  517. package/dist/plugin/provider/lmstudio.js +119 -119
  518. package/dist/plugin/provider/modal.js +80 -80
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +119 -119
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +79 -79
  523. package/dist/plugin/provider/opencode.js +80 -80
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +119 -119
  533. package/dist/plugin/provider/xai.js +78 -78
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +73 -73
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +135 -135
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +344 -344
  541. package/dist/plugin/update.js +4 -4
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +83 -83
  544. package/dist/plugin/vcs/hg.js +83 -83
  545. package/dist/plugin/warming.js +114 -114
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +218 -218
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +81 -81
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +92 -92
  562. package/dist/reference/instructions.js +86 -86
  563. package/dist/reference.js +80 -80
  564. package/dist/repository-cache.js +74 -74
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +95 -95
  568. package/dist/rpc.js +83 -83
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +149 -149
  573. package/dist/session/diff.js +85 -85
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +124 -124
  579. package/dist/session/generate.js +148 -148
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +83 -83
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +76 -76
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +94 -94
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +115 -115
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +128 -128
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +102 -102
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +87 -87
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +227 -227
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +85 -85
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +112 -112
  602. package/dist/session/runner/step.js +123 -123
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +169 -169
  606. package/dist/session/shell.js +133 -133
  607. package/dist/session/skill.js +100 -100
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +74 -74
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +208 -208
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +153 -153
  615. package/dist/session/to-session-error.js +109 -109
  616. package/dist/session/transfer.js +218 -218
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +214 -214
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +135 -135
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +104 -104
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +88 -88
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +121 -121
  632. package/dist/tool/plugin/edit.js +117 -117
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +122 -122
  635. package/dist/tool/plugin/grep.js +122 -122
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +117 -117
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +123 -123
  640. package/dist/tool/plugin/shell.js +215 -215
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +217 -217
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +117 -117
  646. package/dist/tool/read-filesystem.js +98 -98
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +11 -11
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +5 -5
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +86 -86
  677. package/dist/websearch.js +83 -83
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +80 -80
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +79 -79
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +6 -6
  685. package/dist/worktree/refresh.js +341 -341
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +85 -85
  688. package/package.json +8 -8
  689. package/dist/chunks/location-9sh4wc5j.js +0 -18
  690. package/dist/chunks/location-ejaypkp5.js +0 -247
  691. package/dist/chunks/location-hxa7m5za.js +0 -4
  692. package/dist/chunks/location-pec0e592.js +0 -26
  693. /package/dist/chunks/{location-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{location-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{location-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{location-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{location-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{location-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{location-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{location-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{location-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{location-3asan66x.js → vcs-3asan66x.js} +0 -0
  703. /package/dist/chunks/{location-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{location-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{location-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{location-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{location-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{location-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{location-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{location-53557ph1.js → vcs-53557ph1.js} +0 -0
  711. /package/dist/chunks/{location-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{location-6prwharc.js → vcs-6prwharc.js} +0 -0
  713. /package/dist/chunks/{location-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{location-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{location-822emrt2.js → vcs-822emrt2.js} +0 -0
  716. /package/dist/chunks/{location-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{location-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{location-922hggd3.js → vcs-922hggd3.js} +0 -0
  719. /package/dist/chunks/{location-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{location-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{location-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{location-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{location-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{location-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{location-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{location-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{location-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{location-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{location-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{location-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{location-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{location-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{location-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{location-df08tz66.js → vcs-df08tz66.js} +0 -0
  735. /package/dist/chunks/{location-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{location-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{location-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{location-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{location-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{location-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{location-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{location-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{location-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{location-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{location-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{location-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{location-g86h250q.js → vcs-g86h250q.js} +0 -0
  748. /package/dist/chunks/{location-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{location-gftt206x.js → vcs-gftt206x.js} +0 -0
  750. /package/dist/chunks/{location-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{location-hk9envan.js → vcs-hk9envan.js} +0 -0
  752. /package/dist/chunks/{location-hrnqkpcd.js → vcs-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{location-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{location-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{location-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{location-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{location-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{location-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{location-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{location-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{location-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{location-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{location-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{location-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{location-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{location-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{location-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{location-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{location-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{location-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{location-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{location-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{location-twg0f83k.js → vcs-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{location-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{location-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{location-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{location-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{location-x61499pn.js → vcs-x61499pn.js} +0 -0
  779. /package/dist/chunks/{location-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{location-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{location-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{location-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{location-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{location-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./location-2a5m3afh.js";
6
+ } from "./vcs-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./location-1dazxqgg.js";
9
+ } from "./vcs-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./location-b6gygkdw.js";
12
+ } from "./vcs-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./location-aaet6srn.js";
15
+ } from "./vcs-aaet6srn.js";
16
16
  import {
17
- Service75,
18
- node80
19
- } from "./location-rjg803xe.js";
17
+ Service74,
18
+ node79
19
+ } from "./vcs-c1z1xrrm.js";
20
20
  import {
21
- Service70,
22
- node74
23
- } from "./location-ys02tb6f.js";
21
+ Service68,
22
+ node72
23
+ } from "./vcs-gg85ze80.js";
24
24
  import {
25
25
  __export
26
- } from "./location-9rqn6x4v.js";
26
+ } from "./vcs-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service69,
33
- node: () => node73
32
+ Service: () => Service67,
33
+ node: () => node71
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service69,
46
+ Service: () => Service67,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node73,
52
+ node: () => node71,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service69 extends Context.Service()("@opencode/Environment") {
61
+ class Service67 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service69, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service75;
66
- const workspace = yield* Service70;
65
+ const location = yield* Service74;
66
+ const workspace = yield* Service68;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service69.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service67.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node73 = makeLocationNode({
71
- service: Service69,
70
+ var node71 = makeLocationNode({
71
+ service: Service67,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node80, node74]
73
+ deps: [CrossSpawnSpawner.node, node79, node72]
74
74
  });
75
75
 
76
- export { Service69, node73, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service67, node71, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service65,
8
+ Service: () => Service31,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node69
10
+ node: () => node35
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service65 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service31 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service65, () => {
17
+ var layer = Layer.sync(Service31, () => {
18
18
  const environments = new Map;
19
- return Service65.of({
19
+ return Service31.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service65, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node69 = makeGlobalNode({ service: Service65, layer, deps: [] });
29
+ var node35 = makeGlobalNode({ service: Service31, layer, deps: [] });
30
30
 
31
- export { Service65, node69, exports_environment };
31
+ export { Service31, node35, exports_environment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./location-ym463w8f.js";
3
+ } from "./vcs-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/alibaba.ts
6
6
  var AlibabaPlugin2 = createProviderPlugin2({
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./location-emrn6kk6.js";
5
+ } from "./vcs-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./location-njr1pezb.js";
4
+ } from "./vcs-nxs71vds.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,63 +1,63 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./location-mh9s5q0j.js";
2
+ Service79,
3
+ node84
4
+ } from "./vcs-9z91vmsn.js";
5
5
  import {
6
6
  Service78,
7
7
  node83
8
- } from "./location-adcdh9yc.js";
8
+ } from "./vcs-k90zknc5.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-pknna89w.js";
11
+ } from "./vcs-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-0q0f95c6.js";
14
+ } from "./vcs-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./vcs-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
24
- ID: () => ID15,
25
- Info: () => Info29,
26
- Key: () => Key4,
23
+ Event: () => Event14,
24
+ ID: () => ID10,
25
+ Info: () => Info23,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service72,
28
+ Service: () => Service57,
29
29
  Value: () => Value2,
30
- node: () => node77
30
+ node: () => node61
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID15 = Credential.ID;
37
+ var ID10 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event19 = Credential.Event;
41
+ var Event14 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info23 extends Schema.Class("Credential.Info")({
44
+ id: ID10,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service72 extends Context.Service()("@opencode/Credential") {
51
+ class Service57 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service72, Effect.gen(function* () {
54
- const db = (yield* Service80).db;
53
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
54
+ const db = (yield* Service79).db;
55
55
  const bus = yield* Service78;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info23({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service72.of({
71
+ return Service57.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: ID15.create(),
79
+ const credential = new Info23({
80
+ id: ID10.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event19.Updated, {}, { global: true });
105
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event14.Updated, {}, { global: true });
105
+ yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event19.Updated, {}, { global: true });
157
+ yield* bus.publish(Event14.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event19.Updated, {}, { global: true });
190
+ yield* bus.publish(Event14.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node77 = makeGlobalNode({ service: Service72, layer, deps: [node85, node83] });
196
+ var node61 = makeGlobalNode({ service: Service57, layer, deps: [node84, node83] });
197
197
 
198
- export { ID15, OAuth3, Key4, Value2, Event19, Info29, Service72, node77, exports_credential };
198
+ export { ID10, OAuth3, Key3, Value2, Event14, Info23, Service57, node61, exports_credential };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service67,
3
- node71
4
- } from "./location-c5db1mkp.js";
2
+ Service56,
3
+ node60
4
+ } from "./vcs-qvzzg1n6.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./location-rjg803xe.js";
6
+ Service74,
7
+ node79
8
+ } from "./vcs-c1z1xrrm.js";
9
9
  import {
10
- Service66,
11
- node70
12
- } from "./location-th0vq4rj.js";
10
+ Service55,
11
+ node59
12
+ } from "./vcs-nqp91hg0.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./location-zxq2ej10.js";
16
+ } from "./vcs-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./vcs-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service2,
25
+ Service: () => Service3,
26
26
  empty: () => empty2,
27
- layer: () => layer4,
28
- node: () => node4
27
+ layer: () => layer5,
28
+ node: () => node6
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
- const config = yield* Service66;
40
- const watcher = yield* Service67;
38
+ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
39
+ const config = yield* Service55;
40
+ const watcher = yield* Service56;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service75;
42
+ const location = yield* Service74;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service2.of({
61
+ return Service3.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node4 = makeLocationNode({
74
- service: Service2,
75
- layer: layer4,
76
- deps: [node70, FSUtil.node, node71, node80]
73
+ var node6 = makeLocationNode({
74
+ service: Service3,
75
+ layer: layer5,
76
+ deps: [node59, FSUtil.node, node60, node79]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service2,
80
- layer: Layer.succeed(Service2, Service2.of({
79
+ service: Service3,
80
+ layer: Layer.succeed(Service3, Service3.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service2, layer4, node4, empty2, exports_source };
140
+ export { Service3, layer5, node6, empty2, exports_source };
@@ -2,23 +2,23 @@ import {
2
2
  ephemeral2,
3
3
  Service78,
4
4
  node83
5
- } from "./location-adcdh9yc.js";
5
+ } from "./vcs-k90zknc5.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make20,
11
11
  diffByKey2
12
- } from "./location-rhjbct0v.js";
12
+ } from "./vcs-02nrjc1r.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./location-922hggd3.js";
15
+ } from "./vcs-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./location-kg06axw8.js";
18
+ } from "./vcs-kg06axw8.js";
19
19
  import {
20
20
  __export
21
- } from "./location-9rqn6x4v.js";
21
+ } from "./vcs-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
@@ -26,11 +26,11 @@ __export(exports_instruction_discovery, {
26
26
  Event: () => Event6,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options4,
30
- Service: () => Service43,
31
- configured: () => configured5,
32
- layer: () => layer17,
33
- node: () => node47
29
+ Options: () => Options6,
30
+ Service: () => Service41,
31
+ configured: () => configured7,
32
+ layer: () => layer18,
33
+ node: () => node45
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key3.make("core/instructions");
44
+ var key = Key4.make("core/instructions");
45
45
  var Event6 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options4 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service41 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
55
+ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
56
56
  const bus = yield* Service78;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service43.of({
93
+ return Service41.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured5(options) {
107
+ function configured7(options) {
108
108
  return makeLocationNode({
109
- service: Service43,
110
- layer: layer17(options),
109
+ service: Service41,
110
+ layer: layer18(options),
111
111
  deps: [node83]
112
112
  });
113
113
  }
114
- var node47 = configured5();
114
+ var node45 = configured7();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event6, Options4, Service43, layer17, configured5, node47, exports_instruction_discovery };
145
+ export { File2, Event6, Options6, Service41, layer18, configured7, node45, exports_instruction_discovery };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./location-mh9s5q0j.js";
2
+ Service79,
3
+ node84
4
+ } from "./vcs-9z91vmsn.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./location-a1bz86dw.js";
8
+ } from "./vcs-5c4hm403.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load2
12
- } from "./location-frjn3nfh.js";
11
+ load3
12
+ } from "./vcs-0z4vcyj9.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./location-s8610hey.js";
15
+ } from "./vcs-svxygcjw.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./vcs-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput5,
24
- Service: () => Service62,
23
+ ListInput: () => ListInput4,
24
+ Service: () => Service61,
25
25
  SessionStore: () => exports_store,
26
- node: () => node66
26
+ node: () => node65
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service62 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service61 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service62, Effect.gen(function* () {
58
- const { db } = yield* Service80;
59
- return Service62.of({
57
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
58
+ const { db } = yield* Service79;
59
+ return Service61.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node66 = makeGlobalNode({ service: Service62, layer, deps: [node85] });
128
+ var node65 = makeGlobalNode({ service: Service61, layer, deps: [node84] });
129
129
 
130
- export { ListInput5, Service62, node66, exports_store };
130
+ export { ListInput4, Service61, node65, exports_store };