@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,30 +1,30 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./app-5x0df2c7.js";
2
+ Service79,
3
+ node83
4
+ } from "./location-y1s3hmc3.js";
5
5
  import {
6
6
  create3
7
- } from "./app-204s3925.js";
7
+ } from "./location-204s3925.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service15,
17
- node: () => node17
16
+ Service: () => Service55,
17
+ node: () => node57
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service15 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service55 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service15, Effect.gen(function* () {
27
- const location = yield* Service82;
26
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
27
+ const location = yield* Service79;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service15.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service55.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node17 = makeLocationNode({
91
- service: Service15,
90
+ var node57 = makeLocationNode({
91
+ service: Service55,
92
92
  layer,
93
- deps: [node86, AppProcess.node]
93
+ deps: [node83, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service15, node17, exports_formatter2 };
96
+ export { Service55, node57, exports_formatter2 };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./app-vkd40qe4.js";
4
+ } from "./location-hm02wpk1.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./app-bstexjd6.js";
11
+ } from "./location-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./app-z5v4ffb3.js";
14
+ } from "./location-z5v4ffb3.js";
15
15
  import {
16
- Service67,
17
- node70
18
- } from "./app-27hfenyq.js";
16
+ Service32,
17
+ node35
18
+ } from "./location-6j0v21fn.js";
19
19
  import {
20
20
  changes2,
21
21
  create3
22
- } from "./app-204s3925.js";
22
+ } from "./location-204s3925.js";
23
23
  import {
24
24
  __export
25
- } from "./app-9rqn6x4v.js";
25
+ } from "./location-9rqn6x4v.js";
26
26
 
27
27
  // src/reference.ts
28
28
  var exports_reference2 = {};
29
29
  __export(exports_reference2, {
30
- Event: () => Event6,
30
+ Event: () => Event3,
31
31
  GitSource: () => GitSource2,
32
- Info: () => Info9,
32
+ Info: () => Info6,
33
33
  LocalSource: () => LocalSource2,
34
34
  Reference: () => exports_reference2,
35
- Service: () => Service37,
36
- Source: () => Source4,
37
- node: () => node40
35
+ Service: () => Service31,
36
+ Source: () => Source3,
37
+ node: () => node34
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Context, Effect, Layer, Scope } from "effect";
41
41
  import { Reference } from "@opencode/schema/reference";
42
42
  import { Global } from "@opencode/util/global";
43
- import { Event as Event6 } from "@opencode/schema/reference";
43
+ import { Event as Event3 } from "@opencode/schema/reference";
44
44
  var LocalSource2 = Reference.LocalSource;
45
45
  var GitSource2 = Reference.GitSource;
46
- var Source4 = Reference.Source;
47
- var Info9 = Reference.Info;
46
+ var Source3 = Reference.Source;
47
+ var Info6 = Reference.Info;
48
48
 
49
- class Service37 extends Context.Service()("@opencode/Reference") {
49
+ class Service31 extends Context.Service()("@opencode/Reference") {
50
50
  }
51
- var layer = Layer.effect(Service37, Effect.gen(function* () {
51
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
52
52
  const global = yield* Global.Service;
53
53
  const bus = yield* Service85;
54
- const cache = yield* Service67;
54
+ const cache = yield* Service32;
55
55
  const scope = yield* Scope.Scope;
56
56
  const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
57
57
  const info = {
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
61
61
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
62
62
  };
63
63
  if (source.type === "local")
64
- return [Info9.make({ ...info, path: source.path })];
64
+ return [Info6.make({ ...info, path: source.path })];
65
65
  const repository = parse4(source.repository);
66
66
  if (!repository || !isRemote2(repository))
67
67
  return [];
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
73
73
  }
74
74
  }
75
75
  return [
76
- Info9.make({
76
+ Info6.make({
77
77
  ...info,
78
78
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
79
79
  })
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
105
105
  }))
106
106
  });
107
107
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
108
- return Service37.of({
108
+ return Service31.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  list: Effect.fn("Reference.list")(function* () {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
113
113
  })
114
114
  });
115
115
  }));
116
- var node40 = makeLocationNode({
117
- service: Service37,
116
+ var node34 = makeLocationNode({
117
+ service: Service31,
118
118
  layer,
119
- deps: [Global.node, node89, node70]
119
+ deps: [Global.node, node89, node35]
120
120
  });
121
121
 
122
- export { LocalSource2, GitSource2, Source4, Info9, Service37, node40, exports_reference2, Event6 };
122
+ export { LocalSource2, GitSource2, Source3, Info6, Service31, node34, exports_reference2, Event3 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./app-svcy3p9a.js";
3
+ } from "./location-svcy3p9a.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./app-jtnps1zs.js";
6
+ } from "./location-jtnps1zs.js";
7
7
  import {
8
8
  Service86,
9
9
  node90
10
- } from "./app-xsjrgk20.js";
10
+ } from "./location-jr4dr2q3.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./app-8jztxfpf.js";
13
+ } from "./location-11hfp36g.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node85
18
- } from "./app-xaz3vqte.js";
17
+ node66
18
+ } from "./location-egqjccw6.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./app-faypxj3z.js";
21
+ } from "./location-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./app-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID16,
31
- Info: () => Info27,
30
+ ID: () => ID7,
31
+ Info: () => Info13,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service81,
33
+ Service: () => Service63,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured11,
36
- node: () => node84
35
+ configured: () => configured7,
36
+ node: () => node65
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID16 = Workspace.ID;
44
+ var ID7 = Workspace.ID;
45
45
 
46
- class Info27 extends Schema.Class("Workspace.Info")({
47
- id: ID16,
46
+ class Info13 extends Schema.Class("Workspace.Info")({
47
+ id: ID7,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info27 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID16,
59
+ workspaceID: ID7,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service81 extends Context.Service()("@opencode/Workspace") {
65
+ class Service63 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured11 = (options = {}) => makeGlobalNode({
68
- service: Service81,
67
+ var configured7 = (options = {}) => makeGlobalNode({
68
+ service: Service63,
69
69
  layer: layer(options),
70
- deps: [node90, node85]
70
+ deps: [node90, node66]
71
71
  });
72
- var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
73
73
  const db = (yield* Service86).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info27({
89
+ const info = (row, binding) => new Info13({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service81.of({
167
+ return Service63.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID16.create();
169
+ const workspaceID = input.id ?? ID7.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node84 = configured11();
245
+ var node65 = configured7();
246
246
 
247
- export { ID16, Info27, NotFound2, CreateConflict2, Service81, configured11, node84, exports_workspace };
247
+ export { ID7, Info13, NotFound2, CreateConflict2, Service63, configured7, node65, exports_workspace };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  Service85
3
- } from "./app-vkd40qe4.js";
3
+ } from "./location-hm02wpk1.js";
4
4
  import {
5
- Service69
6
- } from "./app-ez2q85hn.js";
5
+ Service77
6
+ } from "./location-npw72hw3.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  changes2,
12
12
  inherit2
13
- } from "./app-204s3925.js";
13
+ } from "./location-204s3925.js";
14
14
  import {
15
- Service23,
15
+ Service18,
16
16
  awaitActivation2
17
- } from "./app-n3r3rt18.js";
17
+ } from "./location-xgsg3c9w.js";
18
18
  import {
19
- make12,
19
+ make11,
20
20
  requirements3,
21
21
  storage2
22
- } from "./app-k32rv71p.js";
22
+ } from "./location-nrptqq6h.js";
23
23
  import {
24
24
  __export
25
- } from "./app-9rqn6x4v.js";
25
+ } from "./location-9rqn6x4v.js";
26
26
 
27
27
  // src/plugin.ts
28
28
  var exports_plugin2 = {};
29
29
  __export(exports_plugin2, {
30
- Event: () => Event3,
30
+ Event: () => Event2,
31
31
  GuiBundle: () => GuiBundle2,
32
32
  ID: () => ID2,
33
33
  Info: () => Info4,
34
34
  Plugin: () => exports_plugin2,
35
- Service: () => Service23,
35
+ Service: () => Service18,
36
36
  Source: () => Source2,
37
37
  State: () => State2,
38
38
  awaitActivation: () => awaitActivation2,
39
- node: () => node20
39
+ node: () => node17
40
40
  });
41
- import { Event as Event3, GuiBundle as GuiBundle2, ID as ID2, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
41
+ import { Event as Event2, GuiBundle as GuiBundle2, ID as ID2, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
42
42
  import { readFile } from "node:fs/promises";
43
43
  import { fileURLToPath } from "node:url";
44
44
  import { Plugin } from "@opencode/schema/plugin";
45
45
  import { Node } from "@opencode/util/effect/app-node";
46
46
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
47
- var layer = Layer.effect(Service23, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
48
48
  const bus = yield* Service85;
49
- const kv = yield* Service69;
49
+ const kv = yield* Service77;
50
50
  const scope = yield* Scope.make();
51
51
  const active = new Map;
52
52
  const lock = Semaphore.makeUnsafe(1);
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
79
79
  const code = yield* Effect.promise(() => readFile(fileURLToPath(gui.file), "utf8"));
80
80
  return { code, revision: gui.revision, options: gui.options };
81
81
  });
82
- const host = yield* make12({ list });
82
+ const host = yield* make11({ list });
83
83
  const load = Effect.fnUntraced(function* (plugin) {
84
84
  const activation = { plugin, scope: yield* Scope.fork(scope) };
85
85
  const inherit = yield* inherit2();
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
214
214
  yield* shutdown2(Scope.close(scope, exit));
215
215
  }));
216
216
  yield* Effect.addFinalizer(close);
217
- return Service23.of({
217
+ return Service18.of({
218
218
  activate,
219
219
  close,
220
220
  awaitActivation: ready.await,
@@ -232,10 +232,10 @@ function slotInfo(slot) {
232
232
  features: slot.plugin.features ?? { server: true }
233
233
  };
234
234
  }
235
- var node20 = Node.makeLocationNode({
236
- service: Service23,
235
+ var node17 = Node.makeLocationNode({
236
+ service: Service18,
237
237
  layer,
238
238
  deps: [requirements3]
239
239
  });
240
240
 
241
- export { node20, exports_plugin2, Event3, GuiBundle2, ID2, Info4, Source2, State2 };
241
+ export { node17, exports_plugin2, Event2, GuiBundle2, ID2, Info4, Source2, State2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./app-204s3925.js";
3
+ } from "./location-204s3925.js";
4
4
  import {
5
5
  which2
6
- } from "./app-qaymkmh1.js";
6
+ } from "./location-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./app-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
14
  Options: () => Options5,
15
- Service: () => Service46,
15
+ Service: () => Service59,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured5,
18
+ configured: () => configured6,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name16,
24
- node: () => node49,
24
+ node: () => node61,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve2
27
27
  });
@@ -47,7 +47,7 @@ var Options5 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service46 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service59 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service46.of({
202
+ return Service59.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured5(options) {
210
- return makeLocationNode({ service: Service46, layer: layer(options), deps: [Global.node] });
209
+ function configured6(options) {
210
+ return makeLocationNode({ service: Service59, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node49 = configured5();
212
+ var node61 = configured6();
213
213
 
214
- export { Options5, Service46, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list3, configured5, node49, exports_select };
214
+ export { Options5, Service59, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list4, configured6, node61, exports_select };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./app-4pyp9zr9.js";
3
+ } from "./location-4pyp9zr9.js";
4
4
  import {
5
- Service55
6
- } from "./app-z7hqcxr0.js";
5
+ Service66
6
+ } from "./location-48zamtyb.js";
7
7
  import {
8
8
  MAX_MARKDOWN_BYTES2,
9
9
  convertHTMLToMarkdown2
10
- } from "./app-4vcrnpx2.js";
10
+ } from "./location-4vcrnpx2.js";
11
11
  import {
12
12
  collectBoundedResponseBody2
13
- } from "./app-3v8g72cx.js";
13
+ } from "./location-3v8g72cx.js";
14
14
  import {
15
15
  __export
16
- } from "./app-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/tool/plugin/webfetch.ts
19
19
  var exports_webfetch = {};
20
20
  __export(exports_webfetch, {
21
21
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
22
- Input: () => Input2,
22
+ Input: () => Input9,
23
23
  MAX_REDIRECTS: () => MAX_REDIRECTS2,
24
24
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
25
25
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
26
- Plugin: () => Plugin18,
26
+ Plugin: () => Plugin46,
27
27
  WebFetchTool: () => exports_webfetch,
28
28
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
29
- description: () => description2,
29
+ description: () => description3,
30
30
  extractTextFromHTML: () => extractTextFromHTML2,
31
- name: () => name2
31
+ name: () => name9
32
32
  });
33
33
  import { ToolFailure } from "@opencode/ai/effect";
34
34
  import { Duration, Effect, Schema } from "effect";
35
35
  import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { Parser } from "htmlparser2";
37
- var name2 = "webfetch";
37
+ var name9 = "webfetch";
38
38
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
39
39
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
40
40
  var MAX_TIMEOUT_SECONDS2 = 120;
41
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
41
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
42
42
 
43
43
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
44
44
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
45
- var Input2 = Schema.Struct({
45
+ var Input9 = Schema.Struct({
46
46
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
47
47
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
48
48
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -52,7 +52,7 @@ var Input2 = Schema.Struct({
52
52
  var Output = Schema.Struct({
53
53
  url: Schema.String,
54
54
  contentType: Schema.String,
55
- format: Input2.fields.format,
55
+ format: Input9.fields.format,
56
56
  output: Schema.String
57
57
  });
58
58
  var acceptHeader = (format) => {
@@ -115,16 +115,16 @@ var convert = (content, contentType, format) => {
115
115
  return extractTextFromHTML2(content);
116
116
  return content;
117
117
  };
118
- var Plugin18 = {
118
+ var Plugin46 = {
119
119
  id: "opencode.tool.webfetch",
120
120
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
121
121
  const http = yield* HttpClient.HttpClient;
122
- const permission = yield* Service55;
122
+ const permission = yield* Service66;
123
123
  yield* ctx.tool.transform((editor) => editor.add({
124
- name: name2,
124
+ name: name9,
125
125
  options: { codemode: false },
126
- description: description2,
127
- input: Input2,
126
+ description: description3,
127
+ input: Input9,
128
128
  output: Output,
129
129
  execute: (input, context) => Effect.gen(function* () {
130
130
  yield* Effect.try({
@@ -132,7 +132,7 @@ var Plugin18 = {
132
132
  catch: (error) => error
133
133
  });
134
134
  yield* permission.assert({
135
- action: name2,
135
+ action: name9,
136
136
  resources: [input.url],
137
137
  save: ["*"],
138
138
  metadata: input,
@@ -142,7 +142,7 @@ var Plugin18 = {
142
142
  });
143
143
  const { body, contentType } = yield* Effect.gen(function* () {
144
144
  const check = (url) => permission.assertNotDenied({
145
- action: name2,
145
+ action: name9,
146
146
  resources: [url],
147
147
  metadata: { ...input, url },
148
148
  sessionID: context.sessionID,
@@ -198,4 +198,4 @@ function extractTextFromHTML2(html) {
198
198
  parser.end();
199
199
  return text.trim();
200
200
  }
201
- export { name2, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, MAX_REDIRECTS2, Plugin18, extractTextFromHTML2, exports_webfetch };
201
+ export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input9, MAX_REDIRECTS2, Plugin46, extractTextFromHTML2, exports_webfetch };