@opencode/core 0.0.0-dev-154 → 0.0.0-dev-157

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 (810) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +99 -99
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{app-vq1ppevj.js → location-00zh2tpm.js} +8 -8
  8. package/dist/chunks/{app-034tev2y.js → location-034tev2y.js} +2 -2
  9. package/dist/chunks/{app-bbr79q9y.js → location-04tp6htd.js} +21 -21
  10. package/dist/chunks/{app-9py9hrxf.js → location-0czxa7gb.js} +11 -11
  11. package/dist/chunks/{app-ptddvd2h.js → location-0rp4335f.js} +25 -25
  12. package/dist/chunks/{app-c1r1st4g.js → location-0tkyyzpw.js} +9 -9
  13. package/dist/chunks/{app-8jztxfpf.js → location-11hfp36g.js} +4 -4
  14. package/dist/chunks/{app-p745vxmt.js → location-17cjzed1.js} +6 -6
  15. package/dist/chunks/{app-1ep2p91f.js → location-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{app-1kn6jdkn.js → location-1kn6jdkn.js} +1 -1
  17. package/dist/chunks/{app-1x2knyw4.js → location-1x2knyw4.js} +1 -1
  18. package/dist/chunks/{app-204s3925.js → location-204s3925.js} +1 -1
  19. package/dist/chunks/{app-8vr744sr.js → location-2bpnrcqm.js} +17 -17
  20. package/dist/chunks/{app-zznqf8tz.js → location-2da34b6h.js} +5 -5
  21. package/dist/chunks/{app-qh8rr487.js → location-2h1qwmv4.js} +17 -17
  22. package/dist/chunks/{app-0n5d8qw9.js → location-2ryjb9fp.js} +21 -21
  23. package/dist/chunks/{app-3fkaq49n.js → location-2ttrve3p.js} +5 -5
  24. package/dist/chunks/{app-5nqa02xf.js → location-2twj3cjc.js} +4 -4
  25. package/dist/chunks/{app-2zp5a6yg.js → location-2zp5a6yg.js} +1 -1
  26. package/dist/chunks/{app-ha4346mp.js → location-31c39a09.js} +17 -17
  27. package/dist/chunks/{app-egbbp34j.js → location-3cbqjczx.js} +334 -334
  28. package/dist/chunks/{app-zz5wm9x4.js → location-3dnxr830.js} +15 -15
  29. package/dist/chunks/{app-z842wknd.js → location-3hbcrqhe.js} +12 -12
  30. package/dist/chunks/{app-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{app-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
  32. package/dist/chunks/{app-a5g15581.js → location-3t73xeyv.js} +2 -2
  33. package/dist/chunks/{app-40za9wsf.js → location-40za9wsf.js} +2 -2
  34. package/dist/chunks/{app-rtmt0ker.js → location-46cvvfkv.js} +11 -11
  35. package/dist/chunks/{app-z7hqcxr0.js → location-48zamtyb.js} +45 -45
  36. package/dist/chunks/{app-jcfw09eb.js → location-4chjvm0n.js} +5 -5
  37. package/dist/chunks/{app-pbprwcf6.js → location-4hjvtnvr.js} +11 -11
  38. package/dist/chunks/{app-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
  39. package/dist/chunks/{app-0pxwvsqb.js → location-4rgtafmq.js} +32 -32
  40. package/dist/chunks/{app-pcqp6bgf.js → location-4ta6csbb.js} +14 -14
  41. package/dist/chunks/{app-4v008n1t.js → location-4v008n1t.js} +1 -1
  42. package/dist/chunks/{app-srr6m1ec.js → location-4ze70za5.js} +14 -14
  43. package/dist/chunks/{app-a1psyh0e.js → location-50ghwmve.js} +54 -54
  44. package/dist/chunks/{app-k4b19tjg.js → location-57rr0y2c.js} +27 -27
  45. package/dist/chunks/{app-j2hdxfca.js → location-5k2wjw25.js} +7 -7
  46. package/dist/chunks/{app-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  47. package/dist/chunks/{app-31hh79mt.js → location-5qt45yqb.js} +3 -3
  48. package/dist/chunks/{app-5x26af84.js → location-5x26af84.js} +4 -4
  49. package/dist/chunks/{app-skghdyp9.js → location-5xzpahv6.js} +32 -32
  50. package/dist/chunks/{app-hxfttvn6.js → location-5yvhxqsw.js} +18 -18
  51. package/dist/chunks/{app-1s0v3afe.js → location-66xzmsa8.js} +23 -23
  52. package/dist/chunks/{app-zkcytb3h.js → location-67s8824q.js} +26 -26
  53. package/dist/chunks/{app-e5eg64a5.js → location-6b3pnxty.js} +32 -32
  54. package/dist/chunks/{app-6esdw8yj.js → location-6esdw8yj.js} +1 -1
  55. package/dist/chunks/{app-p3enh426.js → location-6gsprsz3.js} +2 -2
  56. package/dist/chunks/{app-27hfenyq.js → location-6j0v21fn.js} +20 -20
  57. package/dist/chunks/{app-kszcj8bj.js → location-6j1pxrfn.js} +8 -8
  58. package/dist/chunks/{app-ea33c2qg.js → location-6js0mnhz.js} +30 -30
  59. package/dist/chunks/{app-tqn3p9pj.js → location-6knvtd1w.js} +10 -10
  60. package/dist/chunks/{app-jvng8k19.js → location-6t862pnj.js} +30 -30
  61. package/dist/chunks/{app-qvey4sm2.js → location-6xvvx5e8.js} +87 -87
  62. package/dist/chunks/{app-h8dtgpmt.js → location-6z64yfwb.js} +32 -32
  63. package/dist/chunks/{app-0t098hqn.js → location-70y17xeh.js} +5 -5
  64. package/dist/chunks/{app-5egkm6n4.js → location-74zfgmk2.js} +19 -19
  65. package/dist/chunks/{app-w8qtt4th.js → location-76cb1hcw.js} +4 -4
  66. package/dist/chunks/{app-3y09gzcd.js → location-76jz4bew.js} +32 -32
  67. package/dist/chunks/{app-rfnyhrr9.js → location-7716wq1n.js} +29 -29
  68. package/dist/chunks/{app-t4shvcfr.js → location-787pbn49.js} +31 -31
  69. package/dist/chunks/{app-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{app-gtjpp1bw.js → location-7ggwamay.js} +11 -11
  71. package/dist/chunks/{app-1keh6edx.js → location-7kxhv2sa.js} +11 -11
  72. package/dist/chunks/{app-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
  73. package/dist/chunks/{app-8njn90az.js → location-886fpr41.js} +5 -5
  74. package/dist/chunks/{app-zzgj63p1.js → location-8m3s0h7s.js} +40 -40
  75. package/dist/chunks/{app-33p2et1z.js → location-8p921xxm.js} +2 -2
  76. package/dist/chunks/{app-np7r7vht.js → location-8shc1k29.js} +6 -6
  77. package/dist/chunks/{app-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
  78. package/dist/chunks/{app-63w42kdm.js → location-8x3ydtx4.js} +15 -15
  79. package/dist/chunks/{app-zh7bbm8x.js → location-8yhc7zrg.js} +9 -9
  80. package/dist/chunks/{app-90zstvax.js → location-90zstvax.js} +1 -1
  81. package/dist/chunks/{app-kr871z6k.js → location-94ym33zj.js} +65 -65
  82. package/dist/chunks/{app-6dqz8pz2.js → location-9bhbx6n4.js} +17 -17
  83. package/dist/chunks/{app-2ae1t5g1.js → location-9e9wnrn3.js} +18 -18
  84. package/dist/chunks/{app-4qs1r5ye.js → location-9ffpgwsc.js} +10 -10
  85. package/dist/chunks/{app-kzfxa4f3.js → location-9jwhcb1g.js} +10 -10
  86. package/dist/chunks/{app-ymz7p2c9.js → location-9n4vggc2.js} +3 -3
  87. package/dist/chunks/{app-9r0x1bva.js → location-9qcg53ez.js} +2 -2
  88. package/dist/chunks/{app-704d1ccs.js → location-9t2khtsw.js} +8 -8
  89. package/dist/chunks/{app-8ctydw00.js → location-9y0knddb.js} +5 -5
  90. package/dist/chunks/{app-jtmc5z9s.js → location-9zwmnkz4.js} +4 -4
  91. package/dist/chunks/{app-p6v0ch0k.js → location-a2cvkf8m.js} +19 -19
  92. package/dist/chunks/{app-a23dk102.js → location-a7q3851y.js} +24 -24
  93. package/dist/chunks/{app-w9hhvpm8.js → location-ac1py7fc.js} +45 -45
  94. package/dist/chunks/{app-hdfrs5mg.js → location-af0k6e03.js} +9 -9
  95. package/dist/chunks/{app-xnzy99m9.js → location-am1hja96.js} +13 -13
  96. package/dist/chunks/{app-4htfa8b4.js → location-am3zzh1s.js} +9 -9
  97. package/dist/chunks/{app-wyaqkzkb.js → location-avx19w98.js} +11 -11
  98. package/dist/chunks/{app-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
  99. package/dist/chunks/{app-7zjq4229.js → location-aymf12sh.js} +56 -56
  100. package/dist/chunks/{app-cf803178.js → location-b28tsbmy.js} +49 -49
  101. package/dist/chunks/{app-b6vsg801.js → location-b6vsg801.js} +2 -2
  102. package/dist/chunks/{app-6wvd3f7f.js → location-b7wr440c.js} +42 -42
  103. package/dist/chunks/{app-nv63jqdq.js → location-be0s1b3n.js} +30 -30
  104. package/dist/chunks/{app-jyb2x45z.js → location-bfr8tpj8.js} +30 -30
  105. package/dist/chunks/{app-5cgamgw5.js → location-bk7xq8bh.js} +8 -8
  106. package/dist/chunks/{app-bstexjd6.js → location-bstexjd6.js} +1 -1
  107. package/dist/chunks/{app-wstnt05x.js → location-bw5vtrk1.js} +11 -11
  108. package/dist/chunks/{app-c1vn5m0x.js → location-bzr330f0.js} +12 -12
  109. package/dist/chunks/{app-v2g26xr4.js → location-c0pkgj13.js} +27 -27
  110. package/dist/chunks/{app-m5ke421k.js → location-c1ssndk2.js} +13 -13
  111. package/dist/chunks/{app-3j1m3tq4.js → location-c46s9eb3.js} +5 -5
  112. package/dist/chunks/{app-k5yr6s7c.js → location-c5d4dktm.js} +26 -26
  113. package/dist/chunks/{app-bkbcgtea.js → location-c6hmmbmz.js} +13 -13
  114. package/dist/chunks/{app-0ykya879.js → location-c82dcvad.js} +42 -42
  115. package/dist/chunks/{app-5e0jccqk.js → location-cgw9zbep.js} +43 -43
  116. package/dist/chunks/{app-qqg9c0kv.js → location-cpvd08na.js} +4 -4
  117. package/dist/chunks/{app-cwrgdav8.js → location-cwrgdav8.js} +2 -2
  118. package/dist/chunks/{app-zx8we4fz.js → location-cyrksjq4.js} +48 -48
  119. package/dist/chunks/{app-wvdezepv.js → location-cz3s2vhd.js} +16 -16
  120. package/dist/chunks/{app-e60gsjm8.js → location-cz80cm7r.js} +5 -5
  121. package/dist/chunks/{app-b3zct85d.js → location-d0ekazng.js} +15 -15
  122. package/dist/chunks/{app-d4v9tmah.js → location-d4v9tmah.js} +2 -2
  123. package/dist/chunks/{app-srvevd21.js → location-d6w39weh.js} +3 -3
  124. package/dist/chunks/{app-g4dya9hf.js → location-d7xwrqch.js} +16 -16
  125. package/dist/chunks/{app-n50am6bm.js → location-d85q5s2h.js} +13 -13
  126. package/dist/chunks/{app-rfrp6wb4.js → location-d9t7madm.js} +21 -21
  127. package/dist/chunks/{app-n6v2b7cw.js → location-dbmp929s.js} +5 -5
  128. package/dist/chunks/{app-9rc2701h.js → location-ddjm3yr7.js} +25 -25
  129. package/dist/chunks/{app-re7t88nn.js → location-dnkt163z.js} +8 -8
  130. package/dist/chunks/{app-d0fmer5r.js → location-dqz1xx52.js} +11 -11
  131. package/dist/chunks/{app-dt77769w.js → location-dt77769w.js} +1 -1
  132. package/dist/chunks/{app-v4zhf7xj.js → location-dwrgp3np.js} +9 -9
  133. package/dist/chunks/{app-e834z07m.js → location-e834z07m.js} +1 -1
  134. package/dist/chunks/{app-7tmb88t2.js → location-eeeyas8n.js} +16 -16
  135. package/dist/chunks/{app-xaz3vqte.js → location-egqjccw6.js} +6 -6
  136. package/dist/chunks/{app-rcbjwvze.js → location-emq6awqh.js} +4 -4
  137. package/dist/chunks/{app-ym65bfmj.js → location-eprcdpyx.js} +16 -16
  138. package/dist/chunks/{app-g7esga4v.js → location-eqmd2tfz.js} +4 -4
  139. package/dist/chunks/{app-zz7z36z7.js → location-esnc8dys.js} +28 -28
  140. package/dist/chunks/{app-dmcgdv1e.js → location-ewwfb56b.js} +21 -21
  141. package/dist/chunks/{app-g82he7b4.js → location-f34t46m8.js} +4 -4
  142. package/dist/chunks/{app-xenncx96.js → location-f3v3m9ze.js} +18 -18
  143. package/dist/chunks/{app-etdr2v1n.js → location-f41wwg2r.js} +17 -17
  144. package/dist/chunks/{app-5g6ryekv.js → location-f42021n0.js} +8 -8
  145. package/dist/chunks/{app-k9theajj.js → location-f4qt8m6m.js} +3 -3
  146. package/dist/chunks/{app-93kc9x3v.js → location-fcsk47k5.js} +33 -33
  147. package/dist/chunks/{app-07jak3sf.js → location-ffb88fvm.js} +11 -11
  148. package/dist/chunks/{app-fffv3p7h.js → location-fffv3p7h.js} +1 -1
  149. package/dist/chunks/{app-prq7xxp2.js → location-fg9p65nk.js} +6 -6
  150. package/dist/chunks/{app-sbgaw1e4.js → location-fjq4jm3y.js} +12 -12
  151. package/dist/chunks/{app-9ck2cvgd.js → location-fk13tq6z.js} +6 -6
  152. package/dist/chunks/{app-6gcbxqy3.js → location-fy7btgzb.js} +11 -11
  153. package/dist/chunks/{app-pg22rdv8.js → location-g95hdg3z.js} +4 -4
  154. package/dist/chunks/{app-xw0s36x8.js → location-g9cf8r9e.js} +5 -5
  155. package/dist/chunks/{app-7b3xb549.js → location-gc4x1yks.js} +19 -19
  156. package/dist/chunks/{app-gg8p9cgs.js → location-gg8p9cgs.js} +3 -3
  157. package/dist/chunks/{app-3ms0cx1v.js → location-gnd3kbwx.js} +9 -9
  158. package/dist/chunks/{app-0yepvbfh.js → location-gqkf6x4j.js} +5 -5
  159. package/dist/chunks/{app-w6ncc5qr.js → location-grdzfs6a.js} +18 -18
  160. package/dist/chunks/{app-2fw7yy1m.js → location-gs8jhd8n.js} +20 -20
  161. package/dist/chunks/{app-akkk1sdk.js → location-gvtm772t.js} +19 -19
  162. package/dist/chunks/{app-9sqzj7jg.js → location-h4tk9ys0.js} +9 -9
  163. package/dist/chunks/{app-vkd40qe4.js → location-hm02wpk1.js} +4 -4
  164. package/dist/chunks/{app-hpg1pkwy.js → location-hpg1pkwy.js} +1 -1
  165. package/dist/chunks/{app-e8tkz5dw.js → location-htyzxrkw.js} +9 -9
  166. package/dist/chunks/{app-sjtbvs9h.js → location-hv0nh322.js} +12 -12
  167. package/dist/chunks/{app-wa8k00xj.js → location-hvvf9qw8.js} +6 -6
  168. package/dist/chunks/{app-fjrrbk94.js → location-hvwvq3df.js} +6 -6
  169. package/dist/chunks/{app-f7ma11rg.js → location-hw9kv3mt.js} +6 -6
  170. package/dist/chunks/{app-2zsvneh4.js → location-hxpa900c.js} +25 -25
  171. package/dist/chunks/{app-30hfv7eh.js → location-j3pm8grq.js} +25 -25
  172. package/dist/chunks/{app-jfaecv01.js → location-jfaecv01.js} +1 -1
  173. package/dist/chunks/{app-xy7qnd38.js → location-jn7ycdjx.js} +28 -28
  174. package/dist/chunks/{app-vv0642pf.js → location-jq4a7xgd.js} +23 -23
  175. package/dist/chunks/{app-xsjrgk20.js → location-jr4dr2q3.js} +3 -3
  176. package/dist/chunks/{app-jtnps1zs.js → location-jtnps1zs.js} +2 -2
  177. package/dist/chunks/{app-tcbq9mp3.js → location-jwb7hgyv.js} +32 -32
  178. package/dist/chunks/{app-k814nvkf.js → location-k814nvkf.js} +1 -1
  179. package/dist/chunks/{app-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
  180. package/dist/chunks/{app-6bjafys9.js → location-kz30j1ax.js} +37 -37
  181. package/dist/chunks/{app-m1714858.js → location-m1714858.js} +1 -1
  182. package/dist/chunks/{app-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{app-pp3hsmtd.js → location-mcdj7ymd.js} +9 -9
  184. package/dist/chunks/{app-x6rhjf1k.js → location-me5xs82a.js} +5 -5
  185. package/dist/chunks/{app-ntdydndm.js → location-mjtny0k5.js} +6 -6
  186. package/dist/chunks/{app-v7nt063j.js → location-mkqpe6ev.js} +18 -18
  187. package/dist/chunks/{app-c9t2ty9q.js → location-mtkfycnh.js} +4 -4
  188. package/dist/chunks/{app-za5w90np.js → location-mz4mmk88.js} +15 -15
  189. package/dist/chunks/location-n6xt4x7c.js +257 -0
  190. package/dist/chunks/{app-7rgpc39j.js → location-n760pf4s.js} +4 -4
  191. package/dist/chunks/{app-nah043kf.js → location-nah043kf.js} +1 -1
  192. package/dist/chunks/{app-3j3pngsv.js → location-nbav8nzv.js} +28 -28
  193. package/dist/chunks/{app-cz5kb1g3.js → location-nc0wwyw5.js} +24 -24
  194. package/dist/chunks/{app-e56je643.js → location-ng4vhxme.js} +25 -25
  195. package/dist/chunks/{app-ez2q85hn.js → location-npw72hw3.js} +10 -10
  196. package/dist/chunks/{app-x7p9x0b3.js → location-nr81yrq6.js} +23 -23
  197. package/dist/chunks/{app-k32rv71p.js → location-nrptqq6h.js} +194 -194
  198. package/dist/chunks/{app-5dz02hsn.js → location-nsj7r9cf.js} +37 -37
  199. package/dist/chunks/{app-h0j4kxab.js → location-ny7rtrvd.js} +4 -4
  200. package/dist/chunks/{app-p015t6z3.js → location-p015t6z3.js} +2 -2
  201. package/dist/chunks/{app-hf2bt1yf.js → location-p6ahbwec.js} +11 -11
  202. package/dist/chunks/{app-ptyqyypb.js → location-p78nc619.js} +7 -7
  203. package/dist/chunks/{app-p7vhpwh8.js → location-p7vhpwh8.js} +1 -1
  204. package/dist/chunks/{app-yt5g2b2x.js → location-pj1mxnxz.js} +11 -11
  205. package/dist/chunks/{app-pknna89w.js → location-pknna89w.js} +1 -1
  206. package/dist/chunks/{app-q63cb7ap.js → location-q63cb7ap.js} +3 -3
  207. package/dist/chunks/{app-bgt8033q.js → location-q7t6ck8g.js} +20 -20
  208. package/dist/chunks/{app-cx53cxfp.js → location-qh48ndyz.js} +44 -44
  209. package/dist/chunks/{app-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
  210. package/dist/chunks/{app-6jyensvk.js → location-qtd5p5k1.js} +15 -15
  211. package/dist/chunks/{app-sx0ham9j.js → location-qtf71cz0.js} +26 -26
  212. package/dist/chunks/{app-1e7btjy7.js → location-qvpfa8gz.js} +28 -28
  213. package/dist/chunks/{app-3qn2g3vw.js → location-qvtpbb9s.js} +20 -20
  214. package/dist/chunks/{app-r0yr0wbs.js → location-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{app-tvdj5ey7.js → location-r2ty45qf.js} +16 -16
  216. package/dist/chunks/{app-ng55e7tz.js → location-r3gw80k4.js} +22 -22
  217. package/dist/chunks/{app-g643egj3.js → location-r46x4fhg.js} +35 -35
  218. package/dist/chunks/{app-r542h3bh.js → location-r542h3bh.js} +1 -1
  219. package/dist/chunks/{app-g1nmrsk3.js → location-r8c91qy6.js} +4 -4
  220. package/dist/chunks/{app-k9zkdd2y.js → location-r94gekwm.js} +4 -4
  221. package/dist/chunks/{app-jarjxtv9.js → location-r9wv51da.js} +10 -10
  222. package/dist/chunks/{app-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{app-gcjdgkn2.js → location-rmt6m6se.js} +9 -9
  224. package/dist/chunks/{app-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{app-fbpx3b1j.js → location-rwgvp8j6.js} +8 -8
  226. package/dist/chunks/{app-tcwjgpz8.js → location-rxb1aw4a.js} +16 -16
  227. package/dist/chunks/{app-ake2hqrg.js → location-s67yrvpd.js} +35 -35
  228. package/dist/chunks/{app-b7wk06bj.js → location-s8ffyqk5.js} +15 -15
  229. package/dist/chunks/{app-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
  230. package/dist/chunks/{app-d5cb15dn.js → location-sqb3gwyh.js} +3 -3
  231. package/dist/chunks/{app-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
  232. package/dist/chunks/{app-svcy3p9a.js → location-svcy3p9a.js} +1 -1
  233. package/dist/chunks/{app-n5xgg07e.js → location-t2bd3kw5.js} +30 -30
  234. package/dist/chunks/{app-nhq4513k.js → location-t4mesnkk.js} +10 -10
  235. package/dist/chunks/{app-74aceyyx.js → location-t51jc41k.js} +10 -10
  236. package/dist/chunks/{app-ta9v9zr8.js → location-t96sw8s6.js} +12 -12
  237. package/dist/chunks/{app-xa6mtbaa.js → location-t9j1v4n7.js} +7 -7
  238. package/dist/chunks/{app-2xef4nz5.js → location-tbwjycs5.js} +90 -90
  239. package/dist/chunks/{app-tczq8hjw.js → location-tczq8hjw.js} +1 -1
  240. package/dist/chunks/{app-hev7bgb4.js → location-teh9wf2k.js} +1 -1
  241. package/dist/chunks/{app-93r13ete.js → location-th9cnqvh.js} +4 -4
  242. package/dist/chunks/{app-82wwwf0v.js → location-tjs50ewy.js} +30 -30
  243. package/dist/chunks/{app-fergjrqy.js → location-trnwxx84.js} +45 -45
  244. package/dist/chunks/{app-8n9x2wf6.js → location-ts7mkfs9.js} +3 -3
  245. package/dist/chunks/{app-twssxy5n.js → location-twssxy5n.js} +2 -2
  246. package/dist/chunks/{app-7mgk0w6k.js → location-tx5ztkvb.js} +32 -32
  247. package/dist/chunks/{app-9hz2y3zt.js → location-v1nzqh31.js} +5 -5
  248. package/dist/chunks/{app-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
  249. package/dist/chunks/{app-xj018m1c.js → location-v4j91q1y.js} +7 -7
  250. package/dist/chunks/{app-vaq1yek0.js → location-vaq1yek0.js} +3 -3
  251. package/dist/chunks/{app-ab9bg942.js → location-vbw7dpbk.js} +7 -7
  252. package/dist/chunks/{app-n67wscdr.js → location-vhy7b17j.js} +24 -24
  253. package/dist/chunks/{app-ydsh7nqv.js → location-vp4gfj7b.js} +6 -6
  254. package/dist/chunks/{app-55pbqef1.js → location-vx7y69zw.js} +11 -11
  255. package/dist/chunks/{app-s7kyse9r.js → location-w35wzz9x.js} +4 -4
  256. package/dist/chunks/{app-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{app-t7zke5ff.js → location-w6drehxa.js} +7 -7
  258. package/dist/chunks/{app-wakvkjy4.js → location-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{app-wd87259q.js → location-wd87259q.js} +1 -1
  260. package/dist/chunks/{app-wrtc07rs.js → location-wj3t59eb.js} +12 -12
  261. package/dist/chunks/{app-f6t2q3wp.js → location-wne0cxxy.js} +27 -27
  262. package/dist/chunks/{app-wnhgecwx.js → location-wnhgecwx.js} +1 -1
  263. package/dist/chunks/{app-b6z35kmf.js → location-wr3re1en.js} +4 -4
  264. package/dist/chunks/{app-pp4t1k5p.js → location-wvs4skyz.js} +1 -1
  265. package/dist/chunks/{app-1x45b3zs.js → location-wzg0h9b8.js} +21 -21
  266. package/dist/chunks/{app-2x53phk9.js → location-x2ecggsc.js} +13 -13
  267. package/dist/chunks/{app-21wfq1mc.js → location-x4jkdn6e.js} +11 -11
  268. package/dist/chunks/{app-sc8rteay.js → location-x628q3tw.js} +7 -7
  269. package/dist/chunks/{app-qshvmas0.js → location-xe50az9a.js} +6 -6
  270. package/dist/chunks/location-xgsg3c9w.js +18 -0
  271. package/dist/chunks/{app-8m9rkatr.js → location-xhd45jer.js} +33 -33
  272. package/dist/chunks/{app-vhpwchdg.js → location-xndqmg8y.js} +14 -14
  273. package/dist/chunks/{app-6skzthee.js → location-xpfvn7yf.js} +40 -40
  274. package/dist/chunks/{app-0s7dzr9x.js → location-xqsejeyp.js} +13 -13
  275. package/dist/chunks/{app-x5zq306v.js → location-xrx1pqtv.js} +16 -16
  276. package/dist/chunks/{app-m41qe238.js → location-y08xa3vn.js} +21 -21
  277. package/dist/chunks/{app-5x0df2c7.js → location-y1s3hmc3.js} +17 -17
  278. package/dist/chunks/{app-yvktvmpy.js → location-y35pcaf8.js} +21 -21
  279. package/dist/chunks/{app-yara3q77.js → location-yara3q77.js} +2 -2
  280. package/dist/chunks/{app-yb20nhc3.js → location-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{app-kmzgegqq.js → location-ydsespw1.js} +8 -8
  282. package/dist/chunks/{app-2ew5z7b1.js → location-yep4axjb.js} +4 -4
  283. package/dist/chunks/{app-6cqtc0z1.js → location-ymcm4zbd.js} +6 -6
  284. package/dist/chunks/{app-0de7abqf.js → location-ys2ews8t.js} +16 -16
  285. package/dist/chunks/{app-yhjvxxnz.js → location-yzk83bqb.js} +12 -12
  286. package/dist/chunks/{app-z38nccrw.js → location-z38nccrw.js} +1 -1
  287. package/dist/chunks/{app-9fkg6669.js → location-z54xpf00.js} +26 -26
  288. package/dist/chunks/{app-g9ndtp1p.js → location-zfyb5tr4.js} +4 -4
  289. package/dist/chunks/{app-w11ey1wa.js → location-zq8z39xr.js} +11 -11
  290. package/dist/chunks/{app-nrqtba0r.js → location-zv6chf9e.js} +6 -6
  291. package/dist/chunks/{app-bjhzkqyk.js → location-zzdv5d93.js} +4 -4
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +79 -79
  297. package/dist/config/discovery.js +92 -92
  298. package/dist/config/integration.js +3 -3
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +107 -107
  301. package/dist/config/plugin/agent.js +121 -121
  302. package/dist/config/plugin/command.js +219 -219
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +142 -142
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +122 -122
  307. package/dist/config/plugin/image.js +121 -121
  308. package/dist/config/plugin/instruction.js +121 -121
  309. package/dist/config/plugin/location-watcher.js +121 -121
  310. package/dist/config/plugin/mcp.js +128 -128
  311. package/dist/config/plugin/policy.js +123 -123
  312. package/dist/config/plugin/provider.js +122 -122
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +138 -138
  316. package/dist/config/plugin/skill-scan.js +1 -1
  317. package/dist/config/plugin/skill.js +145 -145
  318. package/dist/config/plugin/snapshot.js +121 -121
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +122 -122
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +123 -123
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +122 -122
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +89 -89
  329. package/dist/database/database.js +72 -72
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration/20261025123711_blob.js +1 -1
  399. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  400. package/dist/database/migration.gen.js +55 -55
  401. package/dist/database/migration.js +57 -57
  402. package/dist/database/path.js +2 -2
  403. package/dist/database/schema.gen.js +1 -1
  404. package/dist/database/schema.sql.js +1 -1
  405. package/dist/database/sqlite.bun.js +1 -1
  406. package/dist/database/sqlite.js +1 -1
  407. package/dist/database/sqlite.node.js +1 -1
  408. package/dist/database/sqlite.workerd.js +1 -1
  409. package/dist/database/v1-migration.bun.js +100 -100
  410. package/dist/database/v1-migration.js +1 -1
  411. package/dist/effect/app-node-builder.js +377 -377
  412. package/dist/effect/app-node-platform.js +2 -2
  413. package/dist/effect/keyed-mutex.js +3 -3
  414. package/dist/effect/websocket-constructor.js +1 -1
  415. package/dist/environment/driver.js +1 -1
  416. package/dist/environment/environment.js +101 -101
  417. package/dist/environment/exec-defaults.js +2 -2
  418. package/dist/environment/files.js +1 -1
  419. package/dist/environment/index.js +103 -103
  420. package/dist/environment/local.js +2 -2
  421. package/dist/environment/memory.js +2 -2
  422. package/dist/environment/unavailable.js +3 -3
  423. package/dist/event/sql.js +1 -1
  424. package/dist/event-logger.js +76 -76
  425. package/dist/file-access.js +148 -148
  426. package/dist/file-mutation.js +102 -102
  427. package/dist/file-retention.js +1 -1
  428. package/dist/filesystem/fff.bun.js +2 -2
  429. package/dist/filesystem/fff.js +1 -1
  430. package/dist/filesystem/fff.node.js +2 -2
  431. package/dist/filesystem/fff.workerd.js +2 -2
  432. package/dist/filesystem/file-watch.js +83 -83
  433. package/dist/filesystem/location-watcher-policy.js +6 -6
  434. package/dist/filesystem/location-watcher.js +232 -232
  435. package/dist/filesystem/protected.js +3 -3
  436. package/dist/filesystem/search.js +107 -107
  437. package/dist/filesystem/watcher-binding.js +1 -1
  438. package/dist/filesystem/watcher.js +9 -9
  439. package/dist/filesystem.js +110 -110
  440. package/dist/form.js +88 -88
  441. package/dist/formatter/builtins.js +2 -2
  442. package/dist/formatter.js +95 -95
  443. package/dist/generate.js +113 -113
  444. package/dist/git.js +11 -11
  445. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  446. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  447. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  449. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  451. package/dist/github-copilot/copilot-provider.js +17 -17
  452. package/dist/github-copilot/models.js +99 -99
  453. package/dist/github-copilot/openai-compatible-error.js +1 -1
  454. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  455. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  456. package/dist/github-copilot/responses/openai-error.js +1 -1
  457. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  458. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  459. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  460. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  461. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  462. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  463. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  464. package/dist/image/photon-normalize.js +1 -1
  465. package/dist/image/photon-worker.js +1 -1
  466. package/dist/image/photon.js +4 -4
  467. package/dist/image.js +6 -6
  468. package/dist/instance/service.js +5 -5
  469. package/dist/instance.js +368 -368
  470. package/dist/instruction-discovery.js +92 -92
  471. package/dist/instructions/builtins.js +95 -95
  472. package/dist/instructions/index.js +1 -1
  473. package/dist/integration/connection.js +3 -3
  474. package/dist/integration.js +95 -95
  475. package/dist/job.js +84 -84
  476. package/dist/kv/sql.js +2 -2
  477. package/dist/kv.js +79 -79
  478. package/dist/location-activity.js +163 -163
  479. package/dist/location-lifecycle.js +142 -142
  480. package/dist/location-service-map.js +94 -94
  481. package/dist/location-services.js +365 -365
  482. package/dist/location.js +97 -97
  483. package/dist/managed-policy.js +3 -3
  484. package/dist/mcp/client.js +99 -99
  485. package/dist/mcp/index.js +115 -115
  486. package/dist/mcp/instructions.js +168 -168
  487. package/dist/mcp/oauth.js +84 -84
  488. package/dist/mcp/socket-client.js +1 -1
  489. package/dist/mcp/stdio.js +98 -98
  490. package/dist/mime.js +1 -1
  491. package/dist/modal/models.js +99 -99
  492. package/dist/model-resolver.js +105 -105
  493. package/dist/model-retry.js +1 -1
  494. package/dist/model.js +108 -108
  495. package/dist/models-dev/v1.js +1 -1
  496. package/dist/models-dev.js +116 -116
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +88 -88
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +145 -145
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +92 -92
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +78 -78
  507. package/dist/plugin/command.js +108 -108
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +227 -227
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +338 -338
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +105 -105
  515. package/dist/plugin/module.js +123 -123
  516. package/dist/plugin/optimize.js +4 -4
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +121 -121
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/configured.js +117 -117
  526. package/dist/plugin/provider/databricks.js +1 -1
  527. package/dist/plugin/provider/digitalocean.js +101 -101
  528. package/dist/plugin/provider/dynamic.js +2 -2
  529. package/dist/plugin/provider/github-copilot.js +103 -103
  530. package/dist/plugin/provider/gitlab.js +101 -101
  531. package/dist/plugin/provider/google-vertex.js +118 -118
  532. package/dist/plugin/provider/kilo.js +1 -1
  533. package/dist/plugin/provider/llmgateway.js +84 -84
  534. package/dist/plugin/provider/lmstudio.js +130 -130
  535. package/dist/plugin/provider/local.js +127 -127
  536. package/dist/plugin/provider/modal.js +100 -100
  537. package/dist/plugin/provider/neon.js +1 -1
  538. package/dist/plugin/provider/nvidia.js +1 -1
  539. package/dist/plugin/provider/ollama.js +130 -130
  540. package/dist/plugin/provider/openai-context-caps.js +98 -98
  541. package/dist/plugin/provider/openai.js +123 -123
  542. package/dist/plugin/provider/opencode.js +124 -124
  543. package/dist/plugin/provider/openrouter.js +99 -99
  544. package/dist/plugin/provider/poe.js +85 -85
  545. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  546. package/dist/plugin/provider/sap-ai-core.js +99 -99
  547. package/dist/plugin/provider/sdk-factory.js +1 -1
  548. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  549. package/dist/plugin/provider/vllm.js +128 -128
  550. package/dist/plugin/provider/xai.js +99 -99
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +171 -171
  553. package/dist/plugin/sdk.js +78 -78
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +139 -139
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +355 -355
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +2 -2
  560. package/dist/plugin/vcs/git.js +94 -94
  561. package/dist/plugin/vcs/hg.js +94 -94
  562. package/dist/plugin/verbosity.js +101 -101
  563. package/dist/plugin/warming.js +119 -119
  564. package/dist/plugin/websearch/exa.js +5 -5
  565. package/dist/plugin/websearch/firecrawl.js +8 -8
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +2 -2
  568. package/dist/plugin/websearch/parallel.js +6 -6
  569. package/dist/plugin/websearch/tavily.js +4 -4
  570. package/dist/plugin/websearch/tinyfish.js +6 -6
  571. package/dist/plugin.js +232 -232
  572. package/dist/project/icon.js +5 -5
  573. package/dist/project/schema.js +8 -8
  574. package/dist/project/sql.js +4 -4
  575. package/dist/project.js +98 -98
  576. package/dist/provider.js +107 -107
  577. package/dist/pty/protocol.js +1 -1
  578. package/dist/pty/ticket.js +1 -1
  579. package/dist/pty.js +104 -104
  580. package/dist/reference/instructions.js +96 -96
  581. package/dist/reference.js +98 -98
  582. package/dist/repository-cache.js +88 -88
  583. package/dist/repository.js +1 -1
  584. package/dist/ripgrep/binary.js +2 -2
  585. package/dist/ripgrep.js +103 -103
  586. package/dist/rpc.js +94 -94
  587. package/dist/schema.js +1 -1
  588. package/dist/session/affinity.js +1 -1
  589. package/dist/session/blob.js +120 -120
  590. package/dist/session/command.js +80 -80
  591. package/dist/session/compaction.js +164 -164
  592. package/dist/session/context.js +188 -188
  593. package/dist/session/diff.js +96 -96
  594. package/dist/session/environment.js +5 -5
  595. package/dist/session/error.js +5 -5
  596. package/dist/session/event.js +1 -1
  597. package/dist/session/execution/restart.js +228 -228
  598. package/dist/session/execution.js +154 -154
  599. package/dist/session/generate.js +190 -190
  600. package/dist/session/history.js +127 -127
  601. package/dist/session/inbox.js +140 -140
  602. package/dist/session/info.js +3 -3
  603. package/dist/session/instruction-entry.js +85 -85
  604. package/dist/session/instruction-state.js +8 -8
  605. package/dist/session/instructions.js +132 -132
  606. package/dist/session/message-updater.js +2 -2
  607. package/dist/session/message.js +1 -1
  608. package/dist/session/model-request.js +155 -155
  609. package/dist/session/model-transport.js +9 -9
  610. package/dist/session/move.js +156 -156
  611. package/dist/session/projector.js +134 -134
  612. package/dist/session/prompt.js +140 -140
  613. package/dist/session/recent-text.js +1 -1
  614. package/dist/session/revert.js +130 -130
  615. package/dist/session/run-coordinator.js +3 -3
  616. package/dist/session/runner/index.js +3 -3
  617. package/dist/session/runner/llm.js +238 -238
  618. package/dist/session/runner/max-steps.js +1 -1
  619. package/dist/session/runner/model.js +108 -108
  620. package/dist/session/runner/publish-llm-event.js +141 -141
  621. package/dist/session/runner/retry.js +3 -3
  622. package/dist/session/runner/step.js +152 -152
  623. package/dist/session/runner/to-llm-message.js +128 -128
  624. package/dist/session/schema.js +5 -5
  625. package/dist/session/session.js +172 -172
  626. package/dist/session/shell.js +135 -135
  627. package/dist/session/skill.js +139 -139
  628. package/dist/session/sql.js +5 -5
  629. package/dist/session/stats.js +79 -79
  630. package/dist/session/store.js +133 -133
  631. package/dist/session/stored.js +4 -4
  632. package/dist/session/subagent-completion.js +1 -1
  633. package/dist/session/subagent-job.js +219 -219
  634. package/dist/session/system-prompt.js +3 -3
  635. package/dist/session/title.js +192 -192
  636. package/dist/session/to-session-error.js +140 -140
  637. package/dist/session/transfer.js +224 -224
  638. package/dist/session/usage.js +1 -1
  639. package/dist/session.js +223 -223
  640. package/dist/shell/parse.js +6 -6
  641. package/dist/shell/result.js +1 -1
  642. package/dist/shell/scan.js +1 -1
  643. package/dist/shell/select.js +11 -11
  644. package/dist/shell.js +135 -135
  645. package/dist/skill/discovery.js +6 -6
  646. package/dist/skill/instructions.js +143 -143
  647. package/dist/skill.js +146 -146
  648. package/dist/snapshot.js +99 -99
  649. package/dist/state.js +1 -1
  650. package/dist/tool/html-markdown.js +1 -1
  651. package/dist/tool/http-body.js +1 -1
  652. package/dist/tool/mcp.js +165 -165
  653. package/dist/tool/plugin/edit.js +156 -156
  654. package/dist/tool/plugin/file-diff.js +1 -1
  655. package/dist/tool/plugin/glob.js +160 -160
  656. package/dist/tool/plugin/grep.js +158 -158
  657. package/dist/tool/plugin/mcp-resource.js +154 -154
  658. package/dist/tool/plugin/opencode.js +153 -153
  659. package/dist/tool/plugin/patch.js +156 -156
  660. package/dist/tool/plugin/question.js +136 -136
  661. package/dist/tool/plugin/read.js +161 -161
  662. package/dist/tool/plugin/shell.js +224 -224
  663. package/dist/tool/plugin/skill.js +149 -149
  664. package/dist/tool/plugin/subagent.js +226 -226
  665. package/dist/tool/plugin/todo.js +145 -145
  666. package/dist/tool/plugin/webfetch.js +147 -147
  667. package/dist/tool/plugin/websearch.js +143 -143
  668. package/dist/tool/plugin/write.js +158 -158
  669. package/dist/tool/read-filesystem.js +108 -108
  670. package/dist/tool/runtime.js +1 -1
  671. package/dist/tool-output.js +7 -7
  672. package/dist/tool.js +14 -14
  673. package/dist/usage-limits.js +93 -93
  674. package/dist/util/error-summary.js +1 -1
  675. package/dist/util/git-executable.js +3 -3
  676. package/dist/util/lazy.js +1 -1
  677. package/dist/util/slug.js +1 -1
  678. package/dist/util/token.js +1 -1
  679. package/dist/util/which.js +1 -1
  680. package/dist/util/wildcard.js +1 -1
  681. package/dist/v1/config/agent.js +5 -5
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/mcp.js +4 -4
  684. package/dist/v1/config/migrate.js +100 -100
  685. package/dist/v1/config/permission.js +3 -3
  686. package/dist/v1/config/plugin.js +1 -1
  687. package/dist/v1/config/provider-options.js +1 -1
  688. package/dist/v1/config/provider.js +4 -4
  689. package/dist/variant.js +99 -99
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +97 -97
  692. package/dist/voice.js +92 -92
  693. package/dist/websearch.js +88 -88
  694. package/dist/wellknown/plugin.js +82 -82
  695. package/dist/wellknown.js +85 -85
  696. package/dist/workspace/driver.js +5 -5
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +88 -88
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +11 -11
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +97 -97
  703. package/dist/worktree.js +106 -106
  704. package/package.json +8 -8
  705. package/dist/chunks/app-2xfnk94a.js +0 -257
  706. package/dist/chunks/app-n3r3rt18.js +0 -18
  707. /package/dist/chunks/{app-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{app-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{app-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{app-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{app-1jakw16s.js → location-1jakw16s.js} +0 -0
  712. /package/dist/chunks/{app-24dcb14g.js → location-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{app-2710q6r3.js → location-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{app-2bv980vf.js → location-2bv980vf.js} +0 -0
  715. /package/dist/chunks/{app-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{app-359p4xyc.js → location-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{app-3asan66x.js → location-3asan66x.js} +0 -0
  718. /package/dist/chunks/{app-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{app-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{app-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{app-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{app-4m86bj6y.js → location-4m86bj6y.js} +0 -0
  723. /package/dist/chunks/{app-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{app-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{app-53557ph1.js → location-53557ph1.js} +0 -0
  726. /package/dist/chunks/{app-550bvhaj.js → location-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{app-5w3e23ze.js → location-5w3e23ze.js} +0 -0
  728. /package/dist/chunks/{app-6prwharc.js → location-6prwharc.js} +0 -0
  729. /package/dist/chunks/{app-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  730. /package/dist/chunks/{app-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  731. /package/dist/chunks/{app-7m9af43g.js → location-7m9af43g.js} +0 -0
  732. /package/dist/chunks/{app-822emrt2.js → location-822emrt2.js} +0 -0
  733. /package/dist/chunks/{app-84wd9syh.js → location-84wd9syh.js} +0 -0
  734. /package/dist/chunks/{app-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  735. /package/dist/chunks/{app-8n3pysct.js → location-8n3pysct.js} +0 -0
  736. /package/dist/chunks/{app-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  737. /package/dist/chunks/{app-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{app-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{app-a058387c.js → location-a058387c.js} +0 -0
  740. /package/dist/chunks/{app-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  741. /package/dist/chunks/{app-af5trqkr.js → location-af5trqkr.js} +0 -0
  742. /package/dist/chunks/{app-afrmfg78.js → location-afrmfg78.js} +0 -0
  743. /package/dist/chunks/{app-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  744. /package/dist/chunks/{app-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  745. /package/dist/chunks/{app-beh6qq61.js → location-beh6qq61.js} +0 -0
  746. /package/dist/chunks/{app-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  747. /package/dist/chunks/{app-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  748. /package/dist/chunks/{app-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  749. /package/dist/chunks/{app-cqv5kn06.js → location-cqv5kn06.js} +0 -0
  750. /package/dist/chunks/{app-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  751. /package/dist/chunks/{app-d9fn303g.js → location-d9fn303g.js} +0 -0
  752. /package/dist/chunks/{app-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  753. /package/dist/chunks/{app-dajrwvna.js → location-dajrwvna.js} +0 -0
  754. /package/dist/chunks/{app-dap0rakb.js → location-dap0rakb.js} +0 -0
  755. /package/dist/chunks/{app-df08tz66.js → location-df08tz66.js} +0 -0
  756. /package/dist/chunks/{app-dy18nga0.js → location-dy18nga0.js} +0 -0
  757. /package/dist/chunks/{app-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  758. /package/dist/chunks/{app-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  759. /package/dist/chunks/{app-ec1grn59.js → location-ec1grn59.js} +0 -0
  760. /package/dist/chunks/{app-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  761. /package/dist/chunks/{app-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  762. /package/dist/chunks/{app-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  763. /package/dist/chunks/{app-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  764. /package/dist/chunks/{app-faypxj3z.js → location-faypxj3z.js} +0 -0
  765. /package/dist/chunks/{app-fd410y7t.js → location-fd410y7t.js} +0 -0
  766. /package/dist/chunks/{app-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
  767. /package/dist/chunks/{app-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  768. /package/dist/chunks/{app-g86h250q.js → location-g86h250q.js} +0 -0
  769. /package/dist/chunks/{app-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  770. /package/dist/chunks/{app-gftt206x.js → location-gftt206x.js} +0 -0
  771. /package/dist/chunks/{app-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  772. /package/dist/chunks/{app-hk9envan.js → location-hk9envan.js} +0 -0
  773. /package/dist/chunks/{app-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  774. /package/dist/chunks/{app-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  775. /package/dist/chunks/{app-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  776. /package/dist/chunks/{app-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  777. /package/dist/chunks/{app-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  778. /package/dist/chunks/{app-jwr30sdr.js → location-jwr30sdr.js} +0 -0
  779. /package/dist/chunks/{app-jze0r7bz.js → location-jze0r7bz.js} +0 -0
  780. /package/dist/chunks/{app-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  781. /package/dist/chunks/{app-m18g726c.js → location-m18g726c.js} +0 -0
  782. /package/dist/chunks/{app-mp448xyj.js → location-mp448xyj.js} +0 -0
  783. /package/dist/chunks/{app-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  784. /package/dist/chunks/{app-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  785. /package/dist/chunks/{app-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  786. /package/dist/chunks/{app-ncqqe42p.js → location-ncqqe42p.js} +0 -0
  787. /package/dist/chunks/{app-njntx4h6.js → location-njntx4h6.js} +0 -0
  788. /package/dist/chunks/{app-p71gwv9c.js → location-p71gwv9c.js} +0 -0
  789. /package/dist/chunks/{app-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  790. /package/dist/chunks/{app-q74kybfr.js → location-q74kybfr.js} +0 -0
  791. /package/dist/chunks/{app-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  792. /package/dist/chunks/{app-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  793. /package/dist/chunks/{app-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  794. /package/dist/chunks/{app-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  795. /package/dist/chunks/{app-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  796. /package/dist/chunks/{app-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  797. /package/dist/chunks/{app-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  798. /package/dist/chunks/{app-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  799. /package/dist/chunks/{app-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  800. /package/dist/chunks/{app-w803qqfp.js → location-w803qqfp.js} +0 -0
  801. /package/dist/chunks/{app-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  802. /package/dist/chunks/{app-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  803. /package/dist/chunks/{app-wtztk69x.js → location-wtztk69x.js} +0 -0
  804. /package/dist/chunks/{app-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  805. /package/dist/chunks/{app-x61499pn.js → location-x61499pn.js} +0 -0
  806. /package/dist/chunks/{app-y44na4kk.js → location-y44na4kk.js} +0 -0
  807. /package/dist/chunks/{app-y8f7s663.js → location-y8f7s663.js} +0 -0
  808. /package/dist/chunks/{app-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  809. /package/dist/chunks/{app-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  810. /package/dist/chunks/{app-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./app-z5v4ffb3.js";
4
+ } from "./location-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service84,
9
- node88
10
- } from "./app-wrtc07rs.js";
8
+ Service81,
9
+ node85
10
+ } from "./location-wj3t59eb.js";
11
11
  import {
12
- Service82,
13
- node86
14
- } from "./app-5x0df2c7.js";
12
+ Service79,
13
+ node83
14
+ } from "./location-y1s3hmc3.js";
15
15
  import {
16
16
  create3
17
- } from "./app-204s3925.js";
17
+ } from "./location-204s3925.js";
18
18
  import {
19
19
  __export
20
- } from "./app-9rqn6x4v.js";
20
+ } from "./location-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
25
+ Error: () => Error3,
26
26
  ID: () => ID4,
27
- Service: () => Service41,
27
+ Service: () => Service46,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node44,
30
- noopLayer: () => noopLayer2
29
+ node: () => node48,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service41 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service46 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service41, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service84;
50
+ const git = yield* Service81;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service82;
52
+ const location = yield* Service79;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service41.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node44 = makeLocationNode({
158
- service: Service41,
157
+ var node48 = makeLocationNode({
158
+ service: Service46,
159
159
  layer,
160
- deps: [FSUtil.node, node88, Global.node, node86]
160
+ deps: [FSUtil.node, node85, Global.node, node83]
161
161
  });
162
- var noopLayer2 = Layer.succeed(Service41, Service41.of({
162
+ var noopLayer3 = Layer.succeed(Service46, Service46.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service41, Service41.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error2 && cause.operation === operation)
171
+ if (cause instanceof Error3 && cause.operation === operation)
172
172
  return cause;
173
- return new Error2({
173
+ return new Error3({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID4, Error2, Service41, node44, noopLayer2, exports_snapshot2 };
180
+ export { ID4, Error3, Service46, node48, noopLayer3, exports_snapshot2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service85
3
- } from "./app-vkd40qe4.js";
3
+ } from "./location-hm02wpk1.js";
4
4
  import {
5
- Event17
6
- } from "./app-3j3pngsv.js";
5
+ Event19
6
+ } from "./location-nbav8nzv.js";
7
7
  import {
8
- ID13
9
- } from "./app-zz7z36z7.js";
8
+ ID16
9
+ } from "./location-esnc8dys.js";
10
10
  import {
11
- ID12
12
- } from "./app-jvng8k19.js";
11
+ ID13
12
+ } from "./location-6t862pnj.js";
13
13
 
14
14
  // src/plugin/provider/openai-context-caps.ts
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Stream } from "effect";
17
- var integrationID = ID13.make("openai");
17
+ var integrationID = ID16.make("openai");
18
18
  var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
19
19
  var legacyInput = 272000;
20
20
  var currentInput = 500000;
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
34
34
  yield* ctx.model.transform((models) => {
35
35
  if (!signedIn)
36
36
  return;
37
- for (const model of models.list(ID12.openai)) {
37
+ for (const model of models.list(ID13.openai)) {
38
38
  models.update(model.providerID, model.id, (draft) => {
39
39
  const input = cap(draft.modelID ?? draft.id);
40
40
  if ((draft.limit.input || draft.limit.context) <= input)
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
43
43
  });
44
44
  }
45
45
  });
46
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
46
+ 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 }));
47
47
  })
48
48
  });
49
49
  function cap(apiID) {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./app-vkd40qe4.js";
4
+ } from "./location-hm02wpk1.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./app-204s3925.js";
8
+ } from "./location-204s3925.js";
9
9
  import {
10
10
  key2
11
- } from "./app-bjhzkqyk.js";
12
- import {
13
- ID13,
14
- Service73,
15
- node76,
16
- Event16
17
- } from "./app-zz7z36z7.js";
11
+ } from "./location-zzdv5d93.js";
18
12
  import {
13
+ ID16,
19
14
  Service82,
20
- node86
21
- } from "./app-5x0df2c7.js";
15
+ node86,
16
+ Event18
17
+ } from "./location-esnc8dys.js";
18
+ import {
19
+ Service79,
20
+ node83
21
+ } from "./location-y1s3hmc3.js";
22
22
  import {
23
23
  __export
24
- } from "./app-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -31,13 +31,13 @@ __export(exports_provider3, {
31
31
  Compaction: () => Compaction3,
32
32
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
33
33
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
34
- Event: () => Event15,
35
- ID: () => ID12,
36
- Info: () => Info22,
34
+ Event: () => Event16,
35
+ ID: () => ID13,
36
+ Info: () => Info23,
37
37
  LoadError: () => LoadError3,
38
38
  Provider: () => exports_provider3,
39
39
  Request: () => Request3,
40
- Service: () => Service72,
40
+ Service: () => Service78,
41
41
  Settings: () => Settings2,
42
42
  Transport: () => Transport2,
43
43
  aisdk: () => aisdk2,
@@ -49,7 +49,7 @@ __export(exports_provider3, {
49
49
  mergeOverlay: () => mergeOverlay2,
50
50
  modelSettings: () => modelSettings2,
51
51
  nativeSettings: () => nativeSettings2,
52
- node: () => node75,
52
+ node: () => node82,
53
53
  packageName: () => packageName2,
54
54
  timeout: () => timeout2,
55
55
  timeouts: () => timeouts2
@@ -332,8 +332,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
332
332
  var decode = Schema.decodeUnknownSync(Legacy);
333
333
 
334
334
  // src/provider.ts
335
- import { Event as Event15 } from "@opencode/schema/provider";
336
- var ID12 = Provider.ID;
335
+ import { Event as Event16 } from "@opencode/schema/provider";
336
+ var ID13 = Provider.ID;
337
337
  var AISDK_PREFIX2 = "aisdk:";
338
338
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
339
339
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -572,9 +572,9 @@ var Compaction3 = Provider.Compaction;
572
572
  var Cache2 = Provider.Cache;
573
573
  var Transport2 = Provider.Transport;
574
574
  var Settings2 = Provider.Settings;
575
- var Info22 = Provider.Info;
575
+ var Info23 = Provider.Info;
576
576
 
577
- class Service72 extends Context.Service()("@opencode/Provider") {
577
+ class Service78 extends Context.Service()("@opencode/Provider") {
578
578
  }
579
579
  var definitions = new WeakMap;
580
580
  function index(providerID, models) {
@@ -587,10 +587,10 @@ function index(providerID, models) {
587
587
  definitions.set(models, indexes);
588
588
  return result;
589
589
  }
590
- var layer = Layer.effect(Service72, Effect2.gen(function* () {
590
+ var layer = Layer.effect(Service78, Effect2.gen(function* () {
591
591
  const bus = yield* Service85;
592
- const integrations = yield* Service73;
593
- const location = yield* Service82;
592
+ const integrations = yield* Service82;
593
+ const location = yield* Service79;
594
594
  const state = create3({
595
595
  name: "provider",
596
596
  initial: () => new Map,
@@ -601,7 +601,7 @@ var layer = Layer.effect(Service72, Effect2.gen(function* () {
601
601
  const current = records.get(id);
602
602
  if (current)
603
603
  return current;
604
- const added = { provider: Info22.empty(id), models: new Map };
604
+ const added = { provider: Info23.empty(id), models: new Map };
605
605
  records.set(id, added);
606
606
  maps.add(added.models);
607
607
  return added;
@@ -682,7 +682,7 @@ var layer = Layer.effect(Service72, Effect2.gen(function* () {
682
682
  const available = Array.from(records.values()).filter((record) => {
683
683
  if (record.provider.activation === "disabled")
684
684
  return false;
685
- const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
685
+ const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
686
686
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
687
687
  return false;
688
688
  if (record.provider.activation === "enabled")
@@ -708,8 +708,8 @@ var layer = Layer.effect(Service72, Effect2.gen(function* () {
708
708
  location: { directory: location.directory, workspaceID: location.workspaceID }
709
709
  });
710
710
  });
711
- yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
712
- return Service72.of({
711
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
712
+ return Service78.of({
713
713
  transform: state.transform,
714
714
  reload: state.reload,
715
715
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -718,7 +718,7 @@ var layer = Layer.effect(Service72, Effect2.gen(function* () {
718
718
  snapshot
719
719
  });
720
720
  }));
721
- var node75 = makeLocationNode({ service: Service72, layer, deps: [node89, node76, node86] });
721
+ var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node86, node83] });
722
722
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
723
723
  const module = yield* Effect2.tryPromise({
724
724
  try: () => {
@@ -740,4 +740,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
740
740
  return module;
741
741
  });
742
742
 
743
- export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info22, Service72, node75, exports_provider3, Event15 };
743
+ export { ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info23, Service78, node82, exports_provider3, Event16, rewrite2, native2, exports_aisdk_native };
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./app-xsjrgk20.js";
4
+ } from "./location-jr4dr2q3.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./app-5x0df2c7.js";
6
+ Service79,
7
+ node83
8
+ } from "./location-y1s3hmc3.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref3,
12
- Service71,
13
- node74
14
- } from "./app-8m9rkatr.js";
12
+ Service76,
13
+ node80
14
+ } from "./location-xhd45jer.js";
15
15
  import {
16
- ID8,
17
- Service58,
18
- node60
19
- } from "./app-7b3xb549.js";
16
+ ID10,
17
+ Service69,
18
+ node72
19
+ } from "./location-gc4x1yks.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./app-np7r7vht.js";
22
+ } from "./location-8shc1k29.js";
23
23
  import {
24
24
  combine2
25
- } from "./app-1kn6jdkn.js";
25
+ } from "./location-1kn6jdkn.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./app-e8tkz5dw.js";
28
+ } from "./location-htyzxrkw.js";
29
29
  import {
30
- Service57,
31
- node59
32
- } from "./app-c1vn5m0x.js";
30
+ Service68,
31
+ node71
32
+ } from "./location-bzr330f0.js";
33
33
  import {
34
34
  merge2
35
- } from "./app-z7hqcxr0.js";
35
+ } from "./location-48zamtyb.js";
36
36
  import {
37
- make15
38
- } from "./app-pp3hsmtd.js";
37
+ make14
38
+ } from "./location-mcdj7ymd.js";
39
39
  import {
40
- Service70,
41
- node73
42
- } from "./app-2zsvneh4.js";
40
+ Service41,
41
+ node43
42
+ } from "./location-hxpa900c.js";
43
43
  import {
44
- Service26,
45
- node29
46
- } from "./app-bkbcgtea.js";
44
+ Service23,
45
+ node25
46
+ } from "./location-c6hmmbmz.js";
47
47
  import {
48
- Service62,
49
- node64
50
- } from "./app-a23dk102.js";
48
+ Service33,
49
+ node36
50
+ } from "./location-a7q3851y.js";
51
51
  import {
52
- Service31,
53
- node34
54
- } from "./app-t4shvcfr.js";
52
+ Service28,
53
+ node31
54
+ } from "./location-787pbn49.js";
55
55
  import {
56
- Service30,
57
- node33
58
- } from "./app-akkk1sdk.js";
56
+ Service20,
57
+ node22
58
+ } from "./location-gvtm772t.js";
59
59
  import {
60
- Service29,
61
- node32
62
- } from "./app-tcwjgpz8.js";
60
+ Service21,
61
+ node23
62
+ } from "./location-rxb1aw4a.js";
63
63
  import {
64
- Service34,
65
- node37
66
- } from "./app-0de7abqf.js";
67
- import {
68
- Service25,
69
- node28
70
- } from "./app-m5ke421k.js";
64
+ Service22,
65
+ node24
66
+ } from "./location-ys2ews8t.js";
71
67
  import {
72
68
  Service27,
73
69
  node30
74
- } from "./app-0pxwvsqb.js";
70
+ } from "./location-c1ssndk2.js";
71
+ import {
72
+ Service24,
73
+ node26
74
+ } from "./location-4rgtafmq.js";
75
75
  import {
76
- Service51,
77
- node53
78
- } from "./app-etdr2v1n.js";
76
+ Service39,
77
+ node41
78
+ } from "./location-f41wwg2r.js";
79
79
  import {
80
80
  __export
81
- } from "./app-9rqn6x4v.js";
81
+ } from "./location-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service22,
86
+ Service: () => Service19,
87
87
  SessionContext: () => exports_context,
88
- node: () => node25
88
+ node: () => node21
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service22 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service19 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service22, Effect.gen(function* () {
95
- const agents = yield* Service58;
96
- const builtins = yield* Service26;
97
- const model = yield* Service71;
94
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
95
+ const agents = yield* Service69;
96
+ const builtins = yield* Service23;
97
+ const model = yield* Service76;
98
98
  const db = (yield* Service86).db;
99
- const discovery = yield* Service70;
100
- const entries = yield* Service25;
101
- const location = yield* Service82;
102
- const mcpInstructions = yield* Service30;
103
- const mcpTools = yield* Service31;
104
- const models = yield* Service51;
105
- const request = yield* Service27;
106
- const referenceInstructions = yield* Service29;
107
- const skillInstructions = yield* Service34;
108
- const store = yield* Service57;
109
- const registry = yield* Service62;
99
+ const discovery = yield* Service41;
100
+ const entries = yield* Service27;
101
+ const location = yield* Service79;
102
+ const mcpInstructions = yield* Service20;
103
+ const mcpTools = yield* Service28;
104
+ const models = yield* Service39;
105
+ const request = yield* Service24;
106
+ const referenceInstructions = yield* Service21;
107
+ const skillInstructions = yield* Service22;
108
+ const store = yield* Service68;
109
+ const registry = yield* Service33;
110
110
  const resolveModel = (session) => models.resolve(session, model.available);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
- const agent = yield* agents.get(ID8.make("title"));
112
+ const agent = yield* agents.get(ID10.make("title"));
113
113
  if (!agent)
114
114
  return;
115
115
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
168
168
  session,
169
169
  agent: { ...agent, info: agent.info },
170
170
  instructions: combine2([
171
- make15(loaded.tools.codeModeCatalog),
171
+ make14(loaded.tools.codeModeCatalog),
172
172
  loaded.mcp,
173
173
  loaded.references,
174
174
  loaded.skills,
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
191
191
  tools: selection.tools
192
192
  };
193
193
  });
194
- return Service22.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service19.of({ select, load, resolveModel, selectTitle, request });
195
195
  }));
196
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
197
197
  var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node25 = makeLocationNode({
203
- service: Service22,
202
+ var node21 = makeLocationNode({
203
+ service: Service19,
204
204
  layer,
205
205
  deps: [
206
- node60,
207
- node74,
206
+ node72,
207
+ node80,
208
208
  node90,
209
- node29,
210
- node73,
211
- node28,
212
- node86,
213
- node33,
214
- node34,
215
- node32,
216
- node53,
209
+ node25,
210
+ node43,
217
211
  node30,
218
- node59,
219
- node37,
220
- node64
212
+ node83,
213
+ node22,
214
+ node31,
215
+ node23,
216
+ node41,
217
+ node26,
218
+ node71,
219
+ node24,
220
+ node36
221
221
  ]
222
222
  });
223
223
 
224
- export { Service22, node25, exports_context };
224
+ export { Service19, node21, exports_context };