@opencode/core 2.1.0 → 2.1.2

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 (804) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{shell-6eey2wfv.js → repository-cache-068g2d37.js} +34 -34
  8. package/dist/chunks/{shell-wjjv5c56.js → repository-cache-07rqgew6.js} +9 -9
  9. package/dist/chunks/{shell-vk2t4k53.js → repository-cache-09390rf8.js} +14 -14
  10. package/dist/chunks/{shell-zjtrsxny.js → repository-cache-0cg871e2.js} +5 -5
  11. package/dist/chunks/{shell-8bee7htz.js → repository-cache-0cwe34aq.js} +24 -24
  12. package/dist/chunks/{shell-tx0gtb9m.js → repository-cache-0javqkgf.js} +9 -9
  13. package/dist/chunks/{shell-y0st3mmr.js → repository-cache-0nz7j1v1.js} +2 -2
  14. package/dist/chunks/{shell-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{shell-4b0g6gv7.js → repository-cache-136rxf1v.js} +19 -19
  16. package/dist/chunks/{shell-r5ndtmnm.js → repository-cache-14z3krkx.js} +1 -1
  17. package/dist/chunks/{shell-nb27xjmq.js → repository-cache-1bsm6gb2.js} +18 -18
  18. package/dist/chunks/{shell-3zqqw7j0.js → repository-cache-1g044nmy.js} +8 -8
  19. package/dist/chunks/{shell-5xghjtfa.js → repository-cache-1hyfwtsr.js} +32 -32
  20. package/dist/chunks/{shell-9vyc8vj1.js → repository-cache-1rf4yw31.js} +4 -4
  21. package/dist/chunks/{shell-dajdhw2j.js → repository-cache-1rj8m5vq.js} +7 -7
  22. package/dist/chunks/{shell-awefsnnk.js → repository-cache-1sj4xbsw.js} +4 -4
  23. package/dist/chunks/{shell-gmbs0yfc.js → repository-cache-1ycwwje8.js} +44 -44
  24. package/dist/chunks/{shell-jgp4qpwz.js → repository-cache-2296e4cw.js} +18 -18
  25. package/dist/chunks/{shell-kg4680zm.js → repository-cache-23fc6a7j.js} +13 -13
  26. package/dist/chunks/{shell-w921m42b.js → repository-cache-24ra19qx.js} +24 -24
  27. package/dist/chunks/{shell-hdgwvq1e.js → repository-cache-25m6jntb.js} +32 -32
  28. package/dist/chunks/{shell-fqtvmpfq.js → repository-cache-2eegacq4.js} +8 -8
  29. package/dist/chunks/{shell-envzrdm3.js → repository-cache-2ntc19nv.js} +42 -42
  30. package/dist/chunks/{shell-gt7zzye3.js → repository-cache-2r3bm1pf.js} +19 -19
  31. package/dist/chunks/{shell-fww2ha2b.js → repository-cache-3g642jy4.js} +10 -10
  32. package/dist/chunks/{shell-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{shell-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{shell-xv32mmfd.js → repository-cache-3ske6nsv.js} +21 -21
  35. package/dist/chunks/{shell-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{shell-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{shell-jaqs594m.js → repository-cache-3wvrfr7w.js} +20 -20
  38. package/dist/chunks/{shell-ey7dv0w4.js → repository-cache-3wxjf8vr.js} +9 -9
  39. package/dist/chunks/{shell-kfmczrqx.js → repository-cache-3xcrjpsd.js} +14 -14
  40. package/dist/chunks/{shell-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{shell-2ndqr24s.js → repository-cache-41bqvch9.js} +23 -23
  42. package/dist/chunks/{shell-xg9m98z8.js → repository-cache-4evmdpem.js} +34 -34
  43. package/dist/chunks/{shell-ccbzs5ke.js → repository-cache-4m3ygwz0.js} +11 -11
  44. package/dist/chunks/{shell-ehbg6y37.js → repository-cache-4nxvs59q.js} +36 -36
  45. package/dist/chunks/{shell-6yz0wx8n.js → repository-cache-4xpgt2w9.js} +5 -5
  46. package/dist/chunks/{shell-zk3946p4.js → repository-cache-4xtxvh3c.js} +11 -11
  47. package/dist/chunks/{shell-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
  48. package/dist/chunks/{shell-dcspakzd.js → repository-cache-58a6xtee.js} +52 -52
  49. package/dist/chunks/{shell-cwa6csj7.js → repository-cache-5d607bsg.js} +9 -9
  50. package/dist/chunks/{shell-g6bqk7eb.js → repository-cache-5f1cq77a.js} +11 -11
  51. package/dist/chunks/{shell-f5852yed.js → repository-cache-5j9zz1y4.js} +5 -5
  52. package/dist/chunks/{shell-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{shell-vm9wfeep.js → repository-cache-5mnspefx.js} +33 -33
  54. package/dist/chunks/{shell-a36y64am.js → repository-cache-5xn7qbr2.js} +18 -16
  55. package/dist/chunks/{shell-fmax1t4t.js → repository-cache-5xte2yyn.js} +21 -21
  56. package/dist/chunks/{shell-4nejsby7.js → repository-cache-60xtzwnm.js} +20 -20
  57. package/dist/chunks/{shell-2fxx0rz9.js → repository-cache-63jfzrme.js} +16 -16
  58. package/dist/chunks/{shell-6827pfxn.js → repository-cache-6827pfxn.js} +1 -1
  59. package/dist/chunks/{shell-0ztvstyz.js → repository-cache-6b2stqvb.js} +7 -7
  60. package/dist/chunks/{shell-tpw6cwsb.js → repository-cache-6f890ccd.js} +8 -8
  61. package/dist/chunks/{shell-c7fvvtsq.js → repository-cache-6khagj97.js} +21 -21
  62. package/dist/chunks/{shell-wx13yw6b.js → repository-cache-6nhfh867.js} +11 -11
  63. package/dist/chunks/{shell-8sze2n9a.js → repository-cache-6pc27hjz.js} +2 -2
  64. package/dist/chunks/{shell-ztk94t9n.js → repository-cache-6qprtkrf.js} +19 -19
  65. package/dist/chunks/{shell-70y17xeh.js → repository-cache-6vq97qmv.js} +5 -5
  66. package/dist/chunks/{shell-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{shell-wqfheh0m.js → repository-cache-6yftxg5c.js} +20 -20
  68. package/dist/chunks/{shell-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
  69. package/dist/chunks/{shell-ypxp1xp8.js → repository-cache-78c4e6ad.js} +19 -19
  70. package/dist/chunks/{shell-6rx6hnnq.js → repository-cache-7b2pfqtj.js} +5 -5
  71. package/dist/chunks/{shell-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{shell-8dfnjpdr.js → repository-cache-84cpmds6.js} +24 -24
  73. package/dist/chunks/{shell-84txncab.js → repository-cache-84txncab.js} +1 -1
  74. package/dist/chunks/{shell-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
  75. package/dist/chunks/{shell-8mywswrd.js → repository-cache-8mywswrd.js} +1 -1
  76. package/dist/chunks/{shell-bj7p7j85.js → repository-cache-8pvf9cdd.js} +17 -17
  77. package/dist/chunks/{shell-ahe504bx.js → repository-cache-8s3pces3.js} +16 -16
  78. package/dist/chunks/{shell-4d10bng8.js → repository-cache-8s4xtewj.js} +15 -15
  79. package/dist/chunks/{shell-ae0va0j1.js → repository-cache-8w6fvyhj.js} +5 -5
  80. package/dist/chunks/{shell-2qhkdr5r.js → repository-cache-8wmb0r1y.js} +6 -6
  81. package/dist/chunks/{shell-fypxcyz2.js → repository-cache-8xnvw0w1.js} +10 -10
  82. package/dist/chunks/{shell-9w64rzck.js → repository-cache-95hwhe14.js} +7 -7
  83. package/dist/chunks/{shell-03p3wnad.js → repository-cache-95t8ye7z.js} +46 -46
  84. package/dist/chunks/{shell-jp35yjqz.js → repository-cache-96dnwma2.js} +30 -30
  85. package/dist/chunks/{shell-9bh5q6pj.js → repository-cache-9bh5q6pj.js} +2 -2
  86. package/dist/chunks/{shell-sjtzq83v.js → repository-cache-9da6j7qw.js} +13 -13
  87. package/dist/chunks/{shell-8471hwdy.js → repository-cache-9f77xx3w.js} +12 -12
  88. package/dist/chunks/{shell-b674v2dg.js → repository-cache-9hwaqfsw.js} +5 -5
  89. package/dist/chunks/{shell-e3s3zy1r.js → repository-cache-9j0x65xk.js} +10 -10
  90. package/dist/chunks/{shell-tqr4vm00.js → repository-cache-9sr4q53q.js} +11 -11
  91. package/dist/chunks/{shell-7v6vae4w.js → repository-cache-a20pjse5.js} +3 -3
  92. package/dist/chunks/{shell-wmxpb99x.js → repository-cache-a9vzac7j.js} +6 -6
  93. package/dist/chunks/{shell-vywzj4qb.js → repository-cache-acd8cc5y.js} +15 -15
  94. package/dist/chunks/{shell-3y377wv9.js → repository-cache-addxnjmp.js} +4 -4
  95. package/dist/chunks/{shell-af8g5zb6.js → repository-cache-am5vmnvv.js} +18 -18
  96. package/dist/chunks/{shell-yzkfk5qj.js → repository-cache-amsnh37f.js} +9 -9
  97. package/dist/chunks/{shell-41gge36f.js → repository-cache-apagrtrt.js} +20 -20
  98. package/dist/chunks/{shell-kgcb372b.js → repository-cache-atj1s5r2.js} +16 -14
  99. package/dist/chunks/{shell-1ncsq4gc.js → repository-cache-aws4c0c0.js} +45 -45
  100. package/dist/chunks/{shell-04s17g1v.js → repository-cache-b0b3nmkz.js} +50 -50
  101. package/dist/chunks/{shell-baqyxak2.js → repository-cache-baqyxak2.js} +4 -4
  102. package/dist/chunks/{shell-v6abvp0h.js → repository-cache-be5vje8s.js} +15 -7
  103. package/dist/chunks/{shell-1pd15nec.js → repository-cache-befx3zey.js} +4 -4
  104. package/dist/chunks/{shell-0kt21gsk.js → repository-cache-begyvfqb.js} +19 -19
  105. package/dist/chunks/{shell-ajpgmfw4.js → repository-cache-bf876wkh.js} +17 -17
  106. package/dist/chunks/{shell-vdwzhxqd.js → repository-cache-bkafj4ay.js} +7 -7
  107. package/dist/chunks/{shell-x3p3s57s.js → repository-cache-bnqg0hxn.js} +3 -3
  108. package/dist/chunks/{shell-79zqvytx.js → repository-cache-br622wkd.js} +64 -64
  109. package/dist/chunks/{shell-hvp5ag27.js → repository-cache-btpxpz9q.js} +6 -6
  110. package/dist/chunks/{shell-a98yv52t.js → repository-cache-bzcwmnv3.js} +13 -13
  111. package/dist/chunks/{shell-1ep4rre3.js → repository-cache-bzeyqsqd.js} +4 -4
  112. package/dist/chunks/{shell-0ytk1mmd.js → repository-cache-c02r2nwt.js} +11 -11
  113. package/dist/chunks/{shell-c1fqxshp.js → repository-cache-c1fqxshp.js} +3 -3
  114. package/dist/chunks/{shell-wfztk8xg.js → repository-cache-cbfm0wb6.js} +8 -8
  115. package/dist/chunks/{shell-6f33sypz.js → repository-cache-cd8v38ms.js} +83 -83
  116. package/dist/chunks/{shell-603vct5e.js → repository-cache-cg5q9ras.js} +32 -32
  117. package/dist/chunks/{shell-3ys3ran9.js → repository-cache-cmkn1bh9.js} +19 -19
  118. package/dist/chunks/{shell-6559rxr6.js → repository-cache-ctxez2a7.js} +6 -6
  119. package/dist/chunks/{shell-ypg4226y.js → repository-cache-cz1210nh.js} +20 -15
  120. package/dist/chunks/{shell-f2mw6jyj.js → repository-cache-d04ep358.js} +11 -11
  121. package/dist/chunks/{shell-0dwthkwv.js → repository-cache-d72a72b9.js} +14 -14
  122. package/dist/chunks/{shell-jtjk5p9j.js → repository-cache-dcdf7gkr.js} +19 -19
  123. package/dist/chunks/{shell-qv079c4h.js → repository-cache-dh0nadn9.js} +37 -37
  124. package/dist/chunks/{shell-y71avatq.js → repository-cache-dpkg50ah.js} +4 -4
  125. package/dist/chunks/{shell-0rsgqgrk.js → repository-cache-dqr3pwk6.js} +15 -15
  126. package/dist/chunks/{shell-xfkkasph.js → repository-cache-drwq78ky.js} +4 -4
  127. package/dist/chunks/{shell-5tt655ph.js → repository-cache-dsx0mmc6.js} +28 -28
  128. package/dist/chunks/repository-cache-e5ybad6w.js +257 -0
  129. package/dist/chunks/{shell-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{shell-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{shell-xayeaa42.js → repository-cache-eg5kq0wk.js} +11 -11
  132. package/dist/chunks/{shell-5b64kxs9.js → repository-cache-ek8edefh.js} +1 -1
  133. package/dist/chunks/{shell-hzdxw2qq.js → repository-cache-ethnw1sn.js} +13 -13
  134. package/dist/chunks/{shell-41wjcvt0.js → repository-cache-ettmqyzq.js} +5 -5
  135. package/dist/chunks/{shell-387dpq4s.js → repository-cache-ey9nrxd1.js} +20 -20
  136. package/dist/chunks/{shell-fvgqktbw.js → repository-cache-ez5pkgh4.js} +25 -25
  137. package/dist/chunks/{shell-5v1f1gfq.js → repository-cache-ezx2brb0.js} +18 -18
  138. package/dist/chunks/{shell-kcz1zv3y.js → repository-cache-f31q5wm1.js} +14 -14
  139. package/dist/chunks/{shell-37kervd6.js → repository-cache-f8yphcvr.js} +17 -17
  140. package/dist/chunks/{shell-fcy631f0.js → repository-cache-fcy631f0.js} +1 -1
  141. package/dist/chunks/{shell-rxxx7r4k.js → repository-cache-fpen5yq5.js} +21 -21
  142. package/dist/chunks/{shell-fxaymqdw.js → repository-cache-fxaymqdw.js} +1 -1
  143. package/dist/chunks/{shell-wyepen03.js → repository-cache-g2qvt889.js} +13 -13
  144. package/dist/chunks/{shell-maneqgxr.js → repository-cache-g5ngm8f4.js} +25 -25
  145. package/dist/chunks/{shell-rnfredjj.js → repository-cache-g90zrjvy.js} +19 -19
  146. package/dist/chunks/{shell-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{shell-kcrn19zp.js → repository-cache-gen6sgf1.js} +19 -19
  148. package/dist/chunks/{shell-9jvjhjkm.js → repository-cache-gm3f9v0x.js} +8 -8
  149. package/dist/chunks/{shell-adehtbxa.js → repository-cache-gng93yft.js} +3 -3
  150. package/dist/chunks/{shell-x95qaydz.js → repository-cache-gtdxectv.js} +23 -23
  151. package/dist/chunks/{shell-1cbagaqy.js → repository-cache-gxdr2vwe.js} +8 -8
  152. package/dist/chunks/{shell-k0ev5b6x.js → repository-cache-gye9bare.js} +5 -5
  153. package/dist/chunks/{shell-kxnmaf3s.js → repository-cache-h1g26er5.js} +20 -20
  154. package/dist/chunks/{shell-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{shell-432psgyy.js → repository-cache-hbvyahhm.js} +17 -17
  156. package/dist/chunks/{shell-89e5dy4j.js → repository-cache-hehc42eq.js} +9 -9
  157. package/dist/chunks/{shell-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{shell-htx26fav.js → repository-cache-hm1sg1ry.js} +39 -39
  159. package/dist/chunks/{shell-3atk1qyf.js → repository-cache-hnvjv21h.js} +38 -31
  160. package/dist/chunks/{shell-e738kmdw.js → repository-cache-hpfdwx7h.js} +6 -6
  161. package/dist/chunks/{shell-51ajtkpf.js → repository-cache-hspen3n6.js} +25 -25
  162. package/dist/chunks/{shell-depwzj9d.js → repository-cache-hwjyn0yt.js} +9 -9
  163. package/dist/chunks/{shell-y8cyz0t7.js → repository-cache-j2xqfvk3.js} +9 -9
  164. package/dist/chunks/{shell-jmxxwznn.js → repository-cache-jcwtgcwh.js} +4 -4
  165. package/dist/chunks/{shell-0x7kry74.js → repository-cache-k07nhkpw.js} +38 -38
  166. package/dist/chunks/{shell-n2qdned2.js → repository-cache-k1php5wk.js} +26 -26
  167. package/dist/chunks/{shell-16fye9k3.js → repository-cache-k20z56w2.js} +43 -43
  168. package/dist/chunks/{shell-0jkbja5p.js → repository-cache-k2vh0b3r.js} +27 -27
  169. package/dist/chunks/{shell-f6aytc7n.js → repository-cache-k4q5zqd4.js} +10 -10
  170. package/dist/chunks/{shell-k7myrtme.js → repository-cache-k7myrtme.js} +2 -2
  171. package/dist/chunks/{shell-pw4zabmd.js → repository-cache-k9tkpxn3.js} +178 -178
  172. package/dist/chunks/{shell-vdaaq34n.js → repository-cache-ka0kb0pp.js} +1 -1
  173. package/dist/chunks/{shell-cf6pg1xw.js → repository-cache-kdz0rk07.js} +5 -5
  174. package/dist/chunks/{shell-rw4jj2rk.js → repository-cache-ke7rr379.js} +28 -28
  175. package/dist/chunks/{shell-h055mtc6.js → repository-cache-kg7htk1j.js} +56 -32
  176. package/dist/chunks/{shell-m0r31qfn.js → repository-cache-kkp8zx71.js} +4 -4
  177. package/dist/chunks/{shell-75w6s6ma.js → repository-cache-kkq0x60e.js} +22 -22
  178. package/dist/chunks/{shell-kbxy4n3g.js → repository-cache-kp3dd9gy.js} +4 -4
  179. package/dist/chunks/{shell-6775gw9z.js → repository-cache-kvk0xsab.js} +8 -8
  180. package/dist/chunks/{shell-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
  181. package/dist/chunks/{shell-6c27xjax.js → repository-cache-m12bw8xw.js} +18 -18
  182. package/dist/chunks/{shell-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{shell-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
  184. package/dist/chunks/{shell-jmb2cr8q.js → repository-cache-mjfbh2zj.js} +12 -12
  185. package/dist/chunks/{shell-g4qztyvf.js → repository-cache-mjxa0fkz.js} +21 -21
  186. package/dist/chunks/{shell-08sd8799.js → repository-cache-mk9tkz9j.js} +1 -1
  187. package/dist/chunks/{shell-srmwk7dt.js → repository-cache-mkqa88c4.js} +5 -5
  188. package/dist/chunks/{shell-8rnv749x.js → repository-cache-mq56jt1j.js} +22 -22
  189. package/dist/chunks/{shell-mqqhst8y.js → repository-cache-mqqhst8y.js} +1 -1
  190. package/dist/chunks/{shell-j9abz2tj.js → repository-cache-mr0cv7ny.js} +13 -13
  191. package/dist/chunks/{shell-h896pcm5.js → repository-cache-mx9vqzsb.js} +6 -6
  192. package/dist/chunks/{shell-kzy2940e.js → repository-cache-n196avmr.js} +34 -34
  193. package/dist/chunks/{shell-mwpm31k7.js → repository-cache-n99h6tw9.js} +33 -33
  194. package/dist/chunks/{shell-v715hp7c.js → repository-cache-nsxxvcpe.js} +13 -13
  195. package/dist/chunks/{shell-nz56sr1f.js → repository-cache-nz56sr1f.js} +2 -2
  196. package/dist/chunks/{shell-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{shell-9vbreq9z.js → repository-cache-pk0dmpdf.js} +11 -11
  198. package/dist/chunks/{shell-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  199. package/dist/chunks/{shell-j148atrz.js → repository-cache-psj2x98s.js} +5 -5
  200. package/dist/chunks/{shell-2g93jbb8.js → repository-cache-pzc1z4et.js} +43 -43
  201. package/dist/chunks/{shell-mhpexy54.js → repository-cache-qd284e96.js} +13 -13
  202. package/dist/chunks/{shell-pnzpyq4k.js → repository-cache-qd9a1hat.js} +84 -84
  203. package/dist/chunks/{shell-2k8khapm.js → repository-cache-qgn6gcr1.js} +5 -5
  204. package/dist/chunks/{shell-c1bdvjkd.js → repository-cache-qm621tfa.js} +30 -30
  205. package/dist/chunks/{shell-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{shell-eeggec7k.js → repository-cache-qrtd1qkj.js} +11 -11
  207. package/dist/chunks/{shell-5jjsdkbk.js → repository-cache-qs0n9k2z.js} +17 -17
  208. package/dist/chunks/{shell-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  209. package/dist/chunks/{shell-9d6xe95g.js → repository-cache-qy7ffa5a.js} +3 -3
  210. package/dist/chunks/{shell-q41jq0qr.js → repository-cache-qz7vxdk7.js} +4 -4
  211. package/dist/chunks/{shell-9jf0f2cs.js → repository-cache-rbyshrxq.js} +7 -7
  212. package/dist/chunks/{shell-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{shell-rert0e01.js → repository-cache-rert0e01.js} +2 -2
  214. package/dist/chunks/{shell-rj3eygr5.js → repository-cache-rj3eygr5.js} +2 -2
  215. package/dist/chunks/{shell-pdf17x7p.js → repository-cache-rjzs5m1z.js} +14 -14
  216. package/dist/chunks/repository-cache-rvyd7pdz.js +517 -0
  217. package/dist/chunks/{shell-1j769d1c.js → repository-cache-rw0rmakh.js} +6 -6
  218. package/dist/chunks/{shell-8z3cvr3k.js → repository-cache-rx1rzkp9.js} +15 -15
  219. package/dist/chunks/{shell-027ww35v.js → repository-cache-s1aqfa5x.js} +42 -42
  220. package/dist/chunks/repository-cache-s2jpy0bd.js +26 -0
  221. package/dist/chunks/{shell-hj7zb2g9.js → repository-cache-s3ertt83.js} +18 -18
  222. package/dist/chunks/{shell-sh0qrkbh.js → repository-cache-s7ggtf3y.js} +16 -16
  223. package/dist/chunks/{shell-s8d7rejh.js → repository-cache-s8d7rejh.js} +1 -1
  224. package/dist/chunks/{shell-sa8ekw3f.js → repository-cache-sa8ekw3f.js} +2 -2
  225. package/dist/chunks/{shell-17drjap0.js → repository-cache-se9m0ate.js} +32 -32
  226. package/dist/chunks/{shell-tb1cafh6.js → repository-cache-sfjrjc0q.js} +4 -4
  227. package/dist/chunks/{shell-ffxxyzcb.js → repository-cache-sfy3bb98.js} +9 -9
  228. package/dist/chunks/{shell-yn5t1h2v.js → repository-cache-sq37fes3.js} +10 -10
  229. package/dist/chunks/{shell-r2z489rp.js → repository-cache-sxcaecc0.js} +3 -3
  230. package/dist/chunks/{shell-syv4x271.js → repository-cache-syv4x271.js} +1 -1
  231. package/dist/chunks/{shell-2sq5abjd.js → repository-cache-t1r0yajc.js} +3 -3
  232. package/dist/chunks/{shell-0x5xc4da.js → repository-cache-t720n0zt.js} +33 -33
  233. package/dist/chunks/{shell-jn0tk1mz.js → repository-cache-t89fqycx.js} +8 -8
  234. package/dist/chunks/{shell-50d2yybn.js → repository-cache-t8z4ntba.js} +28 -28
  235. package/dist/chunks/{shell-xwkencv2.js → repository-cache-t95zrypp.js} +12 -12
  236. package/dist/chunks/{shell-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{shell-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{shell-6srycd3a.js → repository-cache-tcxc2yk9.js} +13 -13
  239. package/dist/chunks/{shell-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  240. package/dist/chunks/{shell-fbxzvvsv.js → repository-cache-tkt1yh5w.js} +11 -11
  241. package/dist/chunks/{shell-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
  242. package/dist/chunks/{shell-tt8gc4fv.js → repository-cache-tt8gc4fv.js} +3 -3
  243. package/dist/chunks/{shell-pg6gmj9m.js → repository-cache-twwrpnjg.js} +14 -14
  244. package/dist/chunks/{shell-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
  245. package/dist/chunks/{shell-phz50fbd.js → repository-cache-v1vh7s4p.js} +9 -9
  246. package/dist/chunks/{shell-6hh8tjw2.js → repository-cache-v5dkyp31.js} +4 -4
  247. package/dist/chunks/{shell-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{shell-p20se939.js → repository-cache-vbj53afp.js} +8 -8
  249. package/dist/chunks/{shell-1acjjqhc.js → repository-cache-vep9yay1.js} +5 -15
  250. package/dist/chunks/{shell-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  251. package/dist/chunks/repository-cache-vnkjks7b.js +18 -0
  252. package/dist/chunks/{shell-hdn28k8z.js → repository-cache-vs7zhs8r.js} +13 -13
  253. package/dist/chunks/{shell-s389npg2.js → repository-cache-vsa820f9.js} +42 -42
  254. package/dist/chunks/{shell-h0bzvw2w.js → repository-cache-vzjp43bk.js} +2 -2
  255. package/dist/chunks/{shell-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{shell-02vamycj.js → repository-cache-w0cy9m9e.js} +8 -8
  257. package/dist/chunks/{shell-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{shell-9zv65pgs.js → repository-cache-w7fj1zb2.js} +17 -17
  259. package/dist/chunks/{shell-v1bmpj3w.js → repository-cache-w94dkyq7.js} +27 -27
  260. package/dist/chunks/{shell-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  261. package/dist/chunks/{shell-wrmbd4ct.js → repository-cache-wrmbd4ct.js} +3 -3
  262. package/dist/chunks/{shell-k51kf5tx.js → repository-cache-wwh9ddtq.js} +6 -6
  263. package/dist/chunks/{shell-0w62qmxp.js → repository-cache-wwkjqs8e.js} +6 -6
  264. package/dist/chunks/{shell-qajney5x.js → repository-cache-x1jjhmsh.js} +14 -14
  265. package/dist/chunks/{shell-asecphd2.js → repository-cache-x41h92ne.js} +15 -15
  266. package/dist/chunks/{shell-xr38e3s7.js → repository-cache-x51ersaw.js} +17 -17
  267. package/dist/chunks/{shell-xkmpyy1n.js → repository-cache-x98xddc7.js} +9 -9
  268. package/dist/chunks/{shell-7wdpyrwx.js → repository-cache-xh38a0x5.js} +5 -5
  269. package/dist/chunks/{shell-6p4g3g3k.js → repository-cache-xhbe8e91.js} +21 -21
  270. package/dist/chunks/{shell-7vj6fy4k.js → repository-cache-xwgk07kc.js} +29 -29
  271. package/dist/chunks/{shell-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{shell-dpkssma6.js → repository-cache-y1yvzwwp.js} +14 -14
  273. package/dist/chunks/{shell-9hm03b9h.js → repository-cache-y642zbcz.js} +13 -13
  274. package/dist/chunks/{shell-zc34mber.js → repository-cache-ys3h2zrn.js} +42 -42
  275. package/dist/chunks/{shell-1ffvrpkg.js → repository-cache-ywt8jp22.js} +6 -6
  276. package/dist/chunks/{shell-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{shell-2exgm5zs.js → repository-cache-z0mn1t4q.js} +45 -45
  278. package/dist/chunks/{shell-z18fegx4.js → repository-cache-z18fegx4.js} +1 -1
  279. package/dist/chunks/{shell-trg827xp.js → repository-cache-z1fx9rk1.js} +4 -4
  280. package/dist/chunks/{shell-6hj3adh9.js → repository-cache-za7dxrd4.js} +15 -15
  281. package/dist/chunks/{shell-jfh8dh4w.js → repository-cache-zj2b8f8d.js} +26 -26
  282. package/dist/chunks/{shell-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{shell-zav06jzw.js → repository-cache-zvt5dnpc.js} +4 -4
  284. package/dist/chunks/{shell-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{shell-qhat5nnc.js → repository-cache-zzv2xjb0.js} +33 -33
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +79 -79
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +3 -3
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +85 -85
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +95 -95
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -72
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +219 -219
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +108 -108
  427. package/dist/form.js +84 -84
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +101 -101
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +2 -2
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +361 -361
  455. package/dist/instruction-discovery.js +82 -82
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +91 -91
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +175 -148
  464. package/dist/location-lifecycle.js +105 -105
  465. package/dist/location-service-map.js +84 -84
  466. package/dist/location-services.js +358 -358
  467. package/dist/location.js +91 -91
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +105 -105
  471. package/dist/mcp/instructions.js +129 -129
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +101 -101
  476. package/dist/model-resolver.js +98 -98
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +102 -102
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +86 -86
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +107 -107
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +86 -86
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +78 -78
  490. package/dist/plugin/command.js +104 -104
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +332 -332
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +123 -123
  525. package/dist/plugin/provider/openai.js +116 -116
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +123 -123
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +74 -74
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +351 -351
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +221 -221
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +92 -92
  561. package/dist/provider.js +103 -103
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +99 -99
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +91 -91
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +99 -99
  571. package/dist/rpc.js +84 -84
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +138 -138
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +215 -215
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +157 -157
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +93 -93
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +91 -91
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/recent-text.js +1 -1
  598. package/dist/session/revert.js +96 -96
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +3 -3
  606. package/dist/session/runner/step.js +128 -128
  607. package/dist/session/runner/to-llm-message.js +14 -14
  608. package/dist/session/schema.js +1 -1
  609. package/dist/session/session.js +164 -164
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +89 -89
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +209 -209
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +208 -208
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +5 -5
  627. package/dist/shell.js +130 -130
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +109 -109
  630. package/dist/skill.js +112 -112
  631. package/dist/snapshot.js +93 -93
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +128 -128
  636. package/dist/tool/plugin/edit.js +122 -122
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -126
  639. package/dist/tool/plugin/grep.js +126 -126
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +124 -124
  643. package/dist/tool/plugin/question.js +105 -105
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +211 -211
  646. package/dist/tool/plugin/skill.js +107 -107
  647. package/dist/tool/plugin/subagent.js +213 -213
  648. package/dist/tool/plugin/todo.js +138 -138
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +116 -116
  651. package/dist/tool/plugin/write.js +118 -118
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +12 -12
  656. package/dist/types/job.d.ts +1 -0
  657. package/dist/types/location-activity.d.ts +2 -1
  658. package/dist/types/session/error.d.ts +1 -0
  659. package/dist/types/session/execution.d.ts +2 -5
  660. package/dist/types/session/history.d.ts +10 -0
  661. package/dist/types/session/run-coordinator.d.ts +2 -5
  662. package/dist/types/session/transfer.d.ts +10 -2
  663. package/dist/types/worktree/git.d.ts +3 -3
  664. package/dist/util/error-summary.js +1 -1
  665. package/dist/util/error.js +1 -1
  666. package/dist/util/git-executable.js +2 -2
  667. package/dist/util/iife.js +1 -1
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +3 -3
  674. package/dist/v1/config/command.js +3 -3
  675. package/dist/v1/config/error.js +2 -2
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +94 -94
  678. package/dist/v1/config/permission.js +1 -1
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/variant.js +95 -95
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/voice.js +88 -88
  686. package/dist/websearch.js +86 -86
  687. package/dist/wellknown/plugin.js +78 -78
  688. package/dist/wellknown.js +83 -83
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +84 -84
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +91 -91
  696. package/dist/worktree.js +98 -98
  697. package/package.json +8 -8
  698. package/dist/chunks/shell-9t7nqqf0.js +0 -26
  699. package/dist/chunks/shell-dxj72tfx.js +0 -18
  700. package/dist/chunks/shell-eyv86r6e.js +0 -257
  701. package/dist/chunks/shell-w2swb6sv.js +0 -517
  702. /package/dist/chunks/{shell-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{shell-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{shell-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{shell-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{shell-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{shell-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{shell-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{shell-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{shell-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
  711. /package/dist/chunks/{shell-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{shell-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{shell-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  714. /package/dist/chunks/{shell-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
  715. /package/dist/chunks/{shell-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{shell-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{shell-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{shell-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{shell-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{shell-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{shell-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  722. /package/dist/chunks/{shell-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{shell-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
  724. /package/dist/chunks/{shell-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  725. /package/dist/chunks/{shell-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
  726. /package/dist/chunks/{shell-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{shell-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{shell-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  729. /package/dist/chunks/{shell-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
  730. /package/dist/chunks/{shell-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{shell-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{shell-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{shell-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{shell-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{shell-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{shell-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{shell-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{shell-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{shell-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{shell-axe3mf62.js → repository-cache-axe3mf62.js} +0 -0
  741. /package/dist/chunks/{shell-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{shell-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{shell-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{shell-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{shell-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{shell-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{shell-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{shell-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{shell-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  750. /package/dist/chunks/{shell-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{shell-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{shell-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{shell-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{shell-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{shell-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{shell-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{shell-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{shell-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{shell-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{shell-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{shell-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  762. /package/dist/chunks/{shell-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{shell-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  764. /package/dist/chunks/{shell-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
  765. /package/dist/chunks/{shell-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  766. /package/dist/chunks/{shell-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{shell-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{shell-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{shell-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{shell-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{shell-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
  772. /package/dist/chunks/{shell-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{shell-m18g726c.js → repository-cache-m18g726c.js} +0 -0
  774. /package/dist/chunks/{shell-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{shell-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{shell-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{shell-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{shell-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{shell-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
  780. /package/dist/chunks/{shell-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
  781. /package/dist/chunks/{shell-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{shell-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{shell-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{shell-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{shell-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{shell-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{shell-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{shell-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{shell-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{shell-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{shell-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
  792. /package/dist/chunks/{shell-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{shell-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{shell-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{shell-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
  796. /package/dist/chunks/{shell-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  797. /package/dist/chunks/{shell-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  798. /package/dist/chunks/{shell-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  799. /package/dist/chunks/{shell-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  800. /package/dist/chunks/{shell-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{shell-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{shell-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{shell-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
  804. /package/dist/chunks/{shell-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./shell-hgz4x7wa.js";
3
+ } from "./repository-cache-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./shell-eej6y6fw.js";
6
+ } from "./repository-cache-eej6y6fw.js";
7
7
  import {
8
8
  Service86,
9
9
  node90
10
- } from "./shell-9d6xe95g.js";
10
+ } from "./repository-cache-qy7ffa5a.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./shell-y71avatq.js";
13
+ } from "./repository-cache-dpkg50ah.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node73
18
- } from "./shell-0w62qmxp.js";
17
+ node56
18
+ } from "./repository-cache-wwkjqs8e.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./shell-faypxj3z.js";
21
+ } from "./repository-cache-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./shell-9rqn6x4v.js";
24
+ } from "./repository-cache-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: () => ID9,
31
- Info: () => Info19,
30
+ ID: () => ID6,
31
+ Info: () => Info10,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service69,
33
+ Service: () => Service53,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured11,
36
- node: () => node72
35
+ configured: () => configured6,
36
+ node: () => node55
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 ID9 = Workspace.ID;
44
+ var ID6 = Workspace.ID;
45
45
 
46
- class Info19 extends Schema.Class("Workspace.Info")({
47
- id: ID9,
46
+ class Info10 extends Schema.Class("Workspace.Info")({
47
+ id: ID6,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info19 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID9 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID9,
59
+ workspaceID: ID6,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service69 extends Context.Service()("@opencode/Workspace") {
65
+ class Service53 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured11 = (options = {}) => makeGlobalNode({
68
- service: Service69,
67
+ var configured6 = (options = {}) => makeGlobalNode({
68
+ service: Service53,
69
69
  layer: layer(options),
70
- deps: [node90, node73]
70
+ deps: [node90, node56]
71
71
  });
72
- var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service53, 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(Service69, 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 Info19({
89
+ const info = (row, binding) => new Info10({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service69, 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 Service69.of({
167
+ return Service53.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID9.create();
169
+ const workspaceID = input.id ?? ID6.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(Service69, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node72 = configured11();
245
+ var node55 = configured6();
246
246
 
247
- export { ID9, Info19, NotFound2, CreateConflict2, Service69, configured11, node72, exports_workspace };
247
+ export { ID6, Info10, NotFound2, CreateConflict2, Service53, configured6, node55, exports_workspace };
@@ -0,0 +1,257 @@
1
+ import {
2
+ node80
3
+ } from "./repository-cache-5xte2yyn.js";
4
+ import {
5
+ node84
6
+ } from "./repository-cache-gtdxectv.js";
7
+ import {
8
+ node83
9
+ } from "./repository-cache-t8z4ntba.js";
10
+ import {
11
+ node85,
12
+ boundNode2
13
+ } from "./repository-cache-8pvf9cdd.js";
14
+ import {
15
+ node82
16
+ } from "./repository-cache-1hyfwtsr.js";
17
+ import {
18
+ node73
19
+ } from "./repository-cache-pk0dmpdf.js";
20
+ import {
21
+ node72
22
+ } from "./repository-cache-hnvjv21h.js";
23
+ import {
24
+ node45
25
+ } from "./repository-cache-g2qvt889.js";
26
+ import {
27
+ configured7,
28
+ node59
29
+ } from "./repository-cache-z0mn1t4q.js";
30
+ import {
31
+ node54
32
+ } from "./repository-cache-24ra19qx.js";
33
+ import {
34
+ node17
35
+ } from "./repository-cache-23fc6a7j.js";
36
+ import {
37
+ node16
38
+ } from "./repository-cache-za7dxrd4.js";
39
+ import {
40
+ node19
41
+ } from "./repository-cache-25m6jntb.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node18
45
+ } from "./repository-cache-4evmdpem.js";
46
+ import {
47
+ node58
48
+ } from "./repository-cache-pzc1z4et.js";
49
+ import {
50
+ node57
51
+ } from "./repository-cache-fpen5yq5.js";
52
+ import {
53
+ node62
54
+ } from "./repository-cache-136rxf1v.js";
55
+ import {
56
+ node44
57
+ } from "./repository-cache-k7myrtme.js";
58
+ import {
59
+ node32
60
+ } from "./repository-cache-1ycwwje8.js";
61
+ import {
62
+ Service45,
63
+ node47
64
+ } from "./repository-cache-mx9vqzsb.js";
65
+ import {
66
+ node35
67
+ } from "./repository-cache-qd284e96.js";
68
+ import {
69
+ node81
70
+ } from "./repository-cache-2eegacq4.js";
71
+ import {
72
+ node77
73
+ } from "./repository-cache-2ntc19nv.js";
74
+ import {
75
+ node49
76
+ } from "./repository-cache-vs7zhs8r.js";
77
+ import {
78
+ configured5,
79
+ node36
80
+ } from "./repository-cache-hbvyahhm.js";
81
+ import {
82
+ node30
83
+ } from "./repository-cache-mr0cv7ny.js";
84
+ import {
85
+ node43
86
+ } from "./repository-cache-dqr3pwk6.js";
87
+ import {
88
+ node29
89
+ } from "./repository-cache-6qprtkrf.js";
90
+ import {
91
+ node41
92
+ } from "./repository-cache-0cwe34aq.js";
93
+ import {
94
+ node27
95
+ } from "./repository-cache-63jfzrme.js";
96
+ import {
97
+ node37
98
+ } from "./repository-cache-mq56jt1j.js";
99
+ import {
100
+ node31
101
+ } from "./repository-cache-ezx2brb0.js";
102
+ import {
103
+ node26
104
+ } from "./repository-cache-cd8v38ms.js";
105
+ import {
106
+ node38
107
+ } from "./repository-cache-cg5q9ras.js";
108
+ import {
109
+ node64
110
+ } from "./repository-cache-kvk0xsab.js";
111
+ import {
112
+ node53
113
+ } from "./repository-cache-d04ep358.js";
114
+ import {
115
+ node51
116
+ } from "./repository-cache-k07nhkpw.js";
117
+ import {
118
+ node75
119
+ } from "./repository-cache-f31q5wm1.js";
120
+ import {
121
+ node40
122
+ } from "./repository-cache-am5vmnvv.js";
123
+ import {
124
+ node39
125
+ } from "./repository-cache-ez5pkgh4.js";
126
+ import {
127
+ node66
128
+ } from "./repository-cache-3ske6nsv.js";
129
+ import {
130
+ node21
131
+ } from "./repository-cache-cmkn1bh9.js";
132
+ import {
133
+ node2
134
+ } from "./repository-cache-qm621tfa.js";
135
+ import {
136
+ Service70,
137
+ node74
138
+ } from "./repository-cache-mjxa0fkz.js";
139
+ import {
140
+ node68
141
+ } from "./repository-cache-rx1rzkp9.js";
142
+ import {
143
+ node10,
144
+ bound2
145
+ } from "./repository-cache-6f890ccd.js";
146
+ import {
147
+ node13
148
+ } from "./repository-cache-vsa820f9.js";
149
+ import {
150
+ node12
151
+ } from "./repository-cache-2r3bm1pf.js";
152
+ import {
153
+ node7
154
+ } from "./repository-cache-ethnw1sn.js";
155
+ import {
156
+ node3
157
+ } from "./repository-cache-ys3h2zrn.js";
158
+ import {
159
+ node63
160
+ } from "./repository-cache-xwgk07kc.js";
161
+ import {
162
+ node14
163
+ } from "./repository-cache-k1php5wk.js";
164
+ import {
165
+ node11
166
+ } from "./repository-cache-br622wkd.js";
167
+ import {
168
+ __export
169
+ } from "./repository-cache-9rqn6x4v.js";
170
+
171
+ // src/instance.ts
172
+ var exports_instance = {};
173
+ __export(exports_instance, {
174
+ Instance: () => exports_instance,
175
+ Service: () => Service45,
176
+ graph: () => graph2,
177
+ layer: () => layer2,
178
+ node: () => node47
179
+ });
180
+ import { Context, Effect, Layer } from "effect";
181
+ import { LayerNode } from "@opencode/util/effect/layer-node";
182
+ import { Node } from "@opencode/util/effect/app-node";
183
+ var nodes = [
184
+ node85,
185
+ node74,
186
+ node54,
187
+ node59,
188
+ node80,
189
+ node45,
190
+ node41,
191
+ node75,
192
+ node39,
193
+ node83,
194
+ node82,
195
+ node72,
196
+ node58,
197
+ node73,
198
+ node21,
199
+ node81,
200
+ node10,
201
+ node3,
202
+ node66,
203
+ node19,
204
+ node18,
205
+ node64,
206
+ node63,
207
+ node51,
208
+ node37,
209
+ node30,
210
+ node36,
211
+ node68,
212
+ node17,
213
+ node16,
214
+ node32,
215
+ node77,
216
+ node43,
217
+ node53,
218
+ node44,
219
+ node31,
220
+ node27,
221
+ node35,
222
+ node84,
223
+ node57,
224
+ node62,
225
+ node7,
226
+ node29,
227
+ node12,
228
+ node49,
229
+ node13,
230
+ node14,
231
+ node26,
232
+ node38,
233
+ node11,
234
+ node40,
235
+ node2
236
+ ];
237
+ var graph2 = LayerNode.group(nodes);
238
+ var vanillaReplacements = [
239
+ node59.replace(configured7({ project: false, global: false })),
240
+ node36.replace(configured5({ project: false, global: false }))
241
+ ];
242
+ function layer2(ref, options = {}) {
243
+ const startedAt = performance.now();
244
+ const replacements = [
245
+ ...options.discovery === false ? vanillaReplacements : [],
246
+ ...options.replacements ?? [],
247
+ node85.replace(boundNode2(ref)),
248
+ node10.replace(bound2(options.plugins ?? []))
249
+ ];
250
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service70).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
251
+ directory: ref.directory,
252
+ workspaceID: ref.workspaceID,
253
+ durationMs: Math.round(performance.now() - startedAt)
254
+ })));
255
+ }
256
+
257
+ export { graph2, layer2, exports_instance };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./shell-hgz4x7wa.js";
5
+ } from "./repository-cache-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./shell-9rqn6x4v.js";
8
+ } from "./repository-cache-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./shell-qaymkmh1.js";
3
+ } from "./repository-cache-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./shell-775gj3j1.js";
3
+ } from "./repository-cache-775gj3j1.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service38,
11
+ Service: () => Service31,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer17,
13
+ layer: () => layer16,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node41
15
+ node: () => node34
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service38.of({ bind, close, closeAll });
370
+ return Service31.of({ bind, close, closeAll });
371
371
  }));
372
- var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node41 = makeGlobalNode({ service: Service38, layer: layer17, deps: [webSocketConstructor2] });
375
+ var node34 = makeGlobalNode({ service: Service31, layer: layer16, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service38, makeLayer2, layer17, node41, exports_model_transport };
377
+ export { Service31, makeLayer2, layer16, node34, exports_model_transport };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./shell-5xghjtfa.js";
4
+ } from "./repository-cache-1hyfwtsr.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./shell-z5v4ffb3.js";
5
+ } from "./repository-cache-z5v4ffb3.js";
6
6
  import {
7
- Service68,
8
- node71
9
- } from "./shell-w921m42b.js";
7
+ Service52,
8
+ node54
9
+ } from "./repository-cache-24ra19qx.js";
10
10
  import {
11
- Content3
12
- } from "./shell-xg9m98z8.js";
11
+ Content2
12
+ } from "./repository-cache-4evmdpem.js";
13
13
  import {
14
14
  detect2
15
- } from "./shell-3smtnn6g.js";
15
+ } from "./repository-cache-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./repository-cache-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -35,7 +35,7 @@ __export(exports_read_filesystem, {
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
36
  Service: () => Service6,
37
37
  TextPage: () => TextPage2,
38
- node: () => node8,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
331
331
  }
332
332
  };
333
333
  var layer = Layer.effect(Service6, Effect.gen(function* () {
334
- const environment = yield* Service68;
334
+ const environment = yield* Service52;
335
335
  return Service6.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node8 = makeLocationNode({ service: Service6, layer, deps: [node71] });
340
+ var node7 = makeLocationNode({ service: Service6, layer, deps: [node54] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID8
3
- } from "./shell-5xghjtfa.js";
2
+ ID13
3
+ } from "./repository-cache-1hyfwtsr.js";
4
4
  import {
5
5
  iife2
6
- } from "./shell-1kg9ymc8.js";
6
+ } from "./repository-cache-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./shell-hvp5ag27.js";
9
+ } from "./repository-cache-btpxpz9q.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID8.make("cloudflare-workers-ai");
15
+ var providerID = ID13.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./shell-88xbtdfr.js";
3
+ } from "./repository-cache-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./shell-5qd3pb7m.js";
6
+ } from "./repository-cache-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./repository-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options7,
17
- Service: () => Service59,
16
+ Options: () => Options8,
17
+ Service: () => Service57,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer25,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node62,
25
+ node: () => node60,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options7 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service59 extends Context.Service()("@opencode/Watcher") {
60
+ class Service57 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer25 = (options) => Layer.effect(Service59, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service57, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service59.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service57.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service59, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service59.of({ subscribe });
108
+ return Service57.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service59).subscribe,
134
+ subscribe: Context.get(context, Service57).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service59, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service57, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured8(options) {
168
- return makeGlobalNode({ service: Service59, layer: layer25(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service57, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node62 = configured8();
170
+ var node60 = configured8();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options7, Service59, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured8, node62, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options8, Service57, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured8, node60, exports_watcher };