@opencode/core 0.0.0-dev-19433 → 0.0.0-dev-19435

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{permission-9mbt5q6r.js → location-03b5nb02.js} +15 -15
  9. package/dist/chunks/{permission-mg0znfg2.js → location-07g0wp3c.js} +28 -28
  10. package/dist/chunks/{permission-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{permission-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{permission-hhsqcnjm.js → location-141fpr1p.js} +27 -27
  13. package/dist/chunks/{permission-krcmgbzg.js → location-16tb5cjj.js} +14 -14
  14. package/dist/chunks/{permission-jq2w5eqw.js → location-1as6q9f6.js} +10 -10
  15. package/dist/chunks/{permission-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{permission-g0dapk05.js → location-1j70cen6.js} +36 -36
  17. package/dist/chunks/{permission-5hqtspna.js → location-1jk276m1.js} +11 -11
  18. package/dist/chunks/{permission-6vq97qmv.js → location-1q5awywt.js} +5 -5
  19. package/dist/chunks/{permission-mfqp6xfm.js → location-1ygqh575.js} +6 -6
  20. package/dist/chunks/{permission-21r38tys.js → location-21r38tys.js} +1 -1
  21. package/dist/chunks/{permission-fn2hydb4.js → location-226tafxp.js} +1 -1
  22. package/dist/chunks/{permission-2402vzrj.js → location-2402vzrj.js} +1 -1
  23. package/dist/chunks/{permission-bb3z56gq.js → location-29arvqx0.js} +138 -138
  24. package/dist/chunks/{permission-tq578zw6.js → location-29e0nmzb.js} +23 -23
  25. package/dist/chunks/{permission-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{permission-evbgk2k8.js → location-2f0bjgcj.js} +5 -5
  27. package/dist/chunks/{permission-2wyjv582.js → location-2hgjbaq7.js} +4 -4
  28. package/dist/chunks/{permission-2k8khapm.js → location-2k8khapm.js} +1 -1
  29. package/dist/chunks/{permission-6a32rn4v.js → location-2qjvwhpy.js} +32 -32
  30. package/dist/chunks/{permission-frb38jfy.js → location-2sc5vdwx.js} +7 -7
  31. package/dist/chunks/{permission-e3c36pw0.js → location-2wyd3ps6.js} +5 -5
  32. package/dist/chunks/{permission-t02gjz1k.js → location-2x8aavte.js} +8 -8
  33. package/dist/chunks/{permission-8wfdbk8j.js → location-2xsh895f.js} +11 -11
  34. package/dist/chunks/{permission-rkmq0ftz.js → location-389stghd.js} +9 -9
  35. package/dist/chunks/{permission-xzbwntxk.js → location-39s9xh8n.js} +16 -16
  36. package/dist/chunks/{permission-n3mvxh6b.js → location-3af3sqg9.js} +15 -15
  37. package/dist/chunks/{permission-bb9gdsay.js → location-3be754jd.js} +7 -7
  38. package/dist/chunks/{permission-xp9xnn8d.js → location-3bvf0a01.js} +35 -35
  39. package/dist/chunks/{permission-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{permission-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{permission-bct739vz.js → location-3j8sdtpz.js} +4 -4
  42. package/dist/chunks/{permission-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{permission-magykp64.js → location-3t8eac1t.js} +4 -4
  44. package/dist/chunks/{permission-43rr00tt.js → location-3tbkqww7.js} +5 -5
  45. package/dist/chunks/{permission-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{permission-s5wvc7af.js → location-410zfba8.js} +2 -2
  47. package/dist/chunks/{permission-j1yse1kd.js → location-4hyxw530.js} +9 -9
  48. package/dist/chunks/{permission-gc7nq2w8.js → location-4pfqqkn9.js} +15 -15
  49. package/dist/chunks/{permission-kbhrqfch.js → location-4sr2v72b.js} +10 -10
  50. package/dist/chunks/location-4v7qdvcn.js +18 -0
  51. package/dist/chunks/{permission-ssbetzbz.js → location-56ek0vvh.js} +13 -13
  52. package/dist/chunks/{permission-7vc3mrhj.js → location-58gxdv9m.js} +12 -12
  53. package/dist/chunks/{permission-5daktx2q.js → location-5daktx2q.js} +1 -1
  54. package/dist/chunks/{permission-pxz8cxa5.js → location-5rp8v4vz.js} +13 -13
  55. package/dist/chunks/{permission-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{permission-q494k5ge.js → location-5vqd2904.js} +17 -17
  57. package/dist/chunks/{permission-6c0389mc.js → location-5x0v6vja.js} +1 -1
  58. package/dist/chunks/{permission-669tq793.js → location-669tq793.js} +1 -1
  59. package/dist/chunks/{permission-62fptws6.js → location-6bsjh9v7.js} +289 -289
  60. package/dist/chunks/{permission-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{permission-71q4at8m.js → location-71q4at8m.js} +1 -1
  62. package/dist/chunks/{permission-dv1qgsyq.js → location-7b15y959.js} +8 -8
  63. package/dist/chunks/{permission-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{permission-j5nhpq27.js → location-7j0rmcxv.js} +1 -1
  65. package/dist/chunks/{permission-sgrgw8g2.js → location-7smaqcb0.js} +14 -14
  66. package/dist/chunks/{permission-81swgkk7.js → location-81swgkk7.js} +2 -2
  67. package/dist/chunks/{permission-w7a9hpzm.js → location-829mfcx0.js} +9 -9
  68. package/dist/chunks/{permission-3gam31rs.js → location-889pe7d8.js} +34 -34
  69. package/dist/chunks/{permission-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  70. package/dist/chunks/{permission-40cbsfw4.js → location-8hg6030g.js} +25 -25
  71. package/dist/chunks/{permission-g08z5fem.js → location-8m3d2bhh.js} +8 -8
  72. package/dist/chunks/{permission-8p4f9s12.js → location-8p4f9s12.js} +2 -2
  73. package/dist/chunks/{permission-wtz46evs.js → location-8q61w4ba.js} +6 -6
  74. package/dist/chunks/{permission-s0hza5ac.js → location-8s8mxddj.js} +4 -4
  75. package/dist/chunks/{permission-7e6sjpzv.js → location-96yrngjz.js} +11 -11
  76. package/dist/chunks/{permission-k6y57zrd.js → location-9tbtdqpf.js} +4 -4
  77. package/dist/chunks/{permission-q3nxez7d.js → location-9y8gg6zj.js} +8 -8
  78. package/dist/chunks/location-a0etbwks.js +22 -0
  79. package/dist/chunks/{permission-a1bz86dw.js → location-a1bz86dw.js} +3 -3
  80. package/dist/chunks/{permission-apn687kz.js → location-a24v126d.js} +6 -6
  81. package/dist/chunks/{permission-0vver8sv.js → location-a5z4fv32.js} +27 -27
  82. package/dist/chunks/{permission-dcyd24wq.js → location-aab08neh.js} +21 -21
  83. package/dist/chunks/{permission-aaet6srn.js → location-aaet6srn.js} +2 -2
  84. package/dist/chunks/{permission-w1k6zdcm.js → location-ae99a08d.js} +8 -8
  85. package/dist/chunks/{permission-5h0sc7d2.js → location-ae9ptqg3.js} +6 -6
  86. package/dist/chunks/{permission-fhwh6ymw.js → location-ax870rrv.js} +7 -7
  87. package/dist/chunks/{permission-bsd2krkr.js → location-ayhzktfb.js} +33 -33
  88. package/dist/chunks/{permission-awaee7qt.js → location-b1chm04x.js} +7 -7
  89. package/dist/chunks/{permission-q43b811b.js → location-b33xe3vz.js} +22 -22
  90. package/dist/chunks/{permission-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  91. package/dist/chunks/{permission-yz8759qy.js → location-b8q5k5sw.js} +20 -20
  92. package/dist/chunks/{permission-zxwym8ez.js → location-bde8na58.js} +15 -15
  93. package/dist/chunks/{permission-zegc85zc.js → location-bfrarwjs.js} +5 -5
  94. package/dist/chunks/{permission-r33c6a77.js → location-bh19jbb0.js} +6 -6
  95. package/dist/chunks/{permission-bha4atvq.js → location-bha4atvq.js} +4 -4
  96. package/dist/chunks/{permission-m38pnftj.js → location-bndvft47.js} +22 -22
  97. package/dist/chunks/{permission-jdh6s7jq.js → location-bpqahvg7.js} +8 -8
  98. package/dist/chunks/{permission-1aqtxx1v.js → location-bqs6z16n.js} +5 -5
  99. package/dist/chunks/{permission-jxpkt7tv.js → location-bsj0k59k.js} +26 -26
  100. package/dist/chunks/{permission-05z6nbb6.js → location-bte2cbsy.js} +22 -22
  101. package/dist/chunks/{permission-kc0nqpr4.js → location-bvr2g14r.js} +11 -11
  102. package/dist/chunks/{permission-92c73cms.js → location-c03trhyz.js} +24 -24
  103. package/dist/chunks/{permission-30p61b7v.js → location-c0xs0mpv.js} +26 -26
  104. package/dist/chunks/{permission-0w1z60c4.js → location-ca9c6syk.js} +25 -25
  105. package/dist/chunks/{permission-b09gp3e1.js → location-cc10ch8m.js} +22 -22
  106. package/dist/chunks/{permission-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
  107. package/dist/chunks/{permission-a1sq34g7.js → location-cj3c3by5.js} +20 -20
  108. package/dist/chunks/{permission-4fqjavnt.js → location-cvaj0dbv.js} +20 -20
  109. package/dist/chunks/{permission-q4r5v072.js → location-czkxp88d.js} +6 -6
  110. package/dist/chunks/{permission-8g9sv97x.js → location-czmgezh1.js} +24 -24
  111. package/dist/chunks/{permission-tv6r6mb4.js → location-dchs2g52.js} +5 -5
  112. package/dist/chunks/{permission-y71avatq.js → location-dpkg50ah.js} +4 -4
  113. package/dist/chunks/{permission-q299s37z.js → location-dwfyc9qf.js} +11 -11
  114. package/dist/chunks/{permission-m9mprvkw.js → location-dyysx4dq.js} +6 -6
  115. package/dist/chunks/{permission-6ewjxdmc.js → location-e61xx2n8.js} +3 -3
  116. package/dist/chunks/{permission-dbjeecdk.js → location-e8ne3dpa.js} +21 -21
  117. package/dist/chunks/{permission-eaj1djv9.js → location-eaj1djv9.js} +1 -1
  118. package/dist/chunks/{permission-dq0mr2jp.js → location-eewaj409.js} +11 -11
  119. package/dist/chunks/{permission-61vwcr6k.js → location-ekvngk86.js} +7 -7
  120. package/dist/chunks/{permission-tasvhq82.js → location-en58n665.js} +13 -13
  121. package/dist/chunks/{permission-zsg3w01c.js → location-ent09bmt.js} +4 -4
  122. package/dist/chunks/{permission-sdgbfwbf.js → location-ep6qtvyr.js} +30 -30
  123. package/dist/chunks/{permission-mhkvc446.js → location-eq1pz5kg.js} +3 -3
  124. package/dist/chunks/{permission-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{permission-es6yzghe.js → location-etwfhkz9.js} +7 -7
  126. package/dist/chunks/{permission-mbpabt96.js → location-ezedb5nb.js} +17 -17
  127. package/dist/chunks/{permission-f2n192rq.js → location-f2n192rq.js} +1 -1
  128. package/dist/chunks/{permission-7rnn8skb.js → location-f6t340ae.js} +12 -12
  129. package/dist/chunks/{permission-wk5z6jzv.js → location-f7ehr2sm.js} +8 -8
  130. package/dist/chunks/{permission-f828m53h.js → location-f828m53h.js} +2 -2
  131. package/dist/chunks/{permission-f9ggb10g.js → location-f8hxd4bv.js} +13 -13
  132. package/dist/chunks/{permission-hrvd6t1f.js → location-fjmrr6sh.js} +9 -9
  133. package/dist/chunks/{permission-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{permission-1vhd68sd.js → location-g7j46mhj.js} +14 -14
  135. package/dist/chunks/{permission-67amkq1e.js → location-gc9rycst.js} +12 -12
  136. package/dist/chunks/{permission-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{permission-020tazj7.js → location-gs13a0mc.js} +56 -56
  138. package/dist/chunks/{permission-z2gqb3qg.js → location-gvnbva7c.js} +12 -12
  139. package/dist/chunks/{permission-b7fz65hd.js → location-gw2vvezc.js} +9 -9
  140. package/dist/chunks/{permission-rvgrny2v.js → location-gx10v58f.js} +18 -18
  141. package/dist/chunks/{permission-tawsc025.js → location-gzg98a5d.js} +6 -6
  142. package/dist/chunks/{permission-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  143. package/dist/chunks/{permission-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  144. package/dist/chunks/{permission-05d5kf85.js → location-h7jk4asw.js} +43 -43
  145. package/dist/chunks/{permission-htv999p2.js → location-h8ja802q.js} +4 -4
  146. package/dist/chunks/{permission-p9wjsttt.js → location-hdmnnff5.js} +8 -8
  147. package/dist/chunks/{permission-6r41hzjf.js → location-hky8et6e.js} +10 -10
  148. package/dist/chunks/{permission-yjptyezs.js → location-hnr5yq9h.js} +5 -5
  149. package/dist/chunks/{permission-epa7ab47.js → location-hv4jntb9.js} +18 -18
  150. package/dist/chunks/{permission-axswzfy0.js → location-hvpzgxgs.js} +9 -9
  151. package/dist/chunks/{permission-31e5ersp.js → location-j0fb3yen.js} +18 -18
  152. package/dist/chunks/{permission-nbddwgy7.js → location-j26kwb45.js} +10 -10
  153. package/dist/chunks/{permission-eyhztbdt.js → location-j2p38w15.js} +42 -42
  154. package/dist/chunks/{permission-amsh879j.js → location-j556b5bm.js} +26 -26
  155. package/dist/chunks/{permission-j56e64zr.js → location-j56e64zr.js} +1 -1
  156. package/dist/chunks/{permission-bnmyf0ce.js → location-j69nrb2c.js} +15 -15
  157. package/dist/chunks/{permission-dhw3sfae.js → location-jbhgm1pg.js} +13 -13
  158. package/dist/chunks/{permission-xe133f6x.js → location-k3zbr1bh.js} +7 -7
  159. package/dist/chunks/{permission-qz0j6jwv.js → location-k44by2q5.js} +42 -42
  160. package/dist/chunks/{permission-bf1f8spf.js → location-k5jcx5w1.js} +9 -9
  161. package/dist/chunks/{permission-kg06axw8.js → location-kg06axw8.js} +1 -1
  162. package/dist/chunks/{permission-4kvwdcv5.js → location-kg1vvjz6.js} +22 -22
  163. package/dist/chunks/{permission-rpvameez.js → location-kjtkant2.js} +11 -11
  164. package/dist/chunks/{permission-54bvyzn9.js → location-kpe4e0s9.js} +17 -17
  165. package/dist/chunks/{permission-g5dqybf4.js → location-ky1ech8t.js} +6 -6
  166. package/dist/chunks/{permission-b1hwkhhg.js → location-kyrbgmgz.js} +4 -4
  167. package/dist/chunks/{permission-84esvpjp.js → location-m0kbr7p9.js} +8 -8
  168. package/dist/chunks/{permission-hznecdg9.js → location-m1y7e9ek.js} +26 -26
  169. package/dist/chunks/{permission-h7ygw6q4.js → location-m86bnw2c.js} +9 -9
  170. package/dist/chunks/{permission-f2qv4rkk.js → location-m8nqv7st.js} +28 -28
  171. package/dist/chunks/{permission-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{permission-87mf3pbm.js → location-mfpdf0ta.js} +7 -7
  173. package/dist/chunks/{permission-9bmt064q.js → location-mk60nzq1.js} +1 -1
  174. package/dist/chunks/{permission-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
  175. package/dist/chunks/{permission-ym6s8ka9.js → location-n002fnqn.js} +50 -50
  176. package/dist/chunks/{permission-yqt3rh4n.js → location-n25jd2cw.js} +29 -29
  177. package/dist/chunks/{permission-bzq2w820.js → location-n8f3mzga.js} +4 -4
  178. package/dist/chunks/{permission-8rzvvpen.js → location-ncaez7fb.js} +1 -1
  179. package/dist/chunks/{permission-2f04pwep.js → location-ndmv45hp.js} +3 -3
  180. package/dist/chunks/{permission-e82z9tr0.js → location-nhy5jxhy.js} +7 -7
  181. package/dist/chunks/{permission-9q891yrf.js → location-nxjhxkv3.js} +8 -8
  182. package/dist/chunks/{permission-9z3fc33k.js → location-p6drjj8h.js} +4 -4
  183. package/dist/chunks/{permission-w1k39n5e.js → location-paegk39x.js} +4 -4
  184. package/dist/chunks/{permission-aq6p0j7t.js → location-pec4bm3r.js} +13 -13
  185. package/dist/chunks/{permission-xfps67qg.js → location-pfwdjrz4.js} +2 -2
  186. package/dist/chunks/{permission-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  187. package/dist/chunks/{permission-pknna89w.js → location-pknna89w.js} +1 -1
  188. package/dist/chunks/{permission-vwj7x1yx.js → location-ppdy6qwe.js} +4 -4
  189. package/dist/chunks/{permission-d9h2d1ka.js → location-psg6js8p.js} +31 -31
  190. package/dist/chunks/{permission-hvbks3tt.js → location-pw9v3g6d.js} +8 -8
  191. package/dist/chunks/{permission-5dcw9y6m.js → location-pzfzh42t.js} +15 -15
  192. package/dist/chunks/{permission-p3djshn2.js → location-q17hktv8.js} +15 -15
  193. package/dist/chunks/{permission-hqs268ax.js → location-q3d655mj.js} +85 -85
  194. package/dist/chunks/{permission-1hbebamh.js → location-q7cq3y4p.js} +46 -46
  195. package/dist/chunks/{permission-tapgcwap.js → location-qdyxpk4m.js} +38 -38
  196. package/dist/chunks/{permission-jqfwb0pt.js → location-qgqfnjyk.js} +87 -87
  197. package/dist/chunks/{permission-4ws74jfa.js → location-qhs4rngb.js} +28 -28
  198. package/dist/chunks/{permission-0zhcx8km.js → location-qqs4xmxe.js} +49 -49
  199. package/dist/chunks/{permission-qsdy395h.js → location-qsdy395h.js} +1 -1
  200. package/dist/chunks/{permission-2kagef7w.js → location-qvf5hp1t.js} +32 -32
  201. package/dist/chunks/{permission-6444e1x5.js → location-qx0n0hnh.js} +13 -13
  202. package/dist/chunks/{permission-686tcbjj.js → location-qxqbfyt6.js} +36 -36
  203. package/dist/chunks/{permission-2epmtwtd.js → location-qycwybve.js} +10 -10
  204. package/dist/chunks/{permission-f4b92nvy.js → location-r8qagt8b.js} +22 -22
  205. package/dist/chunks/{permission-34rkz0x9.js → location-ratrq7cm.js} +7 -7
  206. package/dist/chunks/{permission-7j2qha59.js → location-rmdyxgmk.js} +8 -8
  207. package/dist/chunks/{permission-s92vhaeg.js → location-rp7ht49k.js} +21 -21
  208. package/dist/chunks/{permission-0ft9cg2j.js → location-rp8jz6x1.js} +4 -4
  209. package/dist/chunks/{permission-q8ym26hm.js → location-rpr7nt0p.js} +13 -13
  210. package/dist/chunks/{permission-dy0c576n.js → location-rwc534w8.js} +14 -14
  211. package/dist/chunks/{permission-yq1w5pqx.js → location-rz6djy9m.js} +34 -34
  212. package/dist/chunks/{permission-rw8f0y5b.js → location-s138m409.js} +13 -13
  213. package/dist/chunks/{permission-edxfe7s1.js → location-s6g7bkfa.js} +8 -8
  214. package/dist/chunks/{permission-peyqvyfe.js → location-s6xwevjp.js} +3 -3
  215. package/dist/chunks/{permission-nx4mcp4p.js → location-sdtwcfar.js} +32 -32
  216. package/dist/chunks/{permission-h4z9dwcs.js → location-sq0fsqh3.js} +8 -8
  217. package/dist/chunks/{permission-km9fdhsq.js → location-srhw5zxk.js} +8 -8
  218. package/dist/chunks/{permission-44bt3e44.js → location-sst0ghmm.js} +26 -26
  219. package/dist/chunks/{permission-qte4374f.js → location-svv6qsvk.js} +12 -12
  220. package/dist/chunks/{permission-rbygrj0c.js → location-swabsky0.js} +6 -6
  221. package/dist/chunks/{permission-sc88h56w.js → location-sycr0cxz.js} +29 -29
  222. package/dist/chunks/{permission-bpxakdpc.js → location-szfjwb31.js} +3 -3
  223. package/dist/chunks/{permission-8b0mdtzk.js → location-t072myer.js} +4 -4
  224. package/dist/chunks/{permission-c5krz9jh.js → location-t268s8j2.js} +11 -11
  225. package/dist/chunks/{permission-kcdjdwht.js → location-t45hv4wr.js} +15 -15
  226. package/dist/chunks/{permission-vd2882sq.js → location-t5d3pp3j.js} +20 -20
  227. package/dist/chunks/{permission-g035anep.js → location-t96n3knx.js} +30 -30
  228. package/dist/chunks/{permission-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{permission-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{permission-tdstcens.js → location-tdstcens.js} +1 -1
  231. package/dist/chunks/{permission-dv7mkkh9.js → location-tgnvbkra.js} +18 -18
  232. package/dist/chunks/{permission-ywh6c7jz.js → location-tgsqfs3c.js} +37 -37
  233. package/dist/chunks/{permission-th5km1p3.js → location-th5km1p3.js} +2 -2
  234. package/dist/chunks/{permission-wqkncbjv.js → location-tm7ffpnn.js} +6 -6
  235. package/dist/chunks/{permission-5q24z5p0.js → location-tmbxdmay.js} +37 -37
  236. package/dist/chunks/{permission-tvtrv512.js → location-tvtrv512.js} +1 -1
  237. package/dist/chunks/{permission-p72z5xx6.js → location-v4t0dn9g.js} +2 -2
  238. package/dist/chunks/{permission-gz2jw7z9.js → location-v542w56z.js} +26 -26
  239. package/dist/chunks/{permission-c2ky07yx.js → location-v7br46vm.js} +16 -16
  240. package/dist/chunks/{permission-3g80ynvx.js → location-vc5bk1c0.js} +13 -13
  241. package/dist/chunks/{permission-cww8ckd5.js → location-vdpzq508.js} +17 -17
  242. package/dist/chunks/{permission-ve6nm2s5.js → location-ve6nm2s5.js} +1 -1
  243. package/dist/chunks/{permission-veqvce7d.js → location-veqvce7d.js} +1 -1
  244. package/dist/chunks/{permission-bqnr9rrg.js → location-vhbmzvty.js} +27 -27
  245. package/dist/chunks/{permission-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{permission-s320sr8b.js → location-w08q9gc9.js} +23 -23
  247. package/dist/chunks/{permission-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{permission-rfnzy394.js → location-w79zsp0s.js} +1 -1
  249. package/dist/chunks/location-w850rf70.js +247 -0
  250. package/dist/chunks/{permission-q2t36530.js → location-wb8znxk9.js} +9 -9
  251. package/dist/chunks/{permission-wd87259q.js → location-wd87259q.js} +1 -1
  252. package/dist/chunks/{permission-w9wjp6nc.js → location-wh6nx8gk.js} +4 -4
  253. package/dist/chunks/{permission-q5w1jtjn.js → location-whhmk8k9.js} +11 -11
  254. package/dist/chunks/{permission-q7kxw1qj.js → location-wknpsqf7.js} +36 -36
  255. package/dist/chunks/{permission-bpp1ve0d.js → location-wx89x9gj.js} +16 -16
  256. package/dist/chunks/{permission-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{permission-x43y2vfs.js → location-x43y2vfs.js} +2 -2
  258. package/dist/chunks/{permission-fp7afw2y.js → location-x7vckax8.js} +9 -9
  259. package/dist/chunks/{permission-qyqx8eqj.js → location-x80tm2rf.js} +18 -18
  260. package/dist/chunks/{permission-dnhfw08a.js → location-xaadjf4r.js} +24 -24
  261. package/dist/chunks/{permission-46h5h1ad.js → location-xcrbymt7.js} +46 -46
  262. package/dist/chunks/{permission-79arfv4e.js → location-xgpdceje.js} +23 -23
  263. package/dist/chunks/{permission-jjx7b5jh.js → location-xshrq19q.js} +20 -20
  264. package/dist/chunks/{permission-gdhz6ft6.js → location-xv590yw7.js} +32 -32
  265. package/dist/chunks/{permission-9hk4nqcc.js → location-y14y9keq.js} +1 -1
  266. package/dist/chunks/{permission-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{permission-h0wmkw4z.js → location-y2r22c8c.js} +72 -72
  268. package/dist/chunks/{permission-h3ap5ds5.js → location-y506eeqx.js} +11 -11
  269. package/dist/chunks/{permission-jbk88k2h.js → location-y8f7dagd.js} +21 -21
  270. package/dist/chunks/{permission-a1wdz8hm.js → location-y8z56cqz.js} +28 -28
  271. package/dist/chunks/{permission-hrwd0249.js → location-yb440psp.js} +5 -5
  272. package/dist/chunks/{permission-yddgxcp4.js → location-yddgxcp4.js} +2 -2
  273. package/dist/chunks/{permission-cqqqgcb7.js → location-yjdnpxry.js} +22 -22
  274. package/dist/chunks/{permission-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{permission-pwrejdr7.js → location-yryey8bw.js} +25 -25
  276. package/dist/chunks/{permission-yrznvahk.js → location-yrznvahk.js} +2 -2
  277. package/dist/chunks/{permission-hkfg6fzm.js → location-yt0fqk68.js} +5 -5
  278. package/dist/chunks/{permission-1ccpd7mf.js → location-yz4r56ez.js} +17 -17
  279. package/dist/chunks/{permission-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{permission-z63w68vq.js → location-z63w68vq.js} +2 -2
  281. package/dist/chunks/{permission-2vs2nh1n.js → location-zcrspsvn.js} +4 -4
  282. package/dist/chunks/{permission-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{permission-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{permission-04bnhnz9.js → location-zwsxqnjr.js} +18 -18
  285. package/dist/chunks/{permission-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{permission-rsdcqs1d.js → location-zxvgyezd.js} +1 -1
  287. package/dist/chunks/{permission-1nznx4cc.js → location-zzqyq7ew.js} +35 -35
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +79 -79
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +77 -77
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +356 -356
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +84 -84
  427. package/dist/generate.js +93 -93
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +1 -1
  452. package/dist/instance.js +349 -349
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +82 -82
  458. package/dist/job.js +75 -75
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +80 -80
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +97 -97
  468. package/dist/mcp/instructions.js +120 -120
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +80 -80
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +102 -102
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +115 -115
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +72 -72
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +343 -343
  540. package/dist/plugin/update.js +4 -4
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +81 -81
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +88 -88
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +78 -78
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +82 -82
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +111 -111
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +167 -167
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +113 -113
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +206 -206
  638. package/dist/tool/plugin/skill.js +106 -106
  639. package/dist/tool/plugin/subagent.js +204 -204
  640. package/dist/tool/plugin/webfetch.js +103 -103
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/permission-9sh4wc5j.js +0 -18
  687. package/dist/chunks/permission-mk0rj6bs.js +0 -22
  688. package/dist/chunks/permission-rw5rv931.js +0 -247
  689. /package/dist/chunks/{permission-0mesazry.js → location-0mesazry.js} +0 -0
  690. /package/dist/chunks/{permission-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{permission-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{permission-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{permission-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{permission-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{permission-2710q6r3.js → location-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{permission-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{permission-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{permission-359p4xyc.js → location-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{permission-3asan66x.js → location-3asan66x.js} +0 -0
  700. /package/dist/chunks/{permission-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{permission-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{permission-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{permission-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{permission-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{permission-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{permission-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{permission-53557ph1.js → location-53557ph1.js} +0 -0
  708. /package/dist/chunks/{permission-550bvhaj.js → location-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{permission-6prwharc.js → location-6prwharc.js} +0 -0
  710. /package/dist/chunks/{permission-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{permission-7m9af43g.js → location-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{permission-822emrt2.js → location-822emrt2.js} +0 -0
  713. /package/dist/chunks/{permission-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{permission-8n3pysct.js → location-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{permission-922hggd3.js → location-922hggd3.js} +0 -0
  716. /package/dist/chunks/{permission-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{permission-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{permission-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{permission-af5trqkr.js → location-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{permission-afrmfg78.js → location-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{permission-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{permission-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{permission-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{permission-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{permission-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{permission-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{permission-d9fn303g.js → location-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{permission-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{permission-dajrwvna.js → location-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{permission-dap0rakb.js → location-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{permission-df08tz66.js → location-df08tz66.js} +0 -0
  732. /package/dist/chunks/{permission-dy18nga0.js → location-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{permission-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{permission-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{permission-ec1grn59.js → location-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{permission-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{permission-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{permission-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{permission-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{permission-faypxj3z.js → location-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{permission-fd410y7t.js → location-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{permission-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{permission-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{permission-g86h250q.js → location-g86h250q.js} +0 -0
  745. /package/dist/chunks/{permission-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{permission-gftt206x.js → location-gftt206x.js} +0 -0
  747. /package/dist/chunks/{permission-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{permission-hk9envan.js → location-hk9envan.js} +0 -0
  749. /package/dist/chunks/{permission-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{permission-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{permission-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{permission-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{permission-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{permission-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{permission-mp448xyj.js → location-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{permission-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{permission-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{permission-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{permission-njntx4h6.js → location-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{permission-paphc93g.js → location-paphc93g.js} +0 -0
  761. /package/dist/chunks/{permission-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{permission-q74kybfr.js → location-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{permission-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{permission-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{permission-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{permission-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{permission-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{permission-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{permission-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{permission-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{permission-twg0f83k.js → location-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{permission-w803qqfp.js → location-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{permission-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{permission-wtztk69x.js → location-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{permission-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{permission-x61499pn.js → location-x61499pn.js} +0 -0
  777. /package/dist/chunks/{permission-y44na4kk.js → location-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{permission-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{permission-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{permission-ym463w8f.js → location-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{permission-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service65
3
- } from "./permission-0vver8sv.js";
2
+ Service52
3
+ } from "./location-a5z4fv32.js";
4
4
  import {
5
- Service71
6
- } from "./permission-0zhcx8km.js";
5
+ Service67
6
+ } from "./location-qqs4xmxe.js";
7
7
  import {
8
8
  __export
9
- } from "./permission-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin45,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service65;
57
- const permission = yield* Service71;
56
+ const forms = yield* Service52;
57
+ const permission = yield* Service67;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
118
+ export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./permission-922hggd3.js";
5
+ } from "./location-922hggd3.js";
6
6
  import {
7
- Service55,
8
- node58
9
- } from "./permission-dnhfw08a.js";
7
+ Service53,
8
+ node56
9
+ } from "./location-xaadjf4r.js";
10
10
  import {
11
11
  Content2
12
- } from "./permission-dcyd24wq.js";
12
+ } from "./location-aab08neh.js";
13
13
  import {
14
14
  detect2
15
- } from "./permission-3smtnn6g.js";
15
+ } from "./location-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./permission-9rqn6x4v.js";
18
+ } from "./location-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service9,
36
+ Service: () => Service12,
37
37
  TextPage: () => TextPage2,
38
- node: () => node12,
38
+ node: () => node15,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service9, Effect.gen(function* () {
330
- const environment = yield* Service55;
331
- return Service9.of({
329
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
330
+ const environment = yield* Service53;
331
+ return Service12.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node12 = makeLocationNode({ service: Service9, layer, deps: [node58] });
336
+ var node15 = makeLocationNode({ service: Service12, layer, deps: [node56] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node12, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node15, exports_read_filesystem };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID15
3
- } from "./permission-m38pnftj.js";
2
+ ID16
3
+ } from "./location-bndvft47.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./permission-922hggd3.js";
6
+ } from "./location-922hggd3.js";
7
7
  import {
8
- Info9
9
- } from "./permission-km9fdhsq.js";
8
+ Info20
9
+ } from "./location-srhw5zxk.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./permission-k6y57zrd.js";
12
+ } from "./location-9tbtdqpf.js";
13
13
  import {
14
14
  latest2,
15
- Service47
16
- } from "./permission-46h5h1ad.js";
15
+ Service61
16
+ } from "./location-xcrbymt7.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./permission-5daktx2q.js";
19
+ } from "./location-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./permission-9rqn6x4v.js";
22
+ } from "./location-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin9
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin27
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info9);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info20);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin9 = define({
47
+ var Plugin27 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service47;
50
+ const config = yield* Service61;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin9 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID15.make(configuredDefault));
79
+ editor.default(ID16.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID15.make(id);
85
+ const agentID = ID16.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin9, exports_agent };
164
+ export { Plugin27, exports_agent2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./permission-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
- Service75,
6
- node80
7
- } from "./permission-dy0c576n.js";
5
+ Service74,
6
+ node79
7
+ } from "./location-rwc534w8.js";
8
8
  import {
9
- Service23,
10
- node27
11
- } from "./permission-sgrgw8g2.js";
9
+ Service16,
10
+ node19
11
+ } from "./location-7smaqcb0.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./permission-tcezcvh9.js";
15
+ } from "./location-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./permission-9rqn6x4v.js";
18
+ } from "./location-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options4,
25
- Service: () => Service22,
26
- configured: () => configured4,
24
+ Options: () => Options2,
25
+ Service: () => Service15,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer10,
29
- node: () => node26,
28
+ layer: () => layer8,
29
+ node: () => node18,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options4 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service22 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
62
- const location = yield* Service75;
63
- const ripgrep = yield* Service23;
61
+ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
62
+ const location = yield* Service74;
63
+ const ripgrep = yield* Service16;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service22.of({
108
+ return Service15.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
116
- const location = yield* Service75;
115
+ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
116
+ const location = yield* Service74;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service22.of({
129
+ return Service15.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service22.of({
134
+ return Service15.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service75;
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service74;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured4(options) {
186
- return makeLocationNode({ service: Service22, layer: layer10(options), deps: [node80, node27] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node79, node19] });
187
187
  }
188
- var node26 = configured4();
188
+ var node18 = configured2();
189
189
 
190
- export { Options4, Service22, ripgrepLayer2, fffLayer2, layer10, configured4, node26, exports_search };
190
+ export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node18, exports_search };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./permission-c2ky07yx.js";
2
+ Service79,
3
+ node84
4
+ } from "./location-v7br46vm.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./permission-922hggd3.js";
8
+ } from "./location-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service75,
12
- node80
13
- } from "./permission-dy0c576n.js";
11
+ Service74,
12
+ node79
13
+ } from "./location-rwc534w8.js";
14
14
  import {
15
15
  __export
16
- } from "./permission-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service18,
22
+ Service: () => Service19,
23
23
  define: () => define2,
24
- node: () => node22
24
+ node: () => node23
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service18 extends Context.Service()("@opencode/Rpc") {
30
+ class Service19 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service18, Effect.gen(function* () {
43
- const bus = yield* Service78;
44
- const location = yield* Service75;
42
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
43
+ const bus = yield* Service79;
44
+ const location = yield* Service74;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service74, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service18.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service19.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node22 = makeLocationNode({ service: Service18, layer, deps: [node83, node80] });
128
+ var node23 = makeLocationNode({ service: Service19, layer, deps: [node84, node79] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service18, node22, exports_rpc, define2 };
213
+ export { Service19, node23, exports_rpc, define2 };
@@ -1,49 +1,49 @@
1
1
  import {
2
- ID9,
2
+ ID10,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./permission-apn687kz.js";
8
+ } from "./location-a24v126d.js";
9
9
  import {
10
- Service62,
11
- node67
12
- } from "./permission-kc0nqpr4.js";
10
+ Service58,
11
+ node63
12
+ } from "./location-bvr2g14r.js";
13
13
  import {
14
14
  map2
15
- } from "./permission-xfps67qg.js";
15
+ } from "./location-pfwdjrz4.js";
16
16
  import {
17
- ID8,
17
+ ID9,
18
18
  VariantID2,
19
19
  Ref3
20
- } from "./permission-kbhrqfch.js";
20
+ } from "./location-4sr2v72b.js";
21
21
  import {
22
22
  ID6,
23
- Service63,
24
- node68
25
- } from "./permission-0w1z60c4.js";
23
+ Service47,
24
+ node50
25
+ } from "./location-ca9c6syk.js";
26
26
  import {
27
- Service61,
28
- node66
29
- } from "./permission-amsh879j.js";
27
+ Service46,
28
+ node49
29
+ } from "./location-j556b5bm.js";
30
30
  import {
31
31
  __export
32
- } from "./permission-9rqn6x4v.js";
32
+ } from "./location-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service60,
38
+ Service: () => Service45,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
42
42
  VariantUnavailableError: () => VariantUnavailableError3,
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
- layer: () => layer24,
46
- node: () => node65,
45
+ layer: () => layer18,
46
+ node: () => node48,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID9,
57
- modelID: ID8,
56
+ providerID: ID10,
57
+ modelID: ID9,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID9,
67
- modelID: ID8,
66
+ providerID: ID10,
67
+ modelID: ID9,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID9,
77
- modelID: ID8,
76
+ providerID: ID10,
77
+ modelID: ID9,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID9,
87
- modelID: ID8,
86
+ providerID: ID10,
87
+ modelID: ID9,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service60 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service45 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,11 +218,11 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer24 = Layer.effect(Service60, Effect.gen(function* () {
222
- const catalog = yield* Service61;
223
- const integrations = yield* Service63;
221
+ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
222
+ const catalog = yield* Service46;
223
+ const integrations = yield* Service47;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service62;
225
+ const aisdk = yield* Service58;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
228
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID6.make(selected.providerID));
@@ -247,7 +247,7 @@ var layer24 = Layer.effect(Service60, Effect.gen(function* () {
247
247
  websocket: selected.websocket ?? false
248
248
  };
249
249
  });
250
- return Service60.of({
250
+ return Service45.of({
251
251
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
252
252
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
253
253
  if (!selected)
@@ -264,10 +264,10 @@ function usesAPIKeyAuth(packageName) {
264
264
  const name = packageName2(packageName);
265
265
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
266
266
  }
267
- var node65 = makeLocationNode({
268
- service: Service60,
269
- layer: layer24,
270
- deps: [node66, node68, Npm.node, node67]
267
+ var node48 = makeLocationNode({
268
+ service: Service45,
269
+ layer: layer18,
270
+ deps: [node49, node50, Npm.node, node63]
271
271
  });
272
272
 
273
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node65, exports_model_resolver };
273
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service45, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer18, node48, exports_model_resolver };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./permission-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./permission-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./permission-gftt206x.js";
3
+ } from "./location-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./permission-2f04pwep.js";
6
+ } from "./location-ndmv45hp.js";
7
7
  import {
8
8
  __export
9
- } from "./permission-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error2 = {};
@@ -19,7 +19,7 @@ __export(exports_error2, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError9,
22
+ NotFoundError: () => NotFoundError8,
23
23
  PromptConflictError: () => PromptConflictError2,
24
24
  SessionErrors: () => exports_error2,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
126
+ export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };