@opencode/core 0.0.0-dev-187 → 0.0.0-dev-192

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 (816) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  3. package/dist/aisdk-native.js +98 -98
  4. package/dist/aisdk.js +104 -104
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +76 -76
  7. package/dist/chunks/{credential-b40mew42.js → command-00mjjsd1.js} +9 -9
  8. package/dist/chunks/{credential-hcchr7b8.js → command-01b4dp20.js} +18 -18
  9. package/dist/chunks/{credential-ds92e70v.js → command-07b35671.js} +47 -47
  10. package/dist/chunks/{credential-ywm7vzgw.js → command-0821qhef.js} +6 -6
  11. package/dist/chunks/{credential-sjdx0erp.js → command-0md8jbwq.js} +16 -16
  12. package/dist/chunks/{credential-w2ycgmrw.js → command-0rq6zj2e.js} +44 -44
  13. package/dist/chunks/{credential-dp66fs17.js → command-0xgy9r8e.js} +8 -8
  14. package/dist/chunks/{credential-bkrwx4wv.js → command-10z2q35a.js} +19 -19
  15. package/dist/chunks/{credential-5afpsjak.js → command-16xbxjgz.js} +14 -14
  16. package/dist/chunks/{credential-ncmcp14m.js → command-1v0kgbst.js} +28 -28
  17. package/dist/chunks/{credential-1x2knyw4.js → command-1x2knyw4.js} +1 -1
  18. package/dist/chunks/{credential-5zrxpy3q.js → command-1yq9hg58.js} +5 -5
  19. package/dist/chunks/{credential-204s3925.js → command-204s3925.js} +1 -1
  20. package/dist/chunks/{credential-qnqasnye.js → command-26x8chrq.js} +6 -6
  21. package/dist/chunks/{credential-1ep2p91f.js → command-27w5k9zf.js} +2 -2
  22. package/dist/chunks/{credential-5p72pk0j.js → command-28ac1jrk.js} +55 -55
  23. package/dist/chunks/{credential-h941mtgh.js → command-29ph2m0n.js} +23 -23
  24. package/dist/chunks/{credential-mpmbh81r.js → command-29t3wztw.js} +28 -28
  25. package/dist/chunks/{credential-6zswxkh0.js → command-2bnkmtyn.js} +35 -35
  26. package/dist/chunks/{credential-4g6brmvj.js → command-2n3kxmrb.js} +10 -10
  27. package/dist/chunks/{credential-nb51j40y.js → command-2rysqmgp.js} +15 -15
  28. package/dist/chunks/{credential-css21g00.js → command-2t58wk4f.js} +9 -9
  29. package/dist/chunks/{credential-9pfnqqwg.js → command-2v2p2rpz.js} +2 -2
  30. package/dist/chunks/{credential-nbqwew1m.js → command-30bemqd7.js} +27 -27
  31. package/dist/chunks/{credential-81tzp97y.js → command-3268pdg4.js} +16 -16
  32. package/dist/chunks/{credential-h48mbjt9.js → command-33p3rw4f.js} +21 -21
  33. package/dist/chunks/{credential-wqrxf969.js → command-34z95qkg.js} +40 -40
  34. package/dist/chunks/{credential-kfj1f8qk.js → command-36y1bd58.js} +12 -12
  35. package/dist/chunks/{credential-ayjs7tqn.js → command-3cbjf1nt.js} +2 -2
  36. package/dist/chunks/{credential-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{credential-70v23c6s.js → command-3j1x65zx.js} +178 -178
  38. package/dist/chunks/{credential-xj34fqn9.js → command-3mxdezre.js} +12 -12
  39. package/dist/chunks/{credential-kh6aewdq.js → command-3nthtgk6.js} +30 -30
  40. package/dist/chunks/{credential-z9m5kdq9.js → command-3qrv10r6.js} +20 -20
  41. package/dist/chunks/{credential-wtgq8nqm.js → command-3ryz99p0.js} +7 -7
  42. package/dist/chunks/{credential-pv1x0yxd.js → command-3zj1xpaw.js} +30 -30
  43. package/dist/chunks/{credential-5enarcya.js → command-40za9wsf.js} +6 -6
  44. package/dist/chunks/{credential-hftn0tp4.js → command-438nppkm.js} +33 -33
  45. package/dist/chunks/{credential-tprnqh0m.js → command-455g72dc.js} +14 -14
  46. package/dist/chunks/{credential-1jd0kfa3.js → command-4c6kfn9z.js} +4 -4
  47. package/dist/chunks/{credential-p877pzbq.js → command-4d51p485.js} +23 -23
  48. package/dist/chunks/{credential-yy93hw4g.js → command-4mpvz957.js} +29 -29
  49. package/dist/chunks/{credential-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
  50. package/dist/chunks/{credential-gn5p3jxd.js → command-4rc4c6p6.js} +45 -45
  51. package/dist/chunks/{credential-rny8cxrf.js → command-4rm62t2b.js} +20 -20
  52. package/dist/chunks/{credential-4v008n1t.js → command-4v008n1t.js} +1 -1
  53. package/dist/chunks/{credential-9bbpwjz5.js → command-4vy9vv05.js} +312 -312
  54. package/dist/chunks/{credential-p47swmgp.js → command-5043ej2r.js} +32 -32
  55. package/dist/chunks/{credential-rkfzvbfw.js → command-515hc563.js} +16 -16
  56. package/dist/chunks/{credential-tx4wcr36.js → command-5851zxg9.js} +4 -4
  57. package/dist/chunks/{credential-9wn23waw.js → command-5dnzaf1y.js} +43 -43
  58. package/dist/chunks/{credential-gx0r2313.js → command-5kbev7nh.js} +6 -6
  59. package/dist/chunks/{credential-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{credential-hgepg6aa.js → command-5nx4wf47.js} +30 -30
  61. package/dist/chunks/{credential-eqfmrs69.js → command-5qsq6d1y.js} +24 -24
  62. package/dist/chunks/{credential-tmtdn5g8.js → command-6bz7qnk4.js} +25 -25
  63. package/dist/chunks/{credential-6esdw8yj.js → command-6esdw8yj.js} +1 -1
  64. package/dist/chunks/{credential-xk5nadf4.js → command-6etkam66.js} +32 -32
  65. package/dist/chunks/{credential-eaqt3ydp.js → command-6jkh4qsb.js} +6 -6
  66. package/dist/chunks/{credential-vn5j9p0e.js → command-6n9ky129.js} +23 -23
  67. package/dist/chunks/{credential-73s9ngde.js → command-6sffq8p7.js} +6 -6
  68. package/dist/chunks/{credential-pyb4kdaa.js → command-6xr9vfwh.js} +13 -13
  69. package/dist/chunks/{credential-4p44xgxk.js → command-6xrdpfmf.js} +38 -38
  70. package/dist/chunks/{credential-ay0jyemf.js → command-70wrqntk.js} +6 -6
  71. package/dist/chunks/{credential-76cb1hcw.js → command-76cb1hcw.js} +1 -1
  72. package/dist/chunks/{credential-ve404jf0.js → command-7bd1zx9q.js} +17 -17
  73. package/dist/chunks/{credential-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{credential-yr316x9x.js → command-7g4ceemv.js} +3 -3
  75. package/dist/chunks/{credential-nsr16dad.js → command-7hmy122c.js} +15 -15
  76. package/dist/chunks/{credential-ndna58nq.js → command-7tgj3thq.js} +22 -22
  77. package/dist/chunks/{credential-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
  78. package/dist/chunks/{credential-27bs79w9.js → command-7yect7x1.js} +2 -2
  79. package/dist/chunks/{credential-mqk0aw1r.js → command-86s92ra1.js} +41 -41
  80. package/dist/chunks/{credential-pb73g8ww.js → command-8at4k5nj.js} +27 -27
  81. package/dist/chunks/{credential-8jztxfpf.js → command-8jztxfpf.js} +1 -1
  82. package/dist/chunks/{credential-wastx31p.js → command-8kggrr3e.js} +13 -13
  83. package/dist/chunks/{credential-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
  84. package/dist/chunks/command-8x060fmy.js +18 -0
  85. package/dist/chunks/{credential-90zstvax.js → command-90zstvax.js} +1 -1
  86. package/dist/chunks/{credential-c20fjdsp.js → command-93ee6ynz.js} +19 -19
  87. package/dist/chunks/{credential-bkg200nm.js → command-9h1y6hg7.js} +31 -31
  88. package/dist/chunks/{credential-h7d4rbrg.js → command-9q8g9sv8.js} +4 -4
  89. package/dist/chunks/{credential-9r9bvhte.js → command-9r0x1bva.js} +9 -9
  90. package/dist/chunks/{credential-afmnpta1.js → command-9s06frge.js} +5 -5
  91. package/dist/chunks/{credential-3g0vgwnf.js → command-9tvh7z9g.js} +44 -44
  92. package/dist/chunks/{credential-vz54nt0f.js → command-9wzjb77v.js} +5 -5
  93. package/dist/chunks/{credential-vekke9ze.js → command-9y6y4p5q.js} +74 -74
  94. package/dist/chunks/{credential-vjmsebym.js → command-9z9tayqc.js} +9 -9
  95. package/dist/chunks/{credential-svtvxt5b.js → command-a7s1nr2m.js} +9 -9
  96. package/dist/chunks/{credential-034tev2y.js → command-aj7mw0zk.js} +2 -2
  97. package/dist/chunks/{credential-hxfydjz7.js → command-atzg8zb1.js} +32 -32
  98. package/dist/chunks/{credential-zm39794k.js → command-ay2wbdds.js} +14 -14
  99. package/dist/chunks/{credential-ewfk0g57.js → command-ayf3m2d5.js} +17 -17
  100. package/dist/chunks/{credential-24fnnd1e.js → command-azw5wzd7.js} +23 -23
  101. package/dist/chunks/{credential-205jx585.js → command-b277gfsp.js} +24 -24
  102. package/dist/chunks/{credential-a694798e.js → command-b29mbqx6.js} +5 -5
  103. package/dist/chunks/{credential-f01y088k.js → command-b4vpdc8n.js} +2 -2
  104. package/dist/chunks/{credential-b6vsg801.js → command-b6vsg801.js} +2 -2
  105. package/dist/chunks/{credential-bjhzkqyk.js → command-bjhzkqyk.js} +1 -1
  106. package/dist/chunks/{credential-xd9cc171.js → command-bstexjd6.js} +5 -5
  107. package/dist/chunks/{credential-c6ex42cj.js → command-bz229hd6.js} +24 -24
  108. package/dist/chunks/{credential-sgtb1tsv.js → command-c3tj1nfn.js} +20 -20
  109. package/dist/chunks/{credential-7f9y1dg2.js → command-cbkde0jd.js} +10 -10
  110. package/dist/chunks/{credential-9x70yqx6.js → command-cby6psbp.js} +9 -9
  111. package/dist/chunks/{credential-tm2ngzhh.js → command-cdq1pcjt.js} +16 -16
  112. package/dist/chunks/{credential-wmesf3ky.js → command-chx6yw2v.js} +18 -18
  113. package/dist/chunks/{credential-jyf5b8xa.js → command-cmx0zgd5.js} +20 -20
  114. package/dist/chunks/{credential-7vfr41g1.js → command-cn1mgj56.js} +9 -9
  115. package/dist/chunks/{credential-x764p0ap.js → command-cn79fdx8.js} +17 -17
  116. package/dist/chunks/{credential-5x26af84.js → command-cpgbtk9c.js} +4 -4
  117. package/dist/chunks/{credential-cwrgdav8.js → command-cwrgdav8.js} +2 -2
  118. package/dist/chunks/{credential-e9a5c0m5.js → command-czkk2md7.js} +5 -5
  119. package/dist/chunks/{credential-ttyt43s1.js → command-dq1vsfnp.js} +12 -12
  120. package/dist/chunks/{credential-2r17yksc.js → command-dsbck6v3.js} +11 -11
  121. package/dist/chunks/{credential-dt77769w.js → command-dt77769w.js} +1 -1
  122. package/dist/chunks/{credential-v5d1a9z0.js → command-dy0rdwyn.js} +7 -7
  123. package/dist/chunks/{credential-ccp6j38y.js → command-e71bb87j.js} +8 -8
  124. package/dist/chunks/{credential-xrejx9hx.js → command-e79z1jvy.js} +16 -16
  125. package/dist/chunks/{credential-e834z07m.js → command-e834z07m.js} +1 -1
  126. package/dist/chunks/{credential-ehhv8qk8.js → command-e9nx9dch.js} +64 -64
  127. package/dist/chunks/{credential-3stf93zb.js → command-ebj3rvtd.js} +11 -11
  128. package/dist/chunks/{credential-sv99c60z.js → command-ec66vark.js} +23 -23
  129. package/dist/chunks/{credential-7y5w20kd.js → command-eehpsxwd.js} +20 -20
  130. package/dist/chunks/{credential-kpayrmev.js → command-eexq3avs.js} +7 -7
  131. package/dist/chunks/{credential-rvznwq0w.js → command-egzpwr9w.js} +5 -5
  132. package/dist/chunks/{credential-s32yc23w.js → command-em23s76k.js} +17 -17
  133. package/dist/chunks/{credential-gg8p9cgs.js → command-ep59zg61.js} +3 -3
  134. package/dist/chunks/{credential-pzc0xwr7.js → command-etbjhst2.js} +7 -7
  135. package/dist/chunks/{credential-xa9yt4a6.js → command-exfq29n4.js} +19 -19
  136. package/dist/chunks/{credential-s95e3gja.js → command-ff597jm7.js} +21 -21
  137. package/dist/chunks/{credential-fffv3p7h.js → command-fffv3p7h.js} +1 -1
  138. package/dist/chunks/{credential-4ar31nmd.js → command-fft6kzd2.js} +3 -3
  139. package/dist/chunks/{credential-prq7xxp2.js → command-fg9p65nk.js} +6 -6
  140. package/dist/chunks/{credential-zbkzjvgf.js → command-fgs47z99.js} +19 -19
  141. package/dist/chunks/{credential-v0myx3m5.js → command-fhazfch2.js} +45 -45
  142. package/dist/chunks/{credential-z5sv9z4b.js → command-frj2twk5.js} +20 -20
  143. package/dist/chunks/{credential-z943meh7.js → command-fw1xdg81.js} +20 -20
  144. package/dist/chunks/{credential-kmavkxxp.js → command-gbkvsjtb.js} +33 -33
  145. package/dist/chunks/{credential-vcsqhwkn.js → command-gdrsszk7.js} +11 -11
  146. package/dist/chunks/{credential-z9kzkjwz.js → command-gf3f1z7b.js} +9 -9
  147. package/dist/chunks/{credential-389agmea.js → command-gf614vnd.js} +6 -6
  148. package/dist/chunks/{credential-d4v9tmah.js → command-gn8tkhbf.js} +2 -2
  149. package/dist/chunks/{credential-0xp5gcxg.js → command-gtbct7qe.js} +10 -10
  150. package/dist/chunks/{credential-1kn6jdkn.js → command-gtn9c16a.js} +4 -4
  151. package/dist/chunks/{credential-cv1a4phn.js → command-h1ytfc0y.js} +8 -8
  152. package/dist/chunks/{credential-kj0q4yg0.js → command-h2ry2ahb.js} +9 -9
  153. package/dist/chunks/{credential-xv4zb3hn.js → command-h9kvttc7.js} +1 -1
  154. package/dist/chunks/{credential-v6r2mqf1.js → command-hf61y91y.js} +14 -14
  155. package/dist/chunks/{credential-hfgk9wzg.js → command-hfgk9wzg.js} +1 -1
  156. package/dist/chunks/{credential-3kkx4n85.js → command-hnfbx6gz.js} +3 -3
  157. package/dist/chunks/{credential-hpg1pkwy.js → command-hpg1pkwy.js} +1 -1
  158. package/dist/chunks/{credential-vg0erq9k.js → command-hqxkkta1.js} +3 -3
  159. package/dist/chunks/{credential-zbfdjnnn.js → command-hr8ybq2q.js} +3 -3
  160. package/dist/chunks/{credential-kw2sxjk8.js → command-hvm8hq2z.js} +14 -14
  161. package/dist/chunks/{credential-zp9rf83y.js → command-j12cv1sc.js} +26 -26
  162. package/dist/chunks/{credential-14b1eg4m.js → command-j2d02bpj.js} +16 -16
  163. package/dist/chunks/{credential-ryhxbr5y.js → command-jf78x530.js} +19 -19
  164. package/dist/chunks/{credential-jfaecv01.js → command-jfaecv01.js} +1 -1
  165. package/dist/chunks/{credential-h0zzzneq.js → command-jrye536t.js} +11 -11
  166. package/dist/chunks/{credential-jtnps1zs.js → command-jtnps1zs.js} +2 -2
  167. package/dist/chunks/{credential-44j71sge.js → command-jxqj52kg.js} +8 -8
  168. package/dist/chunks/{credential-3ge1gmtq.js → command-jzfm45zn.js} +5 -5
  169. package/dist/chunks/{credential-y0z85yb7.js → command-k0z9xgt2.js} +11 -11
  170. package/dist/chunks/{credential-k814nvkf.js → command-k814nvkf.js} +1 -1
  171. package/dist/chunks/{credential-wby0kqsc.js → command-k9zkdd2y.js} +4 -4
  172. package/dist/chunks/{credential-27ttap9b.js → command-km31c7kj.js} +18 -18
  173. package/dist/chunks/{credential-enkpkfwx.js → command-kmzgegqq.js} +8 -8
  174. package/dist/chunks/{credential-g0frj7t5.js → command-ksmsdsrm.js} +17 -17
  175. package/dist/chunks/{credential-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
  176. package/dist/chunks/{credential-971htg5h.js → command-kytj30gb.js} +11 -11
  177. package/dist/chunks/{credential-m1714858.js → command-m1714858.js} +1 -1
  178. package/dist/chunks/{credential-070kztyy.js → command-m5gkvr4e.js} +4 -4
  179. package/dist/chunks/{credential-kb5t3ds5.js → command-m7h6p2mz.js} +11 -11
  180. package/dist/chunks/{credential-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{credential-0j385cpp.js → command-ma407v5y.js} +10 -10
  182. package/dist/chunks/{credential-pqe3wwk7.js → command-mptdz56v.js} +33 -33
  183. package/dist/chunks/{credential-zavmbsdh.js → command-msj7tqt3.js} +8 -8
  184. package/dist/chunks/{credential-ga2t0gy0.js → command-myvbtv3b.js} +4 -4
  185. package/dist/chunks/{credential-kvceask2.js → command-mz5czfjq.js} +25 -25
  186. package/dist/chunks/{credential-ja21mvjg.js → command-n3bkb5q1.js} +8 -8
  187. package/dist/chunks/{credential-1b47wdbk.js → command-n6vpezgx.js} +21 -21
  188. package/dist/chunks/{credential-r7yqde16.js → command-n9e6fwv2.js} +4 -4
  189. package/dist/chunks/{credential-nah043kf.js → command-nah043kf.js} +1 -1
  190. package/dist/chunks/{credential-rann5k8e.js → command-nfze187e.js} +15 -15
  191. package/dist/chunks/{credential-r5adr575.js → command-njmdq0v4.js} +12 -12
  192. package/dist/chunks/{credential-q6q0x75a.js → command-nzjp5m62.js} +8 -8
  193. package/dist/chunks/{credential-p015t6z3.js → command-p015t6z3.js} +2 -2
  194. package/dist/chunks/{credential-n7n2q093.js → command-p1jpxsyv.js} +27 -27
  195. package/dist/chunks/{credential-p7f9amnf.js → command-p7f9amnf.js} +2 -2
  196. package/dist/chunks/{credential-kmwym1c0.js → command-p7mdng8d.js} +7 -7
  197. package/dist/chunks/{credential-aqvqws4e.js → command-p7n3nxvc.js} +16 -16
  198. package/dist/chunks/{credential-3ez6nx9b.js → command-p9ayhvdt.js} +21 -21
  199. package/dist/chunks/{credential-nvhxtb15.js → command-pcr7gbpj.js} +11 -11
  200. package/dist/chunks/{credential-n6zcgpz9.js → command-phtkj9qf.js} +5 -5
  201. package/dist/chunks/{credential-pknna89w.js → command-pknna89w.js} +1 -1
  202. package/dist/chunks/{credential-yara3q77.js → command-pxtfkpje.js} +2 -2
  203. package/dist/chunks/{credential-9tsqrg4s.js → command-q1v2rqx1.js} +32 -32
  204. package/dist/chunks/{credential-3tfc273a.js → command-qcwk3ksp.js} +10 -10
  205. package/dist/chunks/{credential-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
  206. package/dist/chunks/{credential-dn7s2d5x.js → command-qps2khjy.js} +36 -36
  207. package/dist/chunks/{credential-1r71ewmy.js → command-qv2477tn.js} +17 -17
  208. package/dist/chunks/{credential-r0yr0wbs.js → command-r0yr0wbs.js} +1 -1
  209. package/dist/chunks/{credential-qbqmyk35.js → command-r29jt39q.js} +28 -28
  210. package/dist/chunks/{credential-k1mrsx9s.js → command-r438avjf.js} +46 -46
  211. package/dist/chunks/{credential-r542h3bh.js → command-r542h3bh.js} +1 -1
  212. package/dist/chunks/{credential-tchnsj1t.js → command-r6drjba7.js} +23 -23
  213. package/dist/chunks/{credential-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
  214. package/dist/chunks/{credential-k2cep7rr.js → command-rsjmrn99.js} +5 -5
  215. package/dist/chunks/{credential-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
  216. package/dist/chunks/{credential-8ygr8xs6.js → command-rtn5n65h.js} +3 -3
  217. package/dist/chunks/{credential-q7yr00bv.js → command-s1e3bnys.js} +34 -34
  218. package/dist/chunks/{credential-xr7azs4w.js → command-s73byfaf.js} +20 -20
  219. package/dist/chunks/{credential-s7gmm2q3.js → command-s7gmm2q3.js} +3 -3
  220. package/dist/chunks/{credential-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
  221. package/dist/chunks/{credential-aewdbf9n.js → command-sbke1tyt.js} +5 -5
  222. package/dist/chunks/{credential-kn8cv6st.js → command-sh3c00mc.js} +11 -11
  223. package/dist/chunks/{credential-98s6gvh8.js → command-shanfhsz.js} +12 -12
  224. package/dist/chunks/{credential-qah7t4da.js → command-sq4s6wq1.js} +6 -6
  225. package/dist/chunks/{credential-sqjzf8x2.js → command-sqjzf8x2.js} +1 -1
  226. package/dist/chunks/{credential-d2887f8n.js → command-ssfehs1z.js} +4 -4
  227. package/dist/chunks/{credential-svcy3p9a.js → command-svcy3p9a.js} +1 -1
  228. package/dist/chunks/{credential-vrcsa8qx.js → command-takvccra.js} +9 -9
  229. package/dist/chunks/{credential-tczq8hjw.js → command-tczq8hjw.js} +1 -1
  230. package/dist/chunks/{credential-eta5y2w6.js → command-tdjjjkq6.js} +23 -23
  231. package/dist/chunks/{credential-cpqaegh5.js → command-tjre620e.js} +3 -3
  232. package/dist/chunks/{credential-sfgq15w8.js → command-tjt434kf.js} +18 -18
  233. package/dist/chunks/{credential-1agjqqwc.js → command-tk7f1t18.js} +30 -30
  234. package/dist/chunks/{credential-3nnrz6f6.js → command-tmc7xdjs.js} +4 -4
  235. package/dist/chunks/{credential-g843qhaa.js → command-tvv0tn9w.js} +6 -6
  236. package/dist/chunks/{credential-twssxy5n.js → command-twssxy5n.js} +2 -2
  237. package/dist/chunks/{credential-d8p3t516.js → command-tx91wa5k.js} +4 -4
  238. package/dist/chunks/{credential-zyb6xh6k.js → command-tyaqfnq9.js} +18 -18
  239. package/dist/chunks/{credential-7rychec2.js → command-tzqrh5pq.js} +13 -13
  240. package/dist/chunks/{credential-fdg4ckdw.js → command-v0q3mgw6.js} +12 -12
  241. package/dist/chunks/{credential-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
  242. package/dist/chunks/{credential-cgxeq3jz.js → command-v5brjje0.js} +15 -15
  243. package/dist/chunks/{credential-5qz8cxb6.js → command-v6pfsmaj.js} +74 -74
  244. package/dist/chunks/{credential-mekz3fys.js → command-v8d0t8r0.js} +33 -33
  245. package/dist/chunks/{credential-0e3a0p0e.js → command-vc24ps4y.js} +18 -18
  246. package/dist/chunks/{credential-r0br8gdd.js → command-vfybh93w.js} +32 -32
  247. package/dist/chunks/{credential-vx3jgdek.js → command-vpm8vpz0.js} +2 -2
  248. package/dist/chunks/{credential-13mkws8m.js → command-vv0zpxc5.js} +10 -10
  249. package/dist/chunks/{credential-td25hne4.js → command-vw06atv7.js} +8 -8
  250. package/dist/chunks/{credential-bvwfamc4.js → command-w1yz8y9w.js} +8 -8
  251. package/dist/chunks/{credential-cdemd7x4.js → command-w2arfqwz.js} +12 -12
  252. package/dist/chunks/{credential-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{credential-25rbfdac.js → command-w4re67rg.js} +3 -3
  254. package/dist/chunks/{credential-wr3re1en.js → command-w687dnns.js} +4 -4
  255. package/dist/chunks/{credential-akv12b6r.js → command-w84a1txn.js} +11 -11
  256. package/dist/chunks/{credential-0f3jx7vk.js → command-waamrcjf.js} +2 -2
  257. package/dist/chunks/{credential-wakvkjy4.js → command-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{credential-wd87259q.js → command-wd87259q.js} +1 -1
  259. package/dist/chunks/{credential-q982ceg8.js → command-wgjkkrj2.js} +25 -25
  260. package/dist/chunks/{credential-q25zpt88.js → command-wm2sanfk.js} +4 -4
  261. package/dist/chunks/{credential-wnhgecwx.js → command-wnhgecwx.js} +1 -1
  262. package/dist/chunks/{credential-qmbcd6gr.js → command-wxy4dqwa.js} +8 -8
  263. package/dist/chunks/{credential-yb8qqq1e.js → command-wzxekqyh.js} +9 -9
  264. package/dist/chunks/command-x17jgygk.js +26 -0
  265. package/dist/chunks/{credential-7v2fx3f2.js → command-x9szzvh5.js} +11 -11
  266. package/dist/chunks/{credential-g2774j0n.js → command-xjzmf0f0.js} +4 -4
  267. package/dist/chunks/{credential-cpxtmqx8.js → command-xkmmweqg.js} +23 -23
  268. package/dist/chunks/{credential-7fn4z29d.js → command-xmsgn8wk.js} +11 -11
  269. package/dist/chunks/command-xxs30trs.js +257 -0
  270. package/dist/chunks/{credential-adsxsvsn.js → command-y0gcdphe.js} +39 -39
  271. package/dist/chunks/{credential-gbc4t0r5.js → command-y0z7xxr2.js} +26 -26
  272. package/dist/chunks/{credential-8as8ktgx.js → command-y57mav2x.js} +21 -21
  273. package/dist/chunks/{credential-b32ceyvm.js → command-y6sqc5ks.js} +4 -4
  274. package/dist/chunks/{credential-de5g5c11.js → command-y7crk8z2.js} +13 -13
  275. package/dist/chunks/{credential-6029gre8.js → command-yafp75j8.js} +11 -11
  276. package/dist/chunks/{credential-yb20nhc3.js → command-yb20nhc3.js} +1 -1
  277. package/dist/chunks/{credential-rfpbm3qw.js → command-yhdj4qa2.js} +18 -18
  278. package/dist/chunks/{credential-jpfnw9g4.js → command-yjx9frm7.js} +5 -5
  279. package/dist/chunks/{credential-a9q6fvpe.js → command-ymz7p2c9.js} +3 -3
  280. package/dist/chunks/{credential-pkq395za.js → command-yp1yfw1j.js} +5 -5
  281. package/dist/chunks/{credential-rgzggw2r.js → command-yqhz1kx0.js} +2 -2
  282. package/dist/chunks/{credential-kj3apbqt.js → command-yr0jtzyt.js} +11 -11
  283. package/dist/chunks/{credential-z38nccrw.js → command-z38nccrw.js} +1 -1
  284. package/dist/chunks/{credential-y3p8jgcj.js → command-z6445x7a.js} +12 -12
  285. package/dist/chunks/{credential-y3r864xm.js → command-zf0kqan8.js} +4 -4
  286. package/dist/chunks/{credential-2k05yhhs.js → command-zjfjzrw7.js} +4 -4
  287. package/dist/chunks/{credential-h9e79qkn.js → command-znhbtrmf.js} +15 -15
  288. package/dist/chunks/{credential-hmddjb5g.js → command-zrc3q1m0.js} +11 -11
  289. package/dist/chunks/{credential-knajrh1z.js → command-zrjs9xec.js} +12 -12
  290. package/dist/chunks/{credential-p76me67c.js → command-ztf6n3de.js} +4 -4
  291. package/dist/chunks/{credential-wvgdarde.js → command-zyy21h18.js} +23 -23
  292. package/dist/chunks/{credential-zwmyj4b2.js → command-zz7cy004.js} +16 -16
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +86 -86
  298. package/dist/config/discovery.js +91 -91
  299. package/dist/config/integration.js +3 -3
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +108 -108
  302. package/dist/config/plugin/agent.js +124 -124
  303. package/dist/config/plugin/command.js +222 -222
  304. package/dist/config/plugin/compaction.js +163 -163
  305. package/dist/config/plugin/compatibility.js +143 -143
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +123 -123
  308. package/dist/config/plugin/image.js +122 -122
  309. package/dist/config/plugin/instruction.js +122 -122
  310. package/dist/config/plugin/location-watcher.js +124 -124
  311. package/dist/config/plugin/mcp.js +131 -131
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +124 -124
  315. package/dist/config/plugin/shell.js +122 -122
  316. package/dist/config/plugin/skill-file.js +139 -139
  317. package/dist/config/plugin/skill-scan.js +1 -1
  318. package/dist/config/plugin/skill.js +146 -146
  319. package/dist/config/plugin/snapshot.js +122 -122
  320. package/dist/config/plugin/source.js +121 -121
  321. package/dist/config/plugin/tool-output.js +123 -123
  322. package/dist/config/plugin/websearch.js +121 -121
  323. package/dist/config/plugin/worktree.js +124 -124
  324. package/dist/config/variable.js +1 -1
  325. package/dist/config/watch.js +1 -1
  326. package/dist/config.js +127 -127
  327. package/dist/console-access.js +1 -1
  328. package/dist/credential/sql.js +2 -2
  329. package/dist/credential.js +88 -88
  330. package/dist/database/database.js +73 -73
  331. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  332. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  333. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  334. package/dist/database/drizzle/index.js +13 -13
  335. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  338. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  345. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  346. package/dist/database/drizzle.js +14 -14
  347. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  348. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  349. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  350. package/dist/database/migration/20260225215848_workspace.js +1 -1
  351. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  352. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  353. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  354. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  355. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  356. package/dist/database/migration/20260323234822_events.js +1 -1
  357. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  358. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  359. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  360. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  361. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  362. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  363. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  364. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  365. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  366. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  367. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  368. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  369. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  370. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  371. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  372. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  373. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  374. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  375. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  376. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  377. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  378. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  379. package/dist/database/migration/20260611035744_credential.js +1 -1
  380. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  381. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  382. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  383. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  384. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  385. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  386. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  387. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  388. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  389. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  390. package/dist/database/migration/20260812213948_worktree.js +1 -1
  391. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  392. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  393. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  394. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  395. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  396. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  397. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  398. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  399. package/dist/database/migration/20261025123711_blob.js +1 -1
  400. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  401. package/dist/database/migration/20261026223005_schedule.js +1 -1
  402. package/dist/database/migration.gen.js +56 -56
  403. package/dist/database/migration.js +58 -58
  404. package/dist/database/path.js +2 -2
  405. package/dist/database/schema.gen.js +1 -1
  406. package/dist/database/schema.sql.js +1 -1
  407. package/dist/database/sqlite.bun.js +1 -1
  408. package/dist/database/sqlite.js +1 -1
  409. package/dist/database/sqlite.node.js +1 -1
  410. package/dist/database/sqlite.workerd.js +1 -1
  411. package/dist/database/v1-migration.bun.js +101 -101
  412. package/dist/database/v1-migration.js +1 -1
  413. package/dist/effect/app-node-builder.js +378 -378
  414. package/dist/effect/app-node-platform.js +2 -2
  415. package/dist/effect/keyed-mutex.js +1 -1
  416. package/dist/effect/websocket-constructor.js +1 -1
  417. package/dist/environment/driver.js +1 -1
  418. package/dist/environment/environment.js +102 -102
  419. package/dist/environment/exec-defaults.js +2 -2
  420. package/dist/environment/files.js +1 -1
  421. package/dist/environment/index.js +102 -102
  422. package/dist/environment/local.js +2 -2
  423. package/dist/environment/memory.js +2 -2
  424. package/dist/environment/unavailable.js +3 -3
  425. package/dist/event/sql.js +1 -1
  426. package/dist/event-logger.js +77 -77
  427. package/dist/file-access.js +145 -145
  428. package/dist/file-mutation.js +103 -103
  429. package/dist/file-retention.js +1 -1
  430. package/dist/filesystem/fff.bun.js +2 -2
  431. package/dist/filesystem/fff.js +1 -1
  432. package/dist/filesystem/fff.node.js +2 -2
  433. package/dist/filesystem/fff.workerd.js +2 -2
  434. package/dist/filesystem/file-watch.js +84 -84
  435. package/dist/filesystem/location-watcher-policy.js +6 -6
  436. package/dist/filesystem/location-watcher.js +235 -235
  437. package/dist/filesystem/protected.js +1 -1
  438. package/dist/filesystem/search.js +106 -106
  439. package/dist/filesystem/watcher-binding.js +1 -1
  440. package/dist/filesystem/watcher.js +11 -11
  441. package/dist/filesystem.js +113 -113
  442. package/dist/form.js +87 -87
  443. package/dist/formatter/builtins.js +4 -4
  444. package/dist/formatter.js +96 -96
  445. package/dist/generate.js +114 -114
  446. package/dist/git.js +11 -11
  447. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  448. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  449. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  451. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  453. package/dist/github-copilot/copilot-provider.js +17 -17
  454. package/dist/github-copilot/models.js +108 -108
  455. package/dist/github-copilot/openai-compatible-error.js +1 -1
  456. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  457. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  458. package/dist/github-copilot/responses/openai-error.js +1 -1
  459. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  460. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  461. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  462. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  463. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  464. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  466. package/dist/image/photon-normalize.js +1 -1
  467. package/dist/image/photon-worker.js +1 -1
  468. package/dist/image/photon.js +4 -4
  469. package/dist/image.js +6 -6
  470. package/dist/instance/service.js +5 -5
  471. package/dist/instance.js +369 -369
  472. package/dist/instruction-discovery.js +93 -93
  473. package/dist/instructions/builtins.js +96 -96
  474. package/dist/instructions/index.js +3 -3
  475. package/dist/integration/connection.js +1 -1
  476. package/dist/integration.js +90 -90
  477. package/dist/job.js +85 -85
  478. package/dist/kv/sql.js +2 -2
  479. package/dist/kv.js +80 -80
  480. package/dist/location-activity.js +164 -164
  481. package/dist/location-lifecycle.js +143 -143
  482. package/dist/location-service-map.js +95 -95
  483. package/dist/location-services.js +366 -366
  484. package/dist/location.js +96 -96
  485. package/dist/managed-policy.js +3 -3
  486. package/dist/mcp/client.js +100 -100
  487. package/dist/mcp/index.js +106 -106
  488. package/dist/mcp/instructions.js +169 -169
  489. package/dist/mcp/oauth.js +85 -85
  490. package/dist/mcp/socket-client.js +1 -1
  491. package/dist/mcp/stdio.js +99 -99
  492. package/dist/mime.js +1 -1
  493. package/dist/modal/models.js +108 -108
  494. package/dist/model-resolver.js +106 -106
  495. package/dist/model-retry.js +1 -1
  496. package/dist/model.js +109 -109
  497. package/dist/models-dev/v1.js +1 -1
  498. package/dist/models-dev.js +113 -113
  499. package/dist/oauth/page.js +1 -1
  500. package/dist/permission/saved.js +89 -89
  501. package/dist/permission/sql.js +5 -5
  502. package/dist/permission.js +148 -148
  503. package/dist/persistent-pty/binary.bun.js +1 -1
  504. package/dist/persistent-pty/daemon.js +1 -1
  505. package/dist/persistent-pty/index.js +89 -89
  506. package/dist/persistent-pty/pty-binding.js +1 -1
  507. package/dist/persistent-pty.js +82 -82
  508. package/dist/plugin/agent.js +83 -83
  509. package/dist/plugin/command.js +111 -111
  510. package/dist/plugin/hooks.js +5 -5
  511. package/dist/plugin/host.js +228 -228
  512. package/dist/plugin/identity.js +5 -5
  513. package/dist/plugin/instance.js +5 -5
  514. package/dist/plugin/internal.js +339 -339
  515. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  516. package/dist/plugin/models-dev.js +106 -106
  517. package/dist/plugin/module.js +124 -124
  518. package/dist/plugin/optimize.js +2 -2
  519. package/dist/plugin/plan.js +139 -139
  520. package/dist/plugin/promise.js +1 -1
  521. package/dist/plugin/provider/amazon-bedrock.js +99 -99
  522. package/dist/plugin/provider/azure.js +122 -122
  523. package/dist/plugin/provider/cerebras.js +1 -1
  524. package/dist/plugin/provider/chatgpt.js +122 -122
  525. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  526. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  527. package/dist/plugin/provider/configured.js +118 -118
  528. package/dist/plugin/provider/databricks.js +1 -1
  529. package/dist/plugin/provider/digitalocean.js +102 -102
  530. package/dist/plugin/provider/dynamic.js +2 -2
  531. package/dist/plugin/provider/github-copilot.js +104 -104
  532. package/dist/plugin/provider/gitlab.js +102 -102
  533. package/dist/plugin/provider/google-vertex.js +119 -119
  534. package/dist/plugin/provider/kilo.js +1 -1
  535. package/dist/plugin/provider/llmgateway.js +85 -85
  536. package/dist/plugin/provider/lmstudio.js +131 -131
  537. package/dist/plugin/provider/local.js +128 -128
  538. package/dist/plugin/provider/modal.js +101 -101
  539. package/dist/plugin/provider/neon.js +1 -1
  540. package/dist/plugin/provider/nvidia.js +1 -1
  541. package/dist/plugin/provider/ollama.js +131 -131
  542. package/dist/plugin/provider/openai-context-caps.js +99 -99
  543. package/dist/plugin/provider/openai.js +122 -122
  544. package/dist/plugin/provider/opencode.js +125 -125
  545. package/dist/plugin/provider/openrouter.js +100 -100
  546. package/dist/plugin/provider/poe.js +86 -86
  547. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  548. package/dist/plugin/provider/sap-ai-core.js +100 -100
  549. package/dist/plugin/provider/sdk-factory.js +1 -1
  550. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  551. package/dist/plugin/provider/vllm.js +131 -131
  552. package/dist/plugin/provider/xai.js +100 -100
  553. package/dist/plugin/provider/zenmux.js +1 -1
  554. package/dist/plugin/provider.js +172 -172
  555. package/dist/plugin/sdk.js +83 -83
  556. package/dist/plugin/service.js +3 -3
  557. package/dist/plugin/skill.js +142 -142
  558. package/dist/plugin/source-directory.js +1 -1
  559. package/dist/plugin/supervisor.js +358 -358
  560. package/dist/plugin/tool-input-repair.js +4 -4
  561. package/dist/plugin/update.js +6 -6
  562. package/dist/plugin/vcs/git.js +95 -95
  563. package/dist/plugin/vcs/hg.js +95 -95
  564. package/dist/plugin/verbosity.js +102 -102
  565. package/dist/plugin/warming.js +120 -120
  566. package/dist/plugin/websearch/exa.js +7 -7
  567. package/dist/plugin/websearch/firecrawl.js +6 -6
  568. package/dist/plugin/websearch/index.js +9 -9
  569. package/dist/plugin/websearch/mcp.js +4 -4
  570. package/dist/plugin/websearch/parallel.js +8 -8
  571. package/dist/plugin/websearch/tavily.js +6 -6
  572. package/dist/plugin/websearch/tinyfish.js +8 -8
  573. package/dist/plugin.js +229 -229
  574. package/dist/project/icon.js +5 -5
  575. package/dist/project/schema.js +8 -8
  576. package/dist/project/sql.js +4 -4
  577. package/dist/project.js +97 -97
  578. package/dist/provider.js +104 -104
  579. package/dist/pty/protocol.js +1 -1
  580. package/dist/pty/ticket.js +1 -1
  581. package/dist/pty.js +101 -101
  582. package/dist/reference/instructions.js +97 -97
  583. package/dist/reference.js +99 -99
  584. package/dist/repository-cache.js +89 -89
  585. package/dist/repository.js +3 -3
  586. package/dist/ripgrep/binary.js +2 -2
  587. package/dist/ripgrep.js +104 -104
  588. package/dist/rpc.js +95 -95
  589. package/dist/schedule/sql.js +6 -6
  590. package/dist/schedule.js +225 -225
  591. package/dist/schema.js +1 -1
  592. package/dist/session/affinity.js +3 -3
  593. package/dist/session/blob.js +121 -121
  594. package/dist/session/command.js +81 -81
  595. package/dist/session/compaction.js +163 -163
  596. package/dist/session/context.js +185 -185
  597. package/dist/session/diff.js +97 -97
  598. package/dist/session/environment.js +5 -5
  599. package/dist/session/error.js +5 -5
  600. package/dist/session/event.js +1 -1
  601. package/dist/session/execution/restart.js +226 -226
  602. package/dist/session/execution.js +153 -153
  603. package/dist/session/generate.js +189 -189
  604. package/dist/session/history.js +128 -128
  605. package/dist/session/inbox.js +135 -135
  606. package/dist/session/info.js +3 -3
  607. package/dist/session/instruction-entry.js +84 -84
  608. package/dist/session/instruction-state.js +8 -8
  609. package/dist/session/instructions.js +133 -133
  610. package/dist/session/message-updater.js +2 -2
  611. package/dist/session/message.js +1 -1
  612. package/dist/session/model-request.js +156 -156
  613. package/dist/session/model-transport.js +9 -9
  614. package/dist/session/move.js +153 -153
  615. package/dist/session/projector.js +133 -133
  616. package/dist/session/prompt.js +141 -141
  617. package/dist/session/recent-text.js +1 -1
  618. package/dist/session/revert.js +131 -131
  619. package/dist/session/run-coordinator.js +3 -3
  620. package/dist/session/runner/index.js +3 -3
  621. package/dist/session/runner/llm.js +239 -239
  622. package/dist/session/runner/max-steps.js +1 -1
  623. package/dist/session/runner/model.js +109 -109
  624. package/dist/session/runner/publish-llm-event.js +142 -142
  625. package/dist/session/runner/retry.js +5 -5
  626. package/dist/session/runner/step.js +155 -155
  627. package/dist/session/runner/to-llm-message.js +129 -129
  628. package/dist/session/schema.js +3 -3
  629. package/dist/session/session.js +173 -173
  630. package/dist/session/shell.js +136 -136
  631. package/dist/session/skill.js +142 -142
  632. package/dist/session/sql.js +5 -5
  633. package/dist/session/stats.js +80 -80
  634. package/dist/session/store.js +134 -134
  635. package/dist/session/stored.js +4 -4
  636. package/dist/session/subagent-completion.js +1 -1
  637. package/dist/session/subagent-job.js +220 -220
  638. package/dist/session/system-prompt.js +1 -1
  639. package/dist/session/title.js +193 -193
  640. package/dist/session/to-session-error.js +141 -141
  641. package/dist/session/transfer.js +222 -222
  642. package/dist/session/usage.js +1 -1
  643. package/dist/session.js +218 -218
  644. package/dist/shell/parse.js +6 -6
  645. package/dist/shell/result.js +1 -1
  646. package/dist/shell/scan.js +1 -1
  647. package/dist/shell/select.js +13 -13
  648. package/dist/shell.js +138 -138
  649. package/dist/skill/discovery.js +6 -6
  650. package/dist/skill/instructions.js +144 -144
  651. package/dist/skill.js +149 -149
  652. package/dist/snapshot.js +100 -100
  653. package/dist/state.js +1 -1
  654. package/dist/tool/html-markdown.js +1 -1
  655. package/dist/tool/http-body.js +1 -1
  656. package/dist/tool/mcp.js +162 -162
  657. package/dist/tool/plugin/edit.js +157 -157
  658. package/dist/tool/plugin/file-diff.js +1 -1
  659. package/dist/tool/plugin/glob.js +161 -161
  660. package/dist/tool/plugin/grep.js +161 -161
  661. package/dist/tool/plugin/mcp-resource.js +155 -155
  662. package/dist/tool/plugin/opencode.js +154 -154
  663. package/dist/tool/plugin/patch.js +159 -159
  664. package/dist/tool/plugin/question.js +139 -139
  665. package/dist/tool/plugin/read.js +162 -162
  666. package/dist/tool/plugin/shell.js +223 -223
  667. package/dist/tool/plugin/skill.js +148 -148
  668. package/dist/tool/plugin/subagent.js +227 -227
  669. package/dist/tool/plugin/todo.js +146 -146
  670. package/dist/tool/plugin/webfetch.js +146 -146
  671. package/dist/tool/plugin/websearch.js +144 -144
  672. package/dist/tool/plugin/write.js +159 -159
  673. package/dist/tool/read-filesystem.js +105 -105
  674. package/dist/tool/runtime.js +1 -1
  675. package/dist/tool-output.js +7 -7
  676. package/dist/tool.js +16 -16
  677. package/dist/usage-limits.js +94 -94
  678. package/dist/util/error-summary.js +1 -1
  679. package/dist/util/git-executable.js +3 -3
  680. package/dist/util/lazy.js +1 -1
  681. package/dist/util/slug.js +1 -1
  682. package/dist/util/token.js +1 -1
  683. package/dist/util/which.js +1 -1
  684. package/dist/util/wildcard.js +1 -1
  685. package/dist/v1/config/agent.js +5 -5
  686. package/dist/v1/config/command.js +5 -5
  687. package/dist/v1/config/mcp.js +2 -2
  688. package/dist/v1/config/migrate.js +101 -101
  689. package/dist/v1/config/permission.js +3 -3
  690. package/dist/v1/config/plugin.js +3 -3
  691. package/dist/v1/config/provider-options.js +1 -1
  692. package/dist/v1/config/provider.js +4 -4
  693. package/dist/variant.js +100 -100
  694. package/dist/vcs/patch.js +1 -1
  695. package/dist/vcs.js +92 -92
  696. package/dist/voice.js +95 -95
  697. package/dist/websearch.js +87 -87
  698. package/dist/wellknown/plugin.js +81 -81
  699. package/dist/wellknown.js +88 -88
  700. package/dist/workspace/driver.js +5 -5
  701. package/dist/workspace/sql.js +1 -1
  702. package/dist/workspace.js +87 -87
  703. package/dist/worktree/directory.js +2 -2
  704. package/dist/worktree/git.js +11 -11
  705. package/dist/worktree/sql.js +5 -5
  706. package/dist/worktree/strategies.js +98 -98
  707. package/dist/worktree.js +103 -103
  708. package/package.json +8 -8
  709. package/dist/chunks/credential-0r9z73ty.js +0 -257
  710. package/dist/chunks/credential-bydrqxj7.js +0 -26
  711. package/dist/chunks/credential-grzehpz7.js +0 -18
  712. /package/dist/chunks/{credential-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  713. /package/dist/chunks/{credential-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  714. /package/dist/chunks/{credential-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  715. /package/dist/chunks/{credential-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  716. /package/dist/chunks/{credential-1jakw16s.js → command-1jakw16s.js} +0 -0
  717. /package/dist/chunks/{credential-24dcb14g.js → command-24dcb14g.js} +0 -0
  718. /package/dist/chunks/{credential-2710q6r3.js → command-2710q6r3.js} +0 -0
  719. /package/dist/chunks/{credential-2bv980vf.js → command-2bv980vf.js} +0 -0
  720. /package/dist/chunks/{credential-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  721. /package/dist/chunks/{credential-359p4xyc.js → command-359p4xyc.js} +0 -0
  722. /package/dist/chunks/{credential-3asan66x.js → command-3asan66x.js} +0 -0
  723. /package/dist/chunks/{credential-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  724. /package/dist/chunks/{credential-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  725. /package/dist/chunks/{credential-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  726. /package/dist/chunks/{credential-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  727. /package/dist/chunks/{credential-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  728. /package/dist/chunks/{credential-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  729. /package/dist/chunks/{credential-53557ph1.js → command-53557ph1.js} +0 -0
  730. /package/dist/chunks/{credential-550bvhaj.js → command-550bvhaj.js} +0 -0
  731. /package/dist/chunks/{credential-5w3e23ze.js → command-5w3e23ze.js} +0 -0
  732. /package/dist/chunks/{credential-6prwharc.js → command-6prwharc.js} +0 -0
  733. /package/dist/chunks/{credential-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  734. /package/dist/chunks/{credential-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  735. /package/dist/chunks/{credential-7m9af43g.js → command-7m9af43g.js} +0 -0
  736. /package/dist/chunks/{credential-822emrt2.js → command-822emrt2.js} +0 -0
  737. /package/dist/chunks/{credential-84wd9syh.js → command-84wd9syh.js} +0 -0
  738. /package/dist/chunks/{credential-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  739. /package/dist/chunks/{credential-8n3pysct.js → command-8n3pysct.js} +0 -0
  740. /package/dist/chunks/{credential-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  741. /package/dist/chunks/{credential-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  742. /package/dist/chunks/{credential-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  743. /package/dist/chunks/{credential-a058387c.js → command-a058387c.js} +0 -0
  744. /package/dist/chunks/{credential-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  745. /package/dist/chunks/{credential-af5trqkr.js → command-af5trqkr.js} +0 -0
  746. /package/dist/chunks/{credential-afrmfg78.js → command-afrmfg78.js} +0 -0
  747. /package/dist/chunks/{credential-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  748. /package/dist/chunks/{credential-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  749. /package/dist/chunks/{credential-beh6qq61.js → command-beh6qq61.js} +0 -0
  750. /package/dist/chunks/{credential-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  751. /package/dist/chunks/{credential-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  752. /package/dist/chunks/{credential-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  753. /package/dist/chunks/{credential-cqv5kn06.js → command-cqv5kn06.js} +0 -0
  754. /package/dist/chunks/{credential-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  755. /package/dist/chunks/{credential-d9fn303g.js → command-d9fn303g.js} +0 -0
  756. /package/dist/chunks/{credential-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  757. /package/dist/chunks/{credential-dajrwvna.js → command-dajrwvna.js} +0 -0
  758. /package/dist/chunks/{credential-dap0rakb.js → command-dap0rakb.js} +0 -0
  759. /package/dist/chunks/{credential-df08tz66.js → command-df08tz66.js} +0 -0
  760. /package/dist/chunks/{credential-dy18nga0.js → command-dy18nga0.js} +0 -0
  761. /package/dist/chunks/{credential-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  762. /package/dist/chunks/{credential-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  763. /package/dist/chunks/{credential-ec1grn59.js → command-ec1grn59.js} +0 -0
  764. /package/dist/chunks/{credential-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  765. /package/dist/chunks/{credential-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  766. /package/dist/chunks/{credential-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  767. /package/dist/chunks/{credential-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  768. /package/dist/chunks/{credential-faypxj3z.js → command-faypxj3z.js} +0 -0
  769. /package/dist/chunks/{credential-fd410y7t.js → command-fd410y7t.js} +0 -0
  770. /package/dist/chunks/{credential-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
  771. /package/dist/chunks/{credential-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  772. /package/dist/chunks/{credential-g86h250q.js → command-g86h250q.js} +0 -0
  773. /package/dist/chunks/{credential-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  774. /package/dist/chunks/{credential-gftt206x.js → command-gftt206x.js} +0 -0
  775. /package/dist/chunks/{credential-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  776. /package/dist/chunks/{credential-hk9envan.js → command-hk9envan.js} +0 -0
  777. /package/dist/chunks/{credential-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  778. /package/dist/chunks/{credential-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  779. /package/dist/chunks/{credential-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  780. /package/dist/chunks/{credential-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  781. /package/dist/chunks/{credential-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  782. /package/dist/chunks/{credential-jwr30sdr.js → command-jwr30sdr.js} +0 -0
  783. /package/dist/chunks/{credential-jze0r7bz.js → command-jze0r7bz.js} +0 -0
  784. /package/dist/chunks/{credential-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  785. /package/dist/chunks/{credential-m18g726c.js → command-m18g726c.js} +0 -0
  786. /package/dist/chunks/{credential-mp448xyj.js → command-mp448xyj.js} +0 -0
  787. /package/dist/chunks/{credential-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  788. /package/dist/chunks/{credential-myztnk54.js → command-myztnk54.js} +0 -0
  789. /package/dist/chunks/{credential-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  790. /package/dist/chunks/{credential-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  791. /package/dist/chunks/{credential-ncqqe42p.js → command-ncqqe42p.js} +0 -0
  792. /package/dist/chunks/{credential-nh4v3znn.js → command-nh4v3znn.js} +0 -0
  793. /package/dist/chunks/{credential-njntx4h6.js → command-njntx4h6.js} +0 -0
  794. /package/dist/chunks/{credential-p71gwv9c.js → command-p71gwv9c.js} +0 -0
  795. /package/dist/chunks/{credential-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  796. /package/dist/chunks/{credential-q74kybfr.js → command-q74kybfr.js} +0 -0
  797. /package/dist/chunks/{credential-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  798. /package/dist/chunks/{credential-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  799. /package/dist/chunks/{credential-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  800. /package/dist/chunks/{credential-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  801. /package/dist/chunks/{credential-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  802. /package/dist/chunks/{credential-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  803. /package/dist/chunks/{credential-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  804. /package/dist/chunks/{credential-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  805. /package/dist/chunks/{credential-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  806. /package/dist/chunks/{credential-w803qqfp.js → command-w803qqfp.js} +0 -0
  807. /package/dist/chunks/{credential-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  808. /package/dist/chunks/{credential-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  809. /package/dist/chunks/{credential-wtztk69x.js → command-wtztk69x.js} +0 -0
  810. /package/dist/chunks/{credential-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  811. /package/dist/chunks/{credential-x61499pn.js → command-x61499pn.js} +0 -0
  812. /package/dist/chunks/{credential-y44na4kk.js → command-y44na4kk.js} +0 -0
  813. /package/dist/chunks/{credential-y8f7s663.js → command-y8f7s663.js} +0 -0
  814. /package/dist/chunks/{credential-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  815. /package/dist/chunks/{credential-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  816. /package/dist/chunks/{credential-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./credential-3kkx4n85.js";
4
+ } from "./command-hnfbx6gz.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service85,
8
8
  node89
9
- } from "./credential-tx4wcr36.js";
9
+ } from "./command-5851zxg9.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./credential-p015t6z3.js";
12
+ } from "./command-p015t6z3.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./credential-ec1grn59.js";
15
+ } from "./command-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./credential-b40mew42.js";
18
+ } from "./command-00mjjsd1.js";
19
19
  import {
20
- Service58,
21
- node60
22
- } from "./credential-knajrh1z.js";
20
+ Service69,
21
+ node73
22
+ } from "./command-zrjs9xec.js";
23
23
  import {
24
24
  Service30,
25
25
  node34
26
- } from "./credential-5qz8cxb6.js";
26
+ } from "./command-v6pfsmaj.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./credential-r542h3bh.js";
30
+ } from "./command-r542h3bh.js";
31
31
  import {
32
32
  __export
33
- } from "./credential-9rqn6x4v.js";
33
+ } from "./command-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service3,
38
+ Service: () => Service10,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node4
41
+ layer: () => layer8,
42
+ node: () => node12
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service3 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service10 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer3 = Layer.effect(Service3, Effect.gen(function* () {
75
+ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
76
76
  const bus = yield* Service85;
77
77
  const llm = yield* LLMClient.Service;
78
78
  const context = yield* Service30;
79
- const store = yield* Service58;
79
+ const store = yield* Service69;
80
80
  const db = (yield* Service86).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -160,12 +160,12 @@ Recent conversation:
160
160
  title: truncate(title)
161
161
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
162
162
  });
163
- return Service3.of({ generate });
163
+ return Service10.of({ generate });
164
164
  }));
165
- var node4 = makeLocationNode({
166
- service: Service3,
167
- layer: layer3,
168
- deps: [node89, llmClient2, node34, node60, node90]
165
+ var node12 = makeLocationNode({
166
+ service: Service10,
167
+ layer: layer8,
168
+ deps: [node89, llmClient2, node34, node73, node90]
169
169
  });
170
170
 
171
- export { Service3, isUntitled2, layer3, node4, exports_title };
171
+ export { Service10, isUntitled2, layer8, node12, exports_title };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./credential-tx4wcr36.js";
4
+ } from "./command-5851zxg9.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./credential-204s3925.js";
8
+ } from "./command-204s3925.js";
9
9
  import {
10
- Service76,
11
- node79
12
- } from "./credential-tm2ngzhh.js";
10
+ Service82,
11
+ node86
12
+ } from "./command-cdq1pcjt.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID12,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service73,
20
- node76,
19
+ Service75,
20
+ node79,
21
21
  Event15
22
- } from "./credential-eta5y2w6.js";
22
+ } from "./command-tdjjjkq6.js";
23
23
  import {
24
24
  __export
25
- } from "./credential-9rqn6x4v.js";
25
+ } from "./command-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,28 +30,28 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event13,
33
+ Event: () => Event14,
34
34
  Family: () => Family2,
35
- ID: () => ID12,
35
+ ID: () => ID11,
36
36
  Info: () => Info21,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref3,
40
- Service: () => Service70,
40
+ Service: () => Service74,
41
41
  Type: () => Type2,
42
42
  VariantID: () => VariantID2,
43
43
  compatibility: () => compatibility2,
44
44
  mergeCapabilities: () => mergeCapabilities2,
45
- node: () => node73,
46
- parse: () => parse4,
45
+ node: () => node78,
46
+ parse: () => parse5,
47
47
  supportsText: () => supportsText2
48
48
  });
49
49
  import { Model } from "@opencode/schema/model";
50
50
  import { Context, Effect, Layer, Stream } from "effect";
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import { freeze } from "immer";
53
- import { Event as Event13 } from "@opencode/schema/model";
54
- var ID12 = Model.ID;
53
+ import { Event as Event14 } from "@opencode/schema/model";
54
+ var ID11 = Model.ID;
55
55
  var VariantID2 = Model.VariantID;
56
56
  var Family2 = Model.Family;
57
57
  var ReasoningField2 = Model.ReasoningField;
@@ -71,12 +71,12 @@ var Type2 = Model.Type;
71
71
  var Ref3 = Model.Ref;
72
72
  var Info21 = Model.Info;
73
73
 
74
- class Service70 extends Context.Service()("@opencode/Model") {
74
+ class Service74 extends Context.Service()("@opencode/Model") {
75
75
  }
76
- var layer = Layer.effect(Service70, Effect.gen(function* () {
77
- const providers = yield* Service73;
76
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
77
+ const providers = yield* Service75;
78
78
  const bus = yield* Service85;
79
- const location = yield* Service76;
79
+ const location = yield* Service82;
80
80
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
81
81
  let input;
82
82
  const state = create3({
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
191
191
  ];
192
192
  }));
193
193
  if (disableFree)
194
- for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
194
+ for (const providerID of [ID12.opencode, ID12.make("opencode-go")])
195
195
  byProvider.get(providerID)?.forEach((model, id, models) => {
196
196
  if (!model.cost.some((cost) => cost.input > 0))
197
197
  models.delete(id);
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
228
228
  });
229
229
  });
230
230
  yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
231
- return Service70.of({
231
+ return Service74.of({
232
232
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
233
233
  reload,
234
234
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
247
247
  })
248
248
  });
249
249
  }));
250
- var node73 = makeLocationNode({ service: Service70, layer, deps: [node76, node89, node79] });
250
+ var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node89, node86] });
251
251
  var PREFERRED_FREE = [
252
252
  "big-pickle",
253
253
  "deepseek-v4.1-flash-free",
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
255
255
  "muse-spark-1.3-contributor-free"
256
256
  ];
257
257
  function preferFree(models) {
258
- const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
258
+ const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
259
259
  if (!freeOnly)
260
260
  return models;
261
261
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -271,12 +271,12 @@ function compatibility2(input) {
271
271
  return;
272
272
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
273
273
  }
274
- function parse4(input) {
274
+ function parse5(input) {
275
275
  const index = input.indexOf("/");
276
276
  return {
277
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
278
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
277
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
278
+ modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
279
279
  };
280
280
  }
281
281
 
282
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info21, Service70, node73, supportsText2, compatibility2, parse4, exports_model2, Event13 };
282
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info21, Service74, node78, supportsText2, compatibility2, parse5, exports_model2, Event14 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./credential-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  Service86,
6
6
  node90
7
- } from "./credential-3kkx4n85.js";
7
+ } from "./command-hnfbx6gz.js";
8
8
  import {
9
9
  Service85,
10
10
  node89
11
- } from "./credential-tx4wcr36.js";
11
+ } from "./command-5851zxg9.js";
12
12
  import {
13
- Service83,
14
- node87
15
- } from "./credential-xj34fqn9.js";
13
+ Service84,
14
+ node88
15
+ } from "./command-3mxdezre.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info28,
19
+ Info30,
20
20
  UpdateInput4,
21
- Event18,
21
+ Event20,
22
22
  Vcs3
23
- } from "./credential-svtvxt5b.js";
23
+ } from "./command-a7s1nr2m.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./credential-034tev2y.js";
27
+ } from "./command-aj7mw0zk.js";
28
28
  import {
29
29
  refresh2
30
- } from "./credential-yara3q77.js";
30
+ } from "./command-pxtfkpje.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./credential-ayjs7tqn.js";
33
+ } from "./command-3cbjf1nt.js";
34
34
  import {
35
35
  __export
36
- } from "./credential-9rqn6x4v.js";
36
+ } from "./command-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  Current: () => Current2,
42
- ID: () => ID16,
43
- Info: () => Info27,
42
+ ID: () => ID17,
43
+ Info: () => Info29,
44
44
  NotFoundError: () => NotFoundError12,
45
45
  Project: () => exports_project,
46
- Service: () => Service77,
46
+ Service: () => Service83,
47
47
  UpdateInput: () => UpdateInput3,
48
48
  Vcs: () => Vcs2,
49
- node: () => node80,
49
+ node: () => node87,
50
50
  root: () => root2,
51
51
  sweepNode: () => sweepNode2
52
52
  });
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
59
59
  import { AppProcess } from "@opencode/util/process";
60
60
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
61
61
  import { Hash } from "@opencode/util/hash";
62
- var ID16 = ID17;
62
+ var ID17 = ID18;
63
63
  var Vcs2 = Vcs3;
64
64
  var Current2 = Current3;
65
- var Info27 = Info28;
65
+ var Info29 = Info30;
66
66
  var UpdateInput3 = UpdateInput4;
67
67
 
68
68
  class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
69
- projectID: ID16
69
+ projectID: ID17
70
70
  }) {
71
71
  }
72
72
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
84
84
  var ACTIVATE_INTERVAL = 60000;
85
85
  var SWEEP_INTERVAL = Duration.hours(1);
86
86
 
87
- class Service77 extends Context.Service()("@opencode/Project") {
87
+ class Service83 extends Context.Service()("@opencode/Project") {
88
88
  }
89
89
  function fromRow(row) {
90
90
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -108,9 +108,9 @@ function fromRow(row) {
108
108
  sandboxes: row.sandboxes
109
109
  };
110
110
  }
111
- var layer = Layer.effect(Service77, Effect.gen(function* () {
111
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
112
112
  const fs = yield* FSUtil.Service;
113
- const git = yield* Service83;
113
+ const git = yield* Service84;
114
114
  const proc = yield* AppProcess.Service;
115
115
  const bus = yield* Service85;
116
116
  const db = (yield* Service86).db;
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
123
123
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
124
124
  const changed = replaced ?? unarchived;
125
125
  if (changed)
126
- yield* bus.publish(Event18.Updated, fromRow(changed));
127
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event18.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
126
+ yield* bus.publish(Event20.Updated, fromRow(changed));
127
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
128
128
  if (!project.vcs)
129
129
  return project;
130
130
  const directories = [
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
160
160
  yield* bus.publish(Worktree.Event.Resolved, {
161
161
  projectID: item.projectID,
162
162
  directory: item.directory,
163
- previous: project.previous ?? ID16.global,
163
+ previous: project.previous ?? ID17.global,
164
164
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
165
165
  }, {
166
166
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
185
185
  if (!row)
186
186
  return yield* new NotFoundError12({ projectID: input.projectID });
187
187
  const project = fromRow(row);
188
- yield* bus.publish(Event18.Updated, project);
188
+ yield* bus.publish(Event20.Updated, project);
189
189
  return project;
190
190
  });
191
191
  const activated = new Map;
@@ -196,10 +196,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
196
196
  activated.set(projectID, now);
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event18.Updated, fromRow(row));
199
+ yield* bus.publish(Event20.Updated, fromRow(row));
200
200
  });
201
201
  const cached = Effect.fnUntraced(function* (dir) {
202
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
202
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
203
203
  return;
204
204
  }));
205
205
  });
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
210
210
  const normalized = url(origin);
211
211
  if (!normalized)
212
212
  return;
213
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
213
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
214
214
  });
215
215
  function url(input) {
216
216
  const value = input.trim();
@@ -235,7 +235,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
235
235
  }
236
236
  const rootCommit = Effect.fnUntraced(function* (repo) {
237
237
  const root = (yield* git.history.rootCommits(repo))[0];
238
- return root ? ID16.make(root) : undefined;
238
+ return root ? ID17.make(root) : undefined;
239
239
  });
240
240
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
241
241
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
251
251
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
252
252
  const resolved = {
253
253
  previous,
254
- id: id ?? ID16.global,
254
+ id: id ?? ID17.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
276
276
  return;
277
277
  const node = result.stdout.toString("utf8").split(`
278
278
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
279
- return node ? ID16.make(node) : undefined;
279
+ return node ? ID17.make(node) : undefined;
280
280
  });
281
281
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
282
282
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
284
284
  const id = previous ?? (yield* hgRoot(worktree));
285
285
  return {
286
286
  previous,
287
- id: id ?? ID16.global,
287
+ id: id ?? ID17.global,
288
288
  directory: worktree,
289
289
  vcs: { type: "hg", store: dotHg }
290
290
  };
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
311
311
  });
312
312
  }
313
313
  return yield* save({
314
- id: ID16.make(Hash.fast(`directory:${directory}`)),
314
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
315
315
  directory,
316
316
  canonical: directory,
317
317
  vcs: undefined
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
320
320
  const sweep = Effect.fn("Project.sweep")(function* () {
321
321
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
322
322
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
323
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
323
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
324
324
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
325
325
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
326
326
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
333
333
  return;
334
334
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
335
335
  if (row)
336
- yield* bus.publish(Event18.Updated, fromRow(row));
336
+ yield* bus.publish(Event20.Updated, fromRow(row));
337
337
  }), { concurrency: 8, discard: true });
338
338
  });
339
- return Service77.of({ list, update, activate, resolve, sweep });
339
+ return Service83.of({ list, update, activate, resolve, sweep });
340
340
  }));
341
- var node80 = makeGlobalNode({
342
- service: Service77,
341
+ var node87 = makeGlobalNode({
342
+ service: Service83,
343
343
  layer,
344
- deps: [node89, node90, FSUtil.node, node87, AppProcess.node]
344
+ deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
345
345
  });
346
346
  var sweepNode2 = makeGlobalNode({
347
347
  name: "project-archive-sweep",
348
348
  layer: Layer.effectDiscard(Effect.gen(function* () {
349
- const project = yield* Service77;
349
+ const project = yield* Service83;
350
350
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
351
351
  })),
352
- deps: [node80]
352
+ deps: [node87]
353
353
  });
354
354
 
355
- export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError12, root2, Service77, node80, sweepNode2, exports_project };
355
+ export { ID17, Vcs2, Current2, Info29, UpdateInput3, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make21,
4
+ make22,
5
5
  diffByKey2
6
- } from "./credential-1kn6jdkn.js";
6
+ } from "./command-gtn9c16a.js";
7
7
  import {
8
- ID6,
8
+ ID7,
9
9
  Name2,
10
10
  available4,
11
- Service55,
12
- node57
13
- } from "./credential-tchnsj1t.js";
11
+ Service66,
12
+ node70
13
+ } from "./command-r6drjba7.js";
14
14
  import {
15
15
  __export
16
- } from "./credential-9rqn6x4v.js";
16
+ } from "./command-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions5 = {};
20
- __export(exports_instructions5, {
21
- Service: () => Service38,
22
- SkillInstructions: () => exports_instructions5,
23
- node: () => node41
19
+ var exports_instructions2 = {};
20
+ __export(exports_instructions2, {
21
+ Service: () => Service31,
22
+ SkillInstructions: () => exports_instructions2,
23
+ node: () => node35
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID6,
28
+ id: ID7,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -64,14 +64,14 @@ var update = (previous, current) => {
64
64
  `);
65
65
  };
66
66
 
67
- class Service38 extends Context.Service()("@opencode/SkillInstructions") {
67
+ class Service31 extends Context.Service()("@opencode/SkillInstructions") {
68
68
  }
69
- var layer = Layer.effect(Service38, Effect.gen(function* () {
70
- const skills = yield* Service55;
71
- return Service38.of({
69
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
70
+ const skills = yield* Service66;
71
+ return Service31.of({
72
72
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
73
73
  const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make21({
74
+ return make22({
75
75
  key: Key3.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node41 = makeLocationNode({ service: Service38, layer, deps: [node57] });
87
+ var node35 = makeLocationNode({ service: Service31, layer, deps: [node70] });
88
88
 
89
- export { Service38, node41, exports_instructions5 };
89
+ export { Service31, node35, exports_instructions2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};