@opencode/core 0.0.0-dev-21307 → 0.0.0-dev-21309

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  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 +75 -75
  7. package/dist/chunks/{repository-cache-vd7s5kxy.js → form-01w6r3jz.js} +5 -5
  8. package/dist/chunks/{repository-cache-7ep8m250.js → form-01yb7a9a.js} +17 -17
  9. package/dist/chunks/{repository-cache-y45edm1f.js → form-0592574k.js} +8 -8
  10. package/dist/chunks/{repository-cache-bghdg7bn.js → form-09rh3qbs.js} +19 -19
  11. package/dist/chunks/{repository-cache-kxz1hg5v.js → form-0ab2r5bc.js} +15 -15
  12. package/dist/chunks/{repository-cache-3mkjzvwp.js → form-0n8a0ffz.js} +6 -6
  13. package/dist/chunks/{repository-cache-20tcdtxb.js → form-0rtp69vm.js} +10 -10
  14. package/dist/chunks/{repository-cache-0vbcp93d.js → form-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{repository-cache-f1qq7sr1.js → form-0y3k7j43.js} +1 -1
  16. package/dist/chunks/{repository-cache-pdp9s7c9.js → form-149ww98r.js} +8 -8
  17. package/dist/chunks/{repository-cache-ja1fgew7.js → form-159j6g8a.js} +50 -50
  18. package/dist/chunks/{repository-cache-yp2x3t23.js → form-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{repository-cache-bzeyqsqd.js → form-1ep4rre3.js} +4 -4
  20. package/dist/chunks/{repository-cache-vp0bfksy.js → form-1j8r0rfw.js} +2 -2
  21. package/dist/chunks/{repository-cache-v45pkn04.js → form-1rydqggj.js} +43 -43
  22. package/dist/chunks/{repository-cache-t406dmjj.js → form-1tmtn4f0.js} +33 -33
  23. package/dist/chunks/{repository-cache-khmqacep.js → form-1w2wqhfv.js} +4 -4
  24. package/dist/chunks/{repository-cache-36ceq5gy.js → form-21r3m04z.js} +14 -14
  25. package/dist/chunks/{repository-cache-3k5zc895.js → form-293yhkqp.js} +5 -5
  26. package/dist/chunks/{repository-cache-7dqw4kz8.js → form-2k8khapm.js} +5 -5
  27. package/dist/chunks/{repository-cache-nhf4vs0f.js → form-2q9fknbq.js} +12 -12
  28. package/dist/chunks/{repository-cache-cyzjpqgc.js → form-2r00bf87.js} +25 -25
  29. package/dist/chunks/{repository-cache-c765mh8b.js → form-2sejkfem.js} +9 -9
  30. package/dist/chunks/{repository-cache-fyv9rghq.js → form-2xh5ht5h.js} +3 -3
  31. package/dist/chunks/{repository-cache-dqkkx36v.js → form-2yt4cmmc.js} +4 -4
  32. package/dist/chunks/{repository-cache-atfxxx72.js → form-2ztv3xbn.js} +3 -3
  33. package/dist/chunks/{repository-cache-9fkx84pm.js → form-31fkayz7.js} +22 -22
  34. package/dist/chunks/{repository-cache-4y6kwa1w.js → form-3a2zxt72.js} +8 -8
  35. package/dist/chunks/{repository-cache-dsc6dxmh.js → form-3cswzw9g.js} +7 -7
  36. package/dist/chunks/{repository-cache-p8qee5dd.js → form-3d7d73y7.js} +6 -6
  37. package/dist/chunks/{repository-cache-z4ev155g.js → form-3e4a7xxm.js} +11 -11
  38. package/dist/chunks/{repository-cache-3hepkmqq.js → form-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{repository-cache-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{repository-cache-3smtnn6g.js → form-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{repository-cache-3tvqynh2.js → form-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{repository-cache-3zsf4n22.js → form-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{repository-cache-w4twd3tw.js → form-43xx6kda.js} +25 -25
  44. package/dist/chunks/{repository-cache-ahgrg4fe.js → form-440je11f.js} +36 -36
  45. package/dist/chunks/{repository-cache-mh32msp7.js → form-4553w93m.js} +2 -2
  46. package/dist/chunks/{repository-cache-04se7enf.js → form-46wtzjjz.js} +5 -5
  47. package/dist/chunks/{repository-cache-0ar81yxa.js → form-4jctyxs9.js} +27 -27
  48. package/dist/chunks/{repository-cache-g14xsv6s.js → form-50rkvycx.js} +23 -23
  49. package/dist/chunks/{repository-cache-xjqn2mzm.js → form-522p3b9e.js} +5 -5
  50. package/dist/chunks/{repository-cache-54ma36ye.js → form-54ma36ye.js} +1 -1
  51. package/dist/chunks/{repository-cache-hzrfc1p4.js → form-58072hz9.js} +3 -3
  52. package/dist/chunks/{repository-cache-j2wmg2r4.js → form-5b351nnx.js} +9 -9
  53. package/dist/chunks/{repository-cache-m5ac8kwq.js → form-5c36xey0.js} +29 -29
  54. package/dist/chunks/{repository-cache-pg4vymq4.js → form-5hmkpywb.js} +31 -31
  55. package/dist/chunks/{repository-cache-n882j125.js → form-5kmmw6ns.js} +31 -31
  56. package/dist/chunks/{repository-cache-5m9w47nd.js → form-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{repository-cache-e3qxr5gk.js → form-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{repository-cache-92e46w1f.js → form-5tp7cf11.js} +12 -12
  59. package/dist/chunks/{repository-cache-z3eyvff3.js → form-5vfyv2px.js} +20 -20
  60. package/dist/chunks/{repository-cache-fnkj6y17.js → form-64hwtt3x.js} +9 -9
  61. package/dist/chunks/{repository-cache-frp158f6.js → form-65f8ybtn.js} +10 -10
  62. package/dist/chunks/{repository-cache-6827pfxn.js → form-6827pfxn.js} +1 -1
  63. package/dist/chunks/{repository-cache-c38fscx1.js → form-6emxyc9g.js} +1 -1
  64. package/dist/chunks/{repository-cache-59m3023s.js → form-6f7em8tn.js} +13 -13
  65. package/dist/chunks/{repository-cache-gbx5w9e0.js → form-6jgeearj.js} +14 -14
  66. package/dist/chunks/{repository-cache-e1mscf3d.js → form-6s0a03gm.js} +29 -29
  67. package/dist/chunks/form-6wr7nzx9.js +257 -0
  68. package/dist/chunks/{repository-cache-6xb47vfp.js → form-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{repository-cache-ye1k03a4.js → form-6yfxq52g.js} +3 -3
  70. package/dist/chunks/{repository-cache-axharnyz.js → form-7049gnx3.js} +32 -32
  71. package/dist/chunks/{repository-cache-b2492xjg.js → form-745spws3.js} +28 -28
  72. package/dist/chunks/{repository-cache-775gj3j1.js → form-775gj3j1.js} +2 -2
  73. package/dist/chunks/{repository-cache-nqx608f1.js → form-79kzwjp8.js} +11 -11
  74. package/dist/chunks/{repository-cache-7bmhse3q.js → form-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{repository-cache-xaf8j326.js → form-7c4aq7s6.js} +13 -13
  76. package/dist/chunks/{repository-cache-rjpvqnxg.js → form-7cs0wf9y.js} +9 -9
  77. package/dist/chunks/{repository-cache-80gay8fv.js → form-7evdcjn1.js} +4 -4
  78. package/dist/chunks/{repository-cache-314kp7wc.js → form-7nqnfc0d.js} +20 -20
  79. package/dist/chunks/{repository-cache-d5n8aweh.js → form-7p3wxydp.js} +29 -29
  80. package/dist/chunks/{repository-cache-d0m33awg.js → form-7pqmk9b7.js} +11 -11
  81. package/dist/chunks/{repository-cache-b3pexw4z.js → form-7t193933.js} +5 -5
  82. package/dist/chunks/{repository-cache-q3s5c4wd.js → form-7y1apa1f.js} +12 -12
  83. package/dist/chunks/{repository-cache-ntcd7r2c.js → form-7ztexanv.js} +15 -15
  84. package/dist/chunks/{repository-cache-84txncab.js → form-84txncab.js} +1 -1
  85. package/dist/chunks/{repository-cache-vpshk9t2.js → form-88yja26d.js} +11 -11
  86. package/dist/chunks/{repository-cache-sfq9t108.js → form-8a6hh32g.js} +18 -18
  87. package/dist/chunks/{repository-cache-pjxggghw.js → form-8fd1zqwe.js} +81 -81
  88. package/dist/chunks/{repository-cache-8m6m0r52.js → form-8m6m0r52.js} +1 -1
  89. package/dist/chunks/{repository-cache-8mywswrd.js → form-8mywswrd.js} +1 -1
  90. package/dist/chunks/{repository-cache-vnqzk1gb.js → form-8p4v04p7.js} +3 -3
  91. package/dist/chunks/{repository-cache-z6jgmdqw.js → form-8tp1gwdj.js} +32 -32
  92. package/dist/chunks/{repository-cache-gy6q8pjn.js → form-8xnpz133.js} +5 -5
  93. package/dist/chunks/form-960ccn17.js +517 -0
  94. package/dist/chunks/{repository-cache-srv5nkk5.js → form-9bj0dwv2.js} +7 -7
  95. package/dist/chunks/{repository-cache-6dg8hvxd.js → form-9pkymny3.js} +21 -21
  96. package/dist/chunks/{repository-cache-px1ksxsk.js → form-9q9cc4yk.js} +15 -15
  97. package/dist/chunks/{repository-cache-a20pjse5.js → form-a20pjse5.js} +3 -3
  98. package/dist/chunks/{repository-cache-b89y6y9w.js → form-a6rgdr89.js} +32 -32
  99. package/dist/chunks/{repository-cache-6yncxzed.js → form-a8nkje97.js} +11 -11
  100. package/dist/chunks/{repository-cache-x661k3y3.js → form-addxnjmp.js} +4 -4
  101. package/dist/chunks/{repository-cache-h1532brx.js → form-admdf9qy.js} +24 -24
  102. package/dist/chunks/{repository-cache-ycy3dsx4.js → form-apsw5g4h.js} +9 -9
  103. package/dist/chunks/{repository-cache-w29cs0xs.js → form-as472svt.js} +16 -16
  104. package/dist/chunks/{repository-cache-kd5hk5hb.js → form-aspe32j5.js} +18 -18
  105. package/dist/chunks/{repository-cache-vc7fmfhz.js → form-b12fh71z.js} +12 -12
  106. package/dist/chunks/{repository-cache-z6c3x22d.js → form-b674v2dg.js} +5 -5
  107. package/dist/chunks/{repository-cache-b47jeb7t.js → form-b7jha8hs.js} +7 -7
  108. package/dist/chunks/{repository-cache-1b45vsnf.js → form-bc1hz80r.js} +16 -16
  109. package/dist/chunks/{repository-cache-a2rpfkac.js → form-bgc5ggmx.js} +4 -4
  110. package/dist/chunks/{repository-cache-7yyqgw31.js → form-bkschzhq.js} +13 -13
  111. package/dist/chunks/{repository-cache-6mwbv2j4.js → form-bmdqnj6f.js} +11 -11
  112. package/dist/chunks/{repository-cache-d0ky7b2n.js → form-bt0xk3k9.js} +40 -40
  113. package/dist/chunks/{repository-cache-xhfr7w54.js → form-bvr6saty.js} +28 -28
  114. package/dist/chunks/{repository-cache-1r08b1ze.js → form-byehbd7c.js} +11 -11
  115. package/dist/chunks/{repository-cache-c1fqxshp.js → form-c1fqxshp.js} +3 -3
  116. package/dist/chunks/{repository-cache-wnr41wz0.js → form-ccjfg0tr.js} +38 -38
  117. package/dist/chunks/{repository-cache-xf58effc.js → form-cg02sn39.js} +13 -13
  118. package/dist/chunks/{repository-cache-sjmbs52b.js → form-csrxhvh8.js} +59 -59
  119. package/dist/chunks/{repository-cache-76ehfx7y.js → form-d5hbq9vh.js} +48 -48
  120. package/dist/chunks/{repository-cache-g686f6pq.js → form-d7x0sh0y.js} +9 -9
  121. package/dist/chunks/{repository-cache-rccq1xcq.js → form-da7xf5ay.js} +29 -29
  122. package/dist/chunks/{repository-cache-avhvgy5k.js → form-ddjvg64n.js} +14 -14
  123. package/dist/chunks/{repository-cache-rma03sff.js → form-dgct1c5d.js} +9 -9
  124. package/dist/chunks/{repository-cache-0rytgdhm.js → form-djdfaxd1.js} +32 -32
  125. package/dist/chunks/{repository-cache-161qchch.js → form-dke6jjmt.js} +1 -1
  126. package/dist/chunks/{repository-cache-dpkg50ah.js → form-dpkg50ah.js} +1 -1
  127. package/dist/chunks/{repository-cache-kmj26603.js → form-dq407baf.js} +3 -3
  128. package/dist/chunks/{repository-cache-hv879400.js → form-dys7k0s0.js} +7 -7
  129. package/dist/chunks/{repository-cache-2r2p8fzx.js → form-e0qnmsg8.js} +28 -28
  130. package/dist/chunks/{repository-cache-jwc1ahma.js → form-e3abpcc4.js} +29 -29
  131. package/dist/chunks/{repository-cache-b07jp80w.js → form-e6pqykgy.js} +4 -4
  132. package/dist/chunks/{repository-cache-4r9nnegq.js → form-e86gnere.js} +23 -23
  133. package/dist/chunks/{repository-cache-v7h4apfv.js → form-e9hz0076.js} +14 -14
  134. package/dist/chunks/{repository-cache-ghbjgsw7.js → form-ec9r64eb.js} +44 -44
  135. package/dist/chunks/{repository-cache-eej6y6fw.js → form-eej6y6fw.js} +2 -2
  136. package/dist/chunks/{repository-cache-ef5x83kb.js → form-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{repository-cache-0cg871e2.js → form-eh6ej367.js} +5 -5
  138. package/dist/chunks/{repository-cache-vbybff9w.js → form-evdvhfzx.js} +23 -23
  139. package/dist/chunks/{repository-cache-7cd0cd1q.js → form-exp1944n.js} +19 -19
  140. package/dist/chunks/{repository-cache-dn36g5j0.js → form-ezrgp273.js} +28 -28
  141. package/dist/chunks/{repository-cache-vktwk5kv.js → form-f0ftzx98.js} +9 -9
  142. package/dist/chunks/{repository-cache-vppn3xvj.js → form-f532e7gj.js} +27 -27
  143. package/dist/chunks/{repository-cache-3cs3gdnf.js → form-f6adby2b.js} +33 -33
  144. package/dist/chunks/{repository-cache-zxcvat1v.js → form-f8bcsxje.js} +2 -2
  145. package/dist/chunks/{repository-cache-69wpfr64.js → form-f93vdewn.js} +6 -6
  146. package/dist/chunks/{repository-cache-fcy631f0.js → form-fcy631f0.js} +1 -1
  147. package/dist/chunks/{repository-cache-5mv65mph.js → form-fn8k43nn.js} +20 -20
  148. package/dist/chunks/{repository-cache-qj368rjp.js → form-fs6b610g.js} +11 -11
  149. package/dist/chunks/{repository-cache-kvp13sbf.js → form-fv12q9k0.js} +13 -13
  150. package/dist/chunks/{repository-cache-c63mpyjp.js → form-fww2ha2b.js} +10 -10
  151. package/dist/chunks/{repository-cache-d4ex4t7m.js → form-g091zayf.js} +26 -26
  152. package/dist/chunks/{repository-cache-abshngws.js → form-g2jr9t01.js} +15 -15
  153. package/dist/chunks/{repository-cache-kb4h046s.js → form-g66bevh5.js} +10 -10
  154. package/dist/chunks/{repository-cache-v5ysgbsj.js → form-gcywmqd1.js} +11 -11
  155. package/dist/chunks/{repository-cache-gd4qta3r.js → form-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{repository-cache-86m4f4y9.js → form-gnzn9cn5.js} +1 -1
  157. package/dist/chunks/{repository-cache-ry5vqzb9.js → form-gr6bp44c.js} +15 -15
  158. package/dist/chunks/{repository-cache-zqfakkws.js → form-gyv5agwd.js} +4 -4
  159. package/dist/chunks/{repository-cache-xyx20s09.js → form-h4bnd9mc.js} +11 -11
  160. package/dist/chunks/{repository-cache-h6vf3j39.js → form-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{repository-cache-qkpkhkva.js → form-hdzv5k9p.js} +14 -14
  162. package/dist/chunks/{repository-cache-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
  163. package/dist/chunks/{repository-cache-3frchmgr.js → form-jdmw2rsk.js} +26 -26
  164. package/dist/chunks/{repository-cache-1yek6bdb.js → form-jh2ps5wy.js} +14 -14
  165. package/dist/chunks/{repository-cache-htyafsv3.js → form-jkjnadar.js} +12 -12
  166. package/dist/chunks/{repository-cache-mj2j2ta6.js → form-jxvnzpw8.js} +23 -23
  167. package/dist/chunks/{repository-cache-0dq0w1jq.js → form-jytfn6ja.js} +8 -8
  168. package/dist/chunks/{repository-cache-8qk5d3q5.js → form-jz13mca3.js} +25 -25
  169. package/dist/chunks/{repository-cache-tyhwyzay.js → form-k35dez0d.js} +11 -11
  170. package/dist/chunks/{repository-cache-xn26nr4q.js → form-k5yp4jza.js} +38 -38
  171. package/dist/chunks/{repository-cache-4xahkvr1.js → form-k9hrtvd5.js} +22 -22
  172. package/dist/chunks/{repository-cache-6yz0wx8n.js → form-kjdm35cs.js} +5 -5
  173. package/dist/chunks/{repository-cache-56chjs90.js → form-kjf4kcws.js} +15 -15
  174. package/dist/chunks/{repository-cache-zvjhkatg.js → form-kk8h1mek.js} +8 -8
  175. package/dist/chunks/{repository-cache-2kpvexxf.js → form-kn8ghv8t.js} +182 -182
  176. package/dist/chunks/{repository-cache-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
  177. package/dist/chunks/{repository-cache-bwva9967.js → form-m0j93tdc.js} +43 -43
  178. package/dist/chunks/{repository-cache-vt8aqadh.js → form-m1z5ek08.js} +8 -8
  179. package/dist/chunks/{repository-cache-5zh2xrv1.js → form-m2ymgz0z.js} +35 -35
  180. package/dist/chunks/{repository-cache-8egray66.js → form-m40er8qz.js} +11 -11
  181. package/dist/chunks/{repository-cache-5w4193mt.js → form-m7nc2rpb.js} +54 -54
  182. package/dist/chunks/{repository-cache-1n5bn1zm.js → form-m8xah3g8.js} +17 -17
  183. package/dist/chunks/{repository-cache-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{repository-cache-maspj1v3.js → form-maspj1v3.js} +1 -1
  185. package/dist/chunks/{repository-cache-f1mpmm74.js → form-mnxav5te.js} +3 -3
  186. package/dist/chunks/{repository-cache-8z19p36t.js → form-mpzfxbse.js} +3 -3
  187. package/dist/chunks/{repository-cache-52bg0ad9.js → form-mr25sape.js} +30 -30
  188. package/dist/chunks/{repository-cache-q4fmv0xv.js → form-mtrbqqrq.js} +5 -5
  189. package/dist/chunks/{repository-cache-qeew10aa.js → form-mtxvdp9r.js} +20 -20
  190. package/dist/chunks/{repository-cache-g0yf6pzc.js → form-my6mv4rd.js} +30 -30
  191. package/dist/chunks/{repository-cache-zt0s3nmc.js → form-mysqzpg8.js} +5 -5
  192. package/dist/chunks/{repository-cache-thsfkehz.js → form-n8nt0na6.js} +22 -22
  193. package/dist/chunks/form-n95b3jav.js +18 -0
  194. package/dist/chunks/{repository-cache-3g0wgjny.js → form-nem0pv7t.js} +25 -25
  195. package/dist/chunks/{repository-cache-7sdjsr81.js → form-njv48zzv.js} +18 -18
  196. package/dist/chunks/{repository-cache-p7a39gy5.js → form-nzq7ck9f.js} +6 -6
  197. package/dist/chunks/{repository-cache-scnkw924.js → form-p008bemp.js} +20 -20
  198. package/dist/chunks/{repository-cache-pa8pe2x7.js → form-p4mj4rdp.js} +8 -8
  199. package/dist/chunks/{repository-cache-213xhah1.js → form-p4ye8mev.js} +3 -3
  200. package/dist/chunks/{repository-cache-ne4p9z9f.js → form-p5y15tvy.js} +16 -16
  201. package/dist/chunks/{repository-cache-s8pfr3sa.js → form-pcymg39e.js} +20 -20
  202. package/dist/chunks/{repository-cache-68kcj400.js → form-pf1b2z5t.js} +32 -32
  203. package/dist/chunks/{repository-cache-4rjz15yc.js → form-phf263fg.js} +42 -42
  204. package/dist/chunks/{repository-cache-y0pqx9ee.js → form-phtk6n36.js} +45 -45
  205. package/dist/chunks/{repository-cache-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{repository-cache-dp622nh3.js → form-pkbhwwsm.js} +21 -21
  207. package/dist/chunks/{repository-cache-pknna89w.js → form-pknna89w.js} +1 -1
  208. package/dist/chunks/{repository-cache-qdgns3yy.js → form-ppf9jb57.js} +11 -11
  209. package/dist/chunks/{repository-cache-n2bfkdv4.js → form-prcpq60y.js} +5 -5
  210. package/dist/chunks/{repository-cache-cyd8k6yp.js → form-pw1h6ks1.js} +25 -25
  211. package/dist/chunks/{repository-cache-1xcax4md.js → form-px6wq6dz.js} +26 -26
  212. package/dist/chunks/{repository-cache-rkprpv83.js → form-py3kkmfq.js} +2 -2
  213. package/dist/chunks/{repository-cache-9mwy3bj8.js → form-q47bt154.js} +14 -14
  214. package/dist/chunks/{repository-cache-5d10bvnq.js → form-qha5ekyp.js} +4 -4
  215. package/dist/chunks/{repository-cache-qnc92qwc.js → form-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{repository-cache-8eb4w425.js → form-qpkfbzpg.js} +15 -15
  217. package/dist/chunks/{repository-cache-qsdy395h.js → form-qsdy395h.js} +1 -1
  218. package/dist/chunks/{repository-cache-sd1g7zk7.js → form-r9vpxkp0.js} +47 -47
  219. package/dist/chunks/{repository-cache-rdw6cm16.js → form-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{repository-cache-rert0e01.js → form-rert0e01.js} +2 -2
  221. package/dist/chunks/{repository-cache-8bk6jfgk.js → form-rgy0q2mm.js} +11 -11
  222. package/dist/chunks/{repository-cache-0gdmqesm.js → form-rhjbct0v.js} +4 -4
  223. package/dist/chunks/{repository-cache-rj3eygr5.js → form-rj3eygr5.js} +2 -2
  224. package/dist/chunks/{repository-cache-2xfc23b2.js → form-rmb1gw6x.js} +21 -21
  225. package/dist/chunks/{repository-cache-tz4n1mmd.js → form-rwm5vee1.js} +4 -4
  226. package/dist/chunks/{repository-cache-fm2qvscf.js → form-ryr25ayn.js} +4 -4
  227. package/dist/chunks/{repository-cache-azxbdxcx.js → form-s12ckd47.js} +10 -10
  228. package/dist/chunks/{repository-cache-sa8ekw3f.js → form-sa8ekw3f.js} +2 -2
  229. package/dist/chunks/{repository-cache-ggn007s3.js → form-sd97kvfg.js} +21 -21
  230. package/dist/chunks/{repository-cache-2hmm1e15.js → form-se8s5apy.js} +20 -20
  231. package/dist/chunks/{repository-cache-e80seqcp.js → form-sxcaecc0.js} +3 -3
  232. package/dist/chunks/{repository-cache-syv4x271.js → form-syv4x271.js} +1 -1
  233. package/dist/chunks/{repository-cache-xdf0ykp7.js → form-t16svwyk.js} +23 -23
  234. package/dist/chunks/{repository-cache-x91navb3.js → form-t2gndjp3.js} +7 -7
  235. package/dist/chunks/{repository-cache-tazgh4e4.js → form-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{repository-cache-qbqbaz6q.js → form-tbmac1c7.js} +4 -4
  237. package/dist/chunks/{repository-cache-tcezcvh9.js → form-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{repository-cache-tdstcens.js → form-tdstcens.js} +1 -1
  239. package/dist/chunks/{repository-cache-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{repository-cache-f8k7tqpr.js → form-ttfrdszx.js} +22 -22
  241. package/dist/chunks/{repository-cache-tyytaxap.js → form-tyytaxap.js} +1 -1
  242. package/dist/chunks/{repository-cache-v13b12ef.js → form-v13b12ef.js} +2 -2
  243. package/dist/chunks/{repository-cache-v210v162.js → form-v210v162.js} +2 -2
  244. package/dist/chunks/{repository-cache-ntm1cgex.js → form-v5rm5t0z.js} +18 -18
  245. package/dist/chunks/{repository-cache-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{repository-cache-veqvce7d.js → form-veqvce7d.js} +1 -1
  247. package/dist/chunks/{repository-cache-6t9tjhsk.js → form-vygwap6r.js} +3 -3
  248. package/dist/chunks/{repository-cache-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{repository-cache-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{repository-cache-1n1cqex2.js → form-w56rxd4n.js} +16 -16
  251. package/dist/chunks/{repository-cache-21fhc1jw.js → form-w78b8eew.js} +11 -11
  252. package/dist/chunks/{repository-cache-vht2c7bf.js → form-w8reh54w.js} +6 -6
  253. package/dist/chunks/{repository-cache-045nn9pc.js → form-waskdk5r.js} +8 -8
  254. package/dist/chunks/{repository-cache-wd87259q.js → form-wd87259q.js} +1 -1
  255. package/dist/chunks/{repository-cache-n0qazxv2.js → form-weqnn3ye.js} +91 -91
  256. package/dist/chunks/{repository-cache-drfn6gwd.js → form-wfa292tn.js} +9 -9
  257. package/dist/chunks/{repository-cache-5cd6vznj.js → form-wj1kajne.js} +8 -8
  258. package/dist/chunks/{repository-cache-sd8vqtn7.js → form-ww5ckzyq.js} +37 -37
  259. package/dist/chunks/{repository-cache-fkkvv55g.js → form-x07jzsrz.js} +16 -16
  260. package/dist/chunks/{repository-cache-drwq78ky.js → form-xfkkasph.js} +4 -4
  261. package/dist/chunks/{repository-cache-0f8kejsb.js → form-xp2zd69v.js} +22 -22
  262. package/dist/chunks/{repository-cache-kg45811x.js → form-xqqvwv5j.js} +11 -11
  263. package/dist/chunks/{repository-cache-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{repository-cache-y56ehv6b.js → form-y56ehv6b.js} +2 -2
  265. package/dist/chunks/{repository-cache-ht6gncry.js → form-y98rys2n.js} +11 -11
  266. package/dist/chunks/{repository-cache-m3n8w99j.js → form-ybax1fzm.js} +2 -2
  267. package/dist/chunks/{repository-cache-92m64p6f.js → form-ycwe7tdf.js} +15 -15
  268. package/dist/chunks/{repository-cache-1d5acrpd.js → form-ydgbnz16.js} +1 -1
  269. package/dist/chunks/{repository-cache-rvjhec0b.js → form-yf054wvd.js} +28 -28
  270. package/dist/chunks/{repository-cache-td613cjm.js → form-ysn0w3pq.js} +70 -70
  271. package/dist/chunks/{repository-cache-ywt8jp22.js → form-ywt8jp22.js} +2 -2
  272. package/dist/chunks/{repository-cache-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{repository-cache-z18fegx4.js → form-z18fegx4.js} +1 -1
  274. package/dist/chunks/{repository-cache-v8jthr7x.js → form-z3yspz9a.js} +21 -21
  275. package/dist/chunks/{repository-cache-qh8vdwx1.js → form-z9qyhhpt.js} +8 -8
  276. package/dist/chunks/{repository-cache-8hht930z.js → form-zc34vfrd.js} +11 -11
  277. package/dist/chunks/{repository-cache-593nqyk2.js → form-ze4ea8mz.js} +11 -11
  278. package/dist/chunks/{repository-cache-8s4zq5p9.js → form-ze75yzft.js} +8 -8
  279. package/dist/chunks/{repository-cache-f78sms3n.js → form-zhgq12gm.js} +30 -30
  280. package/dist/chunks/{repository-cache-bb4j8mte.js → form-zjfytr3m.js} +18 -18
  281. package/dist/chunks/{repository-cache-pjhexp1d.js → form-zk2qw2pd.js} +13 -13
  282. package/dist/chunks/{repository-cache-8xebk442.js → form-zn6cgmq1.js} +37 -37
  283. package/dist/chunks/{repository-cache-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{repository-cache-xt3a7zk5.js → form-zt93p4vm.js} +21 -21
  285. package/dist/chunks/{repository-cache-95ncemsy.js → form-zx85k7gh.js} +9 -9
  286. package/dist/chunks/{repository-cache-zxq2ej10.js → form-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{repository-cache-ysasxc1a.js → form-zygegkxh.js} +19 -19
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +206 -206
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +113 -113
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +117 -117
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +81 -81
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +80 -80
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +108 -108
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +136 -136
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +131 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +100 -100
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +88 -88
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +119 -119
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +84 -84
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +74 -74
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +114 -114
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +123 -123
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +123 -123
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +123 -123
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +82 -82
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +103 -103
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +3 -3
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +157 -157
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +211 -211
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +214 -214
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +130 -130
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +5 -5
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/repository-cache-1x11rq2a.js +0 -18
  693. package/dist/chunks/repository-cache-87b1qs38.js +0 -517
  694. package/dist/chunks/repository-cache-n48d28kv.js +0 -257
  695. /package/dist/chunks/{repository-cache-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{repository-cache-0zkw76rk.js → form-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{repository-cache-17cy0kzp.js → form-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{repository-cache-1cnp2v09.js → form-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{repository-cache-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{repository-cache-24dcb14g.js → form-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{repository-cache-2710q6r3.js → form-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{repository-cache-2axfhc9x.js → form-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{repository-cache-2bv980vf.js → form-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{repository-cache-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{repository-cache-359p4xyc.js → form-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{repository-cache-3asan66x.js → form-3asan66x.js} +0 -0
  707. /package/dist/chunks/{repository-cache-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{repository-cache-3v8g72cx.js → form-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{repository-cache-3wcehsnq.js → form-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{repository-cache-43n2bw4t.js → form-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{repository-cache-4knz6hnm.js → form-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{repository-cache-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{repository-cache-4y7fprxs.js → form-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{repository-cache-53557ph1.js → form-53557ph1.js} +0 -0
  715. /package/dist/chunks/{repository-cache-550bvhaj.js → form-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{repository-cache-6prwharc.js → form-6prwharc.js} +0 -0
  717. /package/dist/chunks/{repository-cache-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{repository-cache-7akdwqpd.js → form-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{repository-cache-7m9af43g.js → form-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{repository-cache-822emrt2.js → form-822emrt2.js} +0 -0
  721. /package/dist/chunks/{repository-cache-84wd9syh.js → form-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{repository-cache-88xbtdfr.js → form-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{repository-cache-8n3pysct.js → form-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{repository-cache-8wj87zfr.js → form-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{repository-cache-9a4afbnw.js → form-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{repository-cache-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{repository-cache-a6k6eb26.js → form-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{repository-cache-af5trqkr.js → form-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{repository-cache-afrmfg78.js → form-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{repository-cache-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{repository-cache-atq7p7m5.js → form-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{repository-cache-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{repository-cache-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{repository-cache-cf4snx6d.js → form-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{repository-cache-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{repository-cache-d9fn303g.js → form-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{repository-cache-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{repository-cache-dajrwvna.js → form-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{repository-cache-dap0rakb.js → form-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{repository-cache-df08tz66.js → form-df08tz66.js} +0 -0
  741. /package/dist/chunks/{repository-cache-dy18nga0.js → form-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{repository-cache-e5kj55wp.js → form-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{repository-cache-e73j6tqm.js → form-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{repository-cache-ec1grn59.js → form-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{repository-cache-eh3zwz77.js → form-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{repository-cache-emrn6kk6.js → form-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{repository-cache-f0mxakyp.js → form-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{repository-cache-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{repository-cache-faypxj3z.js → form-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{repository-cache-fd410y7t.js → form-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{repository-cache-g4wezp1m.js → form-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{repository-cache-g86h250q.js → form-g86h250q.js} +0 -0
  753. /package/dist/chunks/{repository-cache-gebd4c9n.js → form-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{repository-cache-gftt206x.js → form-gftt206x.js} +0 -0
  755. /package/dist/chunks/{repository-cache-hcxmzztb.js → form-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{repository-cache-hk9envan.js → form-hk9envan.js} +0 -0
  757. /package/dist/chunks/{repository-cache-j2ntwpah.js → form-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{repository-cache-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{repository-cache-jjkms2e6.js → form-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{repository-cache-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{repository-cache-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{repository-cache-jze0r7bz.js → form-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{repository-cache-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{repository-cache-m18g726c.js → form-m18g726c.js} +0 -0
  765. /package/dist/chunks/{repository-cache-mp448xyj.js → form-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{repository-cache-msx8hqn2.js → form-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{repository-cache-n05xt0ee.js → form-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{repository-cache-n3j8tn72.js → form-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{repository-cache-njntx4h6.js → form-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{repository-cache-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{repository-cache-pyv0edze.js → form-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{repository-cache-q3sfg36h.js → form-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{repository-cache-q74kybfr.js → form-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{repository-cache-qaymkmh1.js → form-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{repository-cache-qb87gjwd.js → form-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{repository-cache-qfa1cgps.js → form-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{repository-cache-qg3g05ea.js → form-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{repository-cache-qrg20bc0.js → form-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{repository-cache-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{repository-cache-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{repository-cache-ssg3fenm.js → form-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{repository-cache-ve7vex1e.js → form-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{repository-cache-w803qqfp.js → form-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{repository-cache-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{repository-cache-wer8tq1h.js → form-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{repository-cache-wjj7prxr.js → form-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{repository-cache-wtztk69x.js → form-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{repository-cache-x0ckcb58.js → form-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{repository-cache-x61499pn.js → form-x61499pn.js} +0 -0
  790. /package/dist/chunks/{repository-cache-y44na4kk.js → form-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{repository-cache-y8f7s663.js → form-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{repository-cache-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{repository-cache-ym463w8f.js → form-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{repository-cache-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{repository-cache-z9919s4g.js → form-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./repository-cache-zxcvat1v.js";
4
+ } from "./form-f8bcsxje.js";
5
5
  import {
6
6
  Key3,
7
- make18,
7
+ make20,
8
8
  combine2
9
- } from "./repository-cache-0gdmqesm.js";
9
+ } from "./form-rhjbct0v.js";
10
10
  import {
11
11
  __export
12
- } from "./repository-cache-9rqn6x4v.js";
12
+ } from "./form-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service20,
19
- node: () => node23
18
+ Service: () => Service32,
19
+ node: () => node35
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service20 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service32 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service20, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
28
  const location = yield* Service82;
29
- return Service20.of({
29
+ return Service32.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make18({
31
+ make20({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make18({
40
+ make20({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node23 = makeLocationNode({ service: Service20, layer, deps: [Global.node, node86] });
63
+ var node35 = makeLocationNode({ service: Service32, layer, deps: [Global.node, node86] });
64
64
 
65
- export { Service20, node23, exports_builtins };
65
+ export { Service32, node35, exports_builtins };
@@ -1,71 +1,71 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./repository-cache-92e46w1f.js";
2
+ Service85,
3
+ node89
4
+ } from "./form-5tp7cf11.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./repository-cache-zxcvat1v.js";
8
+ } from "./form-f8bcsxje.js";
9
9
  import {
10
- ID6,
11
- Service43,
12
- node45
13
- } from "./repository-cache-0ar81yxa.js";
10
+ ID12,
11
+ Service76,
12
+ node79
13
+ } from "./form-4jctyxs9.js";
14
14
  import {
15
- NotFoundError4
16
- } from "./repository-cache-p8qee5dd.js";
15
+ NotFoundError9
16
+ } from "./form-3d7d73y7.js";
17
17
  import {
18
- Service41,
19
- node43
20
- } from "./repository-cache-w29cs0xs.js";
18
+ Service74,
19
+ node77
20
+ } from "./form-as472svt.js";
21
21
  import {
22
22
  match2
23
- } from "./repository-cache-y1fvbwt7.js";
23
+ } from "./form-y1fvbwt7.js";
24
24
  import {
25
- Service42,
26
- node44
27
- } from "./repository-cache-d4ex4t7m.js";
25
+ Service75,
26
+ node78
27
+ } from "./form-g091zayf.js";
28
28
  import {
29
- Service69,
30
- node71
31
- } from "./repository-cache-8s4zq5p9.js";
29
+ Service77,
30
+ node80
31
+ } from "./form-ze75yzft.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-cache-9rqn6x4v.js";
34
+ } from "./form-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event6,
46
- ID: () => ID4,
47
- NotFoundError: () => NotFoundError3,
48
- Permission: () => exports_permission,
45
+ Event: () => Event16,
46
+ ID: () => ID10,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
52
- Rule: () => Rule2,
51
+ Request: () => Request3,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service40,
55
- Source: () => Source4,
54
+ Service: () => Service73,
55
+ Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node42
58
+ node: () => node76
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event6 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event16 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID4 = Permission.ID;
68
- var Source4 = Permission.Source;
67
+ var ID10 = Permission.ID;
68
+ var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
77
+ var Request3 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID4.pipe(Schema.optional),
80
+ id: ID10.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID6.pipe(Schema.optional)
82
+ agent: ID12.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID4,
85
+ requestID: ID10,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID4,
90
+ id: ID10,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError3 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID4
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID10
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service40 extends Context.Service()("@opencode/Permission") {
128
+ class Service73 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service40, Effect.gen(function* () {
131
- const bus = yield* Service84;
130
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
131
+ const bus = yield* Service85;
132
132
  const location = yield* Service82;
133
- const agents = yield* Service43;
134
- const sessions = yield* Service41;
135
- const saved = yield* Service42;
136
- const hooks = yield* Service69;
133
+ const agents = yield* Service76;
134
+ const sessions = yield* Service74;
135
+ const saved = yield* Service75;
136
+ const hooks = yield* Service77;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError4({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID4.create(),
189
+ id: input.id ?? ID10.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID4.create(), effect: "deny" };
214
+ return { id: input.id ?? ID10.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError3({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service40.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service73.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node42 = makeLocationNode({
303
- service: Service40,
302
+ var node76 = makeLocationNode({
303
+ service: Service73,
304
304
  layer,
305
- deps: [node88, node86, node45, node43, node44, node71]
305
+ deps: [node89, node86, node79, node77, node78, node80]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID4, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError3, evaluate2, merge2, Service40, node42, exports_permission, Rule2, Ruleset2, Event6 };
308
+ export { PermissionEffect, ID10, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service73, node76, exports_permission2, Rule3, Ruleset2, Event16 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./repository-cache-z5v4ffb3.js";
3
+ } from "./form-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service66
7
- } from "./repository-cache-xn26nr4q.js";
6
+ Service53
7
+ } from "./form-k5yp4jza.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./repository-cache-hgz4x7wa.js";
10
+ } from "./form-hgz4x7wa.js";
11
11
  import {
12
- Service74
13
- } from "./repository-cache-2xfc23b2.js";
12
+ Service56
13
+ } from "./form-rmb1gw6x.js";
14
14
  import {
15
- Service39
16
- } from "./repository-cache-1b45vsnf.js";
15
+ Service65
16
+ } from "./form-bc1hz80r.js";
17
17
  import {
18
- Service40
19
- } from "./repository-cache-sjmbs52b.js";
18
+ Service73
19
+ } from "./form-csrxhvh8.js";
20
20
  import {
21
- Service16,
21
+ Service17,
22
22
  resolvePath2
23
- } from "./repository-cache-9mwy3bj8.js";
23
+ } from "./form-q47bt154.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./repository-cache-vzs5sf6e.js";
29
+ } from "./form-vzs5sf6e.js";
30
30
  import {
31
- Service71,
31
+ Service59,
32
32
  name16
33
- } from "./repository-cache-1n1cqex2.js";
33
+ } from "./form-w56rxd4n.js";
34
34
  import {
35
- NotFoundError10,
36
- Service63
37
- } from "./repository-cache-sd1g7zk7.js";
35
+ NotFoundError7,
36
+ Service51
37
+ } from "./form-r9vpxkp0.js";
38
38
  import {
39
- Service17
40
- } from "./repository-cache-n0qazxv2.js";
39
+ Service28
40
+ } from "./form-weqnn3ye.js";
41
41
  import {
42
- scan3
43
- } from "./repository-cache-dsc6dxmh.js";
42
+ scan2
43
+ } from "./form-3cswzw9g.js";
44
44
  import {
45
45
  __export
46
- } from "./repository-cache-9rqn6x4v.js";
46
+ } from "./form-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input13,
53
- Plugin: () => Plugin32,
54
- ShellTool: () => exports_shell2,
55
- name: () => name13
52
+ Input: () => Input10,
53
+ Plugin: () => Plugin12,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name10
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name13 = "shell";
60
+ var name10 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input13 = Schema.Struct({
74
+ var Input10 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin32 = {
120
+ var Plugin12 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service17;
124
- const jobs = yield* Service39;
123
+ const sessions = yield* Service28;
124
+ const jobs = yield* Service65;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service74;
127
- const access = yield* Service16;
128
- const shell = yield* Service63;
129
- const shellSelect = yield* Service71;
126
+ const environment = yield* Service56;
127
+ const access = yield* Service17;
128
+ const shell = yield* Service51;
129
+ const shellSelect = yield* Service59;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service40;
132
- const config = yield* Service66;
131
+ const permission = yield* Service73;
132
+ const config = yield* Service53;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin32 = {
140
140
  invocation.cwd = target.absolute;
141
141
  const timeout = invocation.timeout;
142
142
  const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
143
- const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
143
+ const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
144
144
  const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
145
145
  path: resolvePath2(target.absolute, directory),
146
146
  kind: "directory"
@@ -148,7 +148,7 @@ var Plugin32 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name13,
151
+ action: name10,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin32 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name13,
188
+ name: name10,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input13,
191
+ input: Input10,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin32 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError10({ id: info.id });
214
+ return yield* new NotFoundError7({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name13,
228
+ type: name10,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name13];
258
+ const tool = event.tools[name10];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name13, DEFAULT_TIMEOUT_MS2, Input13, Plugin32, exports_shell2 };
269
+ export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin12, exports_shell };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-z5v4ffb3.js";
3
+ } from "./form-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./form-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service13,
11
+ Service: () => Service7,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node15
13
+ node: () => node9
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service13 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service13, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service13.of({
66
+ return Service7.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node15 = makeGlobalNode({ service: Service13, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node9 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service13, node15, exports_discovery };
155
+ export { Service7, node9, exports_discovery };
@@ -1,58 +1,58 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./repository-cache-92e46w1f.js";
2
+ Service85,
3
+ node89
4
+ } from "./form-5tp7cf11.js";
5
5
  import {
6
- Service79,
6
+ Service80,
7
7
  node83
8
- } from "./repository-cache-v8jthr7x.js";
8
+ } from "./form-z3yspz9a.js";
9
9
  import {
10
10
  Service83,
11
11
  node87
12
- } from "./repository-cache-gbx5w9e0.js";
12
+ } from "./form-6jgeearj.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service82,
16
16
  node86
17
- } from "./repository-cache-zxcvat1v.js";
17
+ } from "./form-f8bcsxje.js";
18
18
  import {
19
19
  canonical3
20
- } from "./repository-cache-fnkj6y17.js";
20
+ } from "./form-64hwtt3x.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./repository-cache-ec1grn59.js";
23
+ } from "./form-ec1grn59.js";
24
24
  import {
25
- Service40,
26
- node42
27
- } from "./repository-cache-sjmbs52b.js";
25
+ Service73,
26
+ node76
27
+ } from "./form-csrxhvh8.js";
28
28
  import {
29
- Service53,
30
- node55
31
- } from "./repository-cache-1yek6bdb.js";
29
+ Service81,
30
+ node85
31
+ } from "./form-jh2ps5wy.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-cache-9rqn6x4v.js";
34
+ } from "./form-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service14,
41
- node: () => node16
40
+ Service: () => Service71,
41
+ node: () => node74
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service71 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service14, Effect.gen(function* () {
51
- const bus = yield* Service84;
50
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
51
+ const bus = yield* Service85;
52
52
  const location = yield* Service82;
53
- const permission = yield* Service40;
54
- const forms = yield* Service79;
55
- const rpc = yield* Service53;
53
+ const permission = yield* Service73;
54
+ const forms = yield* Service80;
55
+ const rpc = yield* Service81;
56
56
  const project = yield* Service83;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service14.of({
83
+ return Service71.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node16 = makeLocationNode({
89
- service: Service14,
88
+ var node74 = makeLocationNode({
89
+ service: Service71,
90
90
  layer,
91
- deps: [node88, node86, node42, node87, node83, node55]
91
+ deps: [node89, node86, node76, node87, node83, node85]
92
92
  });
93
93
 
94
- export { Service14, node16, exports_location_lifecycle };
94
+ export { Service71, node74, exports_location_lifecycle };