@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,56 +1,56 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./shell-z0kp0xfc.js";
4
+ } from "./workspace-g22wb2pz.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./shell-2402vzrj.js";
11
+ } from "./workspace-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./shell-922hggd3.js";
14
+ } from "./workspace-922hggd3.js";
15
15
  import {
16
- Service43,
17
- node47
18
- } from "./shell-5f9fjpvd.js";
16
+ Service57,
17
+ node61
18
+ } from "./workspace-fqghg761.js";
19
19
  import {
20
20
  create3
21
- } from "./shell-kg06axw8.js";
21
+ } from "./workspace-kg06axw8.js";
22
22
  import {
23
23
  __export
24
- } from "./shell-9rqn6x4v.js";
24
+ } from "./workspace-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event9,
29
+ Event: () => Event11,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info11,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service42,
35
- Source: () => Source4,
36
- node: () => node46
34
+ Service: () => Service56,
35
+ Source: () => Source3,
36
+ node: () => node60
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event9 } from "@opencode/schema/reference";
42
+ import { Event as Event11 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source4 = Reference.Source;
46
- var Info7 = Reference.Info;
45
+ var Source3 = Reference.Source;
46
+ var Info11 = Reference.Info;
47
47
 
48
- class Service42 extends Context.Service()("@opencode/Reference") {
48
+ class Service56 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service42, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service79;
53
- const cache = yield* Service43;
53
+ const cache = yield* Service57;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
63
+ return [Info11.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info11.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service42.of({
107
+ return Service56.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node46 = makeLocationNode({
116
- service: Service42,
115
+ var node60 = makeLocationNode({
116
+ service: Service56,
117
117
  layer,
118
- deps: [Global.node, node84, node47]
118
+ deps: [Global.node, node84, node61]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info7, Service42, node46, exports_reference2, Event9 };
121
+ export { LocalSource2, GitSource2, Source3, Info11, Service56, node60, exports_reference2, Event11 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./shell-3w5fmr99.js";
4
+ } from "./workspace-3w5fmr99.js";
5
5
  import {
6
6
  __export
7
- } from "./shell-9rqn6x4v.js";
7
+ } from "./workspace-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info33
5
- } from "./shell-m27pyyd3.js";
4
+ Info24
5
+ } from "./workspace-63c29q5z.js";
6
6
  import {
7
- Info32
8
- } from "./shell-1awm1f41.js";
7
+ Info23
8
+ } from "./workspace-hs7fbk9e.js";
9
9
  import {
10
10
  Service79,
11
11
  node84
12
- } from "./shell-z0kp0xfc.js";
12
+ } from "./workspace-g22wb2pz.js";
13
13
  import {
14
14
  create3
15
- } from "./shell-kg06axw8.js";
15
+ } from "./workspace-kg06axw8.js";
16
16
  import {
17
- ID7,
18
- Service64,
19
- node68
20
- } from "./shell-7jw46hp1.js";
17
+ ID4,
18
+ Service46,
19
+ node50
20
+ } from "./workspace-rn192n82.js";
21
21
  import {
22
22
  __export
23
- } from "./shell-9rqn6x4v.js";
23
+ } from "./workspace-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event13,
30
- Service: () => Service63,
31
- node: () => node67
29
+ Event: () => Event7,
30
+ Service: () => Service45,
31
+ node: () => node49
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event13 } from "@opencode/schema/catalog";
36
+ import { Event as Event7 } from "@opencode/schema/catalog";
37
37
 
38
- class Service63 extends Context.Service()("@opencode/Catalog") {
38
+ class Service45 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service63, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service64;
42
+ const integrations = yield* Service46;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
72
72
  let current = editor.providers.get(providerID);
73
73
  if (!current) {
74
74
  current = {
75
- provider: Info33.empty(providerID),
75
+ provider: Info24.empty(providerID),
76
76
  models: new Map
77
77
  };
78
78
  editor.providers.set(providerID, current);
@@ -90,12 +90,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
90
90
  let record = editor.providers.get(providerID);
91
91
  if (!record) {
92
92
  record = {
93
- provider: Info33.empty(providerID),
93
+ provider: Info24.empty(providerID),
94
94
  models: new Map
95
95
  };
96
96
  editor.providers.set(providerID, record);
97
97
  }
98
- const model = record.models.get(modelID) ?? Info32.default(providerID, modelID);
98
+ const model = record.models.get(modelID) ?? Info23.default(providerID, modelID);
99
99
  if (!record.models.has(modelID))
100
100
  record.models.set(modelID, model);
101
101
  fn(model);
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
129
129
  }),
130
130
  available: Effect.fn("Catalog.provider.available")(function* () {
131
131
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
132
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID7.make(provider.id))));
132
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID4.make(provider.id))));
133
133
  })
134
134
  },
135
135
  model: {
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
184
184
  })
185
185
  }
186
186
  };
187
- return Service63.of(result);
187
+ return Service45.of(result);
188
188
  }));
189
189
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
190
- var node67 = makeLocationNode({ service: Service63, layer, deps: [node84, node68] });
190
+ var node49 = makeLocationNode({ service: Service45, layer, deps: [node84, node50] });
191
191
 
192
- export { Service63, node67, exports_catalog2, Event13 };
192
+ export { Service45, node49, exports_catalog2, Event7 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
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/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service3,
11
+ Service: () => Service7,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node5
13
+ node: () => node10
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service3 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service3, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service3.of({
66
+ return Service7.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node5 = makeGlobalNode({ service: Service3, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node10 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service3, node5, exports_discovery };
155
+ export { Service7, node10, exports_discovery };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./shell-m27pyyd3.js";
4
+ } from "./workspace-63c29q5z.js";
5
5
 
6
6
  // src/plugin/provider/zenmux.ts
7
7
  import { Effect } from "effect";
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./shell-m3ncy77r.js";
5
+ } from "./workspace-w12rp218.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./shell-aptkcqzk.js";
8
+ } from "./workspace-q80jwr34.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./shell-7jw46hp1.js";
11
+ } from "./workspace-rn192n82.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -16,7 +16,7 @@ import {
16
16
  UnsupportedPackageError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./shell-zcp935tq.js";
19
+ } from "./workspace-n0g6fzce.js";
20
20
 
21
21
  // src/session/to-session-error.ts
22
22
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./shell-2a5m3afh.js";
3
+ } from "./workspace-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./shell-922hggd3.js";
6
+ } from "./workspace-922hggd3.js";
7
7
  import {
8
- Service74
9
- } from "./shell-b6rw8h1c.js";
8
+ Service76
9
+ } from "./workspace-c09967vq.js";
10
10
  import {
11
- Service48
12
- } from "./shell-jr1myxr3.js";
11
+ Service74
12
+ } from "./workspace-09vseg8s.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service15
16
- } from "./shell-yxfce51e.js";
15
+ Service73
16
+ } from "./workspace-vt4mzp30.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry2,
21
+ Entry4,
22
22
  Match2
23
- } from "./shell-rg4s5c95.js";
23
+ } from "./workspace-512qfn16.js";
24
24
  import {
25
25
  Service65
26
- } from "./shell-aptkcqzk.js";
26
+ } from "./workspace-q80jwr34.js";
27
27
  import {
28
- Service16
29
- } from "./shell-2hhhp258.js";
28
+ Service14
29
+ } from "./workspace-6a1qkqw7.js";
30
30
  import {
31
31
  __export
32
- } from "./shell-9rqn6x4v.js";
32
+ } from "./workspace-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input7,
39
- Output: () => Output4,
40
- Plugin: () => Plugin25,
41
- name: () => name7,
42
- toModelContent: () => toModelContent4
38
+ Input: () => Input11,
39
+ Output: () => Output8,
40
+ Plugin: () => Plugin29,
41
+ name: () => name11,
42
+ toModelContent: () => toModelContent6
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name7 = "grep";
48
- var Input7 = Schema.Struct({
47
+ var name11 = "grep";
48
+ var Input11 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input7 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output4 = Schema.Array(Match2);
69
- var toModelContent4 = (matches, truncated = false) => {
68
+ var Output8 = Schema.Array(Match2);
69
+ var toModelContent6 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin25 = {
86
+ var Plugin29 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service48;
90
- const ripgrep = yield* Service15;
91
- const location = yield* Service74;
92
- const access = yield* Service16;
89
+ const environment = yield* Service74;
90
+ const ripgrep = yield* Service73;
91
+ const location = yield* Service76;
92
+ const access = yield* Service14;
93
93
  const permission = yield* Service65;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name7,
95
+ name: name11,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input7,
99
- output: Output4,
98
+ input: Input11,
99
+ output: Output8,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name7,
105
+ action: name11,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin25 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry2.make({
139
+ entry: Entry4.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin25 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent4(result.matches.map((match) => ({
147
+ content: toModelContent6(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin25 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name7, Input7, Output4, toModelContent4, Plugin25, exports_grep };
157
+ export { name11, Input11, Output8, toModelContent6, Plugin29, exports_grep };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./shell-hx84msds.js";
4
+ } from "./workspace-f99k44yv.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./shell-dpkg50ah.js";
7
+ } from "./workspace-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node54
12
- } from "./shell-dsst23xf.js";
11
+ node80
12
+ } from "./workspace-wpm2rk0p.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./shell-faypxj3z.js";
15
+ } from "./workspace-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./workspace-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID6,
25
- Info: () => Info9,
24
+ ID: () => ID16,
25
+ Info: () => Info30,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service49,
27
+ Service: () => Service75,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured6,
30
- node: () => node53
29
+ configured: () => configured11,
30
+ node: () => node79
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID6 = Workspace.ID;
38
+ var ID16 = Workspace.ID;
39
39
 
40
- class Info9 extends Schema.Class("Workspace.Info")({
41
- id: ID6,
40
+ class Info30 extends Schema.Class("Workspace.Info")({
41
+ id: ID16,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info9 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID6,
53
+ workspaceID: ID16,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service49 extends Context.Service()("@opencode/Workspace") {
59
+ class Service75 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured6 = (options = {}) => makeGlobalNode({
62
- service: Service49,
61
+ var configured11 = (options = {}) => makeGlobalNode({
62
+ service: Service75,
63
63
  layer: layer(options),
64
- deps: [node85, node54]
64
+ deps: [node85, node80]
65
65
  });
66
- var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info9({
83
+ const info = (row, binding) => new Info30({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service49.of({
157
+ return Service75.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID6.create();
159
+ const workspaceID = input.id ?? ID16.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node53 = configured6();
224
+ var node79 = configured11();
225
225
 
226
- export { ID6, Info9, NotFound3, CreateConflict2, Service49, configured6, node53, exports_workspace };
226
+ export { ID16, Info30, NotFound3, CreateConflict2, Service75, configured11, node79, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service51
4
- } from "./shell-qw53xxyx.js";
3
+ Service59
4
+ } from "./workspace-bcatesge.js";
5
5
  import {
6
- Service47
7
- } from "./shell-54jgwn9b.js";
6
+ Service55
7
+ } from "./workspace-9jdakqgh.js";
8
8
  import {
9
9
  observe2
10
- } from "./shell-qsdy395h.js";
10
+ } from "./workspace-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin3
19
+ Plugin: () => Plugin4
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin3 = define({
23
+ var Plugin4 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service51;
27
- const output = yield* Service47;
26
+ const config = yield* Service59;
27
+ const output = yield* Service55;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin3 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin3, exports_tool_output };
41
+ export { Plugin4, exports_tool_output };