@opencode/core 0.0.0-dev-19771 → 0.0.0-dev-19772

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{location-lifecycle-wcc6r8bb.js → file-018x1ems.js} +34 -34
  8. package/dist/chunks/{location-lifecycle-rhjbct0v.js → file-02nrjc1r.js} +6 -6
  9. package/dist/chunks/{location-lifecycle-tky30qnq.js → file-0777derp.js} +5 -5
  10. package/dist/chunks/{location-lifecycle-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{location-lifecycle-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{location-lifecycle-zfgrdwy1.js → file-12fxvqn6.js} +46 -46
  13. package/dist/chunks/{location-lifecycle-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{location-lifecycle-w9564p80.js → file-1gp0z8vk.js} +19 -19
  15. package/dist/chunks/{location-lifecycle-csf2jhsg.js → file-1hc11dc4.js} +4 -4
  16. package/dist/chunks/{location-lifecycle-f32czd11.js → file-1qg96azw.js} +11 -11
  17. package/dist/chunks/file-1x11rq2a.js +18 -0
  18. package/dist/chunks/{location-lifecycle-21r38tys.js → file-21r38tys.js} +1 -1
  19. package/dist/chunks/{location-lifecycle-2m15pen8.js → file-22br4zbr.js} +30 -30
  20. package/dist/chunks/{location-lifecycle-ym1gd12q.js → file-22wh6ycc.js} +22 -22
  21. package/dist/chunks/{location-lifecycle-seqv5kpb.js → file-23bnecbk.js} +20 -20
  22. package/dist/chunks/{location-lifecycle-gejspzzg.js → file-263r72ym.js} +23 -23
  23. package/dist/chunks/{location-lifecycle-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{location-lifecycle-ef9ad86t.js → file-2dvm09dd.js} +24 -24
  25. package/dist/chunks/{location-lifecycle-ts2x07a1.js → file-2jz473v5.js} +1 -1
  26. package/dist/chunks/{location-lifecycle-cry8xwhg.js → file-2rx2wg8g.js} +3 -3
  27. package/dist/chunks/{location-lifecycle-nca7p386.js → file-2y34zzjz.js} +4 -4
  28. package/dist/chunks/{location-lifecycle-g5dbv4m6.js → file-2zzhbfmj.js} +5 -5
  29. package/dist/chunks/{location-lifecycle-9jtxab4r.js → file-304h1yg1.js} +32 -32
  30. package/dist/chunks/{location-lifecycle-g858ege8.js → file-31wqgk5p.js} +10 -10
  31. package/dist/chunks/{location-lifecycle-s4fd02w1.js → file-361xm3ya.js} +44 -44
  32. package/dist/chunks/file-3cg6k2ga.js +252 -0
  33. package/dist/chunks/{location-lifecycle-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{location-lifecycle-jy413cw9.js → file-3fhknkx8.js} +20 -20
  35. package/dist/chunks/{location-lifecycle-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{location-lifecycle-ztxdexjh.js → file-3kke03kt.js} +185 -185
  37. package/dist/chunks/{location-lifecycle-k443rats.js → file-3my6v4az.js} +20 -20
  38. package/dist/chunks/{location-lifecycle-v0fmmm42.js → file-3qzhexf6.js} +32 -32
  39. package/dist/chunks/{location-lifecycle-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{location-lifecycle-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{location-lifecycle-wkqs5zpc.js → file-41verw56.js} +27 -27
  42. package/dist/chunks/{location-lifecycle-3mh8mcsd.js → file-42mthp08.js} +26 -26
  43. package/dist/chunks/{location-lifecycle-6yb5hqwk.js → file-46zss07m.js} +27 -27
  44. package/dist/chunks/file-4938m1cx.js +478 -0
  45. package/dist/chunks/{location-lifecycle-701x6znf.js → file-4dnw4fzb.js} +26 -26
  46. package/dist/chunks/{location-lifecycle-tk12xd0z.js → file-4ghcrmft.js} +29 -29
  47. package/dist/chunks/{location-lifecycle-dvkjkx8e.js → file-4qenbd9f.js} +1 -1
  48. package/dist/chunks/{location-lifecycle-w59r0ea1.js → file-4wywpd95.js} +10 -10
  49. package/dist/chunks/{location-lifecycle-84regx6k.js → file-4y2x8jxf.js} +44 -44
  50. package/dist/chunks/{location-lifecycle-jv01nqvq.js → file-510m7gjw.js} +5 -5
  51. package/dist/chunks/{location-lifecycle-fnafhjrm.js → file-55j2v9k6.js} +21 -21
  52. package/dist/chunks/{location-lifecycle-56gdpj1q.js → file-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{location-lifecycle-57ez7d0k.js → file-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{location-lifecycle-zmbr0qn9.js → file-58vybx2g.js} +6 -6
  55. package/dist/chunks/{location-lifecycle-5daktx2q.js → file-5daktx2q.js} +1 -1
  56. package/dist/chunks/{location-lifecycle-dvep9rg9.js → file-5e1pzs32.js} +9 -9
  57. package/dist/chunks/{location-lifecycle-xc0bfz3r.js → file-5fkxaj5s.js} +5 -5
  58. package/dist/chunks/{location-lifecycle-3mnwv5pc.js → file-5gwdj91r.js} +23 -23
  59. package/dist/chunks/{location-lifecycle-n92mjzky.js → file-5jsx19yx.js} +22 -22
  60. package/dist/chunks/{location-lifecycle-e3qxr5gk.js → file-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{location-lifecycle-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{location-lifecycle-328th6nm.js → file-5vx8nhhg.js} +17 -17
  63. package/dist/chunks/{location-lifecycle-669tq793.js → file-669tq793.js} +1 -1
  64. package/dist/chunks/{location-lifecycle-mf60cw7q.js → file-66rhs1hf.js} +40 -40
  65. package/dist/chunks/{location-lifecycle-970bw64c.js → file-6grmf33y.js} +15 -15
  66. package/dist/chunks/{location-lifecycle-2402vzrj.js → file-6h73sxmp.js} +5 -5
  67. package/dist/chunks/{location-lifecycle-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{location-lifecycle-1kq7x5qn.js → file-6mypyd4y.js} +57 -57
  69. package/dist/chunks/{location-lifecycle-qyxe5d7d.js → file-6r536pd1.js} +60 -60
  70. package/dist/chunks/{location-lifecycle-h8edqr4y.js → file-6v4peh9p.js} +18 -18
  71. package/dist/chunks/{location-lifecycle-k1vtzvdf.js → file-702gse62.js} +23 -23
  72. package/dist/chunks/{location-lifecycle-bb86ahs1.js → file-73cb9t05.js} +5 -5
  73. package/dist/chunks/{location-lifecycle-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{location-lifecycle-3j6t0fah.js → file-7bzk74m1.js} +12 -12
  75. package/dist/chunks/{location-lifecycle-7dqw4kz8.js → file-7dqw4kz8.js} +1 -1
  76. package/dist/chunks/{location-lifecycle-ahd542yp.js → file-7sbn2nrf.js} +8 -8
  77. package/dist/chunks/{location-lifecycle-2bac5kce.js → file-7xps8bb1.js} +27 -27
  78. package/dist/chunks/{location-lifecycle-1bbkgx8g.js → file-7yh4e7ss.js} +3 -3
  79. package/dist/chunks/{location-lifecycle-h611g1gx.js → file-81tjde9w.js} +3 -3
  80. package/dist/chunks/{location-lifecycle-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{location-lifecycle-x23498t7.js → file-8nkxt6xp.js} +23 -23
  82. package/dist/chunks/{location-lifecycle-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{location-lifecycle-74fsgkfp.js → file-8xbbjbhd.js} +29 -29
  84. package/dist/chunks/{location-lifecycle-sx2f478y.js → file-8y3wyrth.js} +22 -22
  85. package/dist/chunks/{location-lifecycle-2aq52r8k.js → file-8zvwwgc2.js} +20 -20
  86. package/dist/chunks/{location-lifecycle-fb3ej5ej.js → file-91342nd3.js} +28 -28
  87. package/dist/chunks/{location-lifecycle-9t3sp04t.js → file-94s2pdns.js} +43 -43
  88. package/dist/chunks/{location-lifecycle-6tcgnf8s.js → file-956z8k1a.js} +4 -4
  89. package/dist/chunks/{location-lifecycle-vp3k42e8.js → file-9eyeqmd2.js} +35 -35
  90. package/dist/chunks/{location-lifecycle-cq37gk0t.js → file-9gr8y5ys.js} +4 -4
  91. package/dist/chunks/{location-lifecycle-2facesyc.js → file-9xbxnfqb.js} +18 -18
  92. package/dist/chunks/{location-lifecycle-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{location-lifecycle-20axtcfn.js → file-a6f6mbr6.js} +5 -5
  94. package/dist/chunks/{location-lifecycle-aaet6srn.js → file-aaet6srn.js} +2 -2
  95. package/dist/chunks/{location-lifecycle-5bg73mre.js → file-ac8gkyem.js} +11 -11
  96. package/dist/chunks/{location-lifecycle-aqtafj8r.js → file-ad2z09fz.js} +1 -1
  97. package/dist/chunks/{location-lifecycle-r9faq7b2.js → file-ame7p0bf.js} +46 -46
  98. package/dist/chunks/{location-lifecycle-dgwtn50y.js → file-az4c37nw.js} +20 -20
  99. package/dist/chunks/{location-lifecycle-h71w788e.js → file-b0dgvpy7.js} +9 -9
  100. package/dist/chunks/{location-lifecycle-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{location-lifecycle-gcejxdeh.js → file-b9ahwkd2.js} +11 -11
  102. package/dist/chunks/{location-lifecycle-jewzahs7.js → file-bacyadyn.js} +4 -4
  103. package/dist/chunks/{location-lifecycle-r98e92ep.js → file-bct739vz.js} +4 -4
  104. package/dist/chunks/{location-lifecycle-x75yvd88.js → file-bj93k3jd.js} +15 -15
  105. package/dist/chunks/{location-lifecycle-jva4mgym.js → file-bjn91642.js} +4 -4
  106. package/dist/chunks/{location-lifecycle-fpr4rjwc.js → file-bpnjy3z7.js} +11 -11
  107. package/dist/chunks/{location-lifecycle-6rjxjn7m.js → file-by1dj0rw.js} +10 -10
  108. package/dist/chunks/{location-lifecycle-dqmwfghx.js → file-c78bbtc9.js} +5 -5
  109. package/dist/chunks/{location-lifecycle-9sw9mzav.js → file-cb7w9rn9.js} +11 -11
  110. package/dist/chunks/{location-lifecycle-3wbhmqdg.js → file-cd9my3v1.js} +11 -11
  111. package/dist/chunks/{location-lifecycle-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{location-lifecycle-cmwkp3r5.js → file-cmwkp3r5.js} +1 -1
  113. package/dist/chunks/{location-lifecycle-4j2m23fe.js → file-csk5y31k.js} +17 -17
  114. package/dist/chunks/{location-lifecycle-2mg1dsg3.js → file-d1mbserq.js} +4 -4
  115. package/dist/chunks/{location-lifecycle-was7srj9.js → file-d383cjmk.js} +5 -5
  116. package/dist/chunks/{location-lifecycle-0c8sczda.js → file-dgf6d44x.js} +6 -6
  117. package/dist/chunks/{location-lifecycle-drwq78ky.js → file-drwq78ky.js} +1 -1
  118. package/dist/chunks/{location-lifecycle-ex0pka66.js → file-dtqg9ce1.js} +5 -5
  119. package/dist/chunks/{location-lifecycle-sr3h3j4j.js → file-dv7aa87v.js} +40 -40
  120. package/dist/chunks/{location-lifecycle-c488s98d.js → file-e34x8y7p.js} +8 -8
  121. package/dist/chunks/{location-lifecycle-myrwtzhc.js → file-e3fp033c.js} +30 -30
  122. package/dist/chunks/{location-lifecycle-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{location-lifecycle-4fkqdd82.js → file-ehy7cw58.js} +15 -15
  124. package/dist/chunks/{location-lifecycle-kne8f3cn.js → file-embw8kgh.js} +4 -4
  125. package/dist/chunks/{location-lifecycle-erw5rpbs.js → file-erw5rpbs.js} +2 -2
  126. package/dist/chunks/{location-lifecycle-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{location-lifecycle-1w1k9xpb.js → file-f6jg9yks.js} +22 -22
  128. package/dist/chunks/{location-lifecycle-f828m53h.js → file-f828m53h.js} +2 -2
  129. package/dist/chunks/{location-lifecycle-99dmgpqm.js → file-ff3zbyyz.js} +11 -11
  130. package/dist/chunks/{location-lifecycle-q7yh6m05.js → file-fgrqxmc5.js} +13 -13
  131. package/dist/chunks/{location-lifecycle-dyh11xxw.js → file-fhmyd1cc.js} +9 -9
  132. package/dist/chunks/{location-lifecycle-7cra1dwx.js → file-fjtsztdw.js} +11 -11
  133. package/dist/chunks/{location-lifecycle-knb7evpn.js → file-fkjmw100.js} +6 -6
  134. package/dist/chunks/{location-lifecycle-h5wtym79.js → file-fpkmmq0f.js} +14 -14
  135. package/dist/chunks/{location-lifecycle-yxc59d7f.js → file-ftdzjz2b.js} +8 -8
  136. package/dist/chunks/{location-lifecycle-qmw5tnb2.js → file-fvbnea60.js} +32 -32
  137. package/dist/chunks/{location-lifecycle-sm1y1vrb.js → file-fwcvyjm4.js} +9 -9
  138. package/dist/chunks/{location-lifecycle-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{location-lifecycle-m9g140gf.js → file-fxmgg4aj.js} +4 -4
  140. package/dist/chunks/{location-lifecycle-yjgqe2re.js → file-fxzbpcn9.js} +3 -3
  141. package/dist/chunks/{location-lifecycle-cwny1ppz.js → file-g5fh27jm.js} +20 -20
  142. package/dist/chunks/{location-lifecycle-xvq2g0b8.js → file-g6mb1r40.js} +15 -15
  143. package/dist/chunks/{location-lifecycle-qmqgtz8f.js → file-g6q9qykm.js} +9 -9
  144. package/dist/chunks/{location-lifecycle-tf68swts.js → file-g7jvb7c9.js} +12 -12
  145. package/dist/chunks/{location-lifecycle-pdnh11fp.js → file-g7z2c8ev.js} +35 -35
  146. package/dist/chunks/{location-lifecycle-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{location-lifecycle-a81ktjvh.js → file-gq8aqzna.js} +11 -11
  148. package/dist/chunks/{location-lifecycle-1ehww2v2.js → file-gr0d3prr.js} +10 -10
  149. package/dist/chunks/{location-lifecycle-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  150. package/dist/chunks/{location-lifecycle-gtd25ap0.js → file-gwyevam5.js} +4 -4
  151. package/dist/chunks/{location-lifecycle-p3xsxnnd.js → file-h0jmq7yk.js} +22 -22
  152. package/dist/chunks/{location-lifecycle-kpmz6fzy.js → file-h0zs8ypv.js} +10 -10
  153. package/dist/chunks/{location-lifecycle-gxkxv40a.js → file-h36v7wj5.js} +5 -5
  154. package/dist/chunks/{location-lifecycle-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{location-lifecycle-w21bzq9q.js → file-h896pcm5.js} +6 -6
  156. package/dist/chunks/{location-lifecycle-qx1qj4mn.js → file-h9bw0csn.js} +15 -15
  157. package/dist/chunks/{location-lifecycle-w83fpb0q.js → file-hah04hfd.js} +3 -3
  158. package/dist/chunks/{location-lifecycle-rf51g22b.js → file-hhvxj0xs.js} +2 -2
  159. package/dist/chunks/{location-lifecycle-809q4hne.js → file-hkfg6fzm.js} +5 -5
  160. package/dist/chunks/{location-lifecycle-kqm39a7s.js → file-hmwvdnz2.js} +66 -66
  161. package/dist/chunks/{location-lifecycle-xfpy4nt9.js → file-hphfs7r7.js} +14 -14
  162. package/dist/chunks/{location-lifecycle-mcvt4s13.js → file-hqfwp6f0.js} +33 -33
  163. package/dist/chunks/{location-lifecycle-nkcj1gcj.js → file-hxzqr5y1.js} +51 -51
  164. package/dist/chunks/{location-lifecycle-x7e0fk1c.js → file-hywk6jf9.js} +17 -17
  165. package/dist/chunks/{location-lifecycle-1ktd7b6f.js → file-hz1es13a.js} +13 -13
  166. package/dist/chunks/{location-lifecycle-tvze1296.js → file-j18yem6v.js} +9 -9
  167. package/dist/chunks/{location-lifecycle-bxarywtn.js → file-j55ehytx.js} +32 -32
  168. package/dist/chunks/{location-lifecycle-j56e64zr.js → file-j56e64zr.js} +1 -1
  169. package/dist/chunks/{location-lifecycle-km2jwbvk.js → file-j6vme8qb.js} +17 -17
  170. package/dist/chunks/{location-lifecycle-08rawchj.js → file-j7wq2tw5.js} +3 -3
  171. package/dist/chunks/{location-lifecycle-r9vtmsk6.js → file-ja67c5z9.js} +86 -86
  172. package/dist/chunks/{location-lifecycle-vy067vm3.js → file-jh2tjjwa.js} +11 -11
  173. package/dist/chunks/{location-lifecycle-r0wf10m3.js → file-k1324ekq.js} +24 -24
  174. package/dist/chunks/{location-lifecycle-k3c624dm.js → file-k3c624dm.js} +3 -3
  175. package/dist/chunks/{location-lifecycle-fjkp771g.js → file-k83v2y4t.js} +26 -26
  176. package/dist/chunks/{location-lifecycle-gxtsbhwy.js → file-kbhnhzqb.js} +15 -15
  177. package/dist/chunks/{location-lifecycle-jmf3pa4s.js → file-kewrzfp7.js} +4 -4
  178. package/dist/chunks/{location-lifecycle-jvht4t7z.js → file-kjesn8ee.js} +11 -11
  179. package/dist/chunks/{location-lifecycle-s8pwec7v.js → file-kynetcxa.js} +17 -17
  180. package/dist/chunks/{location-lifecycle-ta1n0c1s.js → file-kz33qt24.js} +27 -27
  181. package/dist/chunks/{location-lifecycle-m3fdjcah.js → file-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{location-lifecycle-s1bfy7b2.js → file-m3pxzh9s.js} +6 -6
  183. package/dist/chunks/{location-lifecycle-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{location-lifecycle-axmvebxj.js → file-magykp64.js} +21 -21
  185. package/dist/chunks/{location-lifecycle-fm2qvscf.js → file-mtq6xxnx.js} +7 -7
  186. package/dist/chunks/{location-lifecycle-mmnww55k.js → file-mw9xfcqs.js} +13 -13
  187. package/dist/chunks/{location-lifecycle-zrq8kphx.js → file-n0tq777j.js} +8 -8
  188. package/dist/chunks/{location-lifecycle-x75jn9zf.js → file-n1jh56hb.js} +16 -16
  189. package/dist/chunks/{location-lifecycle-3mef1nc0.js → file-n31hfr13.js} +11 -11
  190. package/dist/chunks/{location-lifecycle-zjm4mwk2.js → file-n5fr74k4.js} +10 -10
  191. package/dist/chunks/{location-lifecycle-ewj0d9fe.js → file-n86jpvhn.js} +11 -11
  192. package/dist/chunks/{location-lifecycle-xxkd99vv.js → file-nb532tg8.js} +14 -14
  193. package/dist/chunks/{location-lifecycle-n1aycyk1.js → file-nbpc3svs.js} +25 -25
  194. package/dist/chunks/{location-lifecycle-1466r77q.js → file-nk46f8av.js} +9 -9
  195. package/dist/chunks/{location-lifecycle-sx44q36j.js → file-nqjmnyjs.js} +11 -11
  196. package/dist/chunks/{location-lifecycle-hptzvfm2.js → file-nqsne9m4.js} +12 -12
  197. package/dist/chunks/file-nvdf328w.js +26 -0
  198. package/dist/chunks/{location-lifecycle-h6r3nrb9.js → file-nzyhnfxz.js} +4 -4
  199. package/dist/chunks/{location-lifecycle-7ebn0nc0.js → file-p0b4ytnr.js} +4 -4
  200. package/dist/chunks/{location-lifecycle-v6yffka4.js → file-p0rshxbh.js} +16 -16
  201. package/dist/chunks/{location-lifecycle-wvdt0mnj.js → file-p244d6rq.js} +16 -16
  202. package/dist/chunks/{location-lifecycle-p28j5sbe.js → file-p28j5sbe.js} +2 -2
  203. package/dist/chunks/{location-lifecycle-eek2a8x8.js → file-p8pa7sfy.js} +11 -11
  204. package/dist/chunks/{location-lifecycle-9yw32yaa.js → file-pht2kxnm.js} +26 -22
  205. package/dist/chunks/{location-lifecycle-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{location-lifecycle-pknna89w.js → file-pknna89w.js} +1 -1
  207. package/dist/chunks/{location-lifecycle-zywrz00y.js → file-px5sh37w.js} +11 -11
  208. package/dist/chunks/{location-lifecycle-8xjjc0pd.js → file-q4629ca0.js} +19 -19
  209. package/dist/chunks/{location-lifecycle-nscznvay.js → file-qg0jgkcp.js} +9 -9
  210. package/dist/chunks/{location-lifecycle-tbe2k93y.js → file-qjbq15hs.js} +4 -4
  211. package/dist/chunks/{location-lifecycle-qsdy395h.js → file-qsdy395h.js} +1 -1
  212. package/dist/chunks/{location-lifecycle-9xjgq8a9.js → file-r3pg8356.js} +3 -3
  213. package/dist/chunks/{location-lifecycle-3744gwmw.js → file-r7nh0yvy.js} +31 -31
  214. package/dist/chunks/{location-lifecycle-mvdejg8s.js → file-r8cnjpdy.js} +3 -3
  215. package/dist/chunks/{location-lifecycle-rdw6cm16.js → file-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{location-lifecycle-p06r72s2.js → file-rmkrm11x.js} +16 -16
  217. package/dist/chunks/{location-lifecycle-n2d630th.js → file-rtbbky2x.js} +7 -7
  218. package/dist/chunks/{location-lifecycle-xt03s1fm.js → file-rtqwcmtr.js} +35 -35
  219. package/dist/chunks/{location-lifecycle-ntqm1rav.js → file-s56qzf8n.js} +24 -24
  220. package/dist/chunks/{location-lifecycle-ayxxfpy2.js → file-s5e6zdc6.js} +15 -15
  221. package/dist/chunks/{location-lifecycle-zdkghbrs.js → file-s6j88jt8.js} +5 -5
  222. package/dist/chunks/{location-lifecycle-vy44wwf3.js → file-sez37x1t.js} +28 -28
  223. package/dist/chunks/{location-lifecycle-vsga7d5t.js → file-sp8y8b7b.js} +21 -21
  224. package/dist/chunks/{location-lifecycle-8h643jkf.js → file-t44gpkd9.js} +9 -9
  225. package/dist/chunks/{location-lifecycle-qk8tymmw.js → file-t7ffcjc5.js} +4 -4
  226. package/dist/chunks/{location-lifecycle-kbv9vvfe.js → file-t8t6b7x0.js} +12 -12
  227. package/dist/chunks/{location-lifecycle-h012fvt9.js → file-t9s0mbhm.js} +15 -15
  228. package/dist/chunks/{location-lifecycle-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{location-lifecycle-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{location-lifecycle-tdstcens.js → file-tdstcens.js} +1 -1
  231. package/dist/chunks/{location-lifecycle-hak61th1.js → file-tkd8wqpt.js} +18 -18
  232. package/dist/chunks/{location-lifecycle-tvtrv512.js → file-tvtrv512.js} +1 -1
  233. package/dist/chunks/{location-lifecycle-5jewystt.js → file-tz2j9nz1.js} +6 -6
  234. package/dist/chunks/{location-lifecycle-94em26ae.js → file-tz47dz5v.js} +5 -5
  235. package/dist/chunks/{location-lifecycle-ha607pgt.js → file-v23xd7nj.js} +6 -6
  236. package/dist/chunks/{location-lifecycle-r6rhd2xr.js → file-v53gfhad.js} +7 -7
  237. package/dist/chunks/{location-lifecycle-5gb661jz.js → file-v5brccvm.js} +9 -9
  238. package/dist/chunks/{location-lifecycle-4mhj3wz7.js → file-v9qkps81.js} +8 -8
  239. package/dist/chunks/{location-lifecycle-mp22a6z6.js → file-vcewcf3p.js} +13 -13
  240. package/dist/chunks/{location-lifecycle-67sa8864.js → file-vcnb347p.js} +22 -22
  241. package/dist/chunks/{location-lifecycle-veqvce7d.js → file-veqvce7d.js} +1 -1
  242. package/dist/chunks/{location-lifecycle-rshs96s6.js → file-vtede9h4.js} +5 -5
  243. package/dist/chunks/{location-lifecycle-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{location-lifecycle-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{location-lifecycle-reqevd7p.js → file-w418y777.js} +9 -9
  246. package/dist/chunks/{location-lifecycle-yh0fqsh6.js → file-w676f2yv.js} +29 -29
  247. package/dist/chunks/{location-lifecycle-yp116tgd.js → file-w6dmyrhq.js} +92 -92
  248. package/dist/chunks/{location-lifecycle-7nyk300c.js → file-w7bw98z6.js} +28 -28
  249. package/dist/chunks/{location-lifecycle-wd87259q.js → file-wd87259q.js} +1 -1
  250. package/dist/chunks/{location-lifecycle-n9qjhx81.js → file-wf1szsxf.js} +4 -4
  251. package/dist/chunks/{location-lifecycle-9ktm0b6s.js → file-wj40hwr9.js} +51 -51
  252. package/dist/chunks/{location-lifecycle-v0hepqtm.js → file-wkmpenx3.js} +31 -31
  253. package/dist/chunks/{location-lifecycle-e936zhz9.js → file-ws1k4zdc.js} +11 -11
  254. package/dist/chunks/{location-lifecycle-kddy6dsc.js → file-wvp89zrt.js} +11 -11
  255. package/dist/chunks/{location-lifecycle-z09pn87h.js → file-wxsy39h8.js} +15 -15
  256. package/dist/chunks/{location-lifecycle-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{location-lifecycle-xp2mkh6z.js → file-x2dr3d7k.js} +18 -18
  258. package/dist/chunks/{location-lifecycle-v6s0pt21.js → file-x3rxtwc7.js} +9 -9
  259. package/dist/chunks/{location-lifecycle-9n1tg09n.js → file-xfzgb354.js} +11 -11
  260. package/dist/chunks/{location-lifecycle-f38wsw69.js → file-xg9t41r3.js} +2 -2
  261. package/dist/chunks/{location-lifecycle-qsswvbq8.js → file-xgt31tjm.js} +6 -6
  262. package/dist/chunks/{location-lifecycle-gwvc1hqs.js → file-xshcj497.js} +28 -28
  263. package/dist/chunks/{location-lifecycle-rsn291jg.js → file-xsqcdhn5.js} +5 -5
  264. package/dist/chunks/{location-lifecycle-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{location-lifecycle-y71avatq.js → file-y71avatq.js} +1 -1
  266. package/dist/chunks/{location-lifecycle-f38mbwqt.js → file-y8n92kwn.js} +9 -9
  267. package/dist/chunks/{location-lifecycle-zv32tym9.js → file-ya5dy726.js} +6 -6
  268. package/dist/chunks/{location-lifecycle-p6wbyqfj.js → file-ydt9pqf5.js} +17 -17
  269. package/dist/chunks/{location-lifecycle-h58s4a4v.js → file-yebv8twa.js} +13 -13
  270. package/dist/chunks/{location-lifecycle-yp2x3t23.js → file-yp2x3t23.js} +1 -1
  271. package/dist/chunks/{location-lifecycle-174zhseq.js → file-yqcj9em5.js} +25 -25
  272. package/dist/chunks/{location-lifecycle-ws55t3x7.js → file-yr29whj8.js} +29 -29
  273. package/dist/chunks/{location-lifecycle-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{location-lifecycle-s4enseaf.js → file-yrznvahk.js} +2 -2
  275. package/dist/chunks/{location-lifecycle-hba11hfv.js → file-yt24apy5.js} +28 -28
  276. package/dist/chunks/{location-lifecycle-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{location-lifecycle-heeyhcwp.js → file-z2yza9q7.js} +28 -28
  278. package/dist/chunks/{location-lifecycle-rmvt8bgk.js → file-z3nk8zw6.js} +25 -25
  279. package/dist/chunks/{location-lifecycle-nckwd48j.js → file-z3v71fe4.js} +47 -47
  280. package/dist/chunks/{location-lifecycle-29x78va6.js → file-z63w68vq.js} +6 -6
  281. package/dist/chunks/{location-lifecycle-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{location-lifecycle-7n5krer2.js → file-zen0tk5x.js} +12 -12
  283. package/dist/chunks/{location-lifecycle-mmsq6tb2.js → file-zg8bah5t.js} +27 -27
  284. package/dist/chunks/{location-lifecycle-g9bsnkw4.js → file-zhvjewb1.js} +8 -8
  285. package/dist/chunks/{location-lifecycle-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-lifecycle-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{location-lifecycle-4fezg0qr.js → file-zyfew8ns.js} +22 -22
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +71 -71
  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 +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  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 +73 -73
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  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 +220 -220
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +103 -103
  427. package/dist/form.js +77 -77
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +102 -102
  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 +90 -90
  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 +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  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 +134 -134
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +86 -86
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +125 -125
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +101 -101
  479. package/dist/models-dev.js +94 -94
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +114 -114
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +1 -1
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +69 -69
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +4 -4
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +81 -81
  557. package/dist/provider.js +100 -100
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +85 -85
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  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 +151 -151
  573. package/dist/session/diff.js +87 -87
  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 +223 -223
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +87 -87
  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 +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  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 +228 -228
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  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 +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +84 -84
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +149 -149
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +219 -219
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +219 -219
  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 +15 -15
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +92 -92
  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 +124 -124
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +119 -119
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +115 -115
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +216 -216
  641. package/dist/tool/plugin/skill.js +112 -112
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +113 -113
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +12 -12
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/formatter.js +3 -3
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +90 -90
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/location-lifecycle-0vmfebvz.js +0 -478
  692. package/dist/chunks/location-lifecycle-aeqyc5xs.js +0 -26
  693. package/dist/chunks/location-lifecycle-dxj72tfx.js +0 -18
  694. package/dist/chunks/location-lifecycle-jjx3pceh.js +0 -252
  695. /package/dist/chunks/{location-lifecycle-0mesazry.js → file-0mesazry.js} +0 -0
  696. /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{location-lifecycle-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{location-lifecycle-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{location-lifecycle-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{location-lifecycle-24dcb14g.js → file-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{location-lifecycle-2710q6r3.js → file-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{location-lifecycle-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{location-lifecycle-359p4xyc.js → file-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{location-lifecycle-3asan66x.js → file-3asan66x.js} +0 -0
  707. /package/dist/chunks/{location-lifecycle-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{location-lifecycle-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{location-lifecycle-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{location-lifecycle-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{location-lifecycle-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{location-lifecycle-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{location-lifecycle-53557ph1.js → file-53557ph1.js} +0 -0
  715. /package/dist/chunks/{location-lifecycle-550bvhaj.js → file-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{location-lifecycle-6prwharc.js → file-6prwharc.js} +0 -0
  717. /package/dist/chunks/{location-lifecycle-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{location-lifecycle-7m9af43g.js → file-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{location-lifecycle-822emrt2.js → file-822emrt2.js} +0 -0
  720. /package/dist/chunks/{location-lifecycle-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{location-lifecycle-8n3pysct.js → file-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{location-lifecycle-922hggd3.js → file-922hggd3.js} +0 -0
  723. /package/dist/chunks/{location-lifecycle-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{location-lifecycle-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{location-lifecycle-af5trqkr.js → file-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{location-lifecycle-afrmfg78.js → file-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{location-lifecycle-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{location-lifecycle-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{location-lifecycle-d9fn303g.js → file-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{location-lifecycle-dajrwvna.js → file-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{location-lifecycle-dap0rakb.js → file-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{location-lifecycle-df08tz66.js → file-df08tz66.js} +0 -0
  739. /package/dist/chunks/{location-lifecycle-dy18nga0.js → file-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{location-lifecycle-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{location-lifecycle-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{location-lifecycle-ec1grn59.js → file-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{location-lifecycle-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{location-lifecycle-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{location-lifecycle-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{location-lifecycle-faypxj3z.js → file-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{location-lifecycle-fd410y7t.js → file-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{location-lifecycle-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{location-lifecycle-g86h250q.js → file-g86h250q.js} +0 -0
  752. /package/dist/chunks/{location-lifecycle-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{location-lifecycle-gftt206x.js → file-gftt206x.js} +0 -0
  754. /package/dist/chunks/{location-lifecycle-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{location-lifecycle-hk9envan.js → file-hk9envan.js} +0 -0
  756. /package/dist/chunks/{location-lifecycle-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{location-lifecycle-jjkms2e6.js → file-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{location-lifecycle-mp448xyj.js → file-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{location-lifecycle-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{location-lifecycle-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{location-lifecycle-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{location-lifecycle-njntx4h6.js → file-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{location-lifecycle-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{location-lifecycle-q74kybfr.js → file-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{location-lifecycle-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{location-lifecycle-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{location-lifecycle-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{location-lifecycle-qg3g05ea.js → file-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{location-lifecycle-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{location-lifecycle-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{location-lifecycle-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{location-lifecycle-twg0f83k.js → file-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{location-lifecycle-w803qqfp.js → file-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{location-lifecycle-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{location-lifecycle-wtztk69x.js → file-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{location-lifecycle-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{location-lifecycle-x61499pn.js → file-x61499pn.js} +0 -0
  785. /package/dist/chunks/{location-lifecycle-y44na4kk.js → file-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{location-lifecycle-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{location-lifecycle-y8f7s663.js → file-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{location-lifecycle-ym463w8f.js → file-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{location-lifecycle-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-lifecycle-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  Service83,
6
- node87
7
- } from "./location-lifecycle-fpr4rjwc.js";
6
+ node86
7
+ } from "./file-bpnjy3z7.js";
8
8
  import {
9
- Service80,
10
- node84
11
- } from "./location-lifecycle-v6yffka4.js";
9
+ Service82,
10
+ node85
11
+ } from "./file-p0rshxbh.js";
12
12
  import {
13
13
  Service81,
14
- node85
15
- } from "./location-lifecycle-c488s98d.js";
14
+ node84
15
+ } from "./file-e34x8y7p.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
@@ -20,17 +20,17 @@ import {
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./location-lifecycle-57ez7d0k.js";
23
+ } from "./file-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./location-lifecycle-8p4f9s12.js";
27
+ } from "./file-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./location-lifecycle-cfpkc3c9.js";
30
+ } from "./file-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./location-lifecycle-9rqn6x4v.js";
33
+ } from "./file-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
@@ -40,7 +40,7 @@ __export(exports_project, {
40
40
  Info: () => Info33,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
46
  node: () => node83,
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service79 extends Context.Service()("@opencode/Project") {
74
+ class Service80 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,11 +93,11 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service79, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
98
  const git = yield* Service81;
99
99
  const proc = yield* AppProcess.Service;
100
- const bus = yield* Service80;
100
+ const bus = yield* Service82;
101
101
  const db = (yield* Service83).db;
102
102
  const announcing = new Set;
103
103
  const persist = Effect.fnUntraced(function* (project) {
@@ -270,12 +270,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service79.of({ list, update, resolve });
273
+ return Service80.of({ list, update, resolve });
274
274
  }));
275
275
  var node83 = makeGlobalNode({
276
- service: Service79,
276
+ service: Service80,
277
277
  layer,
278
- deps: [node84, node87, FSUtil.node, node85, AppProcess.node]
278
+ deps: [node85, node86, FSUtil.node, node84, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
281
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node83, exports_project };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./location-lifecycle-v6yffka4.js";
2
+ Service82,
3
+ node85
4
+ } from "./file-p0rshxbh.js";
5
5
  import {
6
- Key4,
7
- Service76,
8
- node80
9
- } from "./location-lifecycle-wcc6r8bb.js";
6
+ Key3,
7
+ Service69,
8
+ node72
9
+ } from "./file-018x1ems.js";
10
10
  import {
11
11
  create3
12
- } from "./location-lifecycle-rdw6cm16.js";
12
+ } from "./file-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./location-lifecycle-s8pwec7v.js";
16
+ } from "./file-kynetcxa.js";
17
17
  import {
18
18
  __export
19
- } from "./location-lifecycle-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event18,
35
- ID: () => ID14,
36
- Info: () => Info29,
34
+ Event: () => Event15,
35
+ ID: () => ID10,
36
+ Info: () => Info24,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service75,
44
- node: () => node79
43
+ Service: () => Service68,
44
+ node: () => node71
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,8 +62,8 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event18 } from "@opencode/schema/integration";
66
- var ID14 = Integration.ID;
65
+ import { Event as Event15 } from "@opencode/schema/integration";
66
+ var ID10 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
69
69
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info29 = Integration.Info;
74
+ var Info24 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
94
94
  }
95
95
 
96
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
97
- integrationID: ID14,
97
+ integrationID: ID10,
98
98
  attemptID: AttemptID2
99
99
  }) {
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service75 extends Context.Service()("@opencode/Integration") {
103
+ class Service68 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service75, Effect.gen(function* () {
109
- const credentials = yield* Service76;
110
- const bus = yield* Service80;
108
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
109
+ const credentials = yield* Service69;
110
+ const bus = yield* Service82;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
113
113
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
200
200
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
201
201
  return [...credentials, ...env];
202
202
  };
203
- const project = (entry, connections) => Info29.make({
203
+ const project = (entry, connections) => Info24.make({
204
204
  id: entry.ref.id,
205
205
  name: entry.ref.name,
206
206
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
284
284
  const persistence = yield* createCredential({
285
285
  integrationID: attempt.integrationID,
286
286
  label: attempt.label,
287
- value: Key4.make({ type: "key", key: exit.value })
287
+ value: Key3.make({ type: "key", key: exit.value })
288
288
  }).pipe(Effect.asVoid, Effect.exit);
289
289
  const settledAt = yield* Clock.currentTimeMillis;
290
290
  const terminal = Exit.isSuccess(persistence) ? {
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
430
430
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
431
431
  return CommandAttempt2.make({ attemptID, time });
432
432
  });
433
- return Service75.of({
433
+ return Service68.of({
434
434
  transform: state.transform,
435
435
  reload: state.reload,
436
436
  revision: state.revision,
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
452
452
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
453
453
  if (connection.type === "env") {
454
454
  const key = process.env[connection.name];
455
- return key ? Key4.make({ type: "key", key }) : undefined;
455
+ return key ? Key3.make({ type: "key", key }) : undefined;
456
456
  }
457
457
  const credential = yield* credentials.get(connection.id);
458
458
  if (!credential)
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
485
485
  yield* createCredential({
486
486
  integrationID: input.integrationID,
487
487
  label: input.label,
488
- value: Key4.make({
488
+ value: Key3.make({
489
489
  type: "key",
490
490
  key: input.key,
491
491
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
579
579
  }
580
580
  });
581
581
  }));
582
- var node79 = makeLocationNode({
583
- service: Service75,
582
+ var node71 = makeLocationNode({
583
+ service: Service68,
584
584
  layer,
585
- deps: [node80, node84, AppProcess.node]
585
+ deps: [node72, node85, AppProcess.node]
586
586
  });
587
587
 
588
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event18 };
588
+ export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service68, node71, exports_integration, Event15 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-lifecycle-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-lifecycle-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -2,43 +2,43 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-lifecycle-2a5m3afh.js";
5
+ } from "./file-2a5m3afh.js";
6
6
  import {
7
- Service78
8
- } from "./location-lifecycle-h5wtym79.js";
7
+ Service77
8
+ } from "./file-fpkmmq0f.js";
9
9
  import {
10
- Service66
11
- } from "./location-lifecycle-ntqm1rav.js";
10
+ Service62
11
+ } from "./file-s56qzf8n.js";
12
12
  import {
13
- Service15
14
- } from "./location-lifecycle-xvq2g0b8.js";
13
+ Service40
14
+ } from "./file-g6mb1r40.js";
15
15
  import {
16
- Service18,
16
+ Service15,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./location-lifecycle-mp22a6z6.js";
19
+ } from "./file-vcewcf3p.js";
20
20
  import {
21
- Service60
22
- } from "./location-lifecycle-qyxe5d7d.js";
21
+ Service72
22
+ } from "./file-6r536pd1.js";
23
23
  import {
24
- Service48,
24
+ Service41,
25
25
  resolvePath2
26
- } from "./location-lifecycle-h8edqr4y.js";
26
+ } from "./file-6v4peh9p.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./location-lifecycle-6prwharc.js";
29
+ } from "./file-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./location-lifecycle-9rqn6x4v.js";
32
+ } from "./file-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
38
  Input: () => Input11,
39
- Output: () => Output7,
39
+ Output: () => Output8,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin13,
41
+ Plugin: () => Plugin31,
42
42
  name: () => name11,
43
43
  toModelContent: () => toModelContent6
44
44
  });
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output7 = Schema.Struct({
99
+ var Output8 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
@@ -105,21 +105,21 @@ var toModelContent6 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin13 = {
108
+ var Plugin31 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service66;
112
- const access = yield* Service48;
113
- const fileMutation = yield* Service18;
114
- const formatter = yield* Service15;
115
- const location = yield* Service78;
116
- const permission = yield* Service60;
111
+ const environment = yield* Service62;
112
+ const access = yield* Service41;
113
+ const fileMutation = yield* Service15;
114
+ const formatter = yield* Service40;
115
+ const location = yield* Service77;
116
+ const permission = yield* Service72;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
118
  name: name11,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
121
  input: Input11,
122
- output: Output7,
122
+ output: Output8,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name11, Input11, Applied2, Output7, toModelContent6, Plugin13, exports_patch };
329
+ export { name11, Input11, Applied2, Output8, toModelContent6, Plugin31, exports_patch };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./location-lifecycle-v6yffka4.js";
2
+ Service82,
3
+ node85
4
+ } from "./file-p0rshxbh.js";
5
5
  import {
6
6
  create3
7
- } from "./location-lifecycle-rdw6cm16.js";
7
+ } from "./file-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./location-lifecycle-qyxe5d7d.js";
10
+ } from "./file-6r536pd1.js";
11
11
  import {
12
12
  __export
13
- } from "./location-lifecycle-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event11,
21
- ID: () => ID5,
22
- Info: () => Info10,
20
+ Event: () => Event9,
21
+ ID: () => ID4,
22
+ Info: () => Info8,
23
23
  Name: () => Name2,
24
- Service: () => Service55,
24
+ Service: () => Service39,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node58,
29
+ node: () => node42,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event11 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info10 = Skill.Info;
43
- var ID5 = Skill.ID;
42
+ var Info8 = Skill.Info;
43
+ var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service55 extends Context.Service()("@opencode/Skill") {
74
+ class Service39 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service55, Effect.gen(function* () {
77
- const bus = yield* Service80;
76
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
77
+ const bus = yield* Service82;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID5.make(id)),
83
+ get: (id) => editor.skills.get(ID4.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID5.make(id));
88
+ const current = editor.skills.get(ID4.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID5.make(id);
92
+ current.id = ID4.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID5.make(id));
95
+ editor.skills.delete(ID4.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service55.of({
100
+ return Service39.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node58 = makeLocationNode({
112
- service: Service55,
111
+ var node42 = makeLocationNode({
112
+ service: Service39,
113
113
  layer,
114
- deps: [node84]
114
+ deps: [node85]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID5, Name2, available2, toModelOutput3, prepare3, Service55, node58, exports_skill5, Event11 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID4, Name2, available2, toModelOutput3, prepare3, Service39, node42, exports_skill5, Event9 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
- node87
4
- } from "./location-lifecycle-fpr4rjwc.js";
3
+ node86
4
+ } from "./file-bpnjy3z7.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-lifecycle-y71avatq.js";
7
+ } from "./file-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node71
12
- } from "./location-lifecycle-yxc59d7f.js";
11
+ node66
12
+ } from "./file-ftdzjz2b.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./location-lifecycle-faypxj3z.js";
15
+ } from "./file-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./location-lifecycle-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID10,
25
- Info: () => Info15,
24
+ ID: () => ID7,
25
+ Info: () => Info20,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service67,
27
+ Service: () => Service63,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured9,
30
- node: () => node70
29
+ configured: () => configured10,
30
+ node: () => node65
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID10 = Workspace.ID;
38
+ var ID7 = Workspace.ID;
39
39
 
40
- class Info15 extends Schema.Class("Workspace.Info")({
41
- id: ID10,
40
+ class Info20 extends Schema.Class("Workspace.Info")({
41
+ id: ID7,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info15 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID10,
53
+ workspaceID: ID7,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service67 extends Context.Service()("@opencode/Workspace") {
59
+ class Service63 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service67,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service63,
63
63
  layer: layer(options),
64
- deps: [node87, node71]
64
+ deps: [node86, node66]
65
65
  });
66
- var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
67
67
  const db = (yield* Service83).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info15({
83
+ const info = (row, binding) => new Info20({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service67.of({
157
+ return Service63.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID10.create();
159
+ const workspaceID = input.id ?? ID7.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node70 = configured9();
224
+ var node65 = configured10();
225
225
 
226
- export { ID10, Info15, NotFound3, CreateConflict2, Service67, configured9, node70, exports_workspace };
226
+ export { ID7, Info20, NotFound3, CreateConflict2, Service63, configured10, node65, exports_workspace };