@opencode/core 0.0.0-dev-19402 → 0.0.0-dev-19403

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{worktree-75nkg2tt.js → credential-020f4bg4.js} +11 -11
  9. package/dist/chunks/{worktree-p6vhw81v.js → credential-08zxrs49.js} +8 -8
  10. package/dist/chunks/{worktree-4zn0m4jw.js → credential-09nq0425.js} +5 -5
  11. package/dist/chunks/{worktree-07gza034.js → credential-0n9gyfew.js} +4 -4
  12. package/dist/chunks/{worktree-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{worktree-0q0f95c6.js → credential-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{worktree-bsn55ndq.js → credential-0sf76z6p.js} +23 -23
  15. package/dist/chunks/{worktree-8g9sv97x.js → credential-0wf9s8aa.js} +24 -24
  16. package/dist/chunks/{worktree-t5sxkdg8.js → credential-0y5kwnv4.js} +29 -29
  17. package/dist/chunks/{worktree-fxr0k3ej.js → credential-12sqmeb8.js} +25 -25
  18. package/dist/chunks/{worktree-rq2m1hnf.js → credential-18q276da.js} +16 -16
  19. package/dist/chunks/{worktree-68sfsyrr.js → credential-1ayrmkcs.js} +6 -6
  20. package/dist/chunks/{worktree-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{worktree-1eyaby9q.js → credential-1eyaby9q.js} +2 -2
  22. package/dist/chunks/{worktree-qvgcjadf.js → credential-1wxb385z.js} +1 -1
  23. package/dist/chunks/{worktree-1ygqh575.js → credential-1ygqh575.js} +2 -2
  24. package/dist/chunks/{worktree-21r38tys.js → credential-21r38tys.js} +1 -1
  25. package/dist/chunks/{worktree-2402vzrj.js → credential-2402vzrj.js} +1 -1
  26. package/dist/chunks/{worktree-f7ng0avf.js → credential-24gf6x1s.js} +13 -13
  27. package/dist/chunks/{worktree-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{worktree-6jnybvqn.js → credential-2bt6bea8.js} +9 -9
  29. package/dist/chunks/{worktree-paqdzpve.js → credential-2dc79v37.js} +34 -34
  30. package/dist/chunks/{worktree-qgn6gcr1.js → credential-2k8khapm.js} +5 -5
  31. package/dist/chunks/{worktree-dfzyx3vm.js → credential-2kgfnkh5.js} +9 -9
  32. package/dist/chunks/{worktree-jbeqfmv6.js → credential-2mgmyakx.js} +22 -22
  33. package/dist/chunks/{worktree-aw7fybkd.js → credential-2my2jec7.js} +5 -5
  34. package/dist/chunks/{worktree-mzbvs37z.js → credential-2qpq9t3c.js} +7 -7
  35. package/dist/chunks/{worktree-8t3tghaa.js → credential-2sc61f2y.js} +11 -11
  36. package/dist/chunks/{worktree-gqt4stpv.js → credential-3319vpkn.js} +9 -9
  37. package/dist/chunks/{worktree-b7qepvza.js → credential-359mrmbb.js} +4 -4
  38. package/dist/chunks/{worktree-9mszsyym.js → credential-39hgytyk.js} +8 -8
  39. package/dist/chunks/{worktree-12jxt57q.js → credential-3bd12927.js} +10 -10
  40. package/dist/chunks/{worktree-t0fxg8b9.js → credential-3cfzdc8e.js} +5 -5
  41. package/dist/chunks/{worktree-gdvy8fx6.js → credential-3fc6dm20.js} +4 -4
  42. package/dist/chunks/{worktree-enae0pqt.js → credential-3ga5hpyt.js} +4 -4
  43. package/dist/chunks/{worktree-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{worktree-0kjjkgrz.js → credential-3kyqxgv1.js} +13 -13
  45. package/dist/chunks/{worktree-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{worktree-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{worktree-d99x89gq.js → credential-493f7437.js} +17 -17
  48. package/dist/chunks/{worktree-e5sghx2m.js → credential-4e8cngzy.js} +2 -2
  49. package/dist/chunks/{worktree-1n39waag.js → credential-4knk9ex6.js} +17 -17
  50. package/dist/chunks/{worktree-8rkr9qb0.js → credential-4mkcvr19.js} +5 -5
  51. package/dist/chunks/{worktree-xhm4y6wv.js → credential-4nec11k8.js} +30 -30
  52. package/dist/chunks/{worktree-y91xqvp5.js → credential-4nm23889.js} +9 -9
  53. package/dist/chunks/{worktree-jb4hwekh.js → credential-4sb7ezm0.js} +17 -17
  54. package/dist/chunks/{worktree-dz46kn0c.js → credential-4zrw1ey2.js} +2 -2
  55. package/dist/chunks/{worktree-cavr175a.js → credential-50mzsvk4.js} +4 -4
  56. package/dist/chunks/{worktree-trwfvtm6.js → credential-56sah4ty.js} +17 -17
  57. package/dist/chunks/{worktree-5daktx2q.js → credential-5daktx2q.js} +1 -1
  58. package/dist/chunks/{worktree-tezvarmp.js → credential-5g344j8n.js} +11 -11
  59. package/dist/chunks/{worktree-sxc4n3b4.js → credential-5nsrms9d.js} +1 -1
  60. package/dist/chunks/{worktree-0bfcx7cw.js → credential-5sq9qdt5.js} +20 -20
  61. package/dist/chunks/{worktree-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{worktree-xb08yn7h.js → credential-5x64k753.js} +24 -24
  63. package/dist/chunks/{worktree-9abatgz1.js → credential-65zdpymn.js} +13 -13
  64. package/dist/chunks/{worktree-669tq793.js → credential-669tq793.js} +1 -1
  65. package/dist/chunks/{worktree-dj33xrhc.js → credential-686gxxnm.js} +33 -33
  66. package/dist/chunks/{worktree-hcryep5n.js → credential-69n4s4c8.js} +7 -7
  67. package/dist/chunks/{worktree-yse482wb.js → credential-6g8mxxbf.js} +4 -4
  68. package/dist/chunks/credential-6kdq0pjd.js +4 -0
  69. package/dist/chunks/{worktree-bf5zf3k6.js → credential-6kmmntsj.js} +19 -19
  70. package/dist/chunks/{worktree-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{worktree-qhrw8p3b.js → credential-6q2wdtm9.js} +8 -8
  72. package/dist/chunks/credential-6tq42r19.js +22 -0
  73. package/dist/chunks/{worktree-71q4at8m.js → credential-71q4at8m.js} +1 -1
  74. package/dist/chunks/{worktree-6npnztgt.js → credential-71spx5sa.js} +4 -4
  75. package/dist/chunks/{worktree-t7pm3pdd.js → credential-73t5tbav.js} +14 -14
  76. package/dist/chunks/{worktree-73tb2d7t.js → credential-73tb2d7t.js} +1 -1
  77. package/dist/chunks/{worktree-z2333xw5.js → credential-76nh0wjp.js} +7 -7
  78. package/dist/chunks/{worktree-n1qkhzt6.js → credential-77dprfnt.js} +15 -15
  79. package/dist/chunks/{worktree-tby7n86s.js → credential-78mn15xw.js} +38 -38
  80. package/dist/chunks/{worktree-x3et2xth.js → credential-7b15y959.js} +8 -8
  81. package/dist/chunks/{worktree-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{worktree-5d5n2frr.js → credential-7ethggbv.js} +33 -33
  83. package/dist/chunks/{worktree-37fxfkdc.js → credential-7fhpj3jn.js} +18 -18
  84. package/dist/chunks/{worktree-d73e9djv.js → credential-7gvb521f.js} +25 -25
  85. package/dist/chunks/{worktree-k0kes8vm.js → credential-7h18g36k.js} +30 -30
  86. package/dist/chunks/{worktree-ex6wht0f.js → credential-7mysesyv.js} +12 -12
  87. package/dist/chunks/{worktree-w1cjc361.js → credential-7vxx8kmp.js} +15 -15
  88. package/dist/chunks/{worktree-9w4ppqge.js → credential-7xyrrtj6.js} +5 -5
  89. package/dist/chunks/{worktree-ehzmktfy.js → credential-7z2w4zk1.js} +18 -18
  90. package/dist/chunks/{worktree-zez8w2s0.js → credential-83h3w6ts.js} +32 -32
  91. package/dist/chunks/{worktree-ceanckhm.js → credential-83x6p9kd.js} +1 -1
  92. package/dist/chunks/{worktree-5t6qf0dk.js → credential-85d9210f.js} +8 -8
  93. package/dist/chunks/{worktree-4hs0xter.js → credential-8azqhvhf.js} +6 -6
  94. package/dist/chunks/{worktree-xvarwbkw.js → credential-8bvtxx6t.js} +4 -4
  95. package/dist/chunks/{worktree-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{worktree-yefxppqx.js → credential-8ee7bc5c.js} +17 -17
  97. package/dist/chunks/{worktree-8p4f9s12.js → credential-8p4f9s12.js} +2 -2
  98. package/dist/chunks/{worktree-ks9r2606.js → credential-8zgef3ym.js} +26 -26
  99. package/dist/chunks/{worktree-qsfs49vc.js → credential-909pcchj.js} +76 -76
  100. package/dist/chunks/{worktree-nhpkhfw8.js → credential-91wtgz8k.js} +20 -20
  101. package/dist/chunks/{worktree-zbxt5nxa.js → credential-95v5px53.js} +18 -18
  102. package/dist/chunks/{worktree-9pbhwmzz.js → credential-9dtg213c.js} +42 -42
  103. package/dist/chunks/{worktree-mcrth2bg.js → credential-9w2d6m2a.js} +9 -9
  104. package/dist/chunks/{worktree-hv82z4gy.js → credential-9zkgkngc.js} +11 -11
  105. package/dist/chunks/{worktree-89y6ec7x.js → credential-a10p2k0v.js} +21 -21
  106. package/dist/chunks/{worktree-a1bz86dw.js → credential-a1bz86dw.js} +3 -3
  107. package/dist/chunks/{worktree-fbnvfbcr.js → credential-a41gfe4d.js} +29 -29
  108. package/dist/chunks/{worktree-psyj660w.js → credential-a9v1gn98.js} +6 -6
  109. package/dist/chunks/{worktree-aaet6srn.js → credential-aaet6srn.js} +2 -2
  110. package/dist/chunks/{worktree-pt3jfr41.js → credential-apn8f15b.js} +9 -9
  111. package/dist/chunks/{worktree-31n43axm.js → credential-asyrvkps.js} +18 -18
  112. package/dist/chunks/{worktree-0qzq572y.js → credential-at1qkrnj.js} +6 -6
  113. package/dist/chunks/{worktree-nt7ny3vf.js → credential-atsrf1p8.js} +41 -48
  114. package/dist/chunks/{worktree-2t5vmbg2.js → credential-b359387s.js} +10 -10
  115. package/dist/chunks/{worktree-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{worktree-g1f7p4xr.js → credential-b6pd93xk.js} +34 -34
  117. package/dist/chunks/{worktree-p1bhyryy.js → credential-b9h4ye0g.js} +9 -9
  118. package/dist/chunks/{worktree-0hjjfnva.js → credential-bbgh5zt9.js} +20 -20
  119. package/dist/chunks/{worktree-txqj87x6.js → credential-bbjevjb1.js} +20 -20
  120. package/dist/chunks/{worktree-0cj21tsq.js → credential-btgew72b.js} +7 -7
  121. package/dist/chunks/{worktree-dep21bfz.js → credential-bv56xrks.js} +4 -4
  122. package/dist/chunks/{worktree-j7wq2tw5.js → credential-bwshncvd.js} +3 -3
  123. package/dist/chunks/{worktree-q6dht6b8.js → credential-c36p2bt1.js} +25 -25
  124. package/dist/chunks/{worktree-xkskprjp.js → credential-c3cqe563.js} +26 -26
  125. package/dist/chunks/{worktree-t7xstbkq.js → credential-c6z2bm72.js} +4 -4
  126. package/dist/chunks/{worktree-m3g11tvf.js → credential-c7ecgrk6.js} +8 -8
  127. package/dist/chunks/{worktree-d9sn21bc.js → credential-c95cvesc.js} +2 -2
  128. package/dist/chunks/{worktree-etbytr9f.js → credential-ccb2a340.js} +18 -18
  129. package/dist/chunks/{worktree-cfpkc3c9.js → credential-cfpkc3c9.js} +2 -2
  130. package/dist/chunks/{worktree-jr0w00x6.js → credential-cfrb7rge.js} +44 -44
  131. package/dist/chunks/{worktree-h1201fn2.js → credential-cne6g3qh.js} +17 -17
  132. package/dist/chunks/{worktree-0a6m9zn6.js → credential-ddkgrmw3.js} +19 -19
  133. package/dist/chunks/{worktree-m1m1txre.js → credential-dqkgee86.js} +41 -41
  134. package/dist/chunks/{worktree-g5z572jc.js → credential-dtx1mak6.js} +19 -19
  135. package/dist/chunks/{worktree-jkzabyxv.js → credential-dw9fw5zp.js} +8 -8
  136. package/dist/chunks/{worktree-dxj72tfx.js → credential-dxj72tfx.js} +1 -1
  137. package/dist/chunks/{worktree-w1ad28wa.js → credential-dy8qh9xy.js} +5 -5
  138. package/dist/chunks/{worktree-vvgctfdq.js → credential-e379cr0y.js} +12 -12
  139. package/dist/chunks/{worktree-t8k0wgen.js → credential-e4nfnrvk.js} +12 -12
  140. package/dist/chunks/{worktree-yr02nea7.js → credential-e6hd9jay.js} +6 -6
  141. package/dist/chunks/{worktree-kgxk992x.js → credential-ej01abyf.js} +18 -18
  142. package/dist/chunks/{worktree-e7f0s3sx.js → credential-en74w496.js} +5 -5
  143. package/dist/chunks/{worktree-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{worktree-jy5v7e4m.js → credential-exfykm2r.js} +47 -47
  145. package/dist/chunks/{worktree-mmg38rnz.js → credential-f00j52z1.js} +161 -161
  146. package/dist/chunks/{worktree-7x1jk2s0.js → credential-f1f1qrpc.js} +41 -41
  147. package/dist/chunks/{worktree-3cdjp2z1.js → credential-f6h44vt5.js} +6 -6
  148. package/dist/chunks/{worktree-et0ngb76.js → credential-f79w93tn.js} +5 -5
  149. package/dist/chunks/{worktree-f828m53h.js → credential-f828m53h.js} +2 -2
  150. package/dist/chunks/{worktree-j7k24pbc.js → credential-fb7cknjd.js} +20 -20
  151. package/dist/chunks/{worktree-tfj258z8.js → credential-fg75ppcy.js} +27 -27
  152. package/dist/chunks/{worktree-rzse8s8s.js → credential-fmsed0sg.js} +24 -24
  153. package/dist/chunks/{worktree-39gq0jsz.js → credential-fqsjcqv2.js} +16 -16
  154. package/dist/chunks/{worktree-hapy5g3w.js → credential-fr0hst6m.js} +5 -5
  155. package/dist/chunks/{worktree-y6qp2ybc.js → credential-fsmaqbgh.js} +32 -32
  156. package/dist/chunks/{worktree-fxbjtjnd.js → credential-fxbjtjnd.js} +1 -1
  157. package/dist/chunks/{worktree-q2t36530.js → credential-g9630prq.js} +9 -9
  158. package/dist/chunks/{worktree-eaj1djv9.js → credential-gbt6w4kb.js} +4 -4
  159. package/dist/chunks/{worktree-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{worktree-7m5f9412.js → credential-gn2hfjap.js} +8 -8
  161. package/dist/chunks/{worktree-9b60vqg3.js → credential-gp0sg3k4.js} +13 -13
  162. package/dist/chunks/{worktree-3m1vdcah.js → credential-gpz9xnha.js} +12 -12
  163. package/dist/chunks/{worktree-a54cm72e.js → credential-gt0cxfk7.js} +1 -1
  164. package/dist/chunks/{worktree-th5km1p3.js → credential-gv6a8nnw.js} +5 -5
  165. package/dist/chunks/{worktree-h03wrkyp.js → credential-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{worktree-22pek6eg.js → credential-h20c96gm.js} +31 -31
  167. package/dist/chunks/{worktree-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{worktree-4rx8c3z8.js → credential-h7xzfsz6.js} +46 -46
  169. package/dist/chunks/{worktree-vh076mqk.js → credential-h9rtxgm4.js} +18 -18
  170. package/dist/chunks/{worktree-5sdemcz3.js → credential-had4kgfk.js} +8 -8
  171. package/dist/chunks/{worktree-x05hx5mx.js → credential-hfgsy8qe.js} +3 -3
  172. package/dist/chunks/{worktree-e82z9tr0.js → credential-hjt4xg1x.js} +7 -7
  173. package/dist/chunks/{worktree-m2manvsf.js → credential-hq8zt1th.js} +6 -6
  174. package/dist/chunks/{worktree-3ma48d2q.js → credential-hvmrywg9.js} +18 -18
  175. package/dist/chunks/{worktree-88nd1tx7.js → credential-j4xqs8he.js} +21 -21
  176. package/dist/chunks/{worktree-j56e64zr.js → credential-j56e64zr.js} +1 -1
  177. package/dist/chunks/{worktree-x3af3qht.js → credential-j7afzrcr.js} +9 -9
  178. package/dist/chunks/{worktree-5q02cxx3.js → credential-j83byb14.js} +4 -4
  179. package/dist/chunks/{worktree-787q5hy4.js → credential-jhetwysa.js} +3 -3
  180. package/dist/chunks/{worktree-jnmqjdkf.js → credential-jrrn2k62.js} +4 -4
  181. package/dist/chunks/{worktree-zgcjn2bs.js → credential-jwbr3km5.js} +22 -22
  182. package/dist/chunks/{worktree-1tjg7tvh.js → credential-jwx4y25k.js} +9 -9
  183. package/dist/chunks/{worktree-qj8a3ybw.js → credential-k38mk1vx.js} +6 -6
  184. package/dist/chunks/{worktree-kg06axw8.js → credential-kg06axw8.js} +1 -1
  185. package/dist/chunks/{worktree-9df0z3fr.js → credential-khykcjbr.js} +12 -12
  186. package/dist/chunks/{worktree-j8n86hs1.js → credential-ks7htes5.js} +13 -13
  187. package/dist/chunks/{worktree-w2pgmj82.js → credential-kv4a4z6b.js} +9 -9
  188. package/dist/chunks/{worktree-cwyfgkk1.js → credential-m1he9yt5.js} +41 -41
  189. package/dist/chunks/{worktree-kexm4n6m.js → credential-m8bjfkk9.js} +11 -11
  190. package/dist/chunks/{worktree-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{worktree-mkcjrzeh.js → credential-mkcjrzeh.js} +1 -1
  192. package/dist/chunks/{worktree-nf98eega.js → credential-ms6j5dg4.js} +18 -18
  193. package/dist/chunks/{worktree-swqq1grb.js → credential-mscwsevq.js} +1 -1
  194. package/dist/chunks/{worktree-kyamxspj.js → credential-mvfaqrr0.js} +6 -6
  195. package/dist/chunks/{worktree-nx9fcjx2.js → credential-n02j7a4g.js} +36 -36
  196. package/dist/chunks/{worktree-nbddwgy7.js → credential-n31d0ktv.js} +10 -10
  197. package/dist/chunks/{worktree-za9cx4qh.js → credential-nbzsj80d.js} +8 -8
  198. package/dist/chunks/{worktree-bz2gz0gx.js → credential-nfk5cz2h.js} +10 -10
  199. package/dist/chunks/{worktree-fdkcz4j4.js → credential-nsac91pq.js} +21 -21
  200. package/dist/chunks/{worktree-0ddfdf6h.js → credential-nvn4yca8.js} +11 -11
  201. package/dist/chunks/{worktree-mw16jd8v.js → credential-p280jz24.js} +9 -9
  202. package/dist/chunks/{worktree-jjxpfn67.js → credential-pcmkfrz8.js} +49 -49
  203. package/dist/chunks/{worktree-hd849z55.js → credential-pgbkh3mx.js} +3 -3
  204. package/dist/chunks/{worktree-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{worktree-pknna89w.js → credential-pknna89w.js} +1 -1
  206. package/dist/chunks/{worktree-8hyjw9n3.js → credential-q8kwesbk.js} +35 -35
  207. package/dist/chunks/{worktree-j47svp76.js → credential-qdtgw5bq.js} +6 -6
  208. package/dist/chunks/{worktree-81swgkk7.js → credential-qg6emqy4.js} +9 -9
  209. package/dist/chunks/{worktree-z5vzydcd.js → credential-qp4gcwwt.js} +49 -49
  210. package/dist/chunks/{worktree-qsdy395h.js → credential-qsdy395h.js} +1 -1
  211. package/dist/chunks/{worktree-7d9jba8k.js → credential-qwf697tk.js} +28 -28
  212. package/dist/chunks/{worktree-fan4hwvp.js → credential-r6teeq8r.js} +11 -11
  213. package/dist/chunks/{worktree-sfbj4knz.js → credential-rjby0eaq.js} +9 -9
  214. package/dist/chunks/{worktree-w1k39n5e.js → credential-rsdf2nvv.js} +4 -4
  215. package/dist/chunks/{worktree-1aqychxq.js → credential-rwagp3kg.js} +84 -84
  216. package/dist/chunks/{worktree-gb17qnes.js → credential-ry15mc2v.js} +35 -35
  217. package/dist/chunks/{worktree-wnbnthsg.js → credential-rzdj8rzc.js} +5 -5
  218. package/dist/chunks/{worktree-mkyhyqbc.js → credential-s0q6yv4v.js} +33 -33
  219. package/dist/chunks/{worktree-wtkpn8tp.js → credential-sgfkh1bp.js} +4 -4
  220. package/dist/chunks/{worktree-n2rf99bc.js → credential-sh38pj43.js} +28 -28
  221. package/dist/chunks/credential-sjzv27ft.js +247 -0
  222. package/dist/chunks/{worktree-y2a9qway.js → credential-st5ktw2g.js} +14 -14
  223. package/dist/chunks/{worktree-4w6drx90.js → credential-sy0gzybz.js} +15 -15
  224. package/dist/chunks/{worktree-t0x5rdq8.js → credential-t0x5rdq8.js} +2 -2
  225. package/dist/chunks/{worktree-edrmdtr5.js → credential-t2fc4mz5.js} +5 -5
  226. package/dist/chunks/{worktree-530frpyx.js → credential-t41sh3fy.js} +18 -18
  227. package/dist/chunks/{worktree-kx71qmfd.js → credential-t8mcaem5.js} +1 -1
  228. package/dist/chunks/{worktree-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{worktree-tcezcvh9.js → credential-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{worktree-tdstcens.js → credential-tdstcens.js} +1 -1
  231. package/dist/chunks/{worktree-efywkr4m.js → credential-thd5acdx.js} +24 -24
  232. package/dist/chunks/{worktree-pztj2cvn.js → credential-tpwdr59n.js} +9 -9
  233. package/dist/chunks/{worktree-tvtrv512.js → credential-tvtrv512.js} +1 -1
  234. package/dist/chunks/{worktree-87s6j92f.js → credential-tyw945wc.js} +17 -17
  235. package/dist/chunks/{worktree-qwkytnft.js → credential-vbah0zve.js} +3 -3
  236. package/dist/chunks/{worktree-dsk24zyn.js → credential-vc5zzj1b.js} +26 -26
  237. package/dist/chunks/{worktree-f4hvcdyc.js → credential-vcq8jmfk.js} +18 -18
  238. package/dist/chunks/{worktree-3gvv7fv9.js → credential-vd169w8v.js} +17 -17
  239. package/dist/chunks/{worktree-5aq7k26p.js → credential-vekyynk0.js} +65 -65
  240. package/dist/chunks/{worktree-veqvce7d.js → credential-veqvce7d.js} +1 -1
  241. package/dist/chunks/{worktree-721cw5cc.js → credential-vqnfpec2.js} +4 -4
  242. package/dist/chunks/{worktree-pda56gn5.js → credential-vqr9hz61.js} +13 -13
  243. package/dist/chunks/{worktree-ty151b2e.js → credential-vt1amaja.js} +29 -29
  244. package/dist/chunks/{worktree-bha4atvq.js → credential-vyy6cxw9.js} +4 -4
  245. package/dist/chunks/{worktree-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{worktree-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{worktree-47cde2b0.js → credential-w6akx0pp.js} +15 -15
  248. package/dist/chunks/{worktree-fjsew8y4.js → credential-w9tseppn.js} +42 -42
  249. package/dist/chunks/{worktree-f59qb7z8.js → credential-wak322rn.js} +11 -11
  250. package/dist/chunks/{worktree-gg7pg1rj.js → credential-wbkyxrgf.js} +5 -5
  251. package/dist/chunks/{worktree-wd87259q.js → credential-wd87259q.js} +1 -1
  252. package/dist/chunks/{worktree-a81erjcz.js → credential-wdvyek55.js} +24 -24
  253. package/dist/chunks/{worktree-sdva1t93.js → credential-wj604y0c.js} +23 -23
  254. package/dist/chunks/credential-wk4y5nr3.js +260 -0
  255. package/dist/chunks/{worktree-xjgcvsjt.js → credential-wq8n05qc.js} +22 -22
  256. package/dist/chunks/{worktree-zznp8j5v.js → credential-wtpfkq3a.js} +3 -3
  257. package/dist/chunks/{worktree-y2e61msj.js → credential-wtrmr3z3.js} +39 -39
  258. package/dist/chunks/{worktree-rfnzy394.js → credential-wx9wy1qm.js} +1 -1
  259. package/dist/chunks/{worktree-7z7az0f5.js → credential-x0511brf.js} +4 -4
  260. package/dist/chunks/{worktree-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{worktree-hf4cy5d5.js → credential-x3032y69.js} +22 -22
  262. package/dist/chunks/{worktree-zc2n0ndy.js → credential-x34hv49z.js} +13 -13
  263. package/dist/chunks/{worktree-x43y2vfs.js → credential-x43y2vfs.js} +2 -2
  264. package/dist/chunks/{worktree-me1mq5zn.js → credential-xdj3jhyd.js} +23 -23
  265. package/dist/chunks/{worktree-jdh6s7jq.js → credential-xgsrhv1b.js} +8 -8
  266. package/dist/chunks/{worktree-fmtcp64w.js → credential-xr1njrc3.js} +59 -59
  267. package/dist/chunks/{worktree-84esvpjp.js → credential-xrfqdtsr.js} +11 -11
  268. package/dist/chunks/{worktree-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{worktree-vdehrbvs.js → credential-y3xzny5y.js} +28 -28
  270. package/dist/chunks/{worktree-z1cvmk2p.js → credential-y6qph9rs.js} +13 -13
  271. package/dist/chunks/{worktree-y71avatq.js → credential-y71avatq.js} +1 -1
  272. package/dist/chunks/{worktree-8tw6vjk5.js → credential-y8b3ftjs.js} +13 -13
  273. package/dist/chunks/{worktree-ggr3x0mq.js → credential-yb6jnks2.js} +15 -15
  274. package/dist/chunks/{worktree-1acjjqhc.js → credential-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{worktree-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{worktree-yrznvahk.js → credential-yrznvahk.js} +2 -2
  277. package/dist/chunks/{worktree-p44d8wdy.js → credential-yt0fqk68.js} +5 -5
  278. package/dist/chunks/{worktree-m2wv8ykr.js → credential-yvmq8qxx.js} +12 -12
  279. package/dist/chunks/{worktree-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{worktree-t0msmdsn.js → credential-z2ag6yen.js} +20 -20
  281. package/dist/chunks/{worktree-z63w68vq.js → credential-z63w68vq.js} +2 -2
  282. package/dist/chunks/{worktree-4arj8dq0.js → credential-z93ea3ce.js} +277 -277
  283. package/dist/chunks/{worktree-baaqp4zd.js → credential-zav06jzw.js} +4 -4
  284. package/dist/chunks/{worktree-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{worktree-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{worktree-0ms7d4ta.js → credential-zt1trrjh.js} +8 -8
  287. package/dist/chunks/{worktree-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{worktree-z92e5j38.js → credential-zxwpk2nb.js} +1 -1
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +113 -113
  313. package/dist/config/plugin/tool-output.js +115 -115
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +113 -113
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +2 -2
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +81 -81
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +101 -101
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +104 -104
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +82 -82
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +115 -115
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +68 -68
  537. package/dist/plugin/service.js +1 -1
  538. package/dist/plugin/skill.js +131 -131
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +341 -341
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +110 -110
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +92 -92
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +214 -214
  576. package/dist/session/execution.js +124 -124
  577. package/dist/session/generate.js +148 -148
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +88 -88
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +109 -109
  587. package/dist/session/model-transport.js +5 -5
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +223 -223
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +145 -145
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +213 -213
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +205 -205
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +88 -88
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +106 -106
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +115 -115
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/types/session/compaction.d.ts +2 -2
  649. package/dist/types/session/context.d.ts +1 -1
  650. package/dist/types/session/model-request.d.ts +18 -37
  651. package/dist/types/session/runner/step.d.ts +1 -1
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +7 -7
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +83 -83
  679. package/dist/websearch.js +78 -78
  680. package/dist/wellknown/plugin.js +74 -74
  681. package/dist/wellknown.js +77 -77
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +78 -78
  685. package/dist/worktree/directory.js +4 -4
  686. package/dist/worktree/git.js +7 -7
  687. package/dist/worktree/refresh.js +342 -342
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +89 -89
  690. package/package.json +8 -8
  691. package/dist/chunks/worktree-2t5f0p39.js +0 -270
  692. package/dist/chunks/worktree-dt3c0xg5.js +0 -22
  693. package/dist/chunks/worktree-w6vhhse3.js +0 -247
  694. package/dist/chunks/worktree-z926abd4.js +0 -4
  695. /package/dist/chunks/{worktree-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{worktree-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{worktree-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{worktree-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{worktree-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{worktree-2710q6r3.js → credential-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{worktree-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{worktree-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{worktree-359p4xyc.js → credential-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{worktree-3asan66x.js → credential-3asan66x.js} +0 -0
  705. /package/dist/chunks/{worktree-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{worktree-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{worktree-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{worktree-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{worktree-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{worktree-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{worktree-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{worktree-53557ph1.js → credential-53557ph1.js} +0 -0
  713. /package/dist/chunks/{worktree-550bvhaj.js → credential-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{worktree-6prwharc.js → credential-6prwharc.js} +0 -0
  715. /package/dist/chunks/{worktree-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{worktree-7m9af43g.js → credential-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{worktree-822emrt2.js → credential-822emrt2.js} +0 -0
  718. /package/dist/chunks/{worktree-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{worktree-8n3pysct.js → credential-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{worktree-922hggd3.js → credential-922hggd3.js} +0 -0
  721. /package/dist/chunks/{worktree-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{worktree-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{worktree-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{worktree-af5trqkr.js → credential-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{worktree-afrmfg78.js → credential-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{worktree-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{worktree-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{worktree-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{worktree-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{worktree-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{worktree-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{worktree-d9fn303g.js → credential-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{worktree-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{worktree-dajrwvna.js → credential-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{worktree-dap0rakb.js → credential-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{worktree-df08tz66.js → credential-df08tz66.js} +0 -0
  737. /package/dist/chunks/{worktree-dy18nga0.js → credential-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{worktree-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{worktree-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{worktree-ec1grn59.js → credential-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{worktree-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{worktree-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{worktree-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{worktree-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{worktree-faypxj3z.js → credential-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{worktree-fd410y7t.js → credential-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{worktree-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{worktree-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{worktree-g86h250q.js → credential-g86h250q.js} +0 -0
  750. /package/dist/chunks/{worktree-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{worktree-gftt206x.js → credential-gftt206x.js} +0 -0
  752. /package/dist/chunks/{worktree-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{worktree-hk9envan.js → credential-hk9envan.js} +0 -0
  754. /package/dist/chunks/{worktree-hrnqkpcd.js → credential-hrnqkpcd.js} +0 -0
  755. /package/dist/chunks/{worktree-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{worktree-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{worktree-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{worktree-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{worktree-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{worktree-mp448xyj.js → credential-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{worktree-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{worktree-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{worktree-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{worktree-njntx4h6.js → credential-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{worktree-paphc93g.js → credential-paphc93g.js} +0 -0
  766. /package/dist/chunks/{worktree-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{worktree-q74kybfr.js → credential-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{worktree-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{worktree-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{worktree-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{worktree-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{worktree-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{worktree-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{worktree-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{worktree-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{worktree-twg0f83k.js → credential-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{worktree-w803qqfp.js → credential-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{worktree-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{worktree-wtztk69x.js → credential-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{worktree-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{worktree-x61499pn.js → credential-x61499pn.js} +0 -0
  782. /package/dist/chunks/{worktree-y44na4kk.js → credential-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{worktree-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{worktree-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{worktree-ym463w8f.js → credential-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{worktree-z9919s4g.js → credential-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service78,
3
- node83
4
- } from "./worktree-0kjjkgrz.js";
3
+ node82
4
+ } from "./credential-3kyqxgv1.js";
5
5
  import {
6
- Event12,
7
- Service58,
8
- node63
9
- } from "./worktree-zez8w2s0.js";
6
+ Event15,
7
+ Service63,
8
+ node66
9
+ } from "./credential-83h3w6ts.js";
10
10
  import {
11
- Service41,
12
- node45
13
- } from "./worktree-etbytr9f.js";
11
+ Service44,
12
+ node48
13
+ } from "./credential-ccb2a340.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./worktree-922hggd3.js";
16
+ } from "./credential-922hggd3.js";
17
17
  import {
18
- Service75,
19
- node80
20
- } from "./worktree-trwfvtm6.js";
18
+ Service70,
19
+ node73
20
+ } from "./credential-56sah4ty.js";
21
21
  import {
22
22
  substitute2
23
- } from "./worktree-yrznvahk.js";
23
+ } from "./credential-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./worktree-jbeqfmv6.js";
26
+ } from "./credential-2mgmyakx.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./worktree-4zn0m4jw.js";
30
+ } from "./credential-09nq0425.js";
31
31
  import {
32
32
  plan2
33
- } from "./worktree-j56e64zr.js";
33
+ } from "./credential-j56e64zr.js";
34
34
  import {
35
- Service64,
36
- Event16,
37
- node69
38
- } from "./worktree-g5z572jc.js";
35
+ Service45,
36
+ Event11,
37
+ node49
38
+ } from "./credential-dtx1mak6.js";
39
39
  import {
40
40
  __export
41
- } from "./worktree-9rqn6x4v.js";
41
+ } from "./credential-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
47
  Options: () => Options6,
48
- Service: () => Service40,
48
+ Service: () => Service43,
49
49
  Test: () => Test2,
50
50
  configured: () => configured6,
51
51
  latest: () => latest2,
52
52
  layer: () => layer17,
53
- node: () => node44,
53
+ node: () => node47,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -78,7 +78,7 @@ var Options6 = Schema.Struct({
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service40 extends Context.Service()("@opencode/Config") {
81
+ class Service43 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service40, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service43, service), Context.add(Test2, service));
96
96
  }));
97
- var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
97
+ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service75;
100
- const watcher = yield* Service41;
99
+ const location = yield* Service70;
100
+ const watcher = yield* Service44;
101
101
  const bus = yield* Service78;
102
- const credentials = yield* Service58;
103
- const wellknown = yield* Service64;
102
+ const credentials = yield* Service63;
103
+ const wellknown = yield* Service45;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -223,8 +223,8 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
223
223
  }, (effect) => reloadLock.withPermit(effect));
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event12.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,7 +235,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service40.of({
238
+ return Service43.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
@@ -244,11 +244,11 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
244
244
  }));
245
245
  function configured6(options) {
246
246
  return makeLocationNode({
247
- service: Service40,
247
+ service: Service43,
248
248
  layer: layer17(options),
249
- deps: [node45, node83, FSUtil.node, Global.node, node80, node63, node69]
249
+ deps: [node48, node82, FSUtil.node, Global.node, node73, node66, node49]
250
250
  });
251
251
  }
252
- var node44 = configured6();
252
+ var node47 = configured6();
253
253
 
254
- export { latest2, Options6, Service40, Test2, testLayer2, layer17, configured6, node44, exports_config };
254
+ export { latest2, Options6, Service43, Test2, testLayer2, layer17, configured6, node47, exports_config };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
- node: () => node7
11
+ node: () => node9
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node7 = makeLocationNode({
19
- service: Service4,
18
+ var node9 = makeLocationNode({
19
+ service: Service6,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node7, bound2, exports_instance2 };
32
+ export { Service6, node9, bound2, exports_instance2 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./worktree-emrn6kk6.js";
5
+ } from "./credential-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service78,
3
- node83
4
- } from "./worktree-0kjjkgrz.js";
3
+ node82
4
+ } from "./credential-3kyqxgv1.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./worktree-trwfvtm6.js";
6
+ Service70,
7
+ node73
8
+ } from "./credential-56sah4ty.js";
9
9
  import {
10
- ID12
11
- } from "./worktree-z926abd4.js";
10
+ ID4
11
+ } from "./credential-6kdq0pjd.js";
12
12
  import {
13
- Service67,
13
+ Service46,
14
14
  login2,
15
- node72
16
- } from "./worktree-yefxppqx.js";
15
+ node50
16
+ } from "./credential-8ee7bc5c.js";
17
17
  import {
18
18
  lazy2
19
- } from "./worktree-88xbtdfr.js";
19
+ } from "./credential-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./worktree-9rqn6x4v.js";
22
+ } from "./credential-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
27
  CreateInput: () => CreateInput3,
28
- Event: () => Event17,
28
+ Event: () => Event6,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info26,
31
- NotFoundError: () => NotFoundError7,
30
+ Info: () => Info5,
31
+ NotFoundError: () => NotFoundError3,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service66,
33
+ Service: () => Service22,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node71
35
+ node: () => node26
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event17 } from "@opencode/schema/pty";
40
+ import { Event as Event6 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info26 = Pty.Info;
44
+ var Info5 = Pty.Info;
45
45
  var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID12
48
+ class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID4
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID12
54
+ ptyID: ID4
55
55
  }) {
56
56
  }
57
57
 
58
- class Service66 extends Context.Service()("@opencode/Pty") {
58
+ class Service22 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service66, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
61
61
  const bus = yield* Service78;
62
- const location = yield* Service75;
63
- const shell = yield* Service67;
62
+ const location = yield* Service70;
63
+ const shell = yield* Service46;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError7({ ptyID: id });
100
+ return yield* new NotFoundError3({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID12.ascending();
126
+ const id = ID4.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service66.of({ list, get, create, update, remove, write, attach });
271
+ return Service22.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node71 = makeLocationNode({
274
- service: Service66,
273
+ var node26 = makeLocationNode({
274
+ service: Service22,
275
275
  layer,
276
- deps: [node83, node80, node72]
276
+ deps: [node82, node73, node50]
277
277
  });
278
278
 
279
- export { Info26, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service66, node71, exports_pty, Event17 };
279
+ export { Info5, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service22, node26, exports_pty, Event6 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service75,
3
- node80
4
- } from "./worktree-trwfvtm6.js";
2
+ Service70,
3
+ node73
4
+ } from "./credential-56sah4ty.js";
5
5
  import {
6
6
  create3
7
- } from "./worktree-kg06axw8.js";
7
+ } from "./credential-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./credential-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
- var exports_formatter2 = {};
14
- __export(exports_formatter2, {
15
- Formatter: () => exports_formatter2,
16
- Service: () => Service15,
17
- node: () => node18
13
+ var exports_formatter3 = {};
14
+ __export(exports_formatter3, {
15
+ Formatter: () => exports_formatter3,
16
+ Service: () => Service55,
17
+ node: () => node58
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service15 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service55 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service15, Effect.gen(function* () {
27
- const location = yield* Service75;
26
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
27
+ const location = yield* Service70;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service15.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service55.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node18 = makeLocationNode({
91
- service: Service15,
90
+ var node58 = makeLocationNode({
91
+ service: Service55,
92
92
  layer,
93
- deps: [node80, AppProcess.node]
93
+ deps: [node73, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service15, node18, exports_formatter2 };
96
+ export { Service55, node58, exports_formatter3 };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service71
3
- } from "./worktree-jy5v7e4m.js";
2
+ Service65
3
+ } from "./credential-exfykm2r.js";
4
4
  import {
5
- ID4,
5
+ ID8,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service42
10
- } from "./worktree-dsk24zyn.js";
9
+ Service64
10
+ } from "./credential-vc5zzj1b.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./credential-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill2 = {};
17
17
  __export(exports_skill2, {
18
- Input: () => Input2,
19
- Output: () => Output2,
20
- Plugin: () => Plugin16,
18
+ Input: () => Input7,
19
+ Output: () => Output5,
20
+ Plugin: () => Plugin22,
21
21
  SkillTool: () => exports_skill2,
22
- description: () => description2,
23
- name: () => name2,
22
+ description: () => description4,
23
+ name: () => name7,
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 name2 = "skill";
30
- var Input2 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name7 = "skill";
30
+ var Input7 = Schema.Struct({
31
+ id: ID8.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output2 = Schema.Struct({
33
+ var Output5 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description2 = [
38
+ var description4 = [
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 description2 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin16 = {
46
+ var Plugin22 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service42;
51
- const permission = yield* Service71;
50
+ const skills = yield* Service64;
51
+ const permission = yield* Service65;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name2,
53
+ name: name7,
54
54
  options: { codemode: false },
55
- description: description2,
56
- input: Input2,
57
- output: Output2,
55
+ description: description4,
56
+ input: Input7,
57
+ output: Output5,
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: name2,
64
+ action: name7,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin16 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name2, Input2, Output2, description2, toModelOutput2, Plugin16, exports_skill2 };
82
+ export { name7, Input7, Output5, description4, toModelOutput2, Plugin22, exports_skill2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID11,
2
+ ID17,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./worktree-m3g11tvf.js";
5
+ } from "./credential-c7ecgrk6.js";
6
6
  import {
7
- ID7
8
- } from "./worktree-m2wv8ykr.js";
7
+ ID16
8
+ } from "./credential-yvmq8qxx.js";
9
9
  import {
10
10
  Service78
11
- } from "./worktree-0kjjkgrz.js";
11
+ } from "./credential-3kyqxgv1.js";
12
12
  import {
13
13
  OAuth3,
14
- Event12
15
- } from "./worktree-zez8w2s0.js";
14
+ Event15
15
+ } from "./credential-83h3w6ts.js";
16
16
  import {
17
- ID8,
17
+ ID5,
18
18
  MethodID2
19
- } from "./worktree-xb08yn7h.js";
19
+ } from "./credential-5x64k753.js";
20
20
  import {
21
- Service56
22
- } from "./worktree-xkskprjp.js";
21
+ Service60
22
+ } from "./credential-c3cqe563.js";
23
23
  import {
24
- get3
25
- } from "./worktree-d99x89gq.js";
24
+ get2
25
+ } from "./credential-493f7437.js";
26
26
  import {
27
27
  useragent2
28
- } from "./worktree-f59qb7z8.js";
28
+ } from "./credential-wak322rn.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID8.make("github-copilot"),
60
+ integrationID: ID5.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,7 +155,7 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service56;
158
+ const catalog = yield* Service60;
159
159
  const bus = yield* Service78;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID11.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID11.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID17.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID17.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
- try: () => get3(loaded.baseURL ?? baseURL(), {
176
+ try: () => get2(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
178
178
  Authorization: `Bearer ${credential.refresh}`,
179
179
  "User-Agent": useragent2(ctx.app),
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID11.githubCopilot);
190
+ const item = evt.provider.get(ID17.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID7.make(id)))
195
+ if (!loaded.models.has(ID16.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID7.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID7.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID16.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID16.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID11.githubCopilot)
220
+ if (evt.model.providerID !== ID17.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID11.githubCopilot)
229
+ if (evt.model.providerID !== ID17.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID11.githubCopilot });
239
+ }), { providerID: ID17.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID11.githubCopilot)
241
+ if (evt.model.providerID !== ID17.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID11.githubCopilot });
249
+ }), { providerID: ID17.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID11.githubCopilot)
251
+ if (evt.model.providerID !== ID17.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);