@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,29 +1,29 @@
1
1
  import {
2
- Service57
3
- } from "./location-lifecycle-dvep9rg9.js";
2
+ Service55
3
+ } from "./file-5e1pzs32.js";
4
4
  import {
5
- Service46
6
- } from "./location-lifecycle-w21bzq9q.js";
5
+ Service50
6
+ } from "./file-h896pcm5.js";
7
7
  import {
8
8
  detect2
9
- } from "./location-lifecycle-3smtnn6g.js";
9
+ } from "./file-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./location-lifecycle-dxj72tfx.js";
12
+ } from "./file-1x11rq2a.js";
13
13
  import {
14
- Service64
15
- } from "./location-lifecycle-zrq8kphx.js";
14
+ Service76
15
+ } from "./file-n0tq777j.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./location-lifecycle-f38mbwqt.js";
19
+ } from "./file-y8n92kwn.js";
20
20
  import {
21
21
  prepare3,
22
- Service55
23
- } from "./location-lifecycle-3mh8mcsd.js";
22
+ Service39
23
+ } from "./file-42mthp08.js";
24
24
  import {
25
25
  __export
26
- } from "./location-lifecycle-9rqn6x4v.js";
26
+ } from "./file-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service46;
42
+ const instances = yield* Service50;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service64;
45
+ const hooks = yield* Service76;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service55;
64
+ const skillService = yield* Service39;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -95,8 +95,9 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
95
95
  }).pipe(instances.provide(request.session));
96
96
  });
97
97
  var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(function* (input) {
98
+ const label = attachmentLabel(input);
98
99
  const resolved = input.uri.startsWith("data:") ? {
99
- bytes: yield* decodeDataURL(input.uri),
100
+ bytes: yield* decodeDataURL(input.uri, label),
100
101
  source: { type: "inline" },
101
102
  start: undefined,
102
103
  end: undefined,
@@ -105,8 +106,8 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
105
106
  } : yield* readFileAttachment(input.uri);
106
107
  if (resolved.bytes.byteLength > MAX_ATTACHMENT_BYTES)
107
108
  return yield* new AttachmentError2({
108
- uri: input.uri,
109
- message: `Attachment exceeds the ${MAX_ATTACHMENT_BYTES} byte limit: ${input.uri}`
109
+ uri: label,
110
+ message: `Attachment exceeds the ${MAX_ATTACHMENT_BYTES} byte limit: ${label}`
110
111
  });
111
112
  const mime = resolved.mime ?? detect2(resolved.bytes);
112
113
  const content = mime === "text/plain" && resolved.start !== undefined ? Buffer.from(Buffer.from(resolved.bytes).toString("utf8").split(`
@@ -125,8 +126,8 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
127
  if (!mime.startsWith("image/"))
127
128
  return { data: Base64.make(data), mime };
128
- const image = yield* Service57;
129
- const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
129
+ const image = yield* Service55;
130
+ const label = attachmentLabel(input);
130
131
  const content = { uri: label, content: data, encoding: "base64", mime };
131
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
132
133
  return { data: Base64.make(normalized.content), mime: normalized.mime };
@@ -173,7 +174,10 @@ var readFileAttachment = Effect.fn("SessionPrompt.readFileAttachment")(function*
173
174
  return { bytes, source: { type: "uri", uri }, start, end, name: path.basename(target), mime: undefined };
174
175
  });
175
176
  var MAX_ATTACHMENT_BYTES = 20 * 1024 * 1024;
176
- function decodeDataURL(uri) {
177
+ function attachmentLabel(input) {
178
+ return input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
179
+ }
180
+ function decodeDataURL(uri, label) {
177
181
  return Effect.try({
178
182
  try: () => {
179
183
  const comma = uri.indexOf(",");
@@ -188,7 +192,7 @@ function decodeDataURL(uri) {
188
192
  throw new Error("Non-canonical base64");
189
193
  return bytes;
190
194
  },
191
- catch: () => new AttachmentError2({ uri, message: "Invalid attachment data URL" })
195
+ catch: () => new AttachmentError2({ uri: label, message: `Invalid attachment data URL: ${label}` })
192
196
  });
193
197
  }
194
198
  function positiveInt(value) {
@@ -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/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./location-lifecycle-qfa1cgps.js";
3
+ } from "./file-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service47
3
- } from "./location-lifecycle-ayxxfpy2.js";
2
+ Service51
3
+ } from "./file-s5e6zdc6.js";
4
4
  import {
5
- Service20
6
- } from "./location-lifecycle-yp116tgd.js";
5
+ Service16
6
+ } from "./file-w6dmyrhq.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./location-lifecycle-x1ezjp6w.js";
10
+ } from "./file-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./location-lifecycle-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make5
19
+ make: () => make7
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make5 = Effect.gen(function* () {
23
- const sessions = yield* Service20;
24
- const jobs = yield* Service47;
22
+ var make7 = Effect.gen(function* () {
23
+ const sessions = yield* Service16;
24
+ const jobs = yield* Service51;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make5, exports_subagent_job };
61
+ export { make7, exports_subagent_job };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-lifecycle-sx44q36j.js";
3
+ } from "./file-nqjmnyjs.js";
4
4
  import {
5
- Service80
6
- } from "./location-lifecycle-v6yffka4.js";
5
+ Service82
6
+ } from "./file-p0rshxbh.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19,
10
- Service76
11
- } from "./location-lifecycle-wcc6r8bb.js";
9
+ Event16,
10
+ Service69
11
+ } from "./file-018x1ems.js";
12
12
  import {
13
- ID14,
13
+ ID10,
14
14
  MethodID2,
15
- Service75
16
- } from "./location-lifecycle-v0fmmm42.js";
15
+ Service68
16
+ } from "./file-3qzhexf6.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./location-lifecycle-pjvnvgmy.js";
20
+ } from "./file-pjvnvgmy.js";
21
21
  import {
22
- ID13
23
- } from "./location-lifecycle-pdnh11fp.js";
22
+ ID9
23
+ } from "./file-g7z2c8ev.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./location-lifecycle-5jewystt.js";
26
+ } from "./file-tz2j9nz1.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID13.make("snowflake-cortex");
34
- var integrationID = ID14.make(providerID);
33
+ var providerID = ID9.make("snowflake-cortex");
34
+ var integrationID = ID10.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service76;
57
- const integrations = yield* Service75;
58
- const bus = yield* Service80;
56
+ const credentials = yield* Service69;
57
+ const integrations = yield* Service68;
58
+ const bus = yield* Service82;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-lifecycle-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-lifecycle-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service11,
11
+ Service: () => Service10,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node13
13
+ node: () => node12
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service11, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service11.of({
66
+ return Service10.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service11, node13, exports_discovery };
155
+ export { Service10, node12, exports_discovery };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./location-lifecycle-sx2f478y.js";
3
+ } from "./file-8y3wyrth.js";
4
4
  import {
5
5
  lazy2
6
- } from "./location-lifecycle-88xbtdfr.js";
6
+ } from "./file-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./location-lifecycle-y1fvbwt7.js";
9
+ } from "./file-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./location-lifecycle-9rqn6x4v.js";
12
+ } from "./file-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -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/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./location-lifecycle-vp3k42e8.js";
2
+ ID8
3
+ } from "./file-9eyeqmd2.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,29 +1,29 @@
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
  environment2
7
- } from "./location-lifecycle-sx2f478y.js";
7
+ } from "./file-8y3wyrth.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./location-lifecycle-sk3qaz4a.js";
10
+ } from "./file-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./location-lifecycle-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError4,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError5,
20
+ Options: () => Options6,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service19,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured4,
25
- layer: () => layer10,
26
- node: () => node22
22
+ Service: () => Service43,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured6,
25
+ layer: () => layer17,
26
+ node: () => node46
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service19 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service43 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
53
- const bus = yield* Service80;
52
+ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* () {
53
+ const bus = yield* Service82;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError4({ ptyID: id });
75
+ return yield* new NotFoundError5({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service19.of({
242
+ return Service43.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer10 = makeLayer();
259
- var configured4 = (options) => makeGlobalNode({
260
- service: Service19,
261
- layer: options === undefined ? layer10 : makeLayer(options),
262
- deps: [node84, Global.node]
258
+ var layer17 = makeLayer();
259
+ var configured6 = (options) => makeGlobalNode({
260
+ service: Service43,
261
+ layer: options === undefined ? layer17 : makeLayer(options),
262
+ deps: [node85, Global.node]
263
263
  });
264
- var node22 = configured4();
264
+ var node46 = configured6();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError2, NotFoundError4, Service19, layer10, configured4, node22, exports_persistent_pty, Handoff2 };
304
+ export { Options6, UnavailableError3, NotFoundError5, Service43, layer17, configured6, node46, exports_persistent_pty, Handoff2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./location-lifecycle-pdnh11fp.js";
3
+ } from "./file-g7z2c8ev.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./location-lifecycle-vp3k42e8.js";
6
+ } from "./file-9eyeqmd2.js";
7
7
  import {
8
8
  __export
9
- } from "./location-lifecycle-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -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/state.ts
6
6
  var exports_state = {};
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./location-lifecycle-h5wtym79.js";
2
+ Service77,
3
+ node80
4
+ } from "./file-fpkmmq0f.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  make20,
8
8
  combine2
9
- } from "./location-lifecycle-rhjbct0v.js";
9
+ } from "./file-02nrjc1r.js";
10
10
  import {
11
11
  __export
12
- } from "./location-lifecycle-9rqn6x4v.js";
12
+ } from "./file-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service33,
19
- node: () => node36
18
+ Service: () => Service23,
19
+ node: () => node27
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service23 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service33, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service78;
29
- return Service33.of({
28
+ const location = yield* Service77;
29
+ return Service23.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
31
  make20({
32
- key: Key3.make("core/environment"),
32
+ key: Key4.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -50,7 +50,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
50
50
  }
51
51
  }),
52
52
  make20({
53
- key: Key3.make("core/date"),
53
+ key: Key4.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node36 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node82] });
64
+ var node27 = makeLocationNode({ service: Service23, layer, deps: [Global.node, node80] });
65
65
 
66
- export { Service33, node36, exports_builtins };
66
+ export { Service23, node27, exports_builtins };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service70
4
- } from "./location-lifecycle-r9faq7b2.js";
3
+ Service58
4
+ } from "./file-ame7p0bf.js";
5
5
  import {
6
6
  __export
7
- } from "./location-lifecycle-9rqn6x4v.js";
7
+ } from "./file-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin45,
12
+ Plugin: () => Plugin43,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin45 = define({
22
+ var Plugin43 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service70;
25
+ const config = yield* Service58;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin45 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin45, exports_warming };
99
+ export { Plugin43, exports_warming };