@opencode/core 0.0.0-dev-19861 → 0.0.0-dev-19863

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{app-vvzdbbdm.js → file-access-06pazpd1.js} +10 -10
  8. package/dist/chunks/{app-1s6r0m01.js → file-access-07xdjdg8.js} +20 -20
  9. package/dist/chunks/{app-v9a8k35b.js → file-access-07z80f2r.js} +43 -43
  10. package/dist/chunks/{app-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{app-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{app-nsvybq32.js → file-access-0qthdtb2.js} +36 -36
  13. package/dist/chunks/{app-xf8yqmad.js → file-access-11dqjexa.js} +9 -9
  14. package/dist/chunks/{app-yp2x3t23.js → file-access-1acjjqhc.js} +4 -4
  15. package/dist/chunks/{app-73tb2d7t.js → file-access-1bbkgx8g.js} +3 -3
  16. package/dist/chunks/{app-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{app-85xe0f8m.js → file-access-1vvm1q8g.js} +25 -25
  18. package/dist/chunks/{app-mfqp6xfm.js → file-access-1ygqh575.js} +6 -6
  19. package/dist/chunks/{app-fmbxdm3g.js → file-access-21mxbb5z.js} +8 -8
  20. package/dist/chunks/{app-21r38tys.js → file-access-21r38tys.js} +1 -1
  21. package/dist/chunks/{app-6h73sxmp.js → file-access-2402vzrj.js} +5 -5
  22. package/dist/chunks/{app-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{app-0n8krxan.js → file-access-2b61h377.js} +28 -28
  24. package/dist/chunks/{app-1mr1eyme.js → file-access-2ehxpneg.js} +12 -12
  25. package/dist/chunks/{app-z0aj456m.js → file-access-2k71kv7p.js} +4 -4
  26. package/dist/chunks/{app-wxv7zk66.js → file-access-2t5vnt8a.js} +5 -5
  27. package/dist/chunks/{app-4fra59pm.js → file-access-320sf96d.js} +15 -15
  28. package/dist/chunks/{app-dkhfw37f.js → file-access-32dd2556.js} +11 -11
  29. package/dist/chunks/{app-tvshepj5.js → file-access-33kn07h9.js} +21 -21
  30. package/dist/chunks/{app-qvreyy9g.js → file-access-3801kdgp.js} +5 -5
  31. package/dist/chunks/{app-3m48w42r.js → file-access-3e46v5sb.js} +11 -11
  32. package/dist/chunks/{app-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{app-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{app-epkvv2f5.js → file-access-3kd4kkpe.js} +24 -24
  35. package/dist/chunks/{app-a7bdh8gz.js → file-access-3mkra18j.js} +77 -77
  36. package/dist/chunks/{app-wte5xypw.js → file-access-3r15nznh.js} +14 -14
  37. package/dist/chunks/{app-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{app-66jergzr.js → file-access-3t104818.js} +11 -11
  39. package/dist/chunks/{app-xfdrc2qg.js → file-access-3tq5qxbk.js} +6 -6
  40. package/dist/chunks/{app-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{app-zpaje10v.js → file-access-429753mr.js} +11 -11
  42. package/dist/chunks/{app-2cvq1298.js → file-access-4cd0e9e2.js} +11 -11
  43. package/dist/chunks/{app-k94qrc8k.js → file-access-4fqyk320.js} +35 -35
  44. package/dist/chunks/{app-sg8pmkre.js → file-access-4fxenty0.js} +23 -23
  45. package/dist/chunks/{app-22ad72dw.js → file-access-4r3fv45v.js} +8 -8
  46. package/dist/chunks/{app-hb9jrkjm.js → file-access-50ta80k7.js} +35 -35
  47. package/dist/chunks/{app-2qamff3n.js → file-access-539f8y6e.js} +32 -32
  48. package/dist/chunks/{app-ry3kwg5r.js → file-access-55bxwjz5.js} +35 -35
  49. package/dist/chunks/{app-57b9ws8p.js → file-access-57b9ws8p.js} +1 -1
  50. package/dist/chunks/{app-57ez7d0k.js → file-access-57ez7d0k.js} +2 -2
  51. package/dist/chunks/{app-k9av316b.js → file-access-587z1aba.js} +60 -60
  52. package/dist/chunks/{app-a1bz86dw.js → file-access-5c4hm403.js} +3 -3
  53. package/dist/chunks/{app-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  54. package/dist/chunks/{app-x2ksegs4.js → file-access-5dkxrwgc.js} +31 -31
  55. package/dist/chunks/{app-pdcy4k2y.js → file-access-5hrwwz9b.js} +9 -9
  56. package/dist/chunks/{app-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{app-7v4vhntb.js → file-access-633q10n3.js} +19 -19
  58. package/dist/chunks/{app-s9mmsqrc.js → file-access-65amc4wc.js} +17 -17
  59. package/dist/chunks/{app-669tq793.js → file-access-669tq793.js} +1 -1
  60. package/dist/chunks/{app-38wzhxwb.js → file-access-6br953sr.js} +4 -4
  61. package/dist/chunks/{app-av28j1w8.js → file-access-6f0f4x0a.js} +16 -16
  62. package/dist/chunks/{app-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{app-m6r2z606.js → file-access-6ngywp90.js} +4 -4
  64. package/dist/chunks/{app-rzter2vb.js → file-access-6ra6d4eb.js} +20 -20
  65. package/dist/chunks/{app-rp4sb7ft.js → file-access-71wn7kdp.js} +31 -31
  66. package/dist/chunks/{app-a29a0jzg.js → file-access-73j3stez.js} +21 -21
  67. package/dist/chunks/{app-166kng33.js → file-access-73kdj4zj.js} +8 -8
  68. package/dist/chunks/{app-jnt1kwnr.js → file-access-749gjf0k.js} +3 -3
  69. package/dist/chunks/{app-rp6k66e5.js → file-access-753eeyv7.js} +20 -20
  70. package/dist/chunks/{app-ns15zm60.js → file-access-76eeqvp0.js} +6 -6
  71. package/dist/chunks/{app-qakm37pj.js → file-access-76fbbr1w.js} +38 -38
  72. package/dist/chunks/{app-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{app-ahp8ypm5.js → file-access-7bvyxnqv.js} +3 -3
  74. package/dist/chunks/{app-qgn6gcr1.js → file-access-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{app-9ywxax6f.js → file-access-7nag52br.js} +22 -22
  76. package/dist/chunks/{app-fmcqyzhx.js → file-access-7qdpe4cb.js} +9 -9
  77. package/dist/chunks/{app-kyrzxw1k.js → file-access-7rhez3ay.js} +13 -13
  78. package/dist/chunks/{app-r9763r4t.js → file-access-7vxmp99d.js} +11 -11
  79. package/dist/chunks/file-access-7wwxh8rt.js +252 -0
  80. package/dist/chunks/{app-90dayy4w.js → file-access-80vay0ye.js} +8 -8
  81. package/dist/chunks/{app-tvm0x603.js → file-access-83whvwx3.js} +20 -20
  82. package/dist/chunks/{app-gyv5e7s4.js → file-access-84b5617d.js} +10 -10
  83. package/dist/chunks/{app-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{app-eag6ew45.js → file-access-8dh3tjm7.js} +5 -5
  85. package/dist/chunks/{app-k4bsvsx7.js → file-access-8e2h7wda.js} +9 -9
  86. package/dist/chunks/{app-15ghn61v.js → file-access-8jkn9f9x.js} +8 -8
  87. package/dist/chunks/{app-2ac6pq5r.js → file-access-8mp2c53x.js} +44 -44
  88. package/dist/chunks/{app-b589hzzy.js → file-access-8p86mmx1.js} +43 -43
  89. package/dist/chunks/{app-p7nsp59h.js → file-access-8s8mxddj.js} +4 -4
  90. package/dist/chunks/{app-5k0e0nr1.js → file-access-8wtbgtx1.js} +3 -3
  91. package/dist/chunks/{app-awyb8gv9.js → file-access-973t1awa.js} +11 -11
  92. package/dist/chunks/{app-vmwh049b.js → file-access-984xje6x.js} +6 -6
  93. package/dist/chunks/{app-n6d4p8nj.js → file-access-990r0brb.js} +46 -46
  94. package/dist/chunks/{app-jent2as2.js → file-access-99sjx0yd.js} +28 -28
  95. package/dist/chunks/{app-mx9vqzsb.js → file-access-9gea571p.js} +6 -6
  96. package/dist/chunks/{app-phstrbs2.js → file-access-9hn6k4tm.js} +8 -8
  97. package/dist/chunks/{app-7z8cwmc8.js → file-access-9z5eege9.js} +9 -9
  98. package/dist/chunks/{app-w8xr7nv8.js → file-access-a694798e.js} +5 -5
  99. package/dist/chunks/{app-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  100. package/dist/chunks/{app-q2xng7e1.js → file-access-acgtajkt.js} +30 -30
  101. package/dist/chunks/{app-29eh7px0.js → file-access-ajspsemm.js} +7 -7
  102. package/dist/chunks/{app-xfc78b52.js → file-access-amt0nx1c.js} +8 -8
  103. package/dist/chunks/{app-5749a7rt.js → file-access-anf4g2xw.js} +27 -27
  104. package/dist/chunks/{app-wes8p5ff.js → file-access-aymn0ca3.js} +176 -176
  105. package/dist/chunks/{app-vmgq4x8b.js → file-access-b09hzw3k.js} +2 -2
  106. package/dist/chunks/{app-bvp4gths.js → file-access-b6ae6k6t.js} +14 -14
  107. package/dist/chunks/{app-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{app-qnzzh3bs.js → file-access-b91g9yem.js} +22 -22
  109. package/dist/chunks/{app-qjymz4e2.js → file-access-b9kgzdcb.js} +3 -3
  110. package/dist/chunks/{app-zcbk9ecm.js → file-access-bb29ry6c.js} +2 -2
  111. package/dist/chunks/{app-2a16gamj.js → file-access-bdqw341w.js} +9 -9
  112. package/dist/chunks/{app-9c7b93gn.js → file-access-bjr5keq3.js} +22 -22
  113. package/dist/chunks/{app-9e4kz7m2.js → file-access-bqgqs8e0.js} +13 -13
  114. package/dist/chunks/{app-03s1nxke.js → file-access-bwckxjxx.js} +11 -11
  115. package/dist/chunks/{app-04rey2jp.js → file-access-by699wbx.js} +34 -34
  116. package/dist/chunks/{app-w34drh26.js → file-access-c1bpz4ww.js} +20 -20
  117. package/dist/chunks/{app-dz7gaz91.js → file-access-c1gs3dh6.js} +44 -44
  118. package/dist/chunks/{app-evbgk2k8.js → file-access-c78bbtc9.js} +5 -5
  119. package/dist/chunks/{app-4zgg82rk.js → file-access-cdafskgp.js} +30 -30
  120. package/dist/chunks/{app-ndb5d06d.js → file-access-cfvwxf1e.js} +60 -60
  121. package/dist/chunks/{app-35gwdmsd.js → file-access-cg505evj.js} +17 -17
  122. package/dist/chunks/{app-gb4d8a14.js → file-access-cjdw8dac.js} +20 -20
  123. package/dist/chunks/{app-g6q9qykm.js → file-access-cpneeje0.js} +9 -9
  124. package/dist/chunks/{app-mtt68vmf.js → file-access-cpzp4n4f.js} +25 -25
  125. package/dist/chunks/{app-46jhmsf5.js → file-access-ct4e4g17.js} +23 -23
  126. package/dist/chunks/{app-zsby4d12.js → file-access-cv01vac5.js} +7 -7
  127. package/dist/chunks/{app-bfwz5rjc.js → file-access-d4we50a8.js} +3 -3
  128. package/dist/chunks/{app-853r27ye.js → file-access-d6n1kzbs.js} +22 -22
  129. package/dist/chunks/{app-fvfb3fd0.js → file-access-ddbmfv8e.js} +23 -23
  130. package/dist/chunks/{app-8p4f9s12.js → file-access-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{app-4sms2kqp.js → file-access-dkycemac.js} +13 -13
  132. package/dist/chunks/{app-5mcxd2xw.js → file-access-dmaq6vaq.js} +18 -18
  133. package/dist/chunks/{app-f8m84gb8.js → file-access-dnwybsw8.js} +13 -13
  134. package/dist/chunks/{app-dpkg50ah.js → file-access-dpkg50ah.js} +1 -1
  135. package/dist/chunks/file-access-dxj72tfx.js +18 -0
  136. package/dist/chunks/{app-yz0qd2c9.js → file-access-dycq19tv.js} +13 -13
  137. package/dist/chunks/{app-738nz2x0.js → file-access-e4kmf4qy.js} +3 -3
  138. package/dist/chunks/{app-eq23s0y6.js → file-access-e6hmchc5.js} +5 -5
  139. package/dist/chunks/{app-ga3zpfks.js → file-access-e7fqda9w.js} +32 -32
  140. package/dist/chunks/{app-myefbstp.js → file-access-e7rbx3sh.js} +18 -18
  141. package/dist/chunks/{app-0abjdy6r.js → file-access-ed2prt79.js} +20 -20
  142. package/dist/chunks/{app-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{app-kdjmvqve.js → file-access-ehm8cjhm.js} +10 -10
  144. package/dist/chunks/{app-erw5rpbs.js → file-access-erw5rpbs.js} +2 -2
  145. package/dist/chunks/{app-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{app-jsze95va.js → file-access-f29kztmg.js} +21 -21
  147. package/dist/chunks/{app-dschqtcd.js → file-access-f4kahraq.js} +19 -19
  148. package/dist/chunks/{app-z1n384xa.js → file-access-f6gdkqfj.js} +19 -19
  149. package/dist/chunks/{app-tgkpsbpf.js → file-access-f71ryja2.js} +11 -11
  150. package/dist/chunks/{app-kne8f3cn.js → file-access-f73rjn58.js} +4 -4
  151. package/dist/chunks/{app-2js3mcp4.js → file-access-fa4s9qj6.js} +5 -5
  152. package/dist/chunks/{app-bha4atvq.js → file-access-fab8hzt3.js} +4 -4
  153. package/dist/chunks/{app-389ykwvm.js → file-access-fekv09bf.js} +96 -96
  154. package/dist/chunks/{app-cx4wm8ch.js → file-access-fgdyrx1e.js} +25 -25
  155. package/dist/chunks/{app-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
  156. package/dist/chunks/{app-112vf93d.js → file-access-fyfy8w34.js} +86 -86
  157. package/dist/chunks/{app-f5sa8sd6.js → file-access-g64s1pw7.js} +14 -14
  158. package/dist/chunks/{app-j9ntjbjw.js → file-access-g7tjr95a.js} +7 -7
  159. package/dist/chunks/{app-bhkcwbjr.js → file-access-g8mfynjh.js} +5 -5
  160. package/dist/chunks/{app-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{app-0w62qmxp.js → file-access-gg9g55xx.js} +8 -8
  162. package/dist/chunks/{app-3a3k705c.js → file-access-ghfx7cxe.js} +6 -6
  163. package/dist/chunks/{app-2vfzc3td.js → file-access-gmdq7e7c.js} +14 -14
  164. package/dist/chunks/{app-ncjkz9z1.js → file-access-gqx40acz.js} +31 -31
  165. package/dist/chunks/{app-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{app-y3q03scc.js → file-access-h2r7bbkd.js} +8 -8
  167. package/dist/chunks/{app-cpj0znwe.js → file-access-h6r3nrb9.js} +4 -4
  168. package/dist/chunks/{app-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{app-zk19rc5h.js → file-access-hbffz1ak.js} +20 -20
  170. package/dist/chunks/{app-ctezbzm4.js → file-access-hcjxfz2r.js} +29 -29
  171. package/dist/chunks/{app-f828m53h.js → file-access-hdnk95c8.js} +2 -2
  172. package/dist/chunks/{app-7r28xmed.js → file-access-hjc52t7v.js} +14 -14
  173. package/dist/chunks/{app-jnsj711q.js → file-access-hmdtv3hb.js} +1 -1
  174. package/dist/chunks/{app-6zpck6fb.js → file-access-hnxgzxxa.js} +19 -19
  175. package/dist/chunks/{app-4n86frb8.js → file-access-hp80zfgt.js} +18 -18
  176. package/dist/chunks/{app-p7kkfgfy.js → file-access-hqe9mxx7.js} +9 -9
  177. package/dist/chunks/{app-x40kz2n8.js → file-access-hs4q6rma.js} +41 -41
  178. package/dist/chunks/{app-tvc1wdcr.js → file-access-hx57yszd.js} +15 -15
  179. package/dist/chunks/{app-qaqrrstf.js → file-access-j20k1wmq.js} +9 -9
  180. package/dist/chunks/{app-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  181. package/dist/chunks/{app-b9czjycg.js → file-access-j81snqjq.js} +33 -33
  182. package/dist/chunks/{app-yq2cczkq.js → file-access-j8zzr2am.js} +5 -5
  183. package/dist/chunks/{app-mqt5419d.js → file-access-jf9anmv7.js} +5 -5
  184. package/dist/chunks/{app-tv3z4kj6.js → file-access-jjfctqnb.js} +18 -18
  185. package/dist/chunks/{app-j9swzztf.js → file-access-jk18z2h0.js} +51 -51
  186. package/dist/chunks/{app-50mzsvk4.js → file-access-jw80jp6b.js} +4 -4
  187. package/dist/chunks/{app-cz0bpax2.js → file-access-k6fwxkkf.js} +9 -9
  188. package/dist/chunks/{app-wkv4p1cn.js → file-access-k99v8nfg.js} +15 -15
  189. package/dist/chunks/{app-cfpkc3c9.js → file-access-m0jqrx5p.js} +2 -2
  190. package/dist/chunks/{app-fd7vcark.js → file-access-m0t09dx6.js} +11 -11
  191. package/dist/chunks/{app-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{app-1yn5b54x.js → file-access-m8pm17pr.js} +17 -17
  193. package/dist/chunks/{app-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{app-szkxvq7w.js → file-access-mh6swfa3.js} +22 -22
  195. package/dist/chunks/{app-26k5bknw.js → file-access-msq0jde0.js} +4 -4
  196. package/dist/chunks/{app-ktcan3rf.js → file-access-myjzxhnr.js} +18 -18
  197. package/dist/chunks/{app-0mdd29xx.js → file-access-na55b3aj.js} +23 -23
  198. package/dist/chunks/{app-jkwh4gcj.js → file-access-nbbbac21.js} +32 -32
  199. package/dist/chunks/{app-gv0f11kb.js → file-access-nhy1v657.js} +30 -30
  200. package/dist/chunks/{app-b33ezyym.js → file-access-nnbww75a.js} +24 -24
  201. package/dist/chunks/{app-r8pm2v0t.js → file-access-nvyr67dc.js} +4 -4
  202. package/dist/chunks/{app-vvysgjv5.js → file-access-nzh1nzfe.js} +10 -10
  203. package/dist/chunks/{app-nzks3jc8.js → file-access-nzks3jc8.js} +3 -3
  204. package/dist/chunks/{app-0g0hpnxh.js → file-access-p20b49vp.js} +15 -15
  205. package/dist/chunks/{app-p28j5sbe.js → file-access-p28j5sbe.js} +2 -2
  206. package/dist/chunks/{app-k3jwnc6w.js → file-access-p789xr5w.js} +30 -30
  207. package/dist/chunks/{app-cr07tj7n.js → file-access-pecb0brz.js} +5 -5
  208. package/dist/chunks/{app-2geg2a1k.js → file-access-pgd7th8y.js} +20 -20
  209. package/dist/chunks/{app-fqgzk7pv.js → file-access-pjk7etnw.js} +5 -5
  210. package/dist/chunks/{app-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{app-pknna89w.js → file-access-pknna89w.js} +1 -1
  212. package/dist/chunks/{app-chgm6g41.js → file-access-psbckgmn.js} +9 -9
  213. package/dist/chunks/{app-b97cbvw3.js → file-access-pstg3rfm.js} +1 -1
  214. package/dist/chunks/{app-n010fk1p.js → file-access-pykkax91.js} +22 -22
  215. package/dist/chunks/{app-xtc9razg.js → file-access-q2fxn82f.js} +5 -5
  216. package/dist/chunks/{app-f1nv3393.js → file-access-q77h0pfr.js} +1 -1
  217. package/dist/chunks/{app-q80qg22r.js → file-access-qb83d845.js} +16 -16
  218. package/dist/chunks/{app-sbxv4cwa.js → file-access-qbw71bk2.js} +4 -4
  219. package/dist/chunks/{app-mvtp2pry.js → file-access-qs81an5k.js} +13 -13
  220. package/dist/chunks/{app-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  221. package/dist/chunks/{app-9y617vrz.js → file-access-qsm0cf7x.js} +5 -5
  222. package/dist/chunks/{app-7v9wscx3.js → file-access-qwc1ntf4.js} +32 -32
  223. package/dist/chunks/{app-gb5spw7h.js → file-access-qy4kp7rq.js} +10 -10
  224. package/dist/chunks/{app-ka94gqqd.js → file-access-qzhf7ync.js} +4 -4
  225. package/dist/chunks/{app-5g373dvk.js → file-access-r55eyngd.js} +24 -24
  226. package/dist/chunks/{app-2wxycwcj.js → file-access-r5vpk0b1.js} +4 -4
  227. package/dist/chunks/{app-7f85ph34.js → file-access-r9t00hsy.js} +8 -8
  228. package/dist/chunks/{app-rf46get4.js → file-access-rdqmx1a9.js} +18 -18
  229. package/dist/chunks/{app-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{app-eaj1djv9.js → file-access-rhjbct0v.js} +8 -8
  231. package/dist/chunks/{app-xam4y82e.js → file-access-s138ptrs.js} +25 -25
  232. package/dist/chunks/{app-e5p9gmcw.js → file-access-sgyk931h.js} +54 -54
  233. package/dist/chunks/{app-b778p09a.js → file-access-sr7sk3ee.js} +33 -33
  234. package/dist/chunks/{app-gwsdqkfn.js → file-access-t68dv28a.js} +28 -28
  235. package/dist/chunks/{app-q2b1ymqp.js → file-access-t9zs3egg.js} +4 -4
  236. package/dist/chunks/{app-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{app-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{app-tdstcens.js → file-access-tdstcens.js} +1 -1
  239. package/dist/chunks/{app-mc6hyre0.js → file-access-tqxh9sy6.js} +10 -10
  240. package/dist/chunks/{app-gehb6127.js → file-access-tr06x23f.js} +13 -13
  241. package/dist/chunks/file-access-tr6q4q7a.js +492 -0
  242. package/dist/chunks/{app-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  243. package/dist/chunks/{app-d216944b.js → file-access-v5dkyp31.js} +7 -7
  244. package/dist/chunks/{app-za4cqae4.js → file-access-v9n4nm77.js} +7 -7
  245. package/dist/chunks/{app-a3kq1sqa.js → file-access-vaxycq8g.js} +11 -11
  246. package/dist/chunks/{app-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  247. package/dist/chunks/{app-4at0py5f.js → file-access-vnk9czdx.js} +3 -3
  248. package/dist/chunks/{app-cq4zkgfg.js → file-access-vykcaabf.js} +6 -6
  249. package/dist/chunks/{app-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{app-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{app-rzs3gq0x.js → file-access-w3x9v1nk.js} +8 -8
  252. package/dist/chunks/{app-0ft9cg2j.js → file-access-w4arg62q.js} +4 -4
  253. package/dist/chunks/{app-zv0ss7ka.js → file-access-w66yan3f.js} +30 -30
  254. package/dist/chunks/file-access-w7r2hqeb.js +26 -0
  255. package/dist/chunks/{app-nsjkyrtc.js → file-access-wargq46t.js} +3 -3
  256. package/dist/chunks/{app-wd87259q.js → file-access-wd87259q.js} +1 -1
  257. package/dist/chunks/{app-ekpey0w2.js → file-access-wqbdqa8s.js} +35 -35
  258. package/dist/chunks/{app-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{app-64cefnnt.js → file-access-x343n0eb.js} +23 -23
  260. package/dist/chunks/{app-0yfh2cv4.js → file-access-x5wzxpg9.js} +17 -17
  261. package/dist/chunks/{app-x7hpp0cz.js → file-access-x822bj3k.js} +14 -14
  262. package/dist/chunks/{app-2q6kkxxq.js → file-access-x9mtwtp0.js} +4 -4
  263. package/dist/chunks/{app-28h5rqes.js → file-access-xc4ptd00.js} +12 -12
  264. package/dist/chunks/{app-p68jy0p0.js → file-access-xdbpqf0a.js} +47 -47
  265. package/dist/chunks/{app-m2d0j7c0.js → file-access-xk747vep.js} +9 -9
  266. package/dist/chunks/{app-67d9h72z.js → file-access-xkezg9v4.js} +42 -42
  267. package/dist/chunks/{app-mxn8exwt.js → file-access-xw30s5m2.js} +22 -22
  268. package/dist/chunks/{app-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{app-6cbv7e1m.js → file-access-y47hdg98.js} +26 -26
  270. package/dist/chunks/{app-5cmxdwv8.js → file-access-y6f0p4jw.js} +3 -3
  271. package/dist/chunks/{app-jqmhvstb.js → file-access-y6kaprky.js} +20 -20
  272. package/dist/chunks/{app-4rep1cc0.js → file-access-ymhwy2dz.js} +29 -29
  273. package/dist/chunks/{app-ee831jk2.js → file-access-ymy3mzn4.js} +22 -22
  274. package/dist/chunks/{app-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{app-yrznvahk.js → file-access-yrznvahk.js} +2 -2
  276. package/dist/chunks/{app-91dks806.js → file-access-yw9d9gv0.js} +11 -11
  277. package/dist/chunks/{app-f4cksbqy.js → file-access-ywtj6b3p.js} +36 -36
  278. package/dist/chunks/{app-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{app-z63w68vq.js → file-access-z63w68vq.js} +2 -2
  280. package/dist/chunks/{app-1n7xfp7c.js → file-access-z6as0dsg.js} +8 -8
  281. package/dist/chunks/{app-t1h7jwac.js → file-access-zbcka3qa.js} +5 -5
  282. package/dist/chunks/{app-azgxc740.js → file-access-zbt6ewdw.js} +19 -19
  283. package/dist/chunks/{app-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{app-58g4rptp.js → file-access-zkhjfb6b.js} +6 -6
  285. package/dist/chunks/{app-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{app-bgewb51p.js → file-access-zrbnsv4e.js} +15 -15
  287. package/dist/chunks/{app-kwpbznt7.js → file-access-zvph5cmm.js} +29 -29
  288. package/dist/chunks/{app-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +3 -3
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +121 -121
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +99 -99
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +100 -100
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +114 -114
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +4 -4
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +2 -2
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +83 -83
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +91 -91
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +3 -3
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +131 -131
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +223 -223
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +89 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +92 -92
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +222 -222
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +215 -215
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +15 -15
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +107 -107
  630. package/dist/snapshot.js +92 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +126 -126
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +113 -113
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +104 -104
  642. package/dist/tool/plugin/read.js +122 -122
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +109 -109
  647. package/dist/tool/plugin/websearch.js +103 -103
  648. package/dist/tool/plugin/write.js +113 -113
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +12 -12
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +3 -3
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +90 -90
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +83 -83
  683. package/dist/wellknown/plugin.js +73 -73
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +8 -8
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +93 -93
  693. package/package.json +8 -8
  694. package/dist/chunks/app-9zdhvgqs.js +0 -18
  695. package/dist/chunks/app-b2bj7c3q.js +0 -26
  696. package/dist/chunks/app-eyq5w0tx.js +0 -492
  697. package/dist/chunks/app-rzsdpbyf.js +0 -252
  698. /package/dist/chunks/{app-0mesazry.js → file-access-0mesazry.js} +0 -0
  699. /package/dist/chunks/{app-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{app-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{app-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{app-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{app-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{app-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{app-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{app-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{app-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{app-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{app-3asan66x.js → file-access-3asan66x.js} +0 -0
  710. /package/dist/chunks/{app-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{app-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{app-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{app-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{app-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{app-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{app-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{app-53557ph1.js → file-access-53557ph1.js} +0 -0
  718. /package/dist/chunks/{app-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{app-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{app-6prwharc.js → file-access-6prwharc.js} +0 -0
  721. /package/dist/chunks/{app-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{app-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{app-822emrt2.js → file-access-822emrt2.js} +0 -0
  724. /package/dist/chunks/{app-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{app-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{app-922hggd3.js → file-access-922hggd3.js} +0 -0
  727. /package/dist/chunks/{app-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{app-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{app-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{app-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{app-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{app-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{app-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{app-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{app-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{app-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{app-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{app-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{app-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{app-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{app-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{app-df08tz66.js → file-access-df08tz66.js} +0 -0
  743. /package/dist/chunks/{app-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{app-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{app-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{app-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{app-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{app-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{app-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{app-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{app-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{app-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{app-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{app-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{app-g86h250q.js → file-access-g86h250q.js} +0 -0
  756. /package/dist/chunks/{app-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{app-gftt206x.js → file-access-gftt206x.js} +0 -0
  758. /package/dist/chunks/{app-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{app-hk9envan.js → file-access-hk9envan.js} +0 -0
  760. /package/dist/chunks/{app-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{app-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{app-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{app-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{app-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{app-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{app-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{app-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{app-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{app-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{app-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{app-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{app-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{app-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{app-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{app-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{app-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{app-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{app-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{app-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{app-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{app-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{app-twg0f83k.js → file-access-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{app-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{app-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{app-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{app-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{app-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{app-x61499pn.js → file-access-x61499pn.js} +0 -0
  789. /package/dist/chunks/{app-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{app-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{app-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{app-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{app-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{app-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service78
3
- } from "./app-q80qg22r.js";
2
+ Service82
3
+ } from "./file-access-qb83d845.js";
4
4
  import {
5
5
  OAuth3,
6
- Event16
7
- } from "./app-ekpey0w2.js";
6
+ Event19
7
+ } from "./file-access-wqbdqa8s.js";
8
8
  import {
9
- ID8,
9
+ ID14,
10
10
  MethodID2
11
- } from "./app-jkwh4gcj.js";
11
+ } from "./file-access-nbbbac21.js";
12
12
  import {
13
13
  key2
14
- } from "./app-cpj0znwe.js";
14
+ } from "./file-access-h6r3nrb9.js";
15
15
  import {
16
- ID7,
16
+ ID13,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2
19
- } from "./app-ry3kwg5r.js";
19
+ } from "./file-access-55bxwjz5.js";
20
20
  import {
21
- ID12,
22
- Input14,
21
+ ID4,
22
+ Input13,
23
23
  Response2
24
- } from "./app-gwsdqkfn.js";
24
+ } from "./file-access-t68dv28a.js";
25
25
 
26
26
  // src/plugin/provider/opencode.ts
27
27
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -35,7 +35,7 @@ var methodID = MethodID2.make("device");
35
35
  var RemoteResponse = Schema.Struct({
36
36
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
37
37
  websearch: Schema.Struct({
38
- providerID: ID12
38
+ providerID: ID4
39
39
  }).pipe(Schema.optional)
40
40
  });
41
41
  var Device = Schema.Struct({
@@ -57,7 +57,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
57
57
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
58
58
  function oauth(http) {
59
59
  return {
60
- integrationID: ID8.make("opencode"),
60
+ integrationID: ID14.make("opencode"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -111,7 +111,7 @@ function oauth(http) {
111
111
  var OpencodePlugin2 = define({
112
112
  id: "opencode.provider.opencode",
113
113
  effect: Effect.fn(function* (ctx) {
114
- const bus = yield* Service78;
114
+ const bus = yield* Service82;
115
115
  const http = yield* HttpClient.HttpClient;
116
116
  const loading = Semaphore.makeUnsafe(1);
117
117
  let snapshot = { config: undefined, connection: undefined };
@@ -137,7 +137,7 @@ var OpencodePlugin2 = define({
137
137
  providers.update(providerID, (provider) => {
138
138
  if (source && source.provider !== provider)
139
139
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
140
- provider.integrationID = ID8.make("opencode");
140
+ provider.integrationID = ID14.make("opencode");
141
141
  if (item.canonical !== undefined)
142
142
  provider.canonical = item.canonical;
143
143
  if (item.name !== undefined)
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  sourceConnection: snapshot.connection
208
208
  });
209
209
  }
210
- const item = providers.get(ID7.opencode);
210
+ const item = providers.get(ID13.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -219,7 +219,7 @@ var OpencodePlugin2 = define({
219
219
  });
220
220
  });
221
221
  yield* ctx.model.transform((models) => {
222
- const item = models.provider.get(ID7.opencode);
222
+ const item = models.provider.get(ID13.opencode);
223
223
  if (!item)
224
224
  return;
225
225
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -253,7 +253,7 @@ var OpencodePlugin2 = define({
253
253
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
254
254
  const token = credential.type === "oauth" ? credential.access : credential.key;
255
255
  const server = yield* normalizeServer(serverUrl(credential));
256
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
256
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
257
257
  query: input.query,
258
258
  providerID: descriptor.providerID
259
259
  }));
@@ -274,7 +274,7 @@ var OpencodePlugin2 = define({
274
274
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
275
275
  });
276
276
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
277
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
277
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
278
278
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
279
279
  })
280
280
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./app-rdw6cm16.js";
3
+ } from "./file-access-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service6,
13
- node: () => node8
12
+ Service: () => Service8,
13
+ node: () => node9
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service6, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service6.of({
44
+ return Service8.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node8 = makeLocationNode({ service: Service6, layer, deps: [] });
51
+ var node9 = makeLocationNode({ service: Service8, layer, deps: [] });
52
52
 
53
- export { Service6, node8, exports_location_watcher_policy };
53
+ export { Service8, node9, exports_location_watcher_policy };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./app-q80qg22r.js";
2
+ Service82,
3
+ node86
4
+ } from "./file-access-qb83d845.js";
5
5
  import {
6
6
  create3
7
- } from "./app-rdw6cm16.js";
7
+ } from "./file-access-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event12,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event8,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info19,
18
+ Info: () => Info7,
19
19
  NotFoundError: () => NotFoundError6,
20
- Service: () => Service52,
21
- layer: () => layer22,
22
- node: () => node54
20
+ Service: () => Service42,
21
+ layer: () => layer17,
22
+ node: () => node45
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event12 } from "@opencode/schema/command";
28
- var Info19 = Command.Info;
27
+ import { Event as Event8 } from "@opencode/schema/command";
28
+ var Info7 = Command.Info;
29
29
 
30
30
  class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service52 extends Context.Service()("@opencode/Command") {
42
+ class Service42 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer22 = Layer.effect(Service52, Effect.gen(function* () {
45
- const bus = yield* Service78;
44
+ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
45
+ const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service52, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info19.make({
54
+ const info = (definition) => Info7.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service52.of({
58
+ return Service42.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -71,10 +71,10 @@ var layer22 = Layer.effect(Service52, Effect.gen(function* () {
71
71
  })
72
72
  });
73
73
  }));
74
- var node54 = makeLocationNode({
75
- service: Service52,
76
- layer: layer22,
77
- deps: [node82]
74
+ var node45 = makeLocationNode({
75
+ service: Service42,
76
+ layer: layer17,
77
+ deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info19, NotFoundError6, ExecutionError2, Service52, layer22, node54, exports_command5, Event12 };
89
+ export { Info7, NotFoundError6, ExecutionError2, Service42, layer17, node45, exports_command4, Event8 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./app-q80qg22r.js";
2
+ Service82,
3
+ node86
4
+ } from "./file-access-qb83d845.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./app-tazgh4e4.js";
9
+ } from "./file-access-tazgh4e4.js";
10
10
  import {
11
- Service76,
12
- node80
13
- } from "./app-wte5xypw.js";
11
+ Service79,
12
+ node83
13
+ } from "./file-access-3r15nznh.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./app-rdw6cm16.js";
17
+ } from "./file-access-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./app-9rqn6x4v.js";
20
+ } from "./file-access-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info26,
29
+ Info: () => Info5,
30
30
  Mode: () => Mode2,
31
- Service: () => Service64,
31
+ Service: () => Service27,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node66
33
+ node: () => node30
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info26, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service64 extends Context.Service()("@opencode/Vcs") {
48
+ class Service27 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service64, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
53
- const bus = yield* Service78;
52
+ const location = yield* Service79;
53
+ const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info26));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service64.of({
121
+ return Service27.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node66 = makeLocationNode({
168
- service: Service64,
167
+ var node30 = makeLocationNode({
168
+ service: Service27,
169
169
  layer,
170
- deps: [FSUtil.node, node80, node82]
170
+ deps: [FSUtil.node, node83, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info26, Mode2, DiffError2, Service64, node66, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service27, node30, exports_vcs };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service39
4
- } from "./app-n6d4p8nj.js";
3
+ Service46
4
+ } from "./file-access-990r0brb.js";
5
5
  import {
6
6
  __export
7
- } from "./app-9rqn6x4v.js";
7
+ } from "./file-access-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin28,
12
+ Plugin: () => Plugin9,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin28 = define({
22
+ var Plugin9 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service39;
25
+ const config = yield* Service46;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin28 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin28, exports_warming };
99
+ export { Plugin9, exports_warming };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./app-f1nv3393.js";
5
+ } from "./file-access-q77h0pfr.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make22,
10
10
  makeWithDefaults2
11
- } from "./app-738nz2x0.js";
11
+ } from "./file-access-e4kmf4qy.js";
12
12
  import {
13
13
  __export
14
- } from "./app-9rqn6x4v.js";
14
+ } from "./file-access-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./app-88xbtdfr.js";
3
+ } from "./file-access-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./app-5qd3pb7m.js";
6
+ } from "./file-access-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./app-9rqn6x4v.js";
9
+ } from "./file-access-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event7,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options6,
17
- Service: () => Service40,
16
+ Options: () => Options8,
17
+ Service: () => Service47,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured6,
20
+ configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer17,
22
+ layer: () => layer19,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node43,
25
+ node: () => node50,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event7 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options6 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service40 extends Context.Service()("@opencode/Watcher") {
60
+ class Service47 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
65
+ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service40.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service40.of({ subscribe });
108
+ return Service47.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service40).subscribe,
134
+ subscribe: Context.get(context, Service47).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service40, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured6(options) {
168
- return makeGlobalNode({ service: Service40, layer: layer17(options), deps: [nativeNode2] });
167
+ function configured8(options) {
168
+ return makeGlobalNode({ service: Service47, layer: layer19(options), deps: [nativeNode2] });
169
169
  }
170
- var node43 = configured6();
170
+ var node50 = configured8();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event7, hasNativeBinding2, Native3, Options6, Service40, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured6, node43, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options8, Service47, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured8, node50, exports_watcher };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service71
3
- } from "./app-k9av316b.js";
2
+ Service66
3
+ } from "./file-access-587z1aba.js";
4
4
  import {
5
- ID5,
5
+ ID6,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
9
  Service51
10
- } from "./app-a29a0jzg.js";
10
+ } from "./file-access-73j3stez.js";
11
11
  import {
12
12
  __export
13
- } from "./app-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill3 = {};
17
17
  __export(exports_skill3, {
18
- Input: () => Input5,
19
- Output: () => Output4,
20
- Plugin: () => Plugin39,
18
+ Input: () => Input3,
19
+ Output: () => Output3,
20
+ Plugin: () => Plugin37,
21
21
  SkillTool: () => exports_skill3,
22
- description: () => description3,
23
- name: () => name5,
22
+ description: () => description2,
23
+ name: () => name3,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name5 = "skill";
30
- var Input5 = Schema.Struct({
31
- id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name3 = "skill";
30
+ var Input3 = Schema.Struct({
31
+ id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output4 = Schema.Struct({
33
+ var Output3 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description2 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin39 = {
46
+ var Plugin37 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const skills = yield* Service51;
51
- const permission = yield* Service71;
51
+ const permission = yield* Service66;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name5,
53
+ name: name3,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input5,
57
- output: Output4,
55
+ description: description2,
56
+ input: Input3,
57
+ output: Output3,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name5,
64
+ action: name3,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin39 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name5, Input5, Output4, description3, toModelOutput2, Plugin39, exports_skill3 };
82
+ export { name3, Input3, Output3, description2, toModelOutput2, Plugin37, exports_skill3 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./app-6msgmcgs.js";
4
+ } from "./file-access-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./app-qfa1cgps.js";
7
+ } from "./file-access-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";