@opencode/core 0.0.0-dev-20368 → 0.0.0-dev-20370

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{reference-w0y7f2dx.js → permission-04y7c9md.js} +5 -5
  8. package/dist/chunks/{reference-8wbxkt1z.js → permission-0a1yp5ev.js} +4 -4
  9. package/dist/chunks/{reference-y5jzt5h7.js → permission-0bdrcw2s.js} +2 -2
  10. package/dist/chunks/{reference-jpx3jw6j.js → permission-0dhw0ffe.js} +22 -22
  11. package/dist/chunks/{reference-042pe1mc.js → permission-0ejgwqj5.js} +11 -11
  12. package/dist/chunks/{reference-t9cv2z2y.js → permission-0erzwnay.js} +15 -15
  13. package/dist/chunks/{reference-tvf9c7hb.js → permission-0fpgbkbg.js} +33 -33
  14. package/dist/chunks/{reference-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{reference-9b4bv5f3.js → permission-0s4jt7ck.js} +16 -16
  16. package/dist/chunks/{reference-ey47svxm.js → permission-0x3xhv9s.js} +23 -23
  17. package/dist/chunks/{reference-e2v1jf5m.js → permission-19a3bxyq.js} +26 -26
  18. package/dist/chunks/{reference-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{reference-znpmv816.js → permission-1fcbx43p.js} +6 -6
  20. package/dist/chunks/{reference-7sw46e0q.js → permission-1gy1kzgk.js} +13 -13
  21. package/dist/chunks/{reference-1w3qez5w.js → permission-1jksmp28.js} +20 -20
  22. package/dist/chunks/{reference-ydqd2mjj.js → permission-1pbdd952.js} +14 -14
  23. package/dist/chunks/{reference-eh5brr6k.js → permission-21jww7bk.js} +39 -39
  24. package/dist/chunks/{reference-21r38tys.js → permission-21r38tys.js} +1 -1
  25. package/dist/chunks/{reference-5fanhak1.js → permission-23sxhf85.js} +5 -5
  26. package/dist/chunks/{reference-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{reference-3wpv8ytq.js → permission-2h78p8f6.js} +9 -9
  28. package/dist/chunks/{reference-vsa42d0b.js → permission-2s49x10j.js} +33 -33
  29. package/dist/chunks/{reference-gst7axd9.js → permission-2vs2nh1n.js} +4 -4
  30. package/dist/chunks/{reference-czs4devj.js → permission-31935g6e.js} +23 -23
  31. package/dist/chunks/{reference-tt79120p.js → permission-32tc36nq.js} +17 -17
  32. package/dist/chunks/{reference-1ygqh575.js → permission-33w4ejhs.js} +6 -6
  33. package/dist/chunks/{reference-g4x060ga.js → permission-3df9c95v.js} +11 -11
  34. package/dist/chunks/{reference-qxvtm6f6.js → permission-3f4vjzp5.js} +15 -15
  35. package/dist/chunks/{reference-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{reference-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{reference-5yts36ct.js → permission-3kefyn93.js} +1 -1
  38. package/dist/chunks/{reference-t9yx3vxp.js → permission-3mq23zwx.js} +22 -22
  39. package/dist/chunks/{reference-8aaqm6qj.js → permission-3rtxz4nr.js} +8 -8
  40. package/dist/chunks/{reference-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{reference-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{reference-3zsf4n22.js → permission-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{reference-jqw8ttv0.js → permission-427k1480.js} +28 -28
  44. package/dist/chunks/{reference-0cswr742.js → permission-49p96vjc.js} +18 -18
  45. package/dist/chunks/{reference-1dh04bw7.js → permission-4crz3yg0.js} +11 -11
  46. package/dist/chunks/{reference-erycay7t.js → permission-4fgk5d3c.js} +27 -27
  47. package/dist/chunks/{reference-a81kfqvn.js → permission-4j4tgtq5.js} +4 -4
  48. package/dist/chunks/{reference-anb3p609.js → permission-4vsg18s2.js} +49 -49
  49. package/dist/chunks/{reference-sz9xv9xn.js → permission-4x9c7n91.js} +30 -30
  50. package/dist/chunks/{reference-01rnkbd0.js → permission-52027f07.js} +11 -11
  51. package/dist/chunks/{reference-54ma36ye.js → permission-54ma36ye.js} +1 -1
  52. package/dist/chunks/{reference-mcfy26hj.js → permission-54q6acz6.js} +27 -27
  53. package/dist/chunks/{reference-57ez7d0k.js → permission-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{reference-5daktx2q.js → permission-5daktx2q.js} +1 -1
  55. package/dist/chunks/{reference-vt1m752q.js → permission-5hpfsd7b.js} +15 -15
  56. package/dist/chunks/{reference-kb6gw2zp.js → permission-5qwkxp89.js} +4 -4
  57. package/dist/chunks/{reference-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{reference-yzmt9s1b.js → permission-5t9beh84.js} +13 -13
  59. package/dist/chunks/{reference-4r36fkdq.js → permission-5xkfwbv7.js} +11 -11
  60. package/dist/chunks/{reference-k2a504bc.js → permission-607px8n0.js} +11 -11
  61. package/dist/chunks/{reference-qgn6gcr1.js → permission-607tc6va.js} +5 -5
  62. package/dist/chunks/{reference-631f6jmb.js → permission-64egxyhr.js} +17 -17
  63. package/dist/chunks/{reference-669tq793.js → permission-669tq793.js} +1 -1
  64. package/dist/chunks/{reference-ecjyjz8w.js → permission-68z9rgrz.js} +16 -16
  65. package/dist/chunks/{reference-c7b2m6fb.js → permission-6ak8f85n.js} +20 -20
  66. package/dist/chunks/{reference-n9kfxdp9.js → permission-6cp8gy7g.js} +17 -17
  67. package/dist/chunks/{reference-dez8vmgp.js → permission-6e60j6h9.js} +316 -316
  68. package/dist/chunks/{reference-6msgmcgs.js → permission-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{reference-xtk3c0wk.js → permission-6p4j8518.js} +18 -18
  70. package/dist/chunks/{reference-nscc21qe.js → permission-6vhcxtwh.js} +25 -25
  71. package/dist/chunks/{reference-pxey72j3.js → permission-72dvehs4.js} +36 -36
  72. package/dist/chunks/{reference-mhkvc446.js → permission-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{reference-jdrzz5kz.js → permission-76rzr40z.js} +35 -35
  74. package/dist/chunks/{reference-8f2n1xr2.js → permission-7af5vrq6.js} +5 -5
  75. package/dist/chunks/{reference-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{reference-tjb59763.js → permission-7kbmqmsj.js} +44 -44
  77. package/dist/chunks/{reference-2f04pwep.js → permission-7w99qc9d.js} +3 -3
  78. package/dist/chunks/{reference-n1j0qfw4.js → permission-80h6rbqa.js} +5 -5
  79. package/dist/chunks/{reference-84txncab.js → permission-84txncab.js} +1 -1
  80. package/dist/chunks/{reference-eygkpf76.js → permission-8879kc00.js} +13 -13
  81. package/dist/chunks/{reference-c4qd2t8a.js → permission-89mseg20.js} +20 -20
  82. package/dist/chunks/{reference-tcezcvh9.js → permission-89znhe33.js} +4 -4
  83. package/dist/chunks/{reference-gafg8g7a.js → permission-8bfekhzf.js} +6 -6
  84. package/dist/chunks/{reference-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{reference-h971pwhf.js → permission-8da5f8wk.js} +11 -11
  86. package/dist/chunks/{reference-np6nr2kx.js → permission-8dg67tgc.js} +23 -23
  87. package/dist/chunks/{reference-94ek1h2f.js → permission-94ek1h2f.js} +2 -2
  88. package/dist/chunks/{reference-r45e0rbq.js → permission-94nx3bkn.js} +26 -26
  89. package/dist/chunks/{reference-7wcwe48s.js → permission-9qc5btv8.js} +17 -17
  90. package/dist/chunks/{reference-cp9438d3.js → permission-9wyrae2j.js} +10 -10
  91. package/dist/chunks/permission-9zdhvgqs.js +18 -0
  92. package/dist/chunks/{reference-h0f5mnzz.js → permission-9zhybzmq.js} +16 -16
  93. package/dist/chunks/{reference-pck83k06.js → permission-a6nerz9m.js} +21 -21
  94. package/dist/chunks/{reference-magykp64.js → permission-a8bn8zg0.js} +4 -4
  95. package/dist/chunks/{reference-w0ct177m.js → permission-aa2pnbj0.js} +43 -43
  96. package/dist/chunks/{reference-aaet6srn.js → permission-aaet6srn.js} +2 -2
  97. package/dist/chunks/{reference-2wbch7sf.js → permission-agtm0ya3.js} +20 -20
  98. package/dist/chunks/{reference-wzw60d3c.js → permission-agtp7pf2.js} +6 -6
  99. package/dist/chunks/{reference-kt609s0t.js → permission-ats7mz8e.js} +5 -5
  100. package/dist/chunks/{reference-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{reference-e3t9f1ge.js → permission-b6nyx4np.js} +45 -45
  102. package/dist/chunks/{reference-zwtn2b75.js → permission-bdefgtnb.js} +18 -18
  103. package/dist/chunks/{reference-0ft9cg2j.js → permission-bjs2yq5f.js} +6 -6
  104. package/dist/chunks/{reference-z3zp24an.js → permission-bq2zwxzx.js} +6 -6
  105. package/dist/chunks/{reference-7zeyjkbe.js → permission-bs2a7trz.js} +4 -4
  106. package/dist/chunks/{reference-c3h0gj9a.js → permission-bvpz5yky.js} +11 -11
  107. package/dist/chunks/{reference-akpmqyxp.js → permission-by9xeab9.js} +29 -29
  108. package/dist/chunks/{reference-ea9448jf.js → permission-c7adbs3c.js} +20 -20
  109. package/dist/chunks/{reference-00zfhxmf.js → permission-cafm9cfz.js} +37 -37
  110. package/dist/chunks/{reference-kz7w9h4r.js → permission-ck4hc89a.js} +16 -16
  111. package/dist/chunks/{reference-ckecvw8r.js → permission-ckecvw8r.js} +2 -2
  112. package/dist/chunks/{reference-166kng33.js → permission-cmmdg65p.js} +8 -8
  113. package/dist/chunks/{reference-1bfe16ws.js → permission-cn0rkta0.js} +27 -27
  114. package/dist/chunks/{reference-v1egv9yp.js → permission-cp2ndxbe.js} +27 -27
  115. package/dist/chunks/{reference-cr07tj7n.js → permission-cr07tj7n.js} +2 -2
  116. package/dist/chunks/{reference-q3bp0eqq.js → permission-cr90dj6d.js} +23 -23
  117. package/dist/chunks/{reference-ngbzmknx.js → permission-cxzqx661.js} +9 -9
  118. package/dist/chunks/{reference-4srk58w8.js → permission-d3germyq.js} +9 -9
  119. package/dist/chunks/{reference-djszqvmq.js → permission-d4he2qe1.js} +9 -9
  120. package/dist/chunks/{reference-0rsrt5zk.js → permission-d53k3y57.js} +10 -10
  121. package/dist/chunks/{reference-qmdmhxrm.js → permission-dbs53yqd.js} +8 -8
  122. package/dist/chunks/{reference-dj9sq318.js → permission-dj9sq318.js} +2 -2
  123. package/dist/chunks/{reference-1pab0y9d.js → permission-djt02vwt.js} +34 -34
  124. package/dist/chunks/{reference-ar2zeb49.js → permission-dkbzx2zp.js} +5 -5
  125. package/dist/chunks/{reference-y71avatq.js → permission-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{reference-260n4hdp.js → permission-e121tcd9.js} +8 -8
  127. package/dist/chunks/{reference-kdhn56cv.js → permission-e33d7f0w.js} +32 -32
  128. package/dist/chunks/{reference-y1022pqf.js → permission-e6p0mex9.js} +17 -17
  129. package/dist/chunks/{reference-ecfe7b91.js → permission-ecfe7b91.js} +2 -2
  130. package/dist/chunks/{reference-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{reference-3t6ehjrr.js → permission-efbgz0y6.js} +15 -15
  132. package/dist/chunks/{reference-k115rg6b.js → permission-ejdwq7e6.js} +11 -11
  133. package/dist/chunks/{reference-3e2kzjfs.js → permission-ek982y6y.js} +12 -12
  134. package/dist/chunks/{reference-44sx4v5c.js → permission-empxz4qs.js} +8 -8
  135. package/dist/chunks/{reference-tm9580sr.js → permission-enbc6gqg.js} +7 -7
  136. package/dist/chunks/{reference-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{reference-jxz16j3e.js → permission-fd90qgqp.js} +26 -26
  138. package/dist/chunks/{reference-7a87smht.js → permission-fmhmd7x6.js} +9 -9
  139. package/dist/chunks/{reference-wb6eeyna.js → permission-fw2v9256.js} +8 -8
  140. package/dist/chunks/{reference-kzacwcn9.js → permission-fwvq26fj.js} +22 -22
  141. package/dist/chunks/{reference-xvp1j2dc.js → permission-g5agzp2h.js} +5 -5
  142. package/dist/chunks/{reference-zhjy7jmn.js → permission-g6kbxn71.js} +4 -4
  143. package/dist/chunks/{reference-1g7epwpd.js → permission-g8d3gcyj.js} +4 -4
  144. package/dist/chunks/{reference-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{reference-m165mn98.js → permission-gdg0j02x.js} +11 -11
  146. package/dist/chunks/{reference-qn0j8a2m.js → permission-gkwps8qn.js} +17 -17
  147. package/dist/chunks/{reference-gv6a8nnw.js → permission-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{reference-k7d46rr6.js → permission-gx16nh21.js} +4 -4
  149. package/dist/chunks/{reference-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{reference-gg3hnhsj.js → permission-hd8vw2pw.js} +1 -1
  151. package/dist/chunks/{reference-3340n1nd.js → permission-hdkh9j50.js} +15 -15
  152. package/dist/chunks/{reference-tzpv42kz.js → permission-hgzge6de.js} +11 -11
  153. package/dist/chunks/{reference-qcfhqezt.js → permission-hngyajdm.js} +13 -13
  154. package/dist/chunks/{reference-510m7gjw.js → permission-hnr5yq9h.js} +5 -5
  155. package/dist/chunks/{reference-sv2rsgqy.js → permission-hqrhz4kp.js} +27 -27
  156. package/dist/chunks/{reference-8kg5m582.js → permission-hsf3jfpv.js} +34 -34
  157. package/dist/chunks/{reference-87szygx8.js → permission-hsgda8ev.js} +77 -77
  158. package/dist/chunks/{reference-yfn15sv3.js → permission-hxv2ya9m.js} +4 -4
  159. package/dist/chunks/{reference-hyftv91s.js → permission-j311gd59.js} +6 -6
  160. package/dist/chunks/{reference-j56e64zr.js → permission-j56e64zr.js} +1 -1
  161. package/dist/chunks/{reference-gsm9w5gv.js → permission-j5nnsem5.js} +29 -29
  162. package/dist/chunks/{reference-d858xzj7.js → permission-j5rxtxht.js} +4 -4
  163. package/dist/chunks/{reference-tvk85ejt.js → permission-j71ym2p6.js} +22 -22
  164. package/dist/chunks/{reference-71ae86ge.js → permission-jbfqzdbs.js} +4 -4
  165. package/dist/chunks/{reference-ygwjbdqw.js → permission-jcfeqksw.js} +20 -20
  166. package/dist/chunks/{reference-6xb9xar3.js → permission-jgs6ncyg.js} +6 -6
  167. package/dist/chunks/{reference-phdse2cz.js → permission-jpb9ee0w.js} +10 -10
  168. package/dist/chunks/{reference-21g2k5h0.js → permission-jr2cm19h.js} +11 -11
  169. package/dist/chunks/{reference-qb2p9zbg.js → permission-jre7zxwm.js} +44 -44
  170. package/dist/chunks/{reference-6brb3ydz.js → permission-jv82nj1s.js} +9 -9
  171. package/dist/chunks/{reference-79cntjbh.js → permission-jvmbzbmx.js} +8 -8
  172. package/dist/chunks/{reference-wsxhr7mz.js → permission-k33k5sgz.js} +1 -1
  173. package/dist/chunks/{reference-k3c624dm.js → permission-k3c624dm.js} +3 -3
  174. package/dist/chunks/{reference-0jpfm16a.js → permission-k3gh9jje.js} +24 -24
  175. package/dist/chunks/{reference-chnshf5d.js → permission-k4xjzc9h.js} +7 -7
  176. package/dist/chunks/{reference-h3tvvjet.js → permission-k86za1k3.js} +26 -26
  177. package/dist/chunks/{reference-a15efetj.js → permission-kb57p844.js} +35 -35
  178. package/dist/chunks/{reference-asw2re3m.js → permission-kbg7spk8.js} +8 -8
  179. package/dist/chunks/permission-kdzxjsxt.js +252 -0
  180. package/dist/chunks/{reference-j34dxvpb.js → permission-kerhshr9.js} +5 -5
  181. package/dist/chunks/{reference-6cneqzas.js → permission-kp6qz4rh.js} +13 -13
  182. package/dist/chunks/{reference-1nzh38e4.js → permission-kr1vnkd9.js} +9 -9
  183. package/dist/chunks/{reference-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{reference-mc9ss0y5.js → permission-m89q7tvp.js} +12 -12
  185. package/dist/chunks/{reference-yn5hrsx6.js → permission-m9f7bf3n.js} +48 -48
  186. package/dist/chunks/{reference-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{reference-tkr7t7pv.js → permission-mess5aah.js} +11 -11
  188. package/dist/chunks/{reference-n3j9v3wj.js → permission-mjkxv0xp.js} +9 -9
  189. package/dist/chunks/{reference-addxnjmp.js → permission-mpk0rfs5.js} +4 -4
  190. package/dist/chunks/{reference-7an2zr3c.js → permission-mpr53jjd.js} +12 -12
  191. package/dist/chunks/{reference-3v2fvqfd.js → permission-ms3g0x7n.js} +6 -6
  192. package/dist/chunks/{reference-yf019c59.js → permission-mth9933k.js} +24 -24
  193. package/dist/chunks/{reference-wgtcm0m7.js → permission-mvksx64m.js} +4 -4
  194. package/dist/chunks/{reference-d1c553ec.js → permission-n032fvft.js} +6 -6
  195. package/dist/chunks/{reference-vrke23k5.js → permission-n0qrzv6p.js} +60 -60
  196. package/dist/chunks/{reference-796w904k.js → permission-nct3yb87.js} +24 -24
  197. package/dist/chunks/{reference-s8610hey.js → permission-nng2ktcm.js} +2 -2
  198. package/dist/chunks/{reference-a9w6ff6t.js → permission-nnhe72zp.js} +28 -28
  199. package/dist/chunks/{reference-paqwx8q6.js → permission-nr9hyn65.js} +2 -2
  200. package/dist/chunks/{reference-fhs97t90.js → permission-nscznvay.js} +9 -9
  201. package/dist/chunks/{reference-3wpn9sh3.js → permission-ntfd3fgh.js} +14 -14
  202. package/dist/chunks/permission-nx4ddzgc.js +26 -0
  203. package/dist/chunks/{reference-jkzjr3ma.js → permission-nxx5qrmy.js} +17 -17
  204. package/dist/chunks/{reference-c6b8rasb.js → permission-ny31myje.js} +8 -8
  205. package/dist/chunks/{reference-afed7ext.js → permission-p1zpfjkz.js} +5 -5
  206. package/dist/chunks/{reference-zn9yn8hw.js → permission-pfmjzkyq.js} +52 -52
  207. package/dist/chunks/{reference-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{reference-pknna89w.js → permission-pknna89w.js} +1 -1
  209. package/dist/chunks/{reference-3sy817ya.js → permission-pqeqffcp.js} +21 -21
  210. package/dist/chunks/{reference-bemmtghz.js → permission-ps6r3zxt.js} +10 -10
  211. package/dist/chunks/{reference-6pc27hjz.js → permission-py3kkmfq.js} +6 -6
  212. package/dist/chunks/{reference-br6q4meh.js → permission-q0k38ewa.js} +5 -5
  213. package/dist/chunks/{reference-vncycja5.js → permission-q2b1ymqp.js} +4 -4
  214. package/dist/chunks/{reference-a1213hw5.js → permission-q8ymga3y.js} +18 -18
  215. package/dist/chunks/{reference-zsc4zr95.js → permission-qat2nasv.js} +11 -11
  216. package/dist/chunks/{reference-8b69yyv4.js → permission-qnh40d72.js} +11 -11
  217. package/dist/chunks/{reference-t1keb6et.js → permission-qnk7rzk8.js} +43 -43
  218. package/dist/chunks/{reference-qsdy395h.js → permission-qsdy395h.js} +1 -1
  219. package/dist/chunks/{reference-hbyhqfhs.js → permission-qvreyy9g.js} +5 -5
  220. package/dist/chunks/{reference-74fa380e.js → permission-qvxpjq65.js} +3 -3
  221. package/dist/chunks/{reference-s7932dae.js → permission-qy3yp28x.js} +11 -11
  222. package/dist/chunks/{reference-wak1n191.js → permission-r22gxq6t.js} +7 -7
  223. package/dist/chunks/{reference-3ybfhc1x.js → permission-r7mqvk6t.js} +5 -5
  224. package/dist/chunks/{reference-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{reference-07br9k15.js → permission-rgdzwmkq.js} +48 -48
  226. package/dist/chunks/{reference-02nrjc1r.js → permission-rhjbct0v.js} +6 -6
  227. package/dist/chunks/{reference-h3k68wsb.js → permission-rvwrm4qb.js} +19 -19
  228. package/dist/chunks/{reference-atwm5pvn.js → permission-s547vwtz.js} +26 -26
  229. package/dist/chunks/{reference-9nxs0dtz.js → permission-s5gdvdvf.js} +14 -14
  230. package/dist/chunks/{reference-fdjebd74.js → permission-s5vq8nt1.js} +23 -23
  231. package/dist/chunks/{reference-3bxd3j1q.js → permission-s6dskvww.js} +6 -6
  232. package/dist/chunks/{reference-x54c8ekp.js → permission-s9c65q1b.js} +10 -10
  233. package/dist/chunks/{reference-q4b4mt0k.js → permission-sc3pk9hf.js} +87 -87
  234. package/dist/chunks/{reference-16ynv89z.js → permission-schdznbv.js} +13 -13
  235. package/dist/chunks/{reference-ses91yzc.js → permission-sfpsqbxj.js} +8 -8
  236. package/dist/chunks/{reference-xe8wrm2v.js → permission-sjm2g78r.js} +7 -7
  237. package/dist/chunks/{reference-w8bax687.js → permission-sq3nr2g7.js} +12 -12
  238. package/dist/chunks/{reference-vgj5jbet.js → permission-t2pxds9s.js} +3 -3
  239. package/dist/chunks/{reference-hgg8amch.js → permission-t7rzcevv.js} +172 -172
  240. package/dist/chunks/{reference-139grr7s.js → permission-t7vwfgy5.js} +15 -15
  241. package/dist/chunks/{reference-dprgptw6.js → permission-t8wprfq3.js} +31 -31
  242. package/dist/chunks/{reference-ktd0gbm4.js → permission-t8y9en2y.js} +3 -3
  243. package/dist/chunks/{reference-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{reference-tdstcens.js → permission-tdstcens.js} +1 -1
  245. package/dist/chunks/{reference-eka80jh0.js → permission-te1p1at1.js} +10 -10
  246. package/dist/chunks/{reference-gjvcgz1y.js → permission-te9txkja.js} +33 -33
  247. package/dist/chunks/{reference-1qxvqq93.js → permission-tgbj489z.js} +17 -17
  248. package/dist/chunks/{reference-5v7h0m3g.js → permission-tjn9yg3m.js} +9 -9
  249. package/dist/chunks/{reference-5xtgfte3.js → permission-tpw6cwsb.js} +8 -8
  250. package/dist/chunks/{reference-jhrpy0h8.js → permission-tr3wvkwf.js} +21 -21
  251. package/dist/chunks/{reference-tvtrv512.js → permission-tvtrv512.js} +1 -1
  252. package/dist/chunks/{reference-1p7vd7k0.js → permission-vdhx1b9f.js} +24 -24
  253. package/dist/chunks/{reference-r1nzxzk3.js → permission-vdqh8416.js} +8 -8
  254. package/dist/chunks/{reference-veqvce7d.js → permission-veqvce7d.js} +1 -1
  255. package/dist/chunks/{reference-pyj25zwj.js → permission-vkh0msr2.js} +3 -3
  256. package/dist/chunks/{reference-2kyyj8xa.js → permission-vkq9z89r.js} +23 -23
  257. package/dist/chunks/{reference-3ppptnan.js → permission-vqfzq50h.js} +6 -6
  258. package/dist/chunks/{reference-j993bjzs.js → permission-vymjz8q6.js} +12 -12
  259. package/dist/chunks/{reference-vzcthcp8.js → permission-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{reference-vzs5sf6e.js → permission-vzs5sf6e.js} +1 -1
  261. package/dist/chunks/{reference-vyn1hvw5.js → permission-w08ngz3m.js} +20 -20
  262. package/dist/chunks/{reference-h6qwv4aw.js → permission-w28zj79c.js} +21 -21
  263. package/dist/chunks/{reference-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{reference-wd3x2cqz.js → permission-wd3x2cqz.js} +2 -2
  265. package/dist/chunks/{reference-wd87259q.js → permission-wd87259q.js} +1 -1
  266. package/dist/chunks/{reference-pw9v3g6d.js → permission-wewgh3cc.js} +8 -8
  267. package/dist/chunks/{reference-9dcx0t51.js → permission-wh18jeaj.js} +7 -7
  268. package/dist/chunks/{reference-a7kwy4c1.js → permission-wmwmxqs2.js} +5 -5
  269. package/dist/chunks/{reference-x1ezjp6w.js → permission-x1ezjp6w.js} +1 -1
  270. package/dist/chunks/{reference-dqwatsve.js → permission-x6sa0504.js} +30 -30
  271. package/dist/chunks/{reference-hkv5p9ne.js → permission-xax31rqw.js} +3 -3
  272. package/dist/chunks/{reference-k6rqs0s8.js → permission-xeejrb32.js} +6 -6
  273. package/dist/chunks/{reference-depwzj9d.js → permission-xf8yqmad.js} +9 -9
  274. package/dist/chunks/{reference-drwq78ky.js → permission-xfkkasph.js} +4 -4
  275. package/dist/chunks/{reference-fms3wttt.js → permission-xj0ggm39.js} +4 -4
  276. package/dist/chunks/{reference-xkntkrq7.js → permission-xkntkrq7.js} +2 -2
  277. package/dist/chunks/{reference-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{reference-ep6z9mt6.js → permission-y7x142mt.js} +8 -8
  279. package/dist/chunks/{reference-htjw9qza.js → permission-ydgy0jv4.js} +6 -6
  280. package/dist/chunks/{reference-yp2x3t23.js → permission-yp2x3t23.js} +1 -1
  281. package/dist/chunks/{reference-yrhqyw5v.js → permission-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{reference-yrznvahk.js → permission-yrznvahk.js} +2 -2
  283. package/dist/chunks/{reference-f9kj06qm.js → permission-ysw77zqd.js} +13 -13
  284. package/dist/chunks/{reference-cfv2hvrv.js → permission-yy8rs511.js} +22 -22
  285. package/dist/chunks/{reference-z07pqspn.js → permission-z07pqspn.js} +3 -3
  286. package/dist/chunks/{reference-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
  287. package/dist/chunks/{reference-z63w68vq.js → permission-z63w68vq.js} +2 -2
  288. package/dist/chunks/{reference-hbedddsn.js → permission-zdy15qce.js} +11 -11
  289. package/dist/chunks/{reference-zeh9ct20.js → permission-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{reference-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{reference-jken0ejx.js → permission-zvjqa41k.js} +29 -29
  292. package/dist/chunks/{reference-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +102 -102
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +86 -86
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +120 -120
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +74 -74
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +226 -226
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +89 -89
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +151 -151
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +230 -230
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +151 -151
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +215 -215
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +221 -221
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +2 -2
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +2 -2
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +87 -87
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/reference-9fsn2a6t.js +0 -252
  701. package/dist/chunks/reference-kmfs87yw.js +0 -26
  702. package/dist/chunks/reference-pf31ssb9.js +0 -18
  703. /package/dist/chunks/{reference-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{reference-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{reference-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{reference-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{reference-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{reference-24dcb14g.js → permission-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{reference-2710q6r3.js → permission-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{reference-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{reference-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{reference-34c7v6d4.js → permission-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{reference-359p4xyc.js → permission-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{reference-3asan66x.js → permission-3asan66x.js} +0 -0
  715. /package/dist/chunks/{reference-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{reference-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{reference-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{reference-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{reference-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{reference-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{reference-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{reference-53557ph1.js → permission-53557ph1.js} +0 -0
  723. /package/dist/chunks/{reference-550bvhaj.js → permission-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{reference-5qd3pb7m.js → permission-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{reference-6prwharc.js → permission-6prwharc.js} +0 -0
  726. /package/dist/chunks/{reference-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{reference-7m9af43g.js → permission-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{reference-822emrt2.js → permission-822emrt2.js} +0 -0
  729. /package/dist/chunks/{reference-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{reference-8n3pysct.js → permission-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{reference-8wj87zfr.js → permission-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{reference-922hggd3.js → permission-922hggd3.js} +0 -0
  733. /package/dist/chunks/{reference-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{reference-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{reference-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{reference-af5trqkr.js → permission-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{reference-afrmfg78.js → permission-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{reference-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{reference-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{reference-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{reference-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{reference-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{reference-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{reference-d9fn303g.js → permission-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{reference-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{reference-dajrwvna.js → permission-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{reference-dap0rakb.js → permission-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{reference-df08tz66.js → permission-df08tz66.js} +0 -0
  749. /package/dist/chunks/{reference-dy18nga0.js → permission-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{reference-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{reference-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{reference-ec1grn59.js → permission-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{reference-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{reference-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{reference-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{reference-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{reference-faypxj3z.js → permission-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{reference-fd410y7t.js → permission-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{reference-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{reference-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{reference-g86h250q.js → permission-g86h250q.js} +0 -0
  762. /package/dist/chunks/{reference-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{reference-gftt206x.js → permission-gftt206x.js} +0 -0
  764. /package/dist/chunks/{reference-hjbc5kem.js → permission-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{reference-hk9envan.js → permission-hk9envan.js} +0 -0
  766. /package/dist/chunks/{reference-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{reference-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{reference-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{reference-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{reference-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{reference-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{reference-mp448xyj.js → permission-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{reference-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{reference-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{reference-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{reference-njntx4h6.js → permission-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{reference-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{reference-q74kybfr.js → permission-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{reference-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{reference-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{reference-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{reference-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{reference-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{reference-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{reference-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{reference-sk3qaz4a.js → permission-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{reference-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{reference-w803qqfp.js → permission-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{reference-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{reference-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{reference-wtztk69x.js → permission-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{reference-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{reference-x61499pn.js → permission-x61499pn.js} +0 -0
  794. /package/dist/chunks/{reference-y44na4kk.js → permission-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{reference-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{reference-y8f7s663.js → permission-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{reference-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{reference-ym463w8f.js → permission-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{reference-z9919s4g.js → permission-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./reference-7zeyjkbe.js";
4
+ } from "./permission-bs2a7trz.js";
5
5
  import {
6
- Event16,
7
- Service69,
8
- node73
9
- } from "./reference-sz9xv9xn.js";
6
+ Event17,
7
+ Service67,
8
+ node70
9
+ } from "./permission-4x9c7n91.js";
10
10
  import {
11
- Service50,
12
- node52
13
- } from "./reference-cfv2hvrv.js";
11
+ Service38,
12
+ node41
13
+ } from "./permission-yy8rs511.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./reference-922hggd3.js";
16
+ } from "./permission-922hggd3.js";
17
17
  import {
18
18
  Service80,
19
19
  node84
20
- } from "./reference-paqwx8q6.js";
20
+ } from "./permission-nr9hyn65.js";
21
21
  import {
22
22
  substitute2
23
- } from "./reference-yrznvahk.js";
23
+ } from "./permission-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./reference-c7b2m6fb.js";
26
+ } from "./permission-6ak8f85n.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  discover3
30
- } from "./reference-c6b8rasb.js";
30
+ } from "./permission-ny31myje.js";
31
31
  import {
32
32
  plan2
33
- } from "./reference-j56e64zr.js";
33
+ } from "./permission-j56e64zr.js";
34
34
  import {
35
- Service55,
36
- Event9,
37
- node57
38
- } from "./reference-ygwjbdqw.js";
35
+ Service69,
36
+ Event19,
37
+ node72
38
+ } from "./permission-jcfeqksw.js";
39
39
  import {
40
40
  __export
41
- } from "./reference-9rqn6x4v.js";
41
+ } from "./permission-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options5,
48
- Service: () => Service49,
47
+ Options: () => Options3,
48
+ Service: () => Service37,
49
49
  Test: () => Test2,
50
- configured: () => configured5,
50
+ configured: () => configured3,
51
51
  latest: () => latest2,
52
- layer: () => layer18,
53
- node: () => node51,
52
+ layer: () => layer13,
53
+ node: () => node40,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options5 = Schema.Struct({
67
+ var Options3 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service49 extends Context.Service()("@opencode/Config") {
74
+ class Service37 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service49, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service37, service), Context.add(Test2, service));
93
93
  }));
94
- var layer18 = (options) => Layer.effect(Service49, Effect.gen(function* () {
94
+ var layer13 = (options) => Layer.effect(Service37, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
96
  const location = yield* Service80;
97
- const watcher = yield* Service50;
97
+ const watcher = yield* Service38;
98
98
  const bus = yield* Service83;
99
- const credentials = yield* Service69;
99
+ const credentials = yield* Service67;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service55;
101
+ const wellknown = yield* Service69;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer18 = (options) => Layer.effect(Service49, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service49, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event19.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -235,7 +235,7 @@ var layer18 = (options) => Layer.effect(Service49, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names4.map((name) => path.join(directory, name));
238
+ const candidates = names3.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service49, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service49.of({
253
+ return Service37.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service49, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured5(options) {
265
+ function configured3(options) {
266
266
  return makeLocationNode({
267
- service: Service49,
268
- layer: layer18(options),
269
- deps: [node52, node87, FSUtil.node, Global.node, node84, node73, node57]
267
+ service: Service37,
268
+ layer: layer13(options),
269
+ deps: [node41, node87, FSUtil.node, Global.node, node84, node70, node72]
270
270
  });
271
271
  }
272
- var node51 = configured5();
272
+ var node40 = configured3();
273
273
 
274
- export { latest2, Options5, Service49, Test2, testLayer2, layer18, configured5, node51, exports_config };
274
+ export { latest2, Options3, Service37, Test2, testLayer2, layer13, configured3, node40, exports_config };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./reference-2a5m3afh.js";
5
+ } from "./permission-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./reference-9rqn6x4v.js";
8
+ } from "./permission-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./reference-02nrjc1r.js";
6
+ } from "./permission-rhjbct0v.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2,
10
10
  available2,
11
- Service35,
12
- node38
13
- } from "./reference-796w904k.js";
11
+ Service52,
12
+ node54
13
+ } from "./permission-nct3yb87.js";
14
14
  import {
15
15
  __export
16
- } from "./reference-9rqn6x4v.js";
16
+ } from "./permission-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions2 = {};
20
- __export(exports_instructions2, {
21
- Service: () => Service25,
22
- SkillInstructions: () => exports_instructions2,
23
- node: () => node29
19
+ var exports_instructions3 = {};
20
+ __export(exports_instructions3, {
21
+ Service: () => Service24,
22
+ SkillInstructions: () => exports_instructions3,
23
+ node: () => node27
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,15 +60,15 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service25 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service24 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service25, Effect.gen(function* () {
66
- const skills = yield* Service35;
67
- return Service25.of({
65
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
66
+ const skills = yield* Service52;
67
+ return Service24.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
70
  return make20({
71
- key: Key4.make("core/skill-guidance"),
71
+ key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
74
74
  render: {
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node29 = makeLocationNode({ service: Service25, layer, deps: [node38] });
83
+ var node27 = makeLocationNode({ service: Service24, layer, deps: [node54] });
84
84
 
85
- export { Service25, node29, exports_instructions2 };
85
+ export { Service24, node27, exports_instructions3 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./reference-5daktx2q.js";
3
+ } from "./permission-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./reference-922hggd3.js";
6
+ } from "./permission-922hggd3.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2
10
- } from "./reference-796w904k.js";
10
+ } from "./permission-nct3yb87.js";
11
11
  import {
12
12
  __export
13
- } from "./reference-9rqn6x4v.js";
13
+ } from "./permission-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID5.make(id),
58
+ id: ID6.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID9
3
- } from "./reference-gsm9w5gv.js";
2
+ ID12
3
+ } from "./permission-j5nnsem5.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID9.googleVertex)
62
+ if (evt.model.providerID !== ID12.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./reference-2a5m3afh.js";
5
+ } from "./permission-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./reference-9rqn6x4v.js";
8
+ } from "./permission-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID15,
3
- Service74
4
- } from "./reference-pck83k06.js";
2
+ ID9,
3
+ Service60
4
+ } from "./permission-a6nerz9m.js";
5
5
  import {
6
6
  Ref2,
7
- Service65
8
- } from "./reference-v1egv9yp.js";
7
+ Service64
8
+ } from "./permission-cp2ndxbe.js";
9
9
  import {
10
10
  latest2,
11
- Service49
12
- } from "./reference-w0ct177m.js";
11
+ Service37
12
+ } from "./permission-aa2pnbj0.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./reference-2f04pwep.js";
15
+ } from "./permission-7w99qc9d.js";
16
16
  import {
17
- Service60
18
- } from "./reference-t9cv2z2y.js";
17
+ Service44
18
+ } from "./permission-0erzwnay.js";
19
19
  import {
20
20
  evaluate2,
21
- Service71
22
- } from "./reference-zn9yn8hw.js";
21
+ Service57
22
+ } from "./permission-pfmjzkyq.js";
23
23
  import {
24
- Service20
25
- } from "./reference-q4b4mt0k.js";
24
+ Service21
25
+ } from "./permission-sc3pk9hf.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./reference-x1ezjp6w.js";
28
+ } from "./permission-x1ezjp6w.js";
29
29
  import {
30
- make10
31
- } from "./reference-042pe1mc.js";
30
+ make8
31
+ } from "./permission-0ejgwqj5.js";
32
32
  import {
33
33
  __export
34
- } from "./reference-9rqn6x4v.js";
34
+ } from "./permission-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input11,
40
- Output: () => Output7,
41
- Plugin: () => Plugin48,
39
+ Input: () => Input9,
40
+ Output: () => Output8,
41
+ Plugin: () => Plugin11,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name11
43
+ description: () => description4,
44
+ name: () => name9
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name11 = "subagent";
48
+ var name9 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input11 = Schema.Struct({
59
+ var Input9 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output7 = Schema.Struct({
75
+ var Output8 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin48 = {
89
+ var Plugin11 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service20;
93
- const jobs = yield* Service60;
94
- const agents = yield* Service74;
95
- const config = yield* Service49;
96
- const permission = yield* Service71;
97
- const models = yield* Service65;
98
- const subagents = yield* make10;
92
+ const sessions = yield* Service21;
93
+ const jobs = yield* Service44;
94
+ const agents = yield* Service60;
95
+ const config = yield* Service37;
96
+ const permission = yield* Service57;
97
+ const models = yield* Service64;
98
+ const subagents = yield* make8;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin48 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name11,
118
+ name: name9,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input11,
122
- output: Output7,
120
+ description: description4,
121
+ input: Input9,
122
+ output: Output8,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin48 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name11,
142
+ action: name9,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin48 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID15.make(input.agent),
171
+ agent: ID9.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name11 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name9 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name11];
233
+ const tool = event.tools[name9];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name11, Input11, Output7, description5, Plugin48, exports_subagent };
256
+ export { name9, Input9, Output8, description4, Plugin11, exports_subagent };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./reference-922hggd3.js";
5
+ } from "./permission-922hggd3.js";
6
6
  import {
7
- Service56,
8
- node58
9
- } from "./reference-jhrpy0h8.js";
7
+ Service78,
8
+ node81
9
+ } from "./permission-tr3wvkwf.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./reference-8d7r5vzw.js";
12
+ } from "./permission-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./reference-9rqn6x4v.js";
15
+ } from "./permission-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service19,
24
- node: () => node21
23
+ Service: () => Service77,
24
+ node: () => node80
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service19 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service77 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service19, Effect.gen(function* () {
67
- const environment = yield* Service56;
66
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
67
+ const environment = yield* Service78;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service19.of({
95
+ return Service77.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node21 = makeLocationNode({ service: Service19, layer, deps: [node58, RipgrepBinary2.node] });
178
+ var node80 = makeLocationNode({ service: Service77, layer, deps: [node81, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service19, node21, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service77, node80, exports_ripgrep };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./permission-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry3,
11
- Info: () => Info10,
10
+ Entry: () => Entry2,
11
+ Info: () => Info13,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry3 = Schema.Union([
19
+ var Entry2 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info10 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
82
+ var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info10, exports_lsp };
84
+ export { Disabled2, Entry2, builtinServerIds2, requiresExtensionsForCustomServers2, Info13, exports_lsp };