@opencode/core 0.0.0-dev-21563 → 0.0.0-dev-21570

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{generate-crfddmzc.js → app-00zh2tpm.js} +8 -8
  8. package/dist/chunks/{generate-6c8j4tbz.js → app-04fhc9pj.js} +16 -16
  9. package/dist/chunks/{generate-zax9hrrj.js → app-0kkqynqr.js} +189 -189
  10. package/dist/chunks/{generate-06e0dsx1.js → app-0twgbthj.js} +16 -16
  11. package/dist/chunks/{generate-6mw0z9b9.js → app-10bwkysh.js} +13 -13
  12. package/dist/chunks/{generate-dtjdv03g.js → app-1622r1ga.js} +4 -4
  13. package/dist/chunks/{generate-d2dx6a7h.js → app-173t91w5.js} +4 -4
  14. package/dist/chunks/{generate-s3sx9mn6.js → app-18harhtr.js} +13 -13
  15. package/dist/chunks/{generate-w4pz5j85.js → app-19779spt.js} +26 -26
  16. package/dist/chunks/{generate-jgt5st1g.js → app-19b0nq78.js} +32 -32
  17. package/dist/chunks/{generate-f1xnqdyr.js → app-1jtf53by.js} +4 -4
  18. package/dist/chunks/{generate-7a9ph374.js → app-1s9fs40v.js} +4 -4
  19. package/dist/chunks/{generate-1x2knyw4.js → app-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{generate-jcbtawrq.js → app-1y8dm7ap.js} +17 -17
  21. package/dist/chunks/{generate-p7vhpwh8.js → app-1yq9hg58.js} +5 -5
  22. package/dist/chunks/{generate-4eed2b0j.js → app-20mxm868.js} +17 -17
  23. package/dist/chunks/{generate-qe8930r1.js → app-210jfvy6.js} +14 -14
  24. package/dist/chunks/{generate-rdhjazzg.js → app-25vgcjra.js} +21 -21
  25. package/dist/chunks/{generate-0443psqk.js → app-26bpbd1f.js} +23 -23
  26. package/dist/chunks/{generate-1ep2p91f.js → app-27w5k9zf.js} +2 -2
  27. package/dist/chunks/{generate-fq4px9zp.js → app-2emv3dac.js} +20 -20
  28. package/dist/chunks/{generate-d326b540.js → app-2g37s6n5.js} +11 -11
  29. package/dist/chunks/{generate-6ztc4jbn.js → app-2qv7s079.js} +8 -8
  30. package/dist/chunks/{generate-jddh4vgn.js → app-2sh6np1t.js} +53 -53
  31. package/dist/chunks/{generate-s84dsypd.js → app-2x6dhx7z.js} +6 -6
  32. package/dist/chunks/{generate-ah1m9kg9.js → app-2y353qze.js} +18 -18
  33. package/dist/chunks/{generate-2z1j29yd.js → app-2z1j29yd.js} +1 -1
  34. package/dist/chunks/{generate-c1a686j5.js → app-31wms35x.js} +8 -8
  35. package/dist/chunks/{generate-ba7ngyz7.js → app-33wj402p.js} +34 -34
  36. package/dist/chunks/{generate-3xk26rw4.js → app-38c4qa7w.js} +5 -5
  37. package/dist/chunks/{generate-1mtcyeq8.js → app-38dzhn5x.js} +33 -33
  38. package/dist/chunks/{generate-ayjs7tqn.js → app-3cbjf1nt.js} +2 -2
  39. package/dist/chunks/{generate-wybahy8v.js → app-3ddszj5t.js} +33 -33
  40. package/dist/chunks/{generate-rv8w38an.js → app-3ft77epc.js} +9 -9
  41. package/dist/chunks/{generate-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{generate-ka2n5pfv.js → app-3j99hnw3.js} +33 -33
  43. package/dist/chunks/{generate-bkjvw32t.js → app-3v0zq4wp.js} +14 -14
  44. package/dist/chunks/{generate-a7zxg0bg.js → app-3vvwd6ke.js} +14 -14
  45. package/dist/chunks/{generate-jh346mvv.js → app-3xwkv16t.js} +331 -331
  46. package/dist/chunks/{generate-z37k9505.js → app-3yme8bqy.js} +16 -16
  47. package/dist/chunks/{generate-z2a2ye1r.js → app-4b1atmcq.js} +12 -12
  48. package/dist/chunks/{generate-d9p590j3.js → app-4cxsxbgt.js} +19 -19
  49. package/dist/chunks/{generate-4kdcmdga.js → app-4f3sm4z4.js} +17 -17
  50. package/dist/chunks/{generate-3jp652nn.js → app-4g0fsgbg.js} +6 -6
  51. package/dist/chunks/{generate-280dayrs.js → app-4k74q3cd.js} +22 -22
  52. package/dist/chunks/{generate-x774aw49.js → app-4n53z3gy.js} +11 -11
  53. package/dist/chunks/{generate-6zfxg6c6.js → app-4pxwt4n4.js} +10 -10
  54. package/dist/chunks/{generate-b5p5nngv.js → app-4qv1he3d.js} +50 -50
  55. package/dist/chunks/{generate-4v008n1t.js → app-4v008n1t.js} +1 -1
  56. package/dist/chunks/{generate-4xvmh7wp.js → app-4xvmh7wp.js} +3 -3
  57. package/dist/chunks/{generate-vhwf8nac.js → app-569sdvd3.js} +8 -8
  58. package/dist/chunks/{generate-q62c5m1h.js → app-5ab172h5.js} +40 -40
  59. package/dist/chunks/{generate-gsyd3cda.js → app-5bvqzxvh.js} +11 -11
  60. package/dist/chunks/{generate-drqhczqs.js → app-5cc3rvwm.js} +85 -85
  61. package/dist/chunks/{generate-6g08cwsb.js → app-5cw0dcrr.js} +12 -12
  62. package/dist/chunks/{generate-p1bnnv0d.js → app-5dtf0xw8.js} +11 -11
  63. package/dist/chunks/{generate-3jzb0r2n.js → app-5gnmyaq2.js} +5 -5
  64. package/dist/chunks/{generate-5m9w47nd.js → app-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{generate-5nnwax6m.js → app-5nnwax6m.js} +2 -2
  66. package/dist/chunks/{generate-n1pz9w08.js → app-5p205wab.js} +4 -4
  67. package/dist/chunks/{generate-2jgkbkn1.js → app-695xd8qp.js} +19 -19
  68. package/dist/chunks/{generate-xs6sb18z.js → app-6be6yqxw.js} +17 -17
  69. package/dist/chunks/{generate-07phzgjg.js → app-6c9gsgb8.js} +16 -16
  70. package/dist/chunks/{generate-6esdw8yj.js → app-6esdw8yj.js} +1 -1
  71. package/dist/chunks/{generate-naa9f1yr.js → app-6msrtbg0.js} +18 -18
  72. package/dist/chunks/{generate-6pjqjmy2.js → app-6pjqjmy2.js} +1 -1
  73. package/dist/chunks/{generate-c8ar4m6j.js → app-6w4saq69.js} +45 -45
  74. package/dist/chunks/{generate-m6n3gz95.js → app-6wb2zb64.js} +23 -23
  75. package/dist/chunks/{generate-cf7jrmsj.js → app-73xz0dh8.js} +5 -5
  76. package/dist/chunks/{generate-w8qtt4th.js → app-76cb1hcw.js} +4 -4
  77. package/dist/chunks/{generate-cr6fwty7.js → app-79b21x4r.js} +7 -7
  78. package/dist/chunks/{generate-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{generate-gn5bzjhx.js → app-7dj845q2.js} +21 -21
  80. package/dist/chunks/{generate-4c4eb9w2.js → app-7q2jq33p.js} +13 -13
  81. package/dist/chunks/{generate-ybwdqt9k.js → app-7v5ecr6b.js} +13 -13
  82. package/dist/chunks/{generate-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
  83. package/dist/chunks/{generate-ynm9hr00.js → app-7wxrbrvg.js} +29 -29
  84. package/dist/chunks/{generate-b17b73pv.js → app-7xw28p93.js} +28 -28
  85. package/dist/chunks/app-7yv5xa0k.js +18 -0
  86. package/dist/chunks/{generate-h9q9d3sq.js → app-7ywpwnkp.js} +29 -29
  87. package/dist/chunks/{generate-y6wjeqxz.js → app-81tex3wg.js} +15 -15
  88. package/dist/chunks/{generate-p3my5sye.js → app-86a1xg0s.js} +14 -14
  89. package/dist/chunks/{generate-vehp2e4d.js → app-86jbmjy0.js} +19 -19
  90. package/dist/chunks/{generate-qjgzc4b4.js → app-8jztxfpf.js} +4 -4
  91. package/dist/chunks/{generate-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
  92. package/dist/chunks/{generate-91rj84md.js → app-91rj84md.js} +1 -1
  93. package/dist/chunks/{generate-hmmgtkw5.js → app-91zpvmry.js} +11 -11
  94. package/dist/chunks/{generate-fwjbw8c3.js → app-92shyse6.js} +13 -13
  95. package/dist/chunks/{generate-y1bsf4pc.js → app-93rhewbm.js} +32 -32
  96. package/dist/chunks/{generate-dkq45v8d.js → app-956c56jz.js} +6 -6
  97. package/dist/chunks/{generate-hsdcm9m6.js → app-98gmkcwn.js} +35 -35
  98. package/dist/chunks/{generate-acamw3g0.js → app-9e4t472b.js} +10 -10
  99. package/dist/chunks/app-9pfqjpyy.js +257 -0
  100. package/dist/chunks/{generate-0bke9tpm.js → app-9r0x1bva.js} +9 -9
  101. package/dist/chunks/{generate-wmwt0t0m.js → app-9vd5hnnp.js} +15 -15
  102. package/dist/chunks/{generate-d86va4wf.js → app-9vy7ymhz.js} +24 -24
  103. package/dist/chunks/{generate-2tfwfzen.js → app-a8fwv04y.js} +2 -2
  104. package/dist/chunks/{generate-m416erh4.js → app-ade0xppm.js} +9 -9
  105. package/dist/chunks/{generate-034tev2y.js → app-aj7mw0zk.js} +2 -2
  106. package/dist/chunks/{generate-268wp9v4.js → app-ak0r7mhr.js} +4 -4
  107. package/dist/chunks/{generate-ds4c1w6p.js → app-ak5m35an.js} +6 -6
  108. package/dist/chunks/{generate-f5k7224w.js → app-anvrad6f.js} +27 -27
  109. package/dist/chunks/{generate-0m6b3axq.js → app-arxr4n82.js} +18 -18
  110. package/dist/chunks/{generate-8n9x2wf6.js → app-arz7hw7x.js} +2 -2
  111. package/dist/chunks/{generate-tycew84m.js → app-as49vg6k.js} +30 -30
  112. package/dist/chunks/{generate-a3t7zwft.js → app-aswvndy1.js} +45 -45
  113. package/dist/chunks/{generate-y8j3s4v0.js → app-ax4xcqdr.js} +4 -4
  114. package/dist/chunks/{generate-b0mv4wxm.js → app-b0mv4wxm.js} +2 -2
  115. package/dist/chunks/{generate-e4dtt5ff.js → app-b5rmxzna.js} +9 -9
  116. package/dist/chunks/{generate-bstexjd6.js → app-bstexjd6.js} +1 -1
  117. package/dist/chunks/{generate-nc0t5309.js → app-c0hpp7j5.js} +18 -18
  118. package/dist/chunks/{generate-kywaegby.js → app-c1bqr4jn.js} +5 -5
  119. package/dist/chunks/{generate-zw4pk1bw.js → app-c5c0bz0t.js} +5 -5
  120. package/dist/chunks/{generate-hd3k4wz8.js → app-c5kjsz6q.js} +4 -4
  121. package/dist/chunks/{generate-c9t2ty9q.js → app-c9t2ty9q.js} +1 -1
  122. package/dist/chunks/{generate-x7fdz9fh.js → app-ce6jsch9.js} +20 -20
  123. package/dist/chunks/{generate-dg96ektr.js → app-ce9s6z8c.js} +15 -15
  124. package/dist/chunks/{generate-2hr5rmqc.js → app-cnda3w9r.js} +9 -9
  125. package/dist/chunks/{generate-qd7381sw.js → app-cqp8bbqc.js} +12 -12
  126. package/dist/chunks/{generate-gfftbxav.js → app-d3p229mm.js} +9 -9
  127. package/dist/chunks/{generate-d4v9tmah.js → app-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{generate-pc1v25hk.js → app-dh62xe4r.js} +3 -3
  129. package/dist/chunks/{generate-0mcrt4fa.js → app-djzk6aem.js} +4 -4
  130. package/dist/chunks/{generate-p910tjw3.js → app-dr37mt8v.js} +4 -4
  131. package/dist/chunks/{generate-998yhzzq.js → app-dvj9ct8m.js} +3 -3
  132. package/dist/chunks/{generate-f6wfqyz7.js → app-e5gw6wwr.js} +10 -10
  133. package/dist/chunks/{generate-e834z07m.js → app-e834z07m.js} +1 -1
  134. package/dist/chunks/{generate-g9ndtp1p.js → app-e8pm465n.js} +4 -4
  135. package/dist/chunks/{generate-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{generate-dw02th3g.js → app-efn85jpf.js} +3 -3
  137. package/dist/chunks/{generate-38heweg8.js → app-eg9pfg6h.js} +5 -5
  138. package/dist/chunks/{generate-jzdfcbw4.js → app-etcq3wj6.js} +85 -85
  139. package/dist/chunks/{generate-n521w511.js → app-eth5ae7t.js} +63 -63
  140. package/dist/chunks/{generate-ffxnyj3q.js → app-f0qp72je.js} +6 -6
  141. package/dist/chunks/{generate-vzy7qmck.js → app-f7kfhre8.js} +28 -28
  142. package/dist/chunks/{generate-xjq3zqqg.js → app-fc895th3.js} +8 -8
  143. package/dist/chunks/{generate-fffv3p7h.js → app-fffv3p7h.js} +1 -1
  144. package/dist/chunks/{generate-mfmv0kv1.js → app-fh92gkhk.js} +4 -4
  145. package/dist/chunks/{generate-94j4dkqe.js → app-fhh94x7z.js} +11 -11
  146. package/dist/chunks/{generate-vrhy8dh6.js → app-fr73gbb1.js} +10 -10
  147. package/dist/chunks/{generate-yhjes8yv.js → app-g49wnabm.js} +5 -5
  148. package/dist/chunks/{generate-g5h9c0rr.js → app-g5h9c0rr.js} +2 -2
  149. package/dist/chunks/{generate-5xwxezg3.js → app-ge9weg3j.js} +17 -17
  150. package/dist/chunks/{generate-yx31kd0w.js → app-grvayz05.js} +28 -28
  151. package/dist/chunks/{generate-4hhvtbzy.js → app-gy26d4cp.js} +25 -25
  152. package/dist/chunks/{generate-6qkfs1hq.js → app-h7rgkctr.js} +1 -1
  153. package/dist/chunks/{generate-xk77ac0a.js → app-hfrd5zd9.js} +14 -14
  154. package/dist/chunks/{generate-87982064.js → app-hh1m5t0r.js} +10 -10
  155. package/dist/chunks/{generate-a5g15581.js → app-hhafapa0.js} +2 -2
  156. package/dist/chunks/{generate-agtp4d9h.js → app-hne7gxgz.js} +32 -32
  157. package/dist/chunks/{generate-w72jy28c.js → app-htx6nhp5.js} +7 -7
  158. package/dist/chunks/{generate-j113cymg.js → app-j113cymg.js} +1 -1
  159. package/dist/chunks/{generate-d8qd4w10.js → app-jae53m2x.js} +5 -5
  160. package/dist/chunks/{generate-6v7f1yd0.js → app-jcgydn6h.js} +25 -25
  161. package/dist/chunks/{generate-rmt6m6se.js → app-jcqm84fr.js} +9 -9
  162. package/dist/chunks/{generate-67b48yf1.js → app-jes3kmg5.js} +34 -34
  163. package/dist/chunks/{generate-6gddga0x.js → app-jfpsek1t.js} +9 -9
  164. package/dist/chunks/{generate-y2tacs4v.js → app-jneg3k74.js} +8 -8
  165. package/dist/chunks/{generate-48h67ern.js → app-jsxsss6h.js} +19 -19
  166. package/dist/chunks/{generate-3ntmh1g8.js → app-jth5b7nb.js} +21 -21
  167. package/dist/chunks/{generate-e4nrxrzc.js → app-k1r9t87x.js} +14 -14
  168. package/dist/chunks/{generate-w923jztq.js → app-k56nbahk.js} +30 -30
  169. package/dist/chunks/{generate-kmj6meg3.js → app-k5y4r48d.js} +28 -28
  170. package/dist/chunks/{generate-8wvgy420.js → app-k60vrjeg.js} +6 -6
  171. package/dist/chunks/{generate-k814nvkf.js → app-k814nvkf.js} +1 -1
  172. package/dist/chunks/{generate-v1n51q4a.js → app-k9b5863x.js} +9 -9
  173. package/dist/chunks/{generate-0rq01gt9.js → app-kbmq0v6f.js} +5 -5
  174. package/dist/chunks/{generate-p0tsr9h6.js → app-kd4chd64.js} +7 -7
  175. package/dist/chunks/{generate-np41maqj.js → app-kjwktd7k.js} +19 -19
  176. package/dist/chunks/{generate-ecfrjnaf.js → app-kjzcdnr5.js} +42 -42
  177. package/dist/chunks/{generate-fx06c4yw.js → app-kkxbngda.js} +30 -30
  178. package/dist/chunks/{generate-fdp97wc0.js → app-kqxxwkn3.js} +17 -17
  179. package/dist/chunks/{generate-m1714858.js → app-m1714858.js} +1 -1
  180. package/dist/chunks/{generate-m37sd98t.js → app-m37sd98t.js} +1 -1
  181. package/dist/chunks/{generate-r3zyq36m.js → app-m4m284hh.js} +15 -15
  182. package/dist/chunks/{generate-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{generate-maspj1v3.js → app-maspj1v3.js} +1 -1
  184. package/dist/chunks/{generate-me5bcav6.js → app-me5bcav6.js} +1 -1
  185. package/dist/chunks/{generate-v52mmt0f.js → app-mfkqmekj.js} +9 -9
  186. package/dist/chunks/{generate-n0p0277s.js → app-n0p0277s.js} +1 -1
  187. package/dist/chunks/{generate-883rwgqp.js → app-n5cwa87a.js} +27 -27
  188. package/dist/chunks/{generate-nah043kf.js → app-nah043kf.js} +1 -1
  189. package/dist/chunks/{generate-w3d65hzj.js → app-ne4y78rw.js} +2 -2
  190. package/dist/chunks/{generate-0cs5dcs0.js → app-nh8v8ke6.js} +19 -19
  191. package/dist/chunks/{generate-5emr5dp8.js → app-nwr7kgq9.js} +19 -19
  192. package/dist/chunks/{generate-p015t6z3.js → app-p015t6z3.js} +2 -2
  193. package/dist/chunks/{generate-vwz214c8.js → app-p0y2phsj.js} +32 -32
  194. package/dist/chunks/{generate-0cmwyhaq.js → app-p814keat.js} +20 -20
  195. package/dist/chunks/{generate-9b28cy4d.js → app-pacbbjc0.js} +5 -5
  196. package/dist/chunks/{generate-pknna89w.js → app-pknna89w.js} +1 -1
  197. package/dist/chunks/{generate-j8p3npgm.js → app-pvn5ra1s.js} +7 -7
  198. package/dist/chunks/{generate-56m9f56v.js → app-pwq9efzz.js} +23 -23
  199. package/dist/chunks/{generate-mpjcpqpe.js → app-pyp72qgk.js} +17 -17
  200. package/dist/chunks/{generate-g2895gq7.js → app-q1sfq5ar.js} +24 -24
  201. package/dist/chunks/{generate-dz8hhvgv.js → app-q46y00v4.js} +9 -9
  202. package/dist/chunks/{generate-jj998gzn.js → app-q67e8ksv.js} +43 -43
  203. package/dist/chunks/{generate-xevjgmtb.js → app-q732j4yv.js} +11 -11
  204. package/dist/chunks/app-qagaq7sy.js +26 -0
  205. package/dist/chunks/{generate-g1jpy47d.js → app-qrn4wzgg.js} +17 -17
  206. package/dist/chunks/{generate-vfn6hbth.js → app-qtz1mk7q.js} +11 -11
  207. package/dist/chunks/{generate-r0yr0wbs.js → app-r0yr0wbs.js} +1 -1
  208. package/dist/chunks/{generate-gxfvg231.js → app-r6kz875z.js} +13 -13
  209. package/dist/chunks/{generate-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
  210. package/dist/chunks/{generate-g6p5rgqz.js → app-rdwyycgw.js} +12 -12
  211. package/dist/chunks/{generate-ctf5g10g.js → app-rmnrnby4.js} +34 -34
  212. package/dist/chunks/{generate-x8hhwygw.js → app-rsd1vv3y.js} +38 -38
  213. package/dist/chunks/{generate-rt5dr6hb.js → app-rt5dr6hb.js} +1 -1
  214. package/dist/chunks/{generate-x06crd5t.js → app-s170k3xw.js} +23 -23
  215. package/dist/chunks/{generate-xf011dtc.js → app-s8vp3f5v.js} +15 -15
  216. package/dist/chunks/{generate-dwwyec8z.js → app-sbegqkxp.js} +6 -6
  217. package/dist/chunks/{generate-5xepaxvw.js → app-sft389ej.js} +18 -18
  218. package/dist/chunks/{generate-az4hfc8s.js → app-snvvzbj8.js} +47 -47
  219. package/dist/chunks/{generate-vhy1jp8z.js → app-sp9905ca.js} +22 -22
  220. package/dist/chunks/{generate-sqjzf8x2.js → app-sqjzf8x2.js} +1 -1
  221. package/dist/chunks/{generate-3g4pre0h.js → app-sr3t0mwa.js} +18 -18
  222. package/dist/chunks/{generate-q60vxn6h.js → app-ssr08r1k.js} +34 -34
  223. package/dist/chunks/{generate-4mkdw68v.js → app-svw9b4tv.js} +8 -8
  224. package/dist/chunks/{generate-7xg2jm5b.js → app-szcgc7h4.js} +5 -5
  225. package/dist/chunks/{generate-gd9xqwfz.js → app-t8fe48pd.js} +1 -1
  226. package/dist/chunks/{generate-mt3ysty9.js → app-tasvem1v.js} +6 -6
  227. package/dist/chunks/{generate-tczq8hjw.js → app-tczq8hjw.js} +1 -1
  228. package/dist/chunks/{generate-c3cfh5w6.js → app-tkmwn4n3.js} +7 -7
  229. package/dist/chunks/{generate-3nnrz6f6.js → app-tmc7xdjs.js} +4 -4
  230. package/dist/chunks/{generate-gfj1dh2k.js → app-ttpcrarc.js} +14 -14
  231. package/dist/chunks/{generate-tw8zr1ps.js → app-tw8zr1ps.js} +1 -1
  232. package/dist/chunks/{generate-twv2r8f4.js → app-twv2r8f4.js} +2 -2
  233. package/dist/chunks/{generate-asaqahta.js → app-v5gy4fh6.js} +8 -8
  234. package/dist/chunks/{generate-v5prxdmf.js → app-v5prxdmf.js} +2 -2
  235. package/dist/chunks/{generate-srcm619j.js → app-va59929a.js} +24 -24
  236. package/dist/chunks/{generate-vd3b3yk9.js → app-vd3b3yk9.js} +1 -1
  237. package/dist/chunks/{generate-eez2jsbe.js → app-vdcfetgk.js} +49 -49
  238. package/dist/chunks/{generate-veqvce7d.js → app-veqvce7d.js} +1 -1
  239. package/dist/chunks/{generate-bbym2bqy.js → app-vgx47e1e.js} +3 -3
  240. package/dist/chunks/{generate-xatr71eh.js → app-vkqjcjxb.js} +51 -51
  241. package/dist/chunks/{generate-a5znd7ce.js → app-vrh99vxp.js} +5 -5
  242. package/dist/chunks/{generate-vfgay4tf.js → app-w1tf2vhf.js} +24 -24
  243. package/dist/chunks/{generate-40za9wsf.js → app-w2eysc6j.js} +9 -9
  244. package/dist/chunks/{generate-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{generate-fznmdakp.js → app-w687dnns.js} +4 -4
  246. package/dist/chunks/{generate-wakvkjy4.js → app-wakvkjy4.js} +1 -1
  247. package/dist/chunks/{generate-wd87259q.js → app-wd87259q.js} +1 -1
  248. package/dist/chunks/{generate-wnv14c0b.js → app-wephwg65.js} +22 -22
  249. package/dist/chunks/{generate-2zqqmjez.js → app-wf9nn3bs.js} +11 -11
  250. package/dist/chunks/{generate-973hqt29.js → app-wfvde9ev.js} +6 -6
  251. package/dist/chunks/{generate-3g7vrncj.js → app-whb6jbxc.js} +34 -34
  252. package/dist/chunks/{generate-ps3ej18z.js → app-wjdw9j8d.js} +4 -4
  253. package/dist/chunks/{generate-64pwmkab.js → app-wr9nceen.js} +9 -9
  254. package/dist/chunks/{generate-dq2enhqf.js → app-wrh8ttgh.js} +35 -35
  255. package/dist/chunks/{generate-5knrbc6f.js → app-wsxy8nck.js} +43 -43
  256. package/dist/chunks/{generate-a1phgnt9.js → app-x62jdknq.js} +12 -12
  257. package/dist/chunks/{generate-apkkjdpa.js → app-xdts610a.js} +31 -31
  258. package/dist/chunks/{generate-mtyjk5mv.js → app-xjcvkgq2.js} +11 -11
  259. package/dist/chunks/{generate-3dvwpjdr.js → app-xkeb9rs5.js} +33 -33
  260. package/dist/chunks/{generate-kdx3nhfk.js → app-xn9prk0h.js} +4 -4
  261. package/dist/chunks/{generate-axmhfv8p.js → app-xngx3rps.js} +5 -5
  262. package/dist/chunks/{generate-ecq052tn.js → app-xnwj5rqb.js} +20 -20
  263. package/dist/chunks/{generate-t6x4gq5g.js → app-xp3f508c.js} +17 -17
  264. package/dist/chunks/{generate-24e7end9.js → app-xs6ta2mn.js} +7 -7
  265. package/dist/chunks/{generate-rky3kepx.js → app-xthgq65r.js} +10 -10
  266. package/dist/chunks/{generate-3dg2krd3.js → app-y4pjxpxm.js} +27 -27
  267. package/dist/chunks/{generate-5gk89hyb.js → app-y8t6cpt7.js} +12 -12
  268. package/dist/chunks/{generate-yb20nhc3.js → app-yb20nhc3.js} +1 -1
  269. package/dist/chunks/{generate-tg1vr1qt.js → app-ydsespw1.js} +8 -8
  270. package/dist/chunks/{generate-9ra49ptr.js → app-yhn0a50f.js} +24 -24
  271. package/dist/chunks/{generate-fwt74e85.js → app-ym0en988.js} +15 -15
  272. package/dist/chunks/{generate-1q324bgk.js → app-yt57kqfa.js} +7 -7
  273. package/dist/chunks/{generate-fcz54ycx.js → app-ywgha77a.js} +13 -13
  274. package/dist/chunks/{generate-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{generate-z38nccrw.js → app-z38nccrw.js} +1 -1
  276. package/dist/chunks/{generate-9awrcxz4.js → app-z5ch3v5q.js} +4 -4
  277. package/dist/chunks/{generate-1e4tspje.js → app-z6fsbrec.js} +3 -3
  278. package/dist/chunks/{generate-pdsqxfs4.js → app-z72fs3kr.js} +26 -26
  279. package/dist/chunks/{generate-zba5tm1j.js → app-zba5tm1j.js} +1 -1
  280. package/dist/chunks/{generate-hv0c9xjm.js → app-zdesn8ss.js} +28 -28
  281. package/dist/chunks/{generate-hq3462wm.js → app-zfwbmsyg.js} +16 -16
  282. package/dist/chunks/{generate-df0hqdma.js → app-zkepmczw.js} +4 -4
  283. package/dist/chunks/{generate-zkg84ctx.js → app-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{generate-231jaqzt.js → app-zm3cpays.js} +14 -14
  285. package/dist/chunks/{generate-v2ekcwaa.js → app-zs5g0jnr.js} +8 -8
  286. package/dist/chunks/{generate-gv9rxcjs.js → app-zxac9sqa.js} +32 -32
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +92 -92
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +227 -227
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +109 -109
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +2 -2
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +138 -138
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +101 -101
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +100 -100
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +82 -82
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +109 -109
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +92 -92
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +103 -103
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +170 -170
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +227 -227
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +90 -90
  562. package/dist/provider.js +99 -99
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +89 -89
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +3 -3
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +132 -132
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +126 -126
  584. package/dist/session/generate.js +166 -166
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +91 -91
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +95 -95
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +132 -132
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +229 -229
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +101 -101
  605. package/dist/session/runner/publish-llm-event.js +116 -116
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +165 -165
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +107 -107
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +166 -166
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +214 -214
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +139 -139
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +215 -215
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +115 -115
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +3 -3
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +95 -95
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/voice.js +86 -86
  676. package/dist/websearch.js +84 -84
  677. package/dist/wellknown/plugin.js +78 -78
  678. package/dist/wellknown.js +83 -83
  679. package/dist/workspace/driver.js +7 -7
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +84 -84
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +8 -8
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +91 -91
  686. package/dist/worktree.js +98 -98
  687. package/package.json +8 -8
  688. package/dist/chunks/generate-4svnxzqq.js +0 -257
  689. package/dist/chunks/generate-jztn5z23.js +0 -18
  690. package/dist/chunks/generate-zgcf70k7.js +0 -26
  691. /package/dist/chunks/{generate-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{generate-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{generate-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{generate-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{generate-24dcb14g.js → app-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{generate-2710q6r3.js → app-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{generate-2bv980vf.js → app-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{generate-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{generate-359p4xyc.js → app-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{generate-3asan66x.js → app-3asan66x.js} +0 -0
  701. /package/dist/chunks/{generate-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{generate-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{generate-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{generate-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{generate-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{generate-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{generate-53557ph1.js → app-53557ph1.js} +0 -0
  708. /package/dist/chunks/{generate-550bvhaj.js → app-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{generate-5fjb7ams.js → app-5fjb7ams.js} +0 -0
  710. /package/dist/chunks/{generate-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{generate-6prwharc.js → app-6prwharc.js} +0 -0
  712. /package/dist/chunks/{generate-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{generate-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{generate-7m9af43g.js → app-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{generate-822emrt2.js → app-822emrt2.js} +0 -0
  716. /package/dist/chunks/{generate-84wd9syh.js → app-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{generate-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{generate-8n3pysct.js → app-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{generate-8wj87zfr.js → app-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{generate-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{generate-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{generate-a058387c.js → app-a058387c.js} +0 -0
  723. /package/dist/chunks/{generate-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{generate-af5trqkr.js → app-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{generate-afrmfg78.js → app-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{generate-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{generate-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{generate-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{generate-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{generate-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{generate-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{generate-d9fn303g.js → app-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{generate-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{generate-dajrwvna.js → app-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{generate-dap0rakb.js → app-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{generate-df08tz66.js → app-df08tz66.js} +0 -0
  737. /package/dist/chunks/{generate-dy18nga0.js → app-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{generate-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{generate-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{generate-ec1grn59.js → app-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{generate-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{generate-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{generate-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{generate-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{generate-faypxj3z.js → app-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{generate-fd410y7t.js → app-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{generate-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{generate-g86h250q.js → app-g86h250q.js} +0 -0
  749. /package/dist/chunks/{generate-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{generate-gftt206x.js → app-gftt206x.js} +0 -0
  751. /package/dist/chunks/{generate-hcxmzztb.js → app-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{generate-hk9envan.js → app-hk9envan.js} +0 -0
  753. /package/dist/chunks/{generate-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{generate-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{generate-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{generate-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{generate-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{generate-jze0r7bz.js → app-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{generate-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{generate-m18g726c.js → app-m18g726c.js} +0 -0
  761. /package/dist/chunks/{generate-mp448xyj.js → app-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{generate-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{generate-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{generate-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{generate-njntx4h6.js → app-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{generate-pkyv6v7h.js → app-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{generate-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{generate-q74kybfr.js → app-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{generate-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{generate-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{generate-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{generate-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{generate-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{generate-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{generate-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{generate-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{generate-ve7vex1e.js → app-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{generate-w803qqfp.js → app-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{generate-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{generate-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{generate-wjj7prxr.js → app-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{generate-wtztk69x.js → app-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{generate-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{generate-x61499pn.js → app-x61499pn.js} +0 -0
  785. /package/dist/chunks/{generate-y44na4kk.js → app-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{generate-y8f7s663.js → app-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{generate-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{generate-ym463w8f.js → app-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{generate-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{generate-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-x774aw49.js";
3
+ } from "./app-4n53z3gy.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./generate-3v8g72cx.js";
6
+ } from "./app-3v8g72cx.js";
7
7
  import {
8
- MAX_RESPONSE_BYTES2,
8
+ MAX_RESPONSE_BYTES3,
9
9
  call2
10
- } from "./generate-40za9wsf.js";
10
+ } from "./app-w2eysc6j.js";
11
11
  import {
12
12
  __export
13
- } from "./generate-9rqn6x4v.js";
13
+ } from "./app-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin4,
18
+ Plugin: () => Plugin39,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint3
20
+ endpoint: () => endpoint5
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Duration, Effect, Option, Schema } from "effect";
24
24
  import { HttpClient, HttpClientRequest } from "effect/http";
25
- var endpoint3 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint5 = "https://agent.tinyfish.ai/mcp";
26
26
  var McpInput = Schema.Struct({
27
27
  query: Schema.String
28
28
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin4 = define({
54
+ var Plugin39 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -78,7 +78,7 @@ var Plugin4 = define({
78
78
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
79
79
  };
80
80
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
81
- const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
82
82
  const content = result?.content.find((item) => item.text);
83
83
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
84
84
  return response?.results.map((item) => ({
@@ -94,7 +94,7 @@ var Plugin4 = define({
94
94
  });
95
95
  var initialize = (http, headers) => Effect.gen(function* () {
96
96
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
97
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
98
98
  jsonrpc: "2.0",
99
99
  id: 1,
100
100
  method: "initialize",
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
105
105
  }
106
106
  }));
107
107
  const response = yield* client.execute(request);
108
- yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
108
+ yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
112
- const notification = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
112
+ const notification = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
113
113
  jsonrpc: "2.0",
114
114
  method: "notifications/initialized"
115
115
  }));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint3, Plugin4, exports_tinyfish };
123
+ export { endpoint5, Plugin39, exports_tinyfish };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./generate-z37k9505.js";
2
+ Service81,
3
+ node85
4
+ } from "./app-3yme8bqy.js";
5
5
  import {
6
- Key4,
7
- make20,
6
+ Key3,
7
+ make21,
8
8
  combine2
9
- } from "./generate-y2tacs4v.js";
9
+ } from "./app-jneg3k74.js";
10
10
  import {
11
11
  __export
12
- } from "./generate-9rqn6x4v.js";
12
+ } from "./app-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: () => Service30,
19
- node: () => node33
18
+ Service: () => Service26,
19
+ node: () => node29
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 Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service26 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service30, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service82;
29
- return Service30.of({
28
+ const location = yield* Service81;
29
+ return Service26.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make20({
32
- key: Key4.make("core/date"),
31
+ make21({
32
+ key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
35
35
  render: {
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make20({
41
- key: Key4.make("core/environment"),
40
+ make21({
41
+ key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
44
44
  "<env>",
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node86] });
63
+ var node29 = makeLocationNode({ service: Service26, layer, deps: [Global.node, node85] });
64
64
 
65
- export { Service30, node33, exports_builtins };
65
+ export { Service26, node29, exports_builtins };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make22,
9
+ make: () => make23,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make22 = () => Effect.sync(makeUnsafe2);
29
+ var make23 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make22, exports_keyed_mutex };
31
+ export { makeUnsafe2, make23, exports_keyed_mutex };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service75
3
- } from "./generate-vhy1jp8z.js";
2
+ Service79
3
+ } from "./app-sp9905ca.js";
4
4
  import {
5
- Service56
6
- } from "./generate-ecfrjnaf.js";
5
+ Service69
6
+ } from "./app-kjzcdnr5.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin51,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name15,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name15 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin51 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service75;
57
- const permission = yield* Service56;
56
+ const forms = yield* Service79;
57
+ const permission = yield* Service69;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name15,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
62
  input: Input14,
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name14, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
120
+ export { name15, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./app-z5v4ffb3.js";
4
4
  import {
5
- Service82
6
- } from "./generate-z37k9505.js";
5
+ Service81
6
+ } from "./app-3yme8bqy.js";
7
7
  import {
8
- Service49
9
- } from "./generate-eez2jsbe.js";
8
+ Service62
9
+ } from "./app-vdcfetgk.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./generate-0cmwyhaq.js";
13
+ } from "./app-p814keat.js";
14
14
  import {
15
15
  observe2
16
- } from "./generate-6pjqjmy2.js";
16
+ } from "./app-6pjqjmy2.js";
17
17
  import {
18
18
  __export
19
- } from "./generate-9rqn6x4v.js";
19
+ } from "./app-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin25
25
+ Plugin: () => Plugin10
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin25 = define({
31
+ var Plugin10 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service49;
35
- const location = yield* Service82;
34
+ const config = yield* Service62;
35
+ const location = yield* Service81;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin25, exports_reference };
75
+ export { Plugin10, exports_reference };
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./generate-z5v4ffb3.js";
5
+ } from "./app-z5v4ffb3.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./generate-z37k9505.js";
7
+ Service81,
8
+ node85
9
+ } from "./app-3yme8bqy.js";
10
10
  import {
11
- Service65,
12
- node68
13
- } from "./generate-b17b73pv.js";
11
+ Service47,
12
+ node49
13
+ } from "./app-7xw28p93.js";
14
14
  import {
15
15
  __export
16
- } from "./generate-9rqn6x4v.js";
16
+ } from "./app-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event12,
27
+ Event: () => Event6,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError10,
34
- Service: () => Service64,
33
+ NotFoundError: () => NotFoundError5,
34
+ Service: () => Service46,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node67
37
+ node: () => node48
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content3 = Schema.Struct({
68
+ var Content2 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event12 = FileSystem.Event;
95
+ var Event6 = FileSystem.Event;
96
96
 
97
- class Service64 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service46 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service46, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service82;
102
- const search = yield* Service65;
101
+ const location = yield* Service81;
102
+ const search = yield* Service47;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError10({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError5({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError10({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError5({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError10({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError5({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service64.of({
121
+ return Service46.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError10({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError5({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError5({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node67 = makeLocationNode({
162
- service: Service64,
161
+ var node48 = makeLocationNode({
162
+ service: Service46,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node86, node68]
164
+ deps: [FSUtil.node, node85, node49]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event12, Service64, node67, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service46, node48, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./generate-m37sd98t.js";
3
+ } from "./app-m37sd98t.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./generate-zkg84ctx.js";
3
+ } from "./app-zkg84ctx.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./generate-z5v4ffb3.js";
6
+ } from "./app-z5v4ffb3.js";
7
7
  import {
8
- Service82
9
- } from "./generate-z37k9505.js";
8
+ Service81
9
+ } from "./app-3yme8bqy.js";
10
10
  import {
11
- Service67
12
- } from "./generate-9ra49ptr.js";
11
+ Service49
12
+ } from "./app-yhn0a50f.js";
13
13
  import {
14
- Service66
15
- } from "./generate-naa9f1yr.js";
14
+ Service48
15
+ } from "./app-6msrtbg0.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./generate-y1bsf4pc.js";
21
+ } from "./app-93rhewbm.js";
22
22
  import {
23
- Service56
24
- } from "./generate-ecfrjnaf.js";
23
+ Service69
24
+ } from "./app-kjzcdnr5.js";
25
25
  import {
26
- Service48
27
- } from "./generate-3g4pre0h.js";
26
+ Service68
27
+ } from "./app-sr3t0mwa.js";
28
28
  import {
29
29
  __export
30
- } from "./generate-9rqn6x4v.js";
30
+ } from "./app-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input2,
37
- Output: () => Output2,
38
- Plugin: () => Plugin37,
39
- name: () => name2,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input12,
37
+ Output: () => Output8,
38
+ Plugin: () => Plugin32,
39
+ name: () => name12,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name2 = "glob";
46
- var Input2 = Schema.Struct({
45
+ var name12 = "glob";
46
+ var Input12 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output8 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin37 = {
66
+ var Plugin32 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service67;
70
- const ripgrep = yield* Service66;
71
- const location = yield* Service82;
72
- const access = yield* Service48;
73
- const permission = yield* Service56;
69
+ const environment = yield* Service49;
70
+ const ripgrep = yield* Service48;
71
+ const location = yield* Service81;
72
+ const access = yield* Service68;
73
+ const permission = yield* Service69;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name2,
75
+ name: name12,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input2,
79
- output: Output2,
78
+ input: Input12,
79
+ output: Output8,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name2,
86
+ action: name12,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin37 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name2, Input2, Output2, toModelContent2, Plugin37, exports_glob };
128
+ export { name12, Input12, Output8, toModelContent6, Plugin32, exports_glob };