@opencode/core 0.0.0-dev-19299 → 0.0.0-dev-19301

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  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 +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{shell-rhjbct0v.js → workspace-02nrjc1r.js} +6 -6
  9. package/dist/chunks/{shell-desah413.js → workspace-05dnp20b.js} +32 -32
  10. package/dist/chunks/{shell-jr1myxr3.js → workspace-09vseg8s.js} +24 -24
  11. package/dist/chunks/{shell-qag0q529.js → workspace-0caq5a2p.js} +18 -18
  12. package/dist/chunks/{shell-vvqxd921.js → workspace-0gqt70p3.js} +6 -6
  13. package/dist/chunks/{shell-18fyhaqr.js → workspace-0n965jn0.js} +31 -31
  14. package/dist/chunks/{shell-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{shell-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{shell-jap5vfbs.js → workspace-0zxft7wv.js} +10 -10
  17. package/dist/chunks/{shell-fad7jthp.js → workspace-1235z6h5.js} +11 -11
  18. package/dist/chunks/{shell-8ed5dapv.js → workspace-14encp35.js} +9 -9
  19. package/dist/chunks/{shell-r8xr0va3.js → workspace-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{shell-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{shell-0hpxrkyb.js → workspace-1dfhrqqs.js} +5 -5
  22. package/dist/chunks/{shell-89216gat.js → workspace-1q7njqr8.js} +8 -8
  23. package/dist/chunks/{shell-tvs8yzpc.js → workspace-1xx3n8by.js} +8 -8
  24. package/dist/chunks/{shell-21r38tys.js → workspace-21r38tys.js} +1 -1
  25. package/dist/chunks/{shell-6k2bypnf.js → workspace-22ncyhda.js} +15 -15
  26. package/dist/chunks/{shell-2402vzrj.js → workspace-2402vzrj.js} +1 -1
  27. package/dist/chunks/{shell-hteb4sy5.js → workspace-285sk89s.js} +11 -11
  28. package/dist/chunks/{shell-c902c3h9.js → workspace-29zqcttt.js} +26 -26
  29. package/dist/chunks/{shell-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{shell-6ersrjne.js → workspace-2jmaghvr.js} +6 -6
  31. package/dist/chunks/{shell-2k8khapm.js → workspace-2k8khapm.js} +1 -1
  32. package/dist/chunks/{shell-x270dfa1.js → workspace-2mfnacv9.js} +16 -16
  33. package/dist/chunks/{shell-zjvxgrfz.js → workspace-2r2a59vh.js} +15 -15
  34. package/dist/chunks/{shell-swc0pkqs.js → workspace-2rc0x19k.js} +9 -9
  35. package/dist/chunks/{shell-ptwhs400.js → workspace-39atg463.js} +23 -23
  36. package/dist/chunks/{shell-c8zh40b9.js → workspace-39yd8fs4.js} +41 -41
  37. package/dist/chunks/{shell-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{shell-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{shell-xdpfkwez.js → workspace-3m5pm5bg.js} +38 -38
  40. package/dist/chunks/{shell-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{shell-gq0a9pv7.js → workspace-3tejw0k5.js} +13 -13
  42. package/dist/chunks/{shell-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{shell-ewxvpahx.js → workspace-3xztec2w.js} +11 -11
  44. package/dist/chunks/{shell-mrd03y1j.js → workspace-4407emfp.js} +9 -9
  45. package/dist/chunks/{shell-bc9tah8j.js → workspace-481njsdn.js} +8 -8
  46. package/dist/chunks/{shell-20qr1f9s.js → workspace-4a1gzb1y.js} +16 -16
  47. package/dist/chunks/{shell-fkwrhsf7.js → workspace-4gwv5f10.js} +18 -18
  48. package/dist/chunks/{shell-2qab6ga2.js → workspace-4tyka3qy.js} +11 -11
  49. package/dist/chunks/{shell-rg4s5c95.js → workspace-512qfn16.js} +27 -27
  50. package/dist/chunks/{shell-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
  51. package/dist/chunks/{shell-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  52. package/dist/chunks/{shell-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{shell-pqqxfvch.js → workspace-5v3se96a.js} +11 -11
  54. package/dist/chunks/{shell-vzepkry7.js → workspace-62852zzh.js} +17 -17
  55. package/dist/chunks/{shell-z69s9t6b.js → workspace-62jy5cfr.js} +5 -5
  56. package/dist/chunks/{shell-ktqk9wm9.js → workspace-63bg78v6.js} +12 -12
  57. package/dist/chunks/{shell-m27pyyd3.js → workspace-63c29q5z.js} +8 -8
  58. package/dist/chunks/{shell-669tq793.js → workspace-669tq793.js} +1 -1
  59. package/dist/chunks/{shell-2hhhp258.js → workspace-6a1qkqw7.js} +15 -15
  60. package/dist/chunks/{shell-dkkztdya.js → workspace-6drwn6fk.js} +17 -17
  61. package/dist/chunks/{shell-9rh7p80v.js → workspace-6fqz5w64.js} +27 -27
  62. package/dist/chunks/{shell-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{shell-h2r7bbkd.js → workspace-6n88yxkj.js} +8 -8
  64. package/dist/chunks/workspace-6pjhpf77.js +247 -0
  65. package/dist/chunks/{shell-ky97rf12.js → workspace-6prxjdtq.js} +10 -10
  66. package/dist/chunks/{shell-71q4at8m.js → workspace-71q4at8m.js} +1 -1
  67. package/dist/chunks/{shell-0v877kr8.js → workspace-71q4fb3j.js} +5 -5
  68. package/dist/chunks/{shell-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{shell-xdh3xy78.js → workspace-7e5s0f2g.js} +6 -6
  70. package/dist/chunks/{shell-bcn7gkrj.js → workspace-7gh5mp13.js} +6 -6
  71. package/dist/chunks/{shell-sn3acatt.js → workspace-7xdajtbq.js} +13 -13
  72. package/dist/chunks/{shell-y5mrfvw4.js → workspace-81swgkk7.js} +9 -9
  73. package/dist/chunks/{shell-h9y0se6r.js → workspace-8734049b.js} +10 -10
  74. package/dist/chunks/{shell-r19qme2h.js → workspace-886z29pe.js} +8 -8
  75. package/dist/chunks/{shell-tcezcvh9.js → workspace-89znhe33.js} +4 -4
  76. package/dist/chunks/{shell-vmhtgab3.js → workspace-8cc7t6mx.js} +9 -9
  77. package/dist/chunks/{shell-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{shell-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
  79. package/dist/chunks/{shell-zw6cm767.js → workspace-8qdvcyb6.js} +41 -41
  80. package/dist/chunks/{shell-bhct745e.js → workspace-8zz46eww.js} +17 -17
  81. package/dist/chunks/{shell-n76fdqym.js → workspace-90h7kwk9.js} +5 -5
  82. package/dist/chunks/{shell-70y17xeh.js → workspace-92azg307.js} +5 -5
  83. package/dist/chunks/{shell-va26gyj7.js → workspace-92t0khks.js} +39 -39
  84. package/dist/chunks/{shell-6fpr2q13.js → workspace-99tbqkcw.js} +10 -10
  85. package/dist/chunks/{shell-js0rm7nb.js → workspace-9e47yq11.js} +8 -8
  86. package/dist/chunks/{shell-54jgwn9b.js → workspace-9jdakqgh.js} +12 -12
  87. package/dist/chunks/{shell-hb21382w.js → workspace-9y444b6v.js} +4 -4
  88. package/dist/chunks/{shell-tfngb0ww.js → workspace-a0z4fccy.js} +4 -4
  89. package/dist/chunks/{shell-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
  90. package/dist/chunks/{shell-b4jn3br6.js → workspace-a78x0tqp.js} +17 -17
  91. package/dist/chunks/{shell-a76t9a7s.js → workspace-a9trz7xg.js} +9 -9
  92. package/dist/chunks/{shell-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  93. package/dist/chunks/{shell-fgh0kbhd.js → workspace-aan3cyfv.js} +1 -1
  94. package/dist/chunks/{shell-e42zg7c9.js → workspace-am5y2yzp.js} +33 -33
  95. package/dist/chunks/{shell-7y1qfq25.js → workspace-an5gm3yx.js} +1 -1
  96. package/dist/chunks/{shell-y46htk8f.js → workspace-b2wfqz6v.js} +30 -30
  97. package/dist/chunks/{shell-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{shell-qw53xxyx.js → workspace-bcatesge.js} +41 -41
  99. package/dist/chunks/{shell-tcaz1bq6.js → workspace-bjk09qw6.js} +11 -11
  100. package/dist/chunks/{shell-5ayyaxsv.js → workspace-bm3b3xby.js} +30 -30
  101. package/dist/chunks/{shell-d21bwxkq.js → workspace-bsdhcv6e.js} +32 -32
  102. package/dist/chunks/{shell-gj9xpvv3.js → workspace-bv56xrks.js} +6 -6
  103. package/dist/chunks/{shell-r0z2gdxb.js → workspace-bzg1m3qp.js} +8 -8
  104. package/dist/chunks/{shell-qka0hr3t.js → workspace-bzzbqws7.js} +5 -5
  105. package/dist/chunks/{shell-b6rw8h1c.js → workspace-c09967vq.js} +17 -17
  106. package/dist/chunks/{shell-v4wpewe9.js → workspace-c0zax72k.js} +32 -32
  107. package/dist/chunks/{shell-r80v4heq.js → workspace-ca6ew4kd.js} +14 -14
  108. package/dist/chunks/{shell-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
  109. package/dist/chunks/{shell-ke6544fm.js → workspace-cmssp0z9.js} +35 -35
  110. package/dist/chunks/{shell-zj136r52.js → workspace-cy127xek.js} +18 -18
  111. package/dist/chunks/{shell-7gvwkz6m.js → workspace-d2aac7k2.js} +5 -5
  112. package/dist/chunks/{shell-18e56dsp.js → workspace-d8nc1xcx.js} +4 -4
  113. package/dist/chunks/{shell-138zhwcg.js → workspace-d9sn21bc.js} +2 -2
  114. package/dist/chunks/{shell-g3nea3nn.js → workspace-dcbt4rr2.js} +28 -28
  115. package/dist/chunks/{shell-cmwkp3r5.js → workspace-dgj0dq1g.js} +8 -8
  116. package/dist/chunks/{shell-amyzqp92.js → workspace-dh49hrje.js} +4 -4
  117. package/dist/chunks/{shell-rpsff8a5.js → workspace-dmjeafns.js} +6 -6
  118. package/dist/chunks/{shell-jm9tsfw3.js → workspace-dszepm9d.js} +5 -5
  119. package/dist/chunks/{shell-h9gpzc29.js → workspace-e21tmfke.js} +13 -13
  120. package/dist/chunks/{shell-3a20re4p.js → workspace-e2crwazr.js} +15 -15
  121. package/dist/chunks/{shell-994aemam.js → workspace-e6451bx7.js} +22 -22
  122. package/dist/chunks/{shell-05w1n024.js → workspace-echv63h4.js} +10 -10
  123. package/dist/chunks/{shell-pmmw8deh.js → workspace-egfwjd08.js} +52 -52
  124. package/dist/chunks/{shell-63w78ebd.js → workspace-ep66wy90.js} +46 -46
  125. package/dist/chunks/{shell-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{shell-f828m53h.js → workspace-f828m53h.js} +2 -2
  127. package/dist/chunks/{shell-hx84msds.js → workspace-f99k44yv.js} +3 -3
  128. package/dist/chunks/{shell-q59nfae1.js → workspace-f9qrme3f.js} +19 -19
  129. package/dist/chunks/{shell-k16ay38w.js → workspace-fb6ja2y4.js} +1 -1
  130. package/dist/chunks/{shell-sd7yc29c.js → workspace-fjbrq6mf.js} +11 -11
  131. package/dist/chunks/{shell-5f9fjpvd.js → workspace-fqghg761.js} +20 -20
  132. package/dist/chunks/{shell-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  133. package/dist/chunks/{shell-cq37gk0t.js → workspace-fxqygnfa.js} +4 -4
  134. package/dist/chunks/{shell-b97hqjkq.js → workspace-fyjrpq2n.js} +8 -8
  135. package/dist/chunks/{shell-rtathh62.js → workspace-g1sb636y.js} +5 -5
  136. package/dist/chunks/{shell-z0kp0xfc.js → workspace-g22wb2pz.js} +4 -4
  137. package/dist/chunks/{shell-8pmkjsch.js → workspace-g43tytty.js} +15 -15
  138. package/dist/chunks/{shell-83nz3y93.js → workspace-g8475x4p.js} +10 -10
  139. package/dist/chunks/{shell-706y5kzp.js → workspace-g9s9j6xv.js} +24 -24
  140. package/dist/chunks/workspace-gap4xn4b.js +22 -0
  141. package/dist/chunks/{shell-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{shell-x6n2md0c.js → workspace-gdpvacec.js} +4 -4
  143. package/dist/chunks/{shell-hvy5aax6.js → workspace-gh7n1bng.js} +13 -13
  144. package/dist/chunks/{shell-9f3htfzg.js → workspace-gj7hzhw3.js} +11 -11
  145. package/dist/chunks/{shell-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  146. package/dist/chunks/{shell-cpk6j284.js → workspace-gxjpzw3n.js} +9 -9
  147. package/dist/chunks/{shell-zkhy8a1w.js → workspace-gxwzr3wg.js} +10 -10
  148. package/dist/chunks/{shell-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{shell-ek4n1jkk.js → workspace-h26gkp4s.js} +9 -9
  150. package/dist/chunks/{shell-xmkt8jmy.js → workspace-h2nqgc31.js} +11 -11
  151. package/dist/chunks/{shell-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{shell-96yt6zt0.js → workspace-hggyschk.js} +1 -1
  153. package/dist/chunks/{shell-43k15f45.js → workspace-hhvjvf8g.js} +4 -4
  154. package/dist/chunks/{shell-nhy5jxhy.js → workspace-hjt4xg1x.js} +4 -4
  155. package/dist/chunks/{shell-41kyjx1y.js → workspace-hn51r0q8.js} +6 -6
  156. package/dist/chunks/{shell-e2hjzebn.js → workspace-hn57h045.js} +4 -4
  157. package/dist/chunks/{shell-jv01nqvq.js → workspace-hnr5yq9h.js} +5 -5
  158. package/dist/chunks/{shell-xn4a1s6b.js → workspace-hpzydpnx.js} +2 -2
  159. package/dist/chunks/{shell-1awm1f41.js → workspace-hs7fbk9e.js} +12 -12
  160. package/dist/chunks/{shell-k1qcad96.js → workspace-j2vje5f9.js} +34 -34
  161. package/dist/chunks/{shell-bx7eg4z0.js → workspace-j3mqfpt8.js} +47 -47
  162. package/dist/chunks/{shell-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  163. package/dist/chunks/{shell-qc6f3j7a.js → workspace-j6c7mg19.js} +5 -5
  164. package/dist/chunks/{shell-q19p4fn9.js → workspace-j7wq2tw5.js} +3 -3
  165. package/dist/chunks/{shell-x940zq77.js → workspace-jefma2gq.js} +10 -10
  166. package/dist/chunks/{shell-srpeewqc.js → workspace-jzcb5zg9.js} +9 -9
  167. package/dist/chunks/{shell-0rjzv2qt.js → workspace-jzh89m9h.js} +17 -17
  168. package/dist/chunks/{shell-jw80jp6b.js → workspace-k2h4r4s0.js} +4 -4
  169. package/dist/chunks/{shell-a08t2777.js → workspace-k2v8w9sh.js} +11 -11
  170. package/dist/chunks/{shell-9se2kd1x.js → workspace-k8g0aq43.js} +20 -20
  171. package/dist/chunks/{shell-fr8908f4.js → workspace-k9k0s8f0.js} +16 -16
  172. package/dist/chunks/{shell-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  173. package/dist/chunks/{shell-3m73xpkh.js → workspace-kg892g7f.js} +33 -33
  174. package/dist/chunks/{shell-5nkpcfwc.js → workspace-kq1a8t9t.js} +25 -25
  175. package/dist/chunks/{shell-jh9n7czd.js → workspace-m8j1vn7p.js} +15 -15
  176. package/dist/chunks/{shell-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{shell-b22s170t.js → workspace-mhte6216.js} +20 -20
  178. package/dist/chunks/{shell-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
  179. package/dist/chunks/{shell-97wsckqb.js → workspace-mp5h4hzc.js} +24 -24
  180. package/dist/chunks/{shell-jw31rss3.js → workspace-mwkcp274.js} +26 -26
  181. package/dist/chunks/{shell-zcp935tq.js → workspace-n0g6fzce.js} +13 -13
  182. package/dist/chunks/{shell-cxmnv656.js → workspace-n5atw2w8.js} +4 -4
  183. package/dist/chunks/{shell-56v372ka.js → workspace-njna6xd1.js} +24 -24
  184. package/dist/chunks/{shell-p422xgpw.js → workspace-np51q5jj.js} +41 -41
  185. package/dist/chunks/{shell-qrgq40sn.js → workspace-nr02nn09.js} +9 -9
  186. package/dist/chunks/{shell-fygdb7h7.js → workspace-ns261efr.js} +3 -3
  187. package/dist/chunks/{shell-25m32m9c.js → workspace-nxpjh8w5.js} +21 -21
  188. package/dist/chunks/{shell-s79t7y84.js → workspace-p0xsckgp.js} +6 -6
  189. package/dist/chunks/{shell-b0qfk3e8.js → workspace-p16wwb4c.js} +15 -15
  190. package/dist/chunks/{shell-jzban73a.js → workspace-p37kmksf.js} +23 -23
  191. package/dist/chunks/{shell-rsdf2nvv.js → workspace-paegk39x.js} +4 -4
  192. package/dist/chunks/{shell-2ehqxkpw.js → workspace-pbrpfg1g.js} +12 -12
  193. package/dist/chunks/{shell-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{shell-pknna89w.js → workspace-pknna89w.js} +1 -1
  195. package/dist/chunks/{shell-0v53mg2y.js → workspace-pmr4s4kc.js} +4 -4
  196. package/dist/chunks/{shell-kzr6x06e.js → workspace-q5xvhvda.js} +6 -6
  197. package/dist/chunks/{shell-e7szzkhd.js → workspace-q5zg4735.js} +7 -7
  198. package/dist/chunks/{shell-aptkcqzk.js → workspace-q80jwr34.js} +41 -41
  199. package/dist/chunks/{shell-h6kmz9yd.js → workspace-q9jmjakx.js} +169 -169
  200. package/dist/chunks/{shell-qa3qhgw8.js → workspace-qa3qhgw8.js} +1 -1
  201. package/dist/chunks/{shell-fwwk8vbp.js → workspace-qa4rp7fn.js} +9 -9
  202. package/dist/chunks/{shell-x7cz8gr1.js → workspace-qavvsbzn.js} +22 -22
  203. package/dist/chunks/{shell-6d22mmhm.js → workspace-qdyrhweq.js} +11 -11
  204. package/dist/chunks/{shell-ygvd8b8c.js → workspace-qgdc71e1.js} +3 -3
  205. package/dist/chunks/{shell-b57s6jwk.js → workspace-qr3d7yj6.js} +32 -32
  206. package/dist/chunks/{shell-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  207. package/dist/chunks/{shell-2vc21b52.js → workspace-qy5sepm7.js} +6 -6
  208. package/dist/chunks/{shell-ksz0h0wp.js → workspace-r0vgb2sm.js} +1 -1
  209. package/dist/chunks/{shell-hz8qtd9r.js → workspace-r3fv6v1m.js} +24 -24
  210. package/dist/chunks/{shell-ejnnja69.js → workspace-r533rs18.js} +10 -10
  211. package/dist/chunks/{shell-j028xdjb.js → workspace-r5x6zcsm.js} +3 -3
  212. package/dist/chunks/{shell-rap9a73h.js → workspace-rap9a73h.js} +1 -1
  213. package/dist/chunks/{shell-9y2ew1rf.js → workspace-rkqzecgv.js} +30 -30
  214. package/dist/chunks/{shell-7jw46hp1.js → workspace-rn192n82.js} +28 -28
  215. package/dist/chunks/{shell-emmyw7mw.js → workspace-rtnzfgta.js} +57 -57
  216. package/dist/chunks/{shell-c4tw6aft.js → workspace-rvrc2w8n.js} +20 -20
  217. package/dist/chunks/{shell-wqak0vb9.js → workspace-rxemfqdb.js} +27 -27
  218. package/dist/chunks/{shell-618mw38d.js → workspace-rzr2835t.js} +9 -9
  219. package/dist/chunks/{shell-w4t3nk4h.js → workspace-s9039swt.js} +34 -34
  220. package/dist/chunks/{shell-f8q7mv7a.js → workspace-sczgc2a3.js} +1 -1
  221. package/dist/chunks/{shell-ve0vypz6.js → workspace-sh3bgw0e.js} +16 -16
  222. package/dist/chunks/{shell-00xsej0j.js → workspace-snqjhxtt.js} +11 -11
  223. package/dist/chunks/{shell-vyqn3nqs.js → workspace-spt9fbav.js} +6 -6
  224. package/dist/chunks/{shell-vsqc0n3y.js → workspace-t0grjbht.js} +14 -14
  225. package/dist/chunks/{shell-zhxw6mnd.js → workspace-t7bagm3w.js} +2 -2
  226. package/dist/chunks/{shell-tmf5q148.js → workspace-t8f5a5hy.js} +7 -7
  227. package/dist/chunks/{shell-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{shell-p2cyn4p5.js → workspace-tdn6ycjd.js} +288 -288
  229. package/dist/chunks/{shell-tdstcens.js → workspace-tdstcens.js} +1 -1
  230. package/dist/chunks/{shell-aqxxzgb1.js → workspace-thrcthqp.js} +9 -9
  231. package/dist/chunks/{shell-10d00zpt.js → workspace-tjabks10.js} +21 -21
  232. package/dist/chunks/{shell-dj9sq318.js → workspace-tn0aqsam.js} +5 -5
  233. package/dist/chunks/{shell-zakbxfw5.js → workspace-tq5h294s.js} +18 -18
  234. package/dist/chunks/{shell-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  235. package/dist/chunks/{shell-t0x5rdq8.js → workspace-twy35tz0.js} +9 -9
  236. package/dist/chunks/{shell-7tc1bkdm.js → workspace-tx10d39y.js} +24 -24
  237. package/dist/chunks/{shell-4b7zwk5x.js → workspace-v9v77gq9.js} +15 -15
  238. package/dist/chunks/{shell-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  239. package/dist/chunks/{shell-tettmk12.js → workspace-vg3c0nsb.js} +8 -8
  240. package/dist/chunks/{shell-n2cfwsx3.js → workspace-vh8m22te.js} +46 -46
  241. package/dist/chunks/{shell-0pkbjn6r.js → workspace-vmjwh0y2.js} +24 -24
  242. package/dist/chunks/{shell-yxfce51e.js → workspace-vt4mzp30.js} +18 -18
  243. package/dist/chunks/{shell-e9pvhpj1.js → workspace-vxpjwrg1.js} +33 -33
  244. package/dist/chunks/{shell-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{shell-m3ncy77r.js → workspace-w12rp218.js} +6 -6
  246. package/dist/chunks/{shell-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{shell-wx9wy1qm.js → workspace-w79zsp0s.js} +1 -1
  248. package/dist/chunks/{shell-zr0pwyem.js → workspace-wb6pntek.js} +16 -16
  249. package/dist/chunks/{shell-wd87259q.js → workspace-wd87259q.js} +1 -1
  250. package/dist/chunks/{shell-jygyrd66.js → workspace-wdby5any.js} +4 -4
  251. package/dist/chunks/{shell-tx48azwr.js → workspace-we7qc7n1.js} +35 -35
  252. package/dist/chunks/{shell-dmvjrdjg.js → workspace-wgdttpnq.js} +15 -15
  253. package/dist/chunks/{shell-fv6yey1z.js → workspace-wgnb6efq.js} +10 -10
  254. package/dist/chunks/{shell-y03df9yv.js → workspace-wjycmk11.js} +7 -7
  255. package/dist/chunks/{shell-dsst23xf.js → workspace-wpm2rk0p.js} +8 -8
  256. package/dist/chunks/{shell-f0hazdnn.js → workspace-wsg88bk6.js} +76 -76
  257. package/dist/chunks/{shell-7yef7cvy.js → workspace-wtcjs487.js} +11 -11
  258. package/dist/chunks/{shell-gccfn8rw.js → workspace-x0tn6qwv.js} +26 -26
  259. package/dist/chunks/{shell-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{shell-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
  261. package/dist/chunks/{shell-fccy21eq.js → workspace-xaz800th.js} +25 -25
  262. package/dist/chunks/{shell-6hh53734.js → workspace-xekzrwwc.js} +9 -9
  263. package/dist/chunks/{shell-r9babyk8.js → workspace-xep7y6dg.js} +1 -1
  264. package/dist/chunks/{shell-x6cmkhdm.js → workspace-xgp3syj5.js} +4 -4
  265. package/dist/chunks/{shell-2tjgwr1s.js → workspace-xgy598e9.js} +35 -35
  266. package/dist/chunks/{shell-7z6sde0c.js → workspace-xn9fr5jd.js} +26 -26
  267. package/dist/chunks/{shell-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{shell-t0gs96tb.js → workspace-y3wj6ntt.js} +11 -11
  269. package/dist/chunks/{shell-fpq9acqp.js → workspace-y5j69yad.js} +6 -6
  270. package/dist/chunks/{shell-dpkg50ah.js → workspace-y71avatq.js} +4 -4
  271. package/dist/chunks/{shell-ftdj6rwn.js → workspace-y8pp3er9.js} +20 -20
  272. package/dist/chunks/{shell-r4am0p4d.js → workspace-ypfgjb30.js} +22 -22
  273. package/dist/chunks/{shell-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{shell-yrznvahk.js → workspace-yrznvahk.js} +2 -2
  275. package/dist/chunks/{shell-zxegzph2.js → workspace-ys0mtxyj.js} +23 -23
  276. package/dist/chunks/{shell-t8jgb82e.js → workspace-ys6344d6.js} +11 -11
  277. package/dist/chunks/{shell-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{shell-z63w68vq.js → workspace-z63w68vq.js} +2 -2
  279. package/dist/chunks/{shell-2a9rpc71.js → workspace-z72x676g.js} +82 -82
  280. package/dist/chunks/{shell-yy1a830f.js → workspace-zbcg40zh.js} +11 -11
  281. package/dist/chunks/{shell-gv1gd9by.js → workspace-ze0f0baa.js} +25 -25
  282. package/dist/chunks/{shell-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{shell-v03gdzqm.js → workspace-zg6etqwm.js} +20 -20
  284. package/dist/chunks/{shell-2qfg8d7s.js → workspace-zgshgwpw.js} +16 -16
  285. package/dist/chunks/{shell-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{shell-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +81 -81
  291. package/dist/config/discovery.js +79 -79
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +115 -115
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +134 -134
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +113 -113
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +115 -115
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +64 -64
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +74 -74
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +88 -88
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +90 -90
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +68 -68
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +89 -89
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +222 -222
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +99 -99
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +93 -93
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +3 -3
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +79 -79
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +84 -84
  457. package/dist/job.js +75 -75
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +125 -125
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +81 -81
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +84 -84
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +103 -103
  467. package/dist/mcp/instructions.js +118 -118
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +3 -3
  472. package/dist/model-resolver.js +86 -86
  473. package/dist/model.js +8 -8
  474. package/dist/models-dev.js +86 -86
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +76 -76
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +104 -104
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +97 -97
  485. package/dist/plugin/command.js +94 -94
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +80 -80
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +72 -72
  534. package/dist/plugin/service.js +1 -1
  535. package/dist/plugin/skill.js +131 -131
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +83 -83
  553. package/dist/provider.js +7 -7
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +88 -88
  558. package/dist/reference/instructions.js +82 -82
  559. package/dist/reference.js +86 -86
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +93 -93
  564. package/dist/rpc.js +81 -81
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +127 -127
  568. package/dist/session/context.js +145 -145
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +213 -213
  573. package/dist/session/execution.js +122 -122
  574. package/dist/session/generate.js +148 -148
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +88 -88
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +77 -77
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +113 -113
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +126 -126
  586. package/dist/session/projector.js +84 -84
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +225 -225
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +110 -110
  597. package/dist/session/runner/step.js +121 -121
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +71 -71
  605. package/dist/session/store.js +81 -81
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +205 -205
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +151 -151
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +212 -212
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +213 -213
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +9 -9
  618. package/dist/shell.js +133 -133
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +100 -100
  621. package/dist/skill.js +107 -107
  622. package/dist/snapshot.js +86 -86
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +121 -121
  627. package/dist/tool/plugin/edit.js +115 -115
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +118 -118
  630. package/dist/tool/plugin/grep.js +120 -120
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +98 -98
  634. package/dist/tool/plugin/read.js +119 -119
  635. package/dist/tool/plugin/shell.js +210 -210
  636. package/dist/tool/plugin/skill.js +106 -106
  637. package/dist/tool/plugin/subagent.js +214 -214
  638. package/dist/tool/plugin/webfetch.js +103 -103
  639. package/dist/tool/plugin/websearch.js +107 -107
  640. package/dist/tool/plugin/write.js +117 -117
  641. package/dist/tool/read-filesystem.js +96 -96
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +1 -1
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +5 -5
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +80 -80
  673. package/dist/wellknown/plugin.js +74 -74
  674. package/dist/wellknown.js +77 -77
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +78 -78
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +89 -89
  683. package/package.json +8 -8
  684. package/dist/chunks/shell-9cbfsecp.js +0 -247
  685. package/dist/chunks/shell-ya8xe20p.js +0 -22
  686. /package/dist/chunks/{shell-0mesazry.js → workspace-0mesazry.js} +0 -0
  687. /package/dist/chunks/{shell-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{shell-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{shell-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{shell-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{shell-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{shell-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{shell-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{shell-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{shell-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{shell-3asan66x.js → workspace-3asan66x.js} +0 -0
  697. /package/dist/chunks/{shell-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{shell-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{shell-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{shell-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{shell-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{shell-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{shell-53557ph1.js → workspace-53557ph1.js} +0 -0
  704. /package/dist/chunks/{shell-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{shell-6prwharc.js → workspace-6prwharc.js} +0 -0
  706. /package/dist/chunks/{shell-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{shell-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{shell-822emrt2.js → workspace-822emrt2.js} +0 -0
  709. /package/dist/chunks/{shell-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  710. /package/dist/chunks/{shell-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  711. /package/dist/chunks/{shell-922hggd3.js → workspace-922hggd3.js} +0 -0
  712. /package/dist/chunks/{shell-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  713. /package/dist/chunks/{shell-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  714. /package/dist/chunks/{shell-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
  715. /package/dist/chunks/{shell-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{shell-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{shell-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{shell-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{shell-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{shell-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{shell-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{shell-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{shell-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{shell-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{shell-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{shell-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{shell-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{shell-df08tz66.js → workspace-df08tz66.js} +0 -0
  729. /package/dist/chunks/{shell-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{shell-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{shell-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{shell-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{shell-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{shell-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{shell-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{shell-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{shell-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{shell-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{shell-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{shell-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{shell-g86h250q.js → workspace-g86h250q.js} +0 -0
  742. /package/dist/chunks/{shell-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{shell-gftt206x.js → workspace-gftt206x.js} +0 -0
  744. /package/dist/chunks/{shell-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{shell-hk9envan.js → workspace-hk9envan.js} +0 -0
  746. /package/dist/chunks/{shell-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
  747. /package/dist/chunks/{shell-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{shell-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{shell-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{shell-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{shell-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{shell-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{shell-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{shell-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{shell-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{shell-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{shell-paphc93g.js → workspace-paphc93g.js} +0 -0
  758. /package/dist/chunks/{shell-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{shell-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{shell-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{shell-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{shell-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{shell-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{shell-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{shell-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{shell-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  767. /package/dist/chunks/{shell-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{shell-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  769. /package/dist/chunks/{shell-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{shell-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{shell-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{shell-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{shell-x61499pn.js → workspace-x61499pn.js} +0 -0
  774. /package/dist/chunks/{shell-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{shell-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{shell-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{shell-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{shell-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service51
3
- } from "./shell-qw53xxyx.js";
2
+ Service59
3
+ } from "./workspace-bcatesge.js";
4
4
  import {
5
- Service12
6
- } from "./shell-t0x5rdq8.js";
5
+ Service8
6
+ } from "./workspace-twy35tz0.js";
7
7
  import {
8
8
  observe2
9
- } from "./shell-qsdy395h.js";
9
+ } from "./workspace-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./shell-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher = {};
16
- __export(exports_location_watcher, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin4
15
+ var exports_location_watcher2 = {};
16
+ __export(exports_location_watcher2, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
+ Plugin: () => Plugin8
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin4 = define({
22
+ var Plugin8 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service51;
26
- const policy = yield* Service12;
25
+ const config = yield* Service59;
26
+ const policy = yield* Service8;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin4 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin4, exports_location_watcher };
38
+ export { Plugin8, exports_location_watcher2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./shell-6msgmcgs.js";
3
+ } from "./workspace-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./shell-8p4f9s12.js";
6
+ } from "./workspace-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node80
7
- } from "./shell-x940zq77.js";
6
+ node83
7
+ } from "./workspace-jefma2gq.js";
8
8
  import {
9
- ID16
10
- } from "./shell-y5mrfvw4.js";
9
+ ID18
10
+ } from "./workspace-81swgkk7.js";
11
11
  import {
12
12
  Slug2
13
- } from "./shell-gebd4c9n.js";
13
+ } from "./workspace-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./shell-hx84msds.js";
17
+ } from "./workspace-f99k44yv.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./shell-z0kp0xfc.js";
21
+ } from "./workspace-g22wb2pz.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./shell-8p4f9s12.js";
24
+ } from "./workspace-8p4f9s12.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./shell-cfpkc3c9.js";
27
+ } from "./workspace-cfpkc3c9.js";
28
28
  import {
29
- Service74,
30
- node78
31
- } from "./shell-b6rw8h1c.js";
29
+ Service76,
30
+ node81
31
+ } from "./workspace-c09967vq.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
34
  canonical2
35
- } from "./shell-gv6a8nnw.js";
35
+ } from "./workspace-gv6a8nnw.js";
36
36
  import {
37
- make16
38
- } from "./shell-b97hqjkq.js";
37
+ make12
38
+ } from "./workspace-fyjrpq2n.js";
39
39
  import {
40
40
  create3
41
- } from "./shell-kg06axw8.js";
41
+ } from "./workspace-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./shell-9rqn6x4v.js";
44
+ } from "./workspace-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event12,
53
- Info: () => Info20,
52
+ Event: () => Event5,
53
+ Info: () => Info5,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service54,
60
+ Service: () => Service20,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node59
66
+ node: () => node24
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info20 = Worktree.Info;
85
+ var Info5 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
89
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
90
90
  }
91
91
 
92
92
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event12 = Worktree.Event;
103
+ var Event5 = Worktree.Event;
104
104
 
105
- class Service54 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service20 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service54, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
111
111
  const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service74;
113
+ const location = yield* Service76;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make16;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event12.Updated, { projectID });
138
+ yield* bus.publish(Event5.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
259
259
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
260
260
  return changes;
261
261
  });
262
- return Service54.of({
262
+ return Service20.of({
263
263
  transform: state.transform,
264
264
  reload: state.reload,
265
265
  list: Effect.fn("Worktree.list")(function* () {
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
271
271
  refresh
272
272
  });
273
273
  }));
274
- var node59 = makeLocationNode({
275
- service: Service54,
274
+ var node24 = makeLocationNode({
275
+ service: Service20,
276
276
  layer,
277
- deps: [FSUtil.node, node80, node84, node85, AppProcess.node, node78, Global.node]
277
+ deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
278
278
  });
279
279
  function operationError(strategy, operation, error) {
280
280
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
284
284
  });
285
285
  }
286
286
 
287
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info20, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event12, Service54, node59, exports_worktree2, OperationError2 };
287
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service20, node24, exports_worktree2, OperationError2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./shell-88xbtdfr.js";
3
+ } from "./workspace-88xbtdfr.js";
4
4
  import {
5
5
  load2
6
- } from "./shell-paphc93g.js";
6
+ } from "./workspace-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event10,
14
+ Event: () => Event13,
15
15
  Native: () => Native3,
16
16
  Options: () => Options9,
17
- Service: () => Service52,
17
+ Service: () => Service60,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer19,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node57,
25
+ node: () => node64,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -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 Event10 = { Updated: FileSystem.Event.Changed };
36
+ var Event13 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load2());
@@ -57,14 +57,14 @@ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service52 extends Context.Service()("@opencode/Watcher") {
60
+ class Service60 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer19 = (options) => Layer.effect(Service52, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service60, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service60.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 layer19 = (options) => Layer.effect(Service52, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service52.of({ subscribe });
108
+ return Service60.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(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service52).subscribe,
134
+ subscribe: Context.get(context, Service60).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(Service52, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service60, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured9(options) {
168
- return makeGlobalNode({ service: Service52, layer: layer19(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service60, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node57 = configured9();
170
+ var node64 = configured9();
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 { Event10, hasNativeBinding2, Native3, Options9, Service52, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured9, node57, exports_watcher };
190
+ export { Event13, hasNativeBinding2, Native3, Options9, Service60, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node64, exports_watcher };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./shell-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info19,
12
+ Info: () => Info18,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info19 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info19, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin42
9
+ Plugin: () => Plugin39
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin42 = define({
14
+ var Plugin39 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin42 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin42, exports_mcp_codemode_exclusion };
37
+ export { Plugin39, exports_mcp_codemode_exclusion };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./shell-922hggd3.js";
4
+ } from "./workspace-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./shell-q19p4fn9.js";
7
+ } from "./workspace-j7wq2tw5.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID18,
2
+ ID10,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./shell-m27pyyd3.js";
5
+ } from "./workspace-63c29q5z.js";
6
6
  import {
7
- ID17
8
- } from "./shell-1awm1f41.js";
7
+ ID9
8
+ } from "./workspace-hs7fbk9e.js";
9
9
  import {
10
10
  Service79
11
- } from "./shell-z0kp0xfc.js";
11
+ } from "./workspace-g22wb2pz.js";
12
12
  import {
13
13
  OAuth3,
14
- Event17
15
- } from "./shell-5ayyaxsv.js";
14
+ Event14
15
+ } from "./workspace-bm3b3xby.js";
16
16
  import {
17
- ID7,
17
+ ID4,
18
18
  MethodID2
19
- } from "./shell-7jw46hp1.js";
19
+ } from "./workspace-rn192n82.js";
20
20
  import {
21
- Service63
22
- } from "./shell-fccy21eq.js";
21
+ Service45
22
+ } from "./workspace-xaz800th.js";
23
23
  import {
24
24
  get2
25
- } from "./shell-a08t2777.js";
25
+ } from "./workspace-k2v8w9sh.js";
26
26
  import {
27
27
  useragent2
28
- } from "./shell-t8jgb82e.js";
28
+ } from "./workspace-ys6344d6.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: ID7.make("github-copilot"),
60
+ integrationID: ID4.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* Service63;
158
+ const catalog = yield* Service45;
159
159
  const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID18.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID10.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID10.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
176
  try: () => get2(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
@@ -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(ID18.githubCopilot);
190
+ const item = evt.provider.get(ID10.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(ID17.make(id)))
195
+ if (!loaded.models.has(ID9.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(ID17.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID17.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID9.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID9.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(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.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 !== ID18.githubCopilot)
220
+ if (evt.model.providerID !== ID10.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 !== ID18.githubCopilot)
229
+ if (evt.model.providerID !== ID10.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: ID18.githubCopilot });
239
+ }), { providerID: ID10.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID18.githubCopilot)
241
+ if (evt.model.providerID !== ID10.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: ID18.githubCopilot });
249
+ }), { providerID: ID10.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID18.githubCopilot)
251
+ if (evt.model.providerID !== ID10.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);
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./workspace-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: () => Service5,
9
+ Service: () => Service11,
10
10
  bound: () => bound2,
11
- node: () => node7
11
+ node: () => node14
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service11 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node7 = makeLocationNode({
19
- service: Service5,
18
+ var node14 = makeLocationNode({
19
+ service: Service11,
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(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service11, Service11.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node7, bound2, exports_instance2 };
32
+ export { Service11, node14, bound2, exports_instance2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./shell-h9gpzc29.js";
3
+ } from "./workspace-e21tmfke.js";
4
4
  import {
5
5
  lazy2
6
- } from "./shell-88xbtdfr.js";
6
+ } from "./workspace-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./shell-y1fvbwt7.js";
9
+ } from "./workspace-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./shell-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./shell-ec1grn59.js";
3
+ } from "./workspace-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./shell-x6cmkhdm.js";
6
+ } from "./workspace-xgp3syj5.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make9,
16
+ make: () => make6,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
96
96
  return true;
97
97
  })
98
98
  });
99
- var make9 = (bus, sessionID) => Effect.gen(function* () {
99
+ var make6 = (bus, sessionID) => Effect.gen(function* () {
100
100
  const decide = yield* policy2(sessionID);
101
101
  const wait = (input) => Effect.gen(function* () {
102
102
  const scheduled = yield* Clock.currentTimeMillis;
@@ -113,4 +113,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
113
113
  return { decide, wait };
114
114
  });
115
115
 
116
- export { isRetryable2, policy2, transient2, make9, exports_retry };
116
+ export { isRetryable2, policy2, transient2, make6, exports_retry };