@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,16 +1,16 @@
1
1
  import {
2
- Service51
3
- } from "./permission-bnmyf0ce.js";
2
+ Service49
3
+ } from "./location-j69nrb2c.js";
4
4
  import {
5
- Service24
6
- } from "./permission-hqs268ax.js";
5
+ Service22
6
+ } from "./location-q3d655mj.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./permission-x1ezjp6w.js";
10
+ } from "./location-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./permission-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
22
  var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service24;
24
- const jobs = yield* Service51;
23
+ const sessions = yield* Service22;
24
+ const jobs = yield* Service49;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -0,0 +1,22 @@
1
+ import {
2
+ Plugin8
3
+ } from "./location-pw9v3g6d.js";
4
+ import {
5
+ Plugin3
6
+ } from "./location-gw2vvezc.js";
7
+ import {
8
+ Plugin7
9
+ } from "./location-4hyxw530.js";
10
+ import {
11
+ Plugin4
12
+ } from "./location-8m3d2bhh.js";
13
+
14
+ // src/plugin/websearch/index.ts
15
+ var WebSearchPlugins2 = [
16
+ Plugin8,
17
+ Plugin3,
18
+ Plugin7,
19
+ Plugin4
20
+ ];
21
+
22
+ export { WebSearchPlugins2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./permission-6msgmcgs.js";
4
+ } from "./location-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./permission-qfa1cgps.js";
7
+ } from "./location-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./permission-8p4f9s12.js";
10
+ } from "./location-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID9,
10
- Info: () => Info24,
9
+ ID: () => ID10,
10
+ Info: () => Info25,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
13
  Request: () => Request2,
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
23
23
  import { Provider } from "@opencode/schema/provider";
24
24
  import { isRecord } from "@opencode/ai/utils/record";
25
25
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
26
- var ID9 = Provider.ID;
26
+ var ID10 = Provider.ID;
27
27
  var AISDK_PREFIX2 = "aisdk:";
28
28
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
29
29
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -139,7 +139,7 @@ function mergeHeaders2(base, overlay) {
139
139
  }
140
140
  var Request2 = Provider.Request;
141
141
  var Settings2 = Provider.Settings;
142
- var Info24 = Provider.Info;
142
+ var Info25 = Provider.Info;
143
143
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
144
144
  const module = yield* Effect.tryPromise({
145
145
  try: () => {
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
161
161
  return module;
162
162
  });
163
163
 
164
- export { ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info24, exports_provider3 };
164
+ export { ID10, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info25, exports_provider3 };
@@ -1,10 +1,10 @@
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
  __export
7
- } from "./permission-9rqn6x4v.js";
7
+ } from "./location-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event15,
15
+ Event: () => Event12,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID10,
20
- Info: () => Info25,
19
+ ID: () => ID7,
20
+ Info: () => Info9,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError7,
23
+ NotFoundError: () => NotFoundError5,
24
24
  Reply: () => Reply2,
25
- Service: () => Service65,
25
+ Service: () => Service52,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node70,
28
+ layer: () => layer20,
29
+ node: () => node55,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event15 } from "@opencode/schema/form";
36
+ import { Event as Event12 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID10 = Form.ID;
39
- var Info25 = Form.Info;
38
+ var ID7 = Form.ID;
39
+ var Info9 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID10
47
+ class NotFoundError5 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID7
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID10
56
+ id: ID7
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID10
64
+ id: ID7
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID10,
72
+ id: ID7,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service65 extends Context.Service()("@opencode/Form") {
82
+ class Service52 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service65, Effect.gen(function* () {
85
- const bus = yield* Service78;
84
+ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
85
+ const bus = yield* Service79;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError5({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID10.create();
92
+ const id = input.id ?? ID7.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service65, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service65.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service52.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node70 = makeLocationNode({ service: Service65, layer: layer25, deps: [node83] });
158
+ var node55 = makeLocationNode({ service: Service52, layer: layer20, deps: [node84] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID10, Info25, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service65, layer25, node70, validateAnswer2, validateFields2, exports_form, Event15 };
310
+ export { ID7, Info9, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError5, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service52, layer20, node55, validateAnswer2, validateFields2, exports_form, Event12 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./permission-922hggd3.js";
4
+ } from "./location-922hggd3.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./permission-dy0c576n.js";
6
+ Service74,
7
+ node79
8
+ } from "./location-rwc534w8.js";
9
9
  import {
10
- Service22,
11
- node26
12
- } from "./permission-g035anep.js";
10
+ Service15,
11
+ node18
12
+ } from "./location-t96n3knx.js";
13
13
  import {
14
14
  __export
15
- } from "./permission-9rqn6x4v.js";
15
+ } from "./location-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event5,
24
+ Event: () => Event2,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
29
29
  ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service21,
32
+ Service: () => Service14,
33
33
  Submatch: () => Submatch2,
34
- node: () => node25
34
+ node: () => node17
35
35
  });
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
37
37
  import path from "path";
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event5 = FileSystem.Event;
75
+ var Event2 = FileSystem.Event;
76
76
 
77
- class Service21 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service14 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service75;
82
- const search = yield* Service22;
81
+ const location = yield* Service74;
82
+ const search = yield* Service15;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service21.of({
93
+ return Service14.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node25 = makeLocationNode({
126
- service: Service21,
125
+ var node17 = makeLocationNode({
126
+ service: Service14,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node80, node26]
128
+ deps: [FSUtil.node, node79, node18]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service21, node25, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node17, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./permission-2a5m3afh.js";
5
+ } from "./location-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./permission-9rqn6x4v.js";
8
+ } from "./location-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service78
3
- } from "./permission-c2ky07yx.js";
2
+ Service79
3
+ } from "./location-v7br46vm.js";
4
4
  import {
5
- Service14,
6
- Event2
7
- } from "./permission-686tcbjj.js";
5
+ Service17,
6
+ Event3
7
+ } from "./location-qxqbfyt6.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service14;
33
- const bus = yield* Service78;
32
+ const modelsDev = yield* Service17;
33
+ const bus = yield* Service79;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
36
36
  for (const provider of loaded.data) {
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
66
66
  }
67
67
  }
68
68
  });
69
- yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
70
70
  })
71
71
  });
72
72
  function environmentNames(provider) {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./permission-5daktx2q.js";
3
+ } from "./location-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./permission-922hggd3.js";
6
+ } from "./location-922hggd3.js";
7
7
  import {
8
- ID12,
8
+ ID5,
9
9
  Name2
10
- } from "./permission-44bt3e44.js";
10
+ } from "./location-sst0ghmm.js";
11
11
  import {
12
12
  __export
13
- } from "./permission-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
57
57
  return {
58
58
  _tag: "Parsed",
59
59
  skill: {
60
- id: ID12.make(id),
60
+ id: ID5.make(id),
61
61
  name: Name2.make(frontmatter.name ?? id),
62
62
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
63
63
  ...slash === undefined ? {} : { slash },
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service43
3
- } from "./permission-ve6nm2s5.js";
3
+ } from "./location-ve6nm2s5.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./permission-9sh4wc5j.js";
6
+ } from "./location-4v7qdvcn.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./permission-wqkncbjv.js";
9
+ } from "./location-tm7ffpnn.js";
10
10
  import {
11
- Service70
12
- } from "./permission-44bt3e44.js";
11
+ Service39
12
+ } from "./location-sst0ghmm.js";
13
13
  import {
14
14
  __export
15
- } from "./permission-9rqn6x4v.js";
15
+ } from "./location-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -23,7 +23,7 @@ __export(exports_skill4, {
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
25
  const instances = yield* Service43;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service70), instances.provide(input.session));
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service80,
3
+ node85
4
+ } from "./location-1jk276m1.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./permission-5hqtspna.js";
5
- import {
6
- Service78,
7
- node83
8
- } from "./permission-c2ky07yx.js";
8
+ } from "./location-v7br46vm.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./permission-pknna89w.js";
11
+ } from "./location-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./permission-0q0f95c6.js";
14
+ } from "./location-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./permission-9rqn6x4v.js";
17
+ } from "./location-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event14,
24
- ID: () => ID7,
25
- Info: () => Info22,
23
+ Event: () => Event17,
24
+ ID: () => ID11,
25
+ Info: () => Info26,
26
26
  Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service64,
28
+ Service: () => Service65,
29
29
  Value: () => Value2,
30
- node: () => node69
30
+ node: () => node70
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID7 = Credential.ID;
37
+ var ID11 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event14 = Credential.Event;
41
+ var Event17 = Credential.Event;
42
42
 
43
- class Info22 extends Schema.Class("Credential.Info")({
44
- id: ID7,
43
+ class Info26 extends Schema.Class("Credential.Info")({
44
+ id: ID11,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service64 extends Context.Service()("@opencode/Credential") {
51
+ class Service65 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service64, Effect.gen(function* () {
54
- const db = (yield* Service79).db;
55
- const bus = yield* Service78;
53
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
54
+ const db = (yield* Service80).db;
55
+ const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info22({
60
+ return new Info26({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service64.of({
71
+ return Service65.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info22({
80
- id: ID7.create(),
79
+ const credential = new Info26({
80
+ id: ID11.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event14.Updated, {}, { global: true });
105
- yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event17.Updated, {}, { global: true });
105
+ yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event14.Updated, {}, { global: true });
157
+ yield* bus.publish(Event17.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event14.Updated, {}, { global: true });
190
+ yield* bus.publish(Event17.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node69 = makeGlobalNode({ service: Service64, layer, deps: [node84, node83] });
196
+ var node70 = makeGlobalNode({ service: Service65, layer, deps: [node85, node84] });
197
197
 
198
- export { ID7, OAuth3, Key3, Value2, Event14, Info22, Service64, node69, exports_credential };
198
+ export { ID11, OAuth3, Key3, Value2, Event17, Info26, Service65, node70, exports_credential };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
- var exports_formatter3 = {};
7
- __export(exports_formatter3, {
8
- ConfigFormatterV1: () => exports_formatter3,
6
+ var exports_formatter2 = {};
7
+ __export(exports_formatter2, {
8
+ ConfigFormatterV1: () => exports_formatter2,
9
9
  Entry: () => Entry4,
10
- Info: () => Info14
10
+ Info: () => Info22
11
11
  });
12
12
  import { Schema } from "effect";
13
13
  var Entry4 = Schema.Struct({
@@ -16,6 +16,6 @@ var Entry4 = Schema.Struct({
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
19
+ var Info22 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
20
20
 
21
- export { Entry4, Info14, exports_formatter3 };
21
+ export { Entry4, Info22, exports_formatter2 };