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

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/{wellknown-t1gyex3t.js → shell-00xsej0j.js} +11 -11
  9. package/dist/chunks/{wellknown-e5xbyv4k.js → shell-05w1n024.js} +3 -3
  10. package/dist/chunks/{wellknown-0hpxrkyb.js → shell-0hpxrkyb.js} +2 -2
  11. package/dist/chunks/{wellknown-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{wellknown-x8epn3eh.js → shell-0pkbjn6r.js} +27 -27
  13. package/dist/chunks/{wellknown-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{wellknown-5b5zdayx.js → shell-0rjzv2qt.js} +15 -15
  15. package/dist/chunks/{wellknown-0v53mg2y.js → shell-0v53mg2y.js} +1 -1
  16. package/dist/chunks/{wellknown-y8t89g2h.js → shell-0v877kr8.js} +5 -5
  17. package/dist/chunks/{wellknown-yb0rz80c.js → shell-10d00zpt.js} +26 -26
  18. package/dist/chunks/{wellknown-tregh9zc.js → shell-138zhwcg.js} +2 -2
  19. package/dist/chunks/{wellknown-ec8389mk.js → shell-18e56dsp.js} +4 -4
  20. package/dist/chunks/{wellknown-5ba826g4.js → shell-18fyhaqr.js} +31 -31
  21. package/dist/chunks/{wellknown-80e0yyk8.js → shell-1awm1f41.js} +12 -12
  22. package/dist/chunks/{wellknown-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{wellknown-w10k0mk6.js → shell-20qr1f9s.js} +18 -18
  24. package/dist/chunks/{wellknown-21r38tys.js → shell-21r38tys.js} +1 -1
  25. package/dist/chunks/{wellknown-2402vzrj.js → shell-2402vzrj.js} +1 -1
  26. package/dist/chunks/{wellknown-4w8b7heb.js → shell-25m32m9c.js} +21 -21
  27. package/dist/chunks/{wellknown-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{wellknown-4kftbr8z.js → shell-2a9rpc71.js} +80 -80
  29. package/dist/chunks/{wellknown-w6jjpet8.js → shell-2ehqxkpw.js} +18 -18
  30. package/dist/chunks/{wellknown-zfdfzxrp.js → shell-2hhhp258.js} +17 -17
  31. package/dist/chunks/{wellknown-7dqw4kz8.js → shell-2k8khapm.js} +5 -5
  32. package/dist/chunks/{wellknown-ej8cxv4b.js → shell-2qab6ga2.js} +11 -11
  33. package/dist/chunks/{wellknown-92ceydex.js → shell-2qfg8d7s.js} +13 -13
  34. package/dist/chunks/{wellknown-gkzab4dd.js → shell-2tjgwr1s.js} +35 -35
  35. package/dist/chunks/{wellknown-751bb1qn.js → shell-2vc21b52.js} +6 -6
  36. package/dist/chunks/{wellknown-98b7kxpa.js → shell-3a20re4p.js} +14 -14
  37. package/dist/chunks/{wellknown-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{wellknown-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{wellknown-k3htwn63.js → shell-3m73xpkh.js} +30 -30
  40. package/dist/chunks/{wellknown-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{wellknown-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{wellknown-345aazev.js → shell-41kyjx1y.js} +6 -6
  43. package/dist/chunks/{wellknown-a4exdnt3.js → shell-43k15f45.js} +4 -4
  44. package/dist/chunks/{wellknown-m8vs919j.js → shell-4b7zwk5x.js} +16 -16
  45. package/dist/chunks/{wellknown-xtxsez35.js → shell-54jgwn9b.js} +12 -12
  46. package/dist/chunks/{wellknown-56gdpj1q.js → shell-56gdpj1q.js} +2 -2
  47. package/dist/chunks/{wellknown-dhnpxtn3.js → shell-56v372ka.js} +22 -22
  48. package/dist/chunks/{wellknown-kdpy9gz7.js → shell-5ayyaxsv.js} +24 -24
  49. package/dist/chunks/{wellknown-5daktx2q.js → shell-5daktx2q.js} +1 -1
  50. package/dist/chunks/{wellknown-h5nf0wwg.js → shell-5f9fjpvd.js} +17 -17
  51. package/dist/chunks/{wellknown-tsra1adq.js → shell-5nkpcfwc.js} +20 -20
  52. package/dist/chunks/{wellknown-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{wellknown-1vsftg9k.js → shell-618mw38d.js} +9 -9
  54. package/dist/chunks/{wellknown-kj3rejfq.js → shell-63w78ebd.js} +42 -42
  55. package/dist/chunks/{wellknown-669tq793.js → shell-669tq793.js} +1 -1
  56. package/dist/chunks/{wellknown-jsf83ghp.js → shell-6d22mmhm.js} +8 -8
  57. package/dist/chunks/{wellknown-fvanntqq.js → shell-6ersrjne.js} +4 -4
  58. package/dist/chunks/{wellknown-6wfwqt87.js → shell-6fpr2q13.js} +7 -7
  59. package/dist/chunks/{wellknown-xekzrwwc.js → shell-6hh53734.js} +9 -9
  60. package/dist/chunks/{wellknown-djyr913s.js → shell-6k2bypnf.js} +20 -20
  61. package/dist/chunks/{wellknown-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{wellknown-8cw9e3y8.js → shell-706y5kzp.js} +19 -19
  63. package/dist/chunks/{wellknown-q17z9dx8.js → shell-70y17xeh.js} +5 -5
  64. package/dist/chunks/{wellknown-71q4at8m.js → shell-71q4at8m.js} +1 -1
  65. package/dist/chunks/{wellknown-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{wellknown-0f9afca0.js → shell-7gvwkz6m.js} +5 -5
  67. package/dist/chunks/{wellknown-t5t85r32.js → shell-7jw46hp1.js} +24 -24
  68. package/dist/chunks/{wellknown-vy22dxga.js → shell-7tc1bkdm.js} +22 -22
  69. package/dist/chunks/{wellknown-arnmqd59.js → shell-7y1qfq25.js} +1 -1
  70. package/dist/chunks/{wellknown-1t0hsb5v.js → shell-7yef7cvy.js} +11 -11
  71. package/dist/chunks/{wellknown-vxyf8mmv.js → shell-7z6sde0c.js} +26 -26
  72. package/dist/chunks/{wellknown-pcax7nge.js → shell-83nz3y93.js} +10 -10
  73. package/dist/chunks/{wellknown-frfc3m7z.js → shell-89216gat.js} +8 -8
  74. package/dist/chunks/{wellknown-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{wellknown-2az4qg4k.js → shell-8ed5dapv.js} +9 -9
  76. package/dist/chunks/{wellknown-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  77. package/dist/chunks/{wellknown-1cxh2yq8.js → shell-8pmkjsch.js} +15 -15
  78. package/dist/chunks/{wellknown-jy16bfac.js → shell-96yt6zt0.js} +1 -1
  79. package/dist/chunks/{wellknown-6xzgjakr.js → shell-97wsckqb.js} +17 -17
  80. package/dist/chunks/{wellknown-kvmv1fep.js → shell-994aemam.js} +22 -22
  81. package/dist/chunks/shell-9cbfsecp.js +247 -0
  82. package/dist/chunks/{wellknown-7png34pd.js → shell-9f3htfzg.js} +11 -11
  83. package/dist/chunks/{wellknown-j7hxrhe3.js → shell-9rh7p80v.js} +27 -27
  84. package/dist/chunks/{wellknown-rhvgj8e6.js → shell-9se2kd1x.js} +20 -20
  85. package/dist/chunks/{wellknown-gdcxaw8d.js → shell-9y2ew1rf.js} +32 -32
  86. package/dist/chunks/{wellknown-2g4a82s9.js → shell-a08t2777.js} +17 -17
  87. package/dist/chunks/{wellknown-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  88. package/dist/chunks/{wellknown-zc3bbtev.js → shell-a76t9a7s.js} +7 -7
  89. package/dist/chunks/{wellknown-aaet6srn.js → shell-aaet6srn.js} +2 -2
  90. package/dist/chunks/{wellknown-h9t3yg4c.js → shell-amyzqp92.js} +4 -4
  91. package/dist/chunks/{wellknown-th16xtyn.js → shell-aptkcqzk.js} +32 -32
  92. package/dist/chunks/{wellknown-r5ba5pd1.js → shell-aqxxzgb1.js} +9 -9
  93. package/dist/chunks/{wellknown-qg0c46zd.js → shell-b0qfk3e8.js} +15 -15
  94. package/dist/chunks/{wellknown-1vf609rd.js → shell-b22s170t.js} +20 -20
  95. package/dist/chunks/{wellknown-8zm39b8n.js → shell-b4jn3br6.js} +17 -17
  96. package/dist/chunks/{wellknown-5ekz0yty.js → shell-b57s6jwk.js} +35 -35
  97. package/dist/chunks/{wellknown-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{wellknown-4f40xxt9.js → shell-b6rw8h1c.js} +17 -17
  99. package/dist/chunks/{wellknown-fpv6qd1b.js → shell-b97hqjkq.js} +8 -8
  100. package/dist/chunks/{wellknown-g477egy3.js → shell-bc9tah8j.js} +8 -8
  101. package/dist/chunks/{wellknown-qnxyes55.js → shell-bcn7gkrj.js} +6 -6
  102. package/dist/chunks/{wellknown-ztc1je1k.js → shell-bhct745e.js} +15 -15
  103. package/dist/chunks/{wellknown-83q352bh.js → shell-bx7eg4z0.js} +50 -50
  104. package/dist/chunks/{wellknown-eg7325wb.js → shell-c4tw6aft.js} +22 -22
  105. package/dist/chunks/{wellknown-j7ashrwe.js → shell-c8zh40b9.js} +41 -41
  106. package/dist/chunks/{wellknown-7s9yv6nr.js → shell-c902c3h9.js} +19 -19
  107. package/dist/chunks/{wellknown-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  108. package/dist/chunks/{wellknown-844ef7ks.js → shell-cmwkp3r5.js} +4 -4
  109. package/dist/chunks/{wellknown-92sryvry.js → shell-cpk6j284.js} +9 -9
  110. package/dist/chunks/{wellknown-cq37gk0t.js → shell-cq37gk0t.js} +4 -4
  111. package/dist/chunks/{wellknown-pchvxq4t.js → shell-cxmnv656.js} +4 -4
  112. package/dist/chunks/{wellknown-hsbjamnz.js → shell-d21bwxkq.js} +33 -33
  113. package/dist/chunks/{wellknown-q8p9236r.js → shell-desah413.js} +21 -21
  114. package/dist/chunks/{wellknown-3w2b2yj4.js → shell-dj9sq318.js} +5 -5
  115. package/dist/chunks/{wellknown-b0yc1cc1.js → shell-dkkztdya.js} +15 -15
  116. package/dist/chunks/{wellknown-rt56ea7r.js → shell-dmvjrdjg.js} +15 -15
  117. package/dist/chunks/{wellknown-y71avatq.js → shell-dpkg50ah.js} +4 -4
  118. package/dist/chunks/{wellknown-htjw9qza.js → shell-dsst23xf.js} +8 -8
  119. package/dist/chunks/{wellknown-afdssyjb.js → shell-e2hjzebn.js} +4 -4
  120. package/dist/chunks/{wellknown-f7na88a3.js → shell-e42zg7c9.js} +19 -19
  121. package/dist/chunks/{wellknown-s9c35a17.js → shell-e7szzkhd.js} +7 -7
  122. package/dist/chunks/{wellknown-cf5npnpn.js → shell-e9pvhpj1.js} +32 -32
  123. package/dist/chunks/{wellknown-f1qeq853.js → shell-ejnnja69.js} +5 -5
  124. package/dist/chunks/{wellknown-dy1s2zwt.js → shell-ek4n1jkk.js} +3 -3
  125. package/dist/chunks/{wellknown-vwjrxgyb.js → shell-emmyw7mw.js} +62 -62
  126. package/dist/chunks/{wellknown-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{wellknown-qek8dtx8.js → shell-ewxvpahx.js} +7 -7
  128. package/dist/chunks/{wellknown-dnwf0qct.js → shell-f0hazdnn.js} +80 -80
  129. package/dist/chunks/{wellknown-f828m53h.js → shell-f828m53h.js} +2 -2
  130. package/dist/chunks/{wellknown-f9bavhm2.js → shell-f8q7mv7a.js} +1 -1
  131. package/dist/chunks/{wellknown-94sf61n7.js → shell-fad7jthp.js} +5 -5
  132. package/dist/chunks/{wellknown-cx9z24qy.js → shell-fccy21eq.js} +25 -25
  133. package/dist/chunks/{wellknown-qmr73083.js → shell-fgh0kbhd.js} +1 -1
  134. package/dist/chunks/{wellknown-kb2g279d.js → shell-fkwrhsf7.js} +15 -15
  135. package/dist/chunks/{wellknown-ebah8r6x.js → shell-fpq9acqp.js} +6 -6
  136. package/dist/chunks/{wellknown-kby4yt7g.js → shell-fr8908f4.js} +16 -16
  137. package/dist/chunks/{wellknown-d8ag70r5.js → shell-ftdj6rwn.js} +18 -18
  138. package/dist/chunks/{wellknown-rkbmpfe2.js → shell-fv6yey1z.js} +10 -10
  139. package/dist/chunks/{wellknown-jwx4y25k.js → shell-fwwk8vbp.js} +9 -9
  140. package/dist/chunks/{wellknown-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{wellknown-18cztcj7.js → shell-fygdb7h7.js} +3 -3
  142. package/dist/chunks/{wellknown-pshw0dya.js → shell-g3nea3nn.js} +30 -30
  143. package/dist/chunks/{wellknown-vhzmfeej.js → shell-gccfn8rw.js} +24 -24
  144. package/dist/chunks/{wellknown-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{wellknown-zerdtc7d.js → shell-gj9xpvv3.js} +2 -2
  146. package/dist/chunks/{wellknown-hv7kxmpp.js → shell-gq0a9pv7.js} +13 -13
  147. package/dist/chunks/{wellknown-599k2402.js → shell-gv1gd9by.js} +25 -25
  148. package/dist/chunks/{wellknown-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{wellknown-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{wellknown-h2r7bbkd.js → shell-h2r7bbkd.js} +3 -3
  151. package/dist/chunks/{wellknown-f4xmay09.js → shell-h6kmz9yd.js} +162 -162
  152. package/dist/chunks/{wellknown-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{wellknown-1smgb78j.js → shell-h9gpzc29.js} +15 -15
  154. package/dist/chunks/{wellknown-qfeftde1.js → shell-h9y0se6r.js} +10 -10
  155. package/dist/chunks/{wellknown-5wwtptpe.js → shell-hb21382w.js} +4 -4
  156. package/dist/chunks/{wellknown-6erqqgaw.js → shell-hteb4sy5.js} +11 -11
  157. package/dist/chunks/{wellknown-1a8afdf1.js → shell-hvy5aax6.js} +13 -13
  158. package/dist/chunks/{wellknown-ajq9kf1a.js → shell-hx84msds.js} +3 -3
  159. package/dist/chunks/{wellknown-s9cync3p.js → shell-hz8qtd9r.js} +26 -26
  160. package/dist/chunks/{wellknown-r5x6zcsm.js → shell-j028xdjb.js} +3 -3
  161. package/dist/chunks/{wellknown-j56e64zr.js → shell-j56e64zr.js} +1 -1
  162. package/dist/chunks/{wellknown-yrntw0wa.js → shell-jap5vfbs.js} +10 -10
  163. package/dist/chunks/{wellknown-zrnwyp6v.js → shell-jh9n7czd.js} +15 -15
  164. package/dist/chunks/{wellknown-5aveev3e.js → shell-jm9tsfw3.js} +5 -5
  165. package/dist/chunks/{wellknown-301ntmw9.js → shell-jr1myxr3.js} +24 -24
  166. package/dist/chunks/{wellknown-jj63jgrn.js → shell-js0rm7nb.js} +8 -8
  167. package/dist/chunks/{wellknown-0r7yqxbf.js → shell-jv01nqvq.js} +5 -5
  168. package/dist/chunks/{wellknown-5hjhdcrb.js → shell-jw31rss3.js} +28 -28
  169. package/dist/chunks/{wellknown-jw80jp6b.js → shell-jw80jp6b.js} +1 -1
  170. package/dist/chunks/{wellknown-ebc7h8jh.js → shell-jygyrd66.js} +4 -4
  171. package/dist/chunks/{wellknown-sg5j0v43.js → shell-jzban73a.js} +23 -23
  172. package/dist/chunks/{wellknown-v8ch97zc.js → shell-k16ay38w.js} +1 -1
  173. package/dist/chunks/{wellknown-0jfqnnd8.js → shell-k1qcad96.js} +36 -36
  174. package/dist/chunks/{wellknown-r5yb3bmp.js → shell-ke6544fm.js} +35 -35
  175. package/dist/chunks/{wellknown-kg06axw8.js → shell-kg06axw8.js} +1 -1
  176. package/dist/chunks/{wellknown-5jtdmvnp.js → shell-ksz0h0wp.js} +1 -1
  177. package/dist/chunks/{wellknown-6d5ab3w3.js → shell-ktqk9wm9.js} +12 -12
  178. package/dist/chunks/{wellknown-rh8sysy4.js → shell-ky97rf12.js} +10 -10
  179. package/dist/chunks/{wellknown-2wj8n25z.js → shell-kzr6x06e.js} +6 -6
  180. package/dist/chunks/{wellknown-2d6j2h4j.js → shell-m27pyyd3.js} +6 -6
  181. package/dist/chunks/{wellknown-nf8nzb7g.js → shell-m3ncy77r.js} +3 -3
  182. package/dist/chunks/{wellknown-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{wellknown-mkcjrzeh.js → shell-mkcjrzeh.js} +1 -1
  184. package/dist/chunks/{wellknown-r0pa45k4.js → shell-mrd03y1j.js} +9 -9
  185. package/dist/chunks/{wellknown-jxak35yf.js → shell-n2cfwsx3.js} +46 -46
  186. package/dist/chunks/{wellknown-sv9bpgvh.js → shell-n76fdqym.js} +5 -5
  187. package/dist/chunks/{wellknown-hjt4xg1x.js → shell-nhy5jxhy.js} +4 -4
  188. package/dist/chunks/{wellknown-tn1q108x.js → shell-p2cyn4p5.js} +280 -280
  189. package/dist/chunks/{wellknown-433mxpjr.js → shell-p422xgpw.js} +37 -37
  190. package/dist/chunks/{wellknown-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{wellknown-pknna89w.js → shell-pknna89w.js} +1 -1
  192. package/dist/chunks/{wellknown-pcf161yc.js → shell-pmmw8deh.js} +53 -53
  193. package/dist/chunks/{wellknown-k7ezg90w.js → shell-pqqxfvch.js} +11 -11
  194. package/dist/chunks/{wellknown-xczywpe1.js → shell-ptwhs400.js} +25 -25
  195. package/dist/chunks/{wellknown-7wdjtyr9.js → shell-q19p4fn9.js} +3 -3
  196. package/dist/chunks/{wellknown-pwzt2dd6.js → shell-q59nfae1.js} +21 -21
  197. package/dist/chunks/{wellknown-ryr25ayn.js → shell-qa3qhgw8.js} +4 -4
  198. package/dist/chunks/{wellknown-1m53f3h1.js → shell-qag0q529.js} +16 -16
  199. package/dist/chunks/{wellknown-5gbkaz4t.js → shell-qc6f3j7a.js} +5 -5
  200. package/dist/chunks/{wellknown-t3jrbyxp.js → shell-qka0hr3t.js} +5 -5
  201. package/dist/chunks/{wellknown-yesww6qn.js → shell-qrgq40sn.js} +9 -9
  202. package/dist/chunks/{wellknown-qsdy395h.js → shell-qsdy395h.js} +1 -1
  203. package/dist/chunks/{wellknown-p8kqgwd3.js → shell-qw53xxyx.js} +39 -39
  204. package/dist/chunks/{wellknown-bbcn74nn.js → shell-r0z2gdxb.js} +8 -8
  205. package/dist/chunks/{wellknown-0rzpb8gt.js → shell-r19qme2h.js} +8 -8
  206. package/dist/chunks/{wellknown-k5nzfyaf.js → shell-r4am0p4d.js} +19 -19
  207. package/dist/chunks/{wellknown-kckbw66n.js → shell-r80v4heq.js} +9 -9
  208. package/dist/chunks/{wellknown-r8xr0va3.js → shell-r8xr0va3.js} +1 -1
  209. package/dist/chunks/{wellknown-31dz7cp4.js → shell-r9babyk8.js} +1 -1
  210. package/dist/chunks/shell-rap9a73h.js +18 -0
  211. package/dist/chunks/{wellknown-v69q3rne.js → shell-rg4s5c95.js} +21 -21
  212. package/dist/chunks/{wellknown-rhjbct0v.js → shell-rhjbct0v.js} +1 -1
  213. package/dist/chunks/{wellknown-7kwy8a22.js → shell-rpsff8a5.js} +6 -6
  214. package/dist/chunks/{wellknown-06dxphr1.js → shell-rsdf2nvv.js} +4 -4
  215. package/dist/chunks/{wellknown-qm7jrdpz.js → shell-rtathh62.js} +8 -8
  216. package/dist/chunks/{wellknown-ag9w6e5n.js → shell-s79t7y84.js} +6 -6
  217. package/dist/chunks/{wellknown-97648kyg.js → shell-sd7yc29c.js} +11 -11
  218. package/dist/chunks/{wellknown-gtp0d19d.js → shell-sn3acatt.js} +13 -13
  219. package/dist/chunks/{wellknown-vxwzppst.js → shell-srpeewqc.js} +9 -9
  220. package/dist/chunks/{wellknown-x4qbn06s.js → shell-swc0pkqs.js} +9 -9
  221. package/dist/chunks/{wellknown-0w219v1z.js → shell-t0gs96tb.js} +11 -11
  222. package/dist/chunks/{wellknown-t0x5rdq8.js → shell-t0x5rdq8.js} +2 -2
  223. package/dist/chunks/{wellknown-rvyy05ds.js → shell-t8jgb82e.js} +11 -11
  224. package/dist/chunks/{wellknown-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{wellknown-wxgaszs1.js → shell-tcaz1bq6.js} +16 -16
  226. package/dist/chunks/{wellknown-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{wellknown-tdstcens.js → shell-tdstcens.js} +1 -1
  228. package/dist/chunks/{wellknown-eg418mx6.js → shell-tettmk12.js} +14 -14
  229. package/dist/chunks/{wellknown-qr27hz8v.js → shell-tfngb0ww.js} +4 -4
  230. package/dist/chunks/{wellknown-h1p5fdzw.js → shell-tmf5q148.js} +7 -7
  231. package/dist/chunks/{wellknown-9ppkv52n.js → shell-tvs8yzpc.js} +8 -8
  232. package/dist/chunks/{wellknown-tvtrv512.js → shell-tvtrv512.js} +1 -1
  233. package/dist/chunks/{wellknown-6cpxxfqb.js → shell-tx48azwr.js} +33 -33
  234. package/dist/chunks/{wellknown-81a28jj9.js → shell-v03gdzqm.js} +20 -20
  235. package/dist/chunks/{wellknown-g8j92q4r.js → shell-v4wpewe9.js} +24 -24
  236. package/dist/chunks/{wellknown-kwvvtnkq.js → shell-va26gyj7.js} +38 -38
  237. package/dist/chunks/{wellknown-5g4j5yqq.js → shell-ve0vypz6.js} +18 -18
  238. package/dist/chunks/{wellknown-veqvce7d.js → shell-veqvce7d.js} +1 -1
  239. package/dist/chunks/{wellknown-vbt1q5qz.js → shell-vmhtgab3.js} +14 -14
  240. package/dist/chunks/{wellknown-1w8g4bq4.js → shell-vsqc0n3y.js} +12 -12
  241. package/dist/chunks/{wellknown-jc5jqykq.js → shell-vvqxd921.js} +6 -6
  242. package/dist/chunks/{wellknown-vyqn3nqs.js → shell-vyqn3nqs.js} +1 -1
  243. package/dist/chunks/{wellknown-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{wellknown-3vt47zmq.js → shell-vzepkry7.js} +17 -17
  245. package/dist/chunks/{wellknown-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{wellknown-0gyadjkj.js → shell-w4t3nk4h.js} +36 -36
  247. package/dist/chunks/{wellknown-wd87259q.js → shell-wd87259q.js} +1 -1
  248. package/dist/chunks/{wellknown-dqyrj80g.js → shell-wqak0vb9.js} +23 -23
  249. package/dist/chunks/{wellknown-d50f2zf5.js → shell-wx9wy1qm.js} +1 -1
  250. package/dist/chunks/{wellknown-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  251. package/dist/chunks/{wellknown-1e8nxva5.js → shell-x270dfa1.js} +14 -14
  252. package/dist/chunks/{wellknown-x43y2vfs.js → shell-x43y2vfs.js} +2 -2
  253. package/dist/chunks/{wellknown-0fey9sjf.js → shell-x6cmkhdm.js} +4 -4
  254. package/dist/chunks/{wellknown-6d8w2zge.js → shell-x6n2md0c.js} +4 -4
  255. package/dist/chunks/{wellknown-13adgrn5.js → shell-x7cz8gr1.js} +22 -22
  256. package/dist/chunks/{wellknown-nbddwgy7.js → shell-x940zq77.js} +10 -10
  257. package/dist/chunks/{wellknown-j15mxnwj.js → shell-xdh3xy78.js} +6 -6
  258. package/dist/chunks/{wellknown-r47paza8.js → shell-xdpfkwez.js} +38 -38
  259. package/dist/chunks/{wellknown-jn3vahqd.js → shell-xmkt8jmy.js} +8 -8
  260. package/dist/chunks/{wellknown-6h4qwayx.js → shell-xn4a1s6b.js} +2 -2
  261. package/dist/chunks/{wellknown-86hz29wt.js → shell-y03df9yv.js} +7 -7
  262. package/dist/chunks/{wellknown-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{wellknown-9pebw04q.js → shell-y46htk8f.js} +32 -32
  264. package/dist/chunks/{wellknown-rsym84ch.js → shell-y5mrfvw4.js} +9 -9
  265. package/dist/chunks/{wellknown-b99r3qgs.js → shell-ya8xe20p.js} +10 -10
  266. package/dist/chunks/{wellknown-2gc4ne5c.js → shell-ygvd8b8c.js} +3 -3
  267. package/dist/chunks/{wellknown-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  268. package/dist/chunks/{wellknown-yrznvahk.js → shell-yrznvahk.js} +2 -2
  269. package/dist/chunks/{wellknown-vx52c60r.js → shell-yxfce51e.js} +14 -14
  270. package/dist/chunks/{wellknown-tjbnh4gx.js → shell-yy1a830f.js} +11 -11
  271. package/dist/chunks/{wellknown-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  272. package/dist/chunks/{wellknown-kbv6dgc6.js → shell-z0kp0xfc.js} +4 -4
  273. package/dist/chunks/{wellknown-z63w68vq.js → shell-z63w68vq.js} +2 -2
  274. package/dist/chunks/{wellknown-1ah30sey.js → shell-z69s9t6b.js} +5 -5
  275. package/dist/chunks/{wellknown-z9054wkr.js → shell-zakbxfw5.js} +20 -20
  276. package/dist/chunks/{wellknown-c8x8zcz1.js → shell-zcp935tq.js} +11 -11
  277. package/dist/chunks/{wellknown-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  278. package/dist/chunks/{wellknown-e0prvjnp.js → shell-zhxw6mnd.js} +2 -2
  279. package/dist/chunks/{wellknown-n0zn403d.js → shell-zj136r52.js} +20 -20
  280. package/dist/chunks/{wellknown-dhh9g715.js → shell-zjvxgrfz.js} +9 -9
  281. package/dist/chunks/{wellknown-qha4sez1.js → shell-zkhy8a1w.js} +10 -10
  282. package/dist/chunks/{wellknown-4wdpjckx.js → shell-zr0pwyem.js} +19 -19
  283. package/dist/chunks/{wellknown-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{wellknown-153kn5pz.js → shell-zw6cm767.js} +24 -24
  285. package/dist/chunks/{wellknown-gnwvvsrg.js → shell-zxegzph2.js} +21 -21
  286. package/dist/chunks/{wellknown-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +81 -81
  291. package/dist/config/discovery.js +77 -77
  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 +115 -115
  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 +79 -79
  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 +2 -2
  417. package/dist/filesystem/location-watcher.js +216 -216
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +93 -93
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +96 -96
  423. package/dist/form.js +78 -78
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +91 -91
  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 +7 -7
  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 +83 -83
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +84 -84
  457. package/dist/job.js +77 -77
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +67 -67
  460. package/dist/location-activity.js +128 -128
  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 +122 -122
  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 +7 -7
  472. package/dist/model-resolver.js +84 -84
  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 +74 -74
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +98 -98
  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 +82 -82
  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 +92 -92
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +3 -3
  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 +2 -2
  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 +78 -78
  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 +3 -3
  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 +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +4 -4
  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 +220 -220
  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 +5 -5
  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 +84 -84
  559. package/dist/reference.js +84 -84
  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 +91 -91
  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 +147 -147
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +216 -216
  573. package/dist/session/execution.js +124 -124
  574. package/dist/session/generate.js +146 -146
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +84 -84
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +75 -75
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +109 -109
  584. package/dist/session/model-transport.js +5 -5
  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 +1 -1
  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 +85 -85
  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 +209 -209
  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 +11 -11
  618. package/dist/shell.js +131 -131
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +100 -100
  621. package/dist/skill.js +105 -105
  622. package/dist/snapshot.js +88 -88
  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 +120 -120
  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 +100 -100
  634. package/dist/tool/plugin/read.js +121 -121
  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 +212 -212
  638. package/dist/tool/plugin/webfetch.js +105 -105
  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 +11 -11
  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 +3 -3
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +14 -14
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +1 -1
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +3 -3
  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 +1 -1
  664. package/dist/v1/config/plugin.js +3 -3
  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 +1 -1
  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 +82 -82
  673. package/dist/wellknown/plugin.js +72 -72
  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/wellknown-qc068m1q.js +0 -18
  685. package/dist/chunks/wellknown-vaf1ev04.js +0 -247
  686. /package/dist/chunks/{wellknown-0mesazry.js → shell-0mesazry.js} +0 -0
  687. /package/dist/chunks/{wellknown-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{wellknown-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{wellknown-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{wellknown-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{wellknown-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{wellknown-2710q6r3.js → shell-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{wellknown-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{wellknown-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{wellknown-359p4xyc.js → shell-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{wellknown-3asan66x.js → shell-3asan66x.js} +0 -0
  697. /package/dist/chunks/{wellknown-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{wellknown-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{wellknown-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{wellknown-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{wellknown-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{wellknown-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{wellknown-53557ph1.js → shell-53557ph1.js} +0 -0
  704. /package/dist/chunks/{wellknown-550bvhaj.js → shell-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{wellknown-6prwharc.js → shell-6prwharc.js} +0 -0
  706. /package/dist/chunks/{wellknown-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{wellknown-7m9af43g.js → shell-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{wellknown-822emrt2.js → shell-822emrt2.js} +0 -0
  709. /package/dist/chunks/{wellknown-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  710. /package/dist/chunks/{wellknown-8n3pysct.js → shell-8n3pysct.js} +0 -0
  711. /package/dist/chunks/{wellknown-922hggd3.js → shell-922hggd3.js} +0 -0
  712. /package/dist/chunks/{wellknown-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  713. /package/dist/chunks/{wellknown-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  714. /package/dist/chunks/{wellknown-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
  715. /package/dist/chunks/{wellknown-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{wellknown-af5trqkr.js → shell-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{wellknown-afrmfg78.js → shell-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{wellknown-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{wellknown-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{wellknown-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{wellknown-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{wellknown-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{wellknown-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{wellknown-d9fn303g.js → shell-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{wellknown-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{wellknown-dajrwvna.js → shell-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{wellknown-dap0rakb.js → shell-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{wellknown-df08tz66.js → shell-df08tz66.js} +0 -0
  729. /package/dist/chunks/{wellknown-dy18nga0.js → shell-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{wellknown-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{wellknown-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{wellknown-ec1grn59.js → shell-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{wellknown-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{wellknown-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{wellknown-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{wellknown-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{wellknown-faypxj3z.js → shell-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{wellknown-fd410y7t.js → shell-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{wellknown-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{wellknown-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{wellknown-g86h250q.js → shell-g86h250q.js} +0 -0
  742. /package/dist/chunks/{wellknown-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{wellknown-gftt206x.js → shell-gftt206x.js} +0 -0
  744. /package/dist/chunks/{wellknown-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{wellknown-hk9envan.js → shell-hk9envan.js} +0 -0
  746. /package/dist/chunks/{wellknown-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
  747. /package/dist/chunks/{wellknown-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{wellknown-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{wellknown-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{wellknown-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{wellknown-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{wellknown-mp448xyj.js → shell-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{wellknown-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{wellknown-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{wellknown-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{wellknown-njntx4h6.js → shell-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{wellknown-paphc93g.js → shell-paphc93g.js} +0 -0
  758. /package/dist/chunks/{wellknown-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{wellknown-q74kybfr.js → shell-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{wellknown-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{wellknown-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{wellknown-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{wellknown-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{wellknown-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{wellknown-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{wellknown-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  767. /package/dist/chunks/{wellknown-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{wellknown-twg0f83k.js → shell-twg0f83k.js} +0 -0
  769. /package/dist/chunks/{wellknown-w803qqfp.js → shell-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{wellknown-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{wellknown-wtztk69x.js → shell-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{wellknown-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{wellknown-x61499pn.js → shell-x61499pn.js} +0 -0
  774. /package/dist/chunks/{wellknown-y44na4kk.js → shell-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{wellknown-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{wellknown-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{wellknown-ym463w8f.js → shell-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{wellknown-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-kbv6dgc6.js";
4
+ } from "./shell-z0kp0xfc.js";
5
5
  import {
6
6
  create3
7
- } from "./wellknown-kg06axw8.js";
7
+ } from "./shell-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
@@ -15,10 +15,10 @@ __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
17
  Event: () => Event18,
18
- ID: () => ID12,
19
- Info: () => Info26,
18
+ ID: () => ID13,
19
+ Info: () => Info28,
20
20
  Name: () => Name3,
21
- Service: () => Service71,
21
+ Service: () => Service72,
22
22
  defaultID: () => defaultID2,
23
23
  node: () => node76
24
24
  });
@@ -30,15 +30,15 @@ import { Global } from "@opencode/util/global";
30
30
  import { Event as Event18 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID12 = Agent.ID;
33
+ var ID13 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID12.make("build");
35
+ var defaultID2 = ID13.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info26 = Agent.Info;
37
+ var Info28 = Agent.Info;
38
38
 
39
- class Service71 extends Context.Service()("@opencode/Agent") {
39
+ class Service72 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service71, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
42
42
  const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info26.default(id);
60
+ const defaults = Info28.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID12.make("build")));
82
+ const build = selectable(data.agents.get(ID13.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service71.of({
91
+ return Service72.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID12.make(id));
99
+ return state.get().agents.get(ID13.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID12.make(id);
104
+ const selected = ID13.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node76 = makeLocationNode({ service: Service71, layer, deps: [node84, Global.node] });
119
+ var node76 = makeLocationNode({ service: Service72, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID12, Name3, defaultID2, Color2, Info26, Service71, node76, exports_agent4, Event18 };
121
+ export { ID13, Name3, defaultID2, Color2, Info28, Service72, node76, exports_agent4, Event18 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-kbv6dgc6.js";
4
+ } from "./shell-z0kp0xfc.js";
5
5
  import {
6
6
  create3
7
- } from "./wellknown-kg06axw8.js";
7
+ } from "./shell-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event8,
16
+ Event: () => Event5,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info6,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service38,
21
- layer: () => layer17,
22
- node: () => node42
18
+ Info: () => Info5,
19
+ NotFoundError: () => NotFoundError4,
20
+ Service: () => Service35,
21
+ layer: () => layer15,
22
+ node: () => node39
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info6 = Command.Info;
27
+ import { Event as Event5 } from "@opencode/schema/command";
28
+ var Info5 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service38 extends Context.Service()("@opencode/Command") {
42
+ class Service35 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service38, Effect.gen(function* () {
44
+ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info6.make({
54
+ const info = (definition) => Info5.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service38.of({
58
+ return Service35.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node42 = makeLocationNode({
75
- service: Service38,
76
- layer: layer17,
74
+ var node39 = makeLocationNode({
75
+ service: Service35,
76
+ layer: layer15,
77
77
  deps: [node84]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info6, NotFoundError5, ExecutionError2, Service38, layer17, node42, exports_command4, Event8 };
89
+ export { Info5, NotFoundError4, ExecutionError2, Service35, layer15, node39, exports_command4, Event5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,54 +1,54 @@
1
1
  import {
2
- ID18,
3
- Info33,
2
+ ID11,
3
+ Info26,
4
4
  SessionSchema2
5
- } from "./wellknown-7wdjtyr9.js";
5
+ } from "./shell-q19p4fn9.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./wellknown-922hggd3.js";
8
+ } from "./shell-922hggd3.js";
9
9
  import {
10
10
  Service80,
11
11
  node85
12
- } from "./wellknown-ajq9kf1a.js";
12
+ } from "./shell-hx84msds.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service79,
16
16
  node84
17
- } from "./wellknown-kbv6dgc6.js";
17
+ } from "./shell-z0kp0xfc.js";
18
18
  import {
19
- Service76,
20
- node81
21
- } from "./wellknown-r47paza8.js";
19
+ Service75,
20
+ node79
21
+ } from "./shell-xdpfkwez.js";
22
22
  import {
23
- Service61,
24
- node66
25
- } from "./wellknown-ebah8r6x.js";
23
+ Service59,
24
+ node63
25
+ } from "./shell-fpq9acqp.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./wellknown-ec1grn59.js";
28
+ } from "./shell-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./wellknown-a1bz86dw.js";
31
+ } from "./shell-a1bz86dw.js";
32
32
  import {
33
- node65
34
- } from "./wellknown-6xzgjakr.js";
33
+ node61
34
+ } from "./shell-97wsckqb.js";
35
35
  import {
36
36
  current2
37
- } from "./wellknown-cq37gk0t.js";
37
+ } from "./shell-cq37gk0t.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./wellknown-dhh9g715.js";
40
+ } from "./shell-zjvxgrfz.js";
41
41
  import {
42
42
  Slug2
43
- } from "./wellknown-gebd4c9n.js";
43
+ } from "./shell-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node38
47
- } from "./wellknown-1m53f3h1.js";
46
+ node35
47
+ } from "./shell-qag0q529.js";
48
48
  import {
49
49
  Metadata2,
50
- node49
51
- } from "./wellknown-rvyy05ds.js";
50
+ node82
51
+ } from "./shell-t8jgb82e.js";
52
52
  import {
53
53
  NotFoundError8,
54
54
  MessageNotFoundError2,
@@ -64,50 +64,50 @@ import {
64
64
  BusyError2,
65
65
  InboxConflictError2,
66
66
  SkillNotFoundError2
67
- } from "./wellknown-nf8nzb7g.js";
67
+ } from "./shell-m3ncy77r.js";
68
68
  import {
69
- ListInput4,
70
- Service65,
71
- node70
72
- } from "./wellknown-eg418mx6.js";
69
+ ListInput5,
70
+ Service67,
71
+ node71
72
+ } from "./shell-tettmk12.js";
73
73
  import {
74
- Service72,
75
- node77
76
- } from "./wellknown-98b7kxpa.js";
74
+ Service61,
75
+ node65
76
+ } from "./shell-3a20re4p.js";
77
77
  import {
78
- Service57,
79
- node63
80
- } from "./wellknown-0jfqnnd8.js";
78
+ Service55,
79
+ node60
80
+ } from "./shell-k1qcad96.js";
81
81
  import {
82
82
  llmClient2
83
- } from "./wellknown-5t3nmthw.js";
83
+ } from "./shell-5t3nmthw.js";
84
84
  import {
85
85
  Service32,
86
- node36
87
- } from "./wellknown-94sf61n7.js";
86
+ node37
87
+ } from "./shell-fad7jthp.js";
88
88
  import {
89
89
  generate3
90
- } from "./wellknown-1w8g4bq4.js";
90
+ } from "./shell-vsqc0n3y.js";
91
91
  import {
92
92
  execute2
93
- } from "./wellknown-9ppkv52n.js";
93
+ } from "./shell-tvs8yzpc.js";
94
94
  import {
95
95
  DestinationNotFoundError2,
96
96
  DestinationNotDirectoryError2,
97
97
  DestinationUnavailableError2,
98
- Service33,
99
- node37
100
- } from "./wellknown-pcf161yc.js";
98
+ Service30,
99
+ node34
100
+ } from "./shell-pmmw8deh.js";
101
101
  import {
102
- Service49,
103
- node54
104
- } from "./wellknown-g477egy3.js";
102
+ Service46,
103
+ node50
104
+ } from "./shell-bc9tah8j.js";
105
105
  import {
106
- make14
107
- } from "./wellknown-5ba826g4.js";
106
+ make12
107
+ } from "./shell-18fyhaqr.js";
108
108
  import {
109
109
  __export
110
- } from "./wellknown-9rqn6x4v.js";
110
+ } from "./shell-9rqn6x4v.js";
111
111
 
112
112
  // src/session.ts
113
113
  var exports_session = {};
@@ -118,9 +118,9 @@ __export(exports_session, {
118
118
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
119
119
  DestinationNotFoundError: () => DestinationNotFoundError2,
120
120
  DestinationUnavailableError: () => DestinationUnavailableError2,
121
- ID: () => ID18,
121
+ ID: () => ID11,
122
122
  InboxConflictError: () => InboxConflictError2,
123
- Info: () => Info33,
123
+ Info: () => Info26,
124
124
  ListAnchor: () => ListAnchor2,
125
125
  ListInput: () => ListInput3,
126
126
  MessageDecodeError: () => MessageDecodeError2,
@@ -130,12 +130,12 @@ __export(exports_session, {
130
130
  MessageToolIncompleteError: () => MessageToolIncompleteError2,
131
131
  NotFoundError: () => NotFoundError8,
132
132
  PromptConflictError: () => PromptConflictError2,
133
- Service: () => Service25,
133
+ Service: () => Service22,
134
134
  Session: () => exports_session,
135
135
  SessionSchema: () => SessionSchema2,
136
136
  SkillNotFoundError: () => SkillNotFoundError2,
137
137
  SyntheticConflictError: () => SyntheticConflictError2,
138
- node: () => node29
138
+ node: () => node26
139
139
  });
140
140
  import { Effect, Layer, Schema, Context, Stream } from "effect";
141
141
  import { LLMClient } from "@opencode/ai";
@@ -145,26 +145,26 @@ import { Model } from "@opencode/schema/model";
145
145
  import path from "path";
146
146
  import { Node } from "@opencode/util/effect/app-node";
147
147
  import { FSUtil } from "@opencode/util/fs-util";
148
- var ListInput3 = ListInput4;
149
- class Service25 extends Context.Service()("@opencode/Session") {
148
+ var ListInput3 = ListInput5;
149
+ class Service22 extends Context.Service()("@opencode/Session") {
150
150
  }
151
- var layer = Layer.effect(Service25, Effect.gen(function* () {
151
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
152
152
  const app = yield* Metadata2;
153
153
  const database = yield* Service80;
154
154
  const db = database.db;
155
155
  const bus = yield* Service79;
156
- const projects = yield* Service76;
157
- const execution = yield* Service57;
156
+ const projects = yield* Service75;
157
+ const execution = yield* Service55;
158
158
  const llm = yield* LLMClient.Service;
159
159
  const transport = yield* Service32;
160
- const store = yield* Service65;
161
- const instances = yield* Service61;
162
- const moves = yield* Service33;
163
- const jobs = yield* Service72;
164
- const environments = yield* Service49;
165
- const sessions = yield* make14();
160
+ const store = yield* Service67;
161
+ const instances = yield* Service59;
162
+ const moves = yield* Service30;
163
+ const jobs = yield* Service61;
164
+ const environments = yield* Service46;
165
+ const sessions = yield* make12();
166
166
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
167
- const result = Service25.of({
167
+ const result = Service22.of({
168
168
  create: Effect.fn("Session.create")(function* (input) {
169
169
  const sessionID = input.id ?? SessionSchema2.ID.create();
170
170
  const recorded = yield* store.get(sessionID);
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
266
266
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
267
267
  generate: Effect.fn("Session.generate")(function* (input) {
268
268
  const session = yield* result.get(input.sessionID);
269
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
269
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
270
270
  }),
271
271
  command: Effect.fn("Session.command")(function* (input) {
272
272
  const session = yield* result.get(input.sessionID);
273
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service61, instances));
273
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service59, instances));
274
274
  }),
275
275
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
276
276
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
310
310
  });
311
311
  return result;
312
312
  }));
313
- var node29 = Node.makeGlobalNode({
314
- service: Service25,
313
+ var node26 = Node.makeGlobalNode({
314
+ service: Service22,
315
315
  layer,
316
316
  deps: [
317
- node77,
318
- node54,
317
+ node65,
318
+ node50,
319
319
  node85,
320
320
  node84,
321
- node81,
322
- node63,
323
- node36,
324
- llmClient2,
325
- node70,
326
- node66,
327
- node65,
321
+ node79,
322
+ node60,
328
323
  node37,
329
- node38,
324
+ llmClient2,
325
+ node71,
326
+ node63,
327
+ node61,
328
+ node34,
329
+ node35,
330
330
  FSUtil.node,
331
- node49
331
+ node82
332
332
  ]
333
333
  });
334
334
 
335
- export { ListAnchor2, ListInput3, Service25, node29, exports_session };
335
+ export { ListAnchor2, ListInput3, Service22, node26, exports_session };
@@ -1,27 +1,27 @@
1
1
  import {
2
- ID15,
2
+ ID18,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./wellknown-2d6j2h4j.js";
5
+ } from "./shell-m27pyyd3.js";
6
6
  import {
7
- ID14,
7
+ ID17,
8
8
  VariantID2,
9
- Info28,
9
+ Info32,
10
10
  compatibility2
11
- } from "./wellknown-80e0yyk8.js";
11
+ } from "./shell-1awm1f41.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./shell-9rqn6x4v.js";
15
15
 
16
16
  // src/modal/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- ModalModels: () => exports_models,
20
- get: () => get2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ ModalModels: () => exports_models2,
20
+ get: () => get3
21
21
  });
22
22
  import { Money } from "@opencode/schema/money";
23
23
  import { Option, Schema } from "effect";
24
- var providerID = ID15.make("modal");
24
+ var providerID = ID18.make("modal");
25
25
  var ReasoningOption = Schema.Struct({
26
26
  type: Schema.Literal("effort"),
27
27
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
53
53
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
54
54
  var decodeResponse = Schema.decodeUnknownSync(Response);
55
55
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
56
- async function get2(baseURL, apiKey, existing) {
56
+ async function get3(baseURL, apiKey, existing) {
57
57
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
69
69
  const templates = new Map(existing.map((model) => [model.id, model]));
70
70
  const result = new Map;
71
71
  for (const item of remote) {
72
- const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
- const id = ID14.make(item.id);
72
+ const template = templates.get(ID17.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
+ const id = ID17.make(item.id);
74
74
  result.set(id, build(id, item, baseURL, template));
75
75
  }
76
76
  return result;
@@ -88,10 +88,10 @@ function limit(value, fallback) {
88
88
  function build(id, remote, baseURL, previous) {
89
89
  const cost = previous?.cost[0];
90
90
  const input = previous?.limit.input;
91
- return Info28.make({
92
- ...Info28.default(providerID, id),
91
+ return Info32.make({
92
+ ...Info32.default(providerID, id),
93
93
  id,
94
- modelID: ID14.make(remote.id),
94
+ modelID: ID17.make(remote.id),
95
95
  providerID,
96
96
  name: remote.name ?? previous?.name ?? remote.id,
97
97
  family: previous?.family,
@@ -138,4 +138,4 @@ function variants(remote) {
138
138
  return [...seen.values()];
139
139
  }
140
140
 
141
- export { get2, exports_models };
141
+ export { get3, exports_models2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./wellknown-r47paza8.js";
6
+ } from "./shell-xdpfkwez.js";
7
7
  import {
8
- Service75,
9
- node80
10
- } from "./wellknown-4f40xxt9.js";
8
+ Service74,
9
+ node78
10
+ } from "./shell-b6rw8h1c.js";
11
11
  import {
12
- Service64,
12
+ Service65,
13
13
  node69
14
- } from "./wellknown-th16xtyn.js";
14
+ } from "./shell-aptkcqzk.js";
15
15
  import {
16
16
  __export
17
- } from "./wellknown-9rqn6x4v.js";
17
+ } from "./shell-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service20,
25
+ Service: () => Service16,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node23,
27
+ node: () => node19,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service20 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service16 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service20, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service75;
61
- const permission = yield* Service64;
60
+ const location = yield* Service74;
61
+ const permission = yield* Service65;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service20.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service16.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node23 = makeLocationNode({ service: Service20, layer, deps: [FSUtil.node, node80, node69] });
112
+ var node19 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node78, node69] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service20, resolvePath2, node23, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service16, resolvePath2, node19, exports_file_access };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options9,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options9, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };