@opencode/core 2.2.1 → 2.2.2

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 (869) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +91 -88
  3. package/dist/aisdk-native.js +101 -98
  4. package/dist/aisdk.js +107 -104
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +83 -80
  7. package/dist/chunks/{credential-sh6m4nea.js → session-014m13nx.js} +18 -18
  8. package/dist/chunks/{credential-034tev2y.js → session-034tev2y.js} +2 -2
  9. package/dist/chunks/{credential-dkxwsr1g.js → session-04e5fydp.js} +1 -1
  10. package/dist/chunks/{credential-pybyazwk.js → session-0b3avwgb.js} +9 -9
  11. package/dist/chunks/{credential-p755an0a.js → session-0h3385jp.js} +3 -2
  12. package/dist/chunks/{credential-nycpe6mm.js → session-0jkhv5fd.js} +32 -32
  13. package/dist/chunks/{credential-8s8ht7fz.js → session-0k31egm0.js} +4 -4
  14. package/dist/chunks/{credential-v1jfr34d.js → session-0n8a0ffz.js} +6 -6
  15. package/dist/chunks/{credential-j71pyjxy.js → session-0rn5673z.js} +8 -8
  16. package/dist/chunks/session-0s6ncdyq.js +26 -0
  17. package/dist/chunks/{credential-93e1rsjq.js → session-0xedkqrk.js} +17 -17
  18. package/dist/chunks/{credential-y8rhj72b.js → session-0yyf9pa6.js} +12 -12
  19. package/dist/chunks/{credential-np3cybhk.js → session-107zh63q.js} +3 -3
  20. package/dist/chunks/{credential-tc4qgq7j.js → session-1347qshx.js} +11 -11
  21. package/dist/chunks/{credential-b2dk96k1.js → session-14bt511q.js} +64 -25
  22. package/dist/chunks/{credential-491m2zwm.js → session-1a21k8vn.js} +11 -11
  23. package/dist/chunks/{credential-xpryanwe.js → session-1c1q46gq.js} +43 -43
  24. package/dist/chunks/{credential-1ep2p91f.js → session-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{credential-etcm32bf.js → session-1g08w5qk.js} +278 -69
  26. package/dist/chunks/{credential-n3gyxhch.js → session-1ga2wj5n.js} +28 -28
  27. package/dist/chunks/session-1kah00gy.js +13 -0
  28. package/dist/chunks/{credential-xt0z8zst.js → session-1kn6jdkn.js} +4 -4
  29. package/dist/chunks/{credential-44wjxh8g.js → session-1m6jkbyv.js} +11 -11
  30. package/dist/chunks/{credential-mpsc7bv4.js → session-1p2sk048.js} +11 -11
  31. package/dist/chunks/{credential-1x2knyw4.js → session-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{credential-204s3925.js → session-204s3925.js} +1 -1
  33. package/dist/chunks/{credential-zfad7fba.js → session-214k5kca.js} +73 -73
  34. package/dist/chunks/session-25h84942.js +17 -0
  35. package/dist/chunks/{credential-e71x36jh.js → session-29e51n1b.js} +14 -14
  36. package/dist/chunks/{credential-4czk4k18.js → session-2bg8s655.js} +39 -39
  37. package/dist/chunks/{credential-0hgyyj2f.js → session-2ekes0ek.js} +13 -13
  38. package/dist/chunks/{credential-dcgwasx3.js → session-2fxvvp3e.js} +28 -28
  39. package/dist/chunks/{credential-9axz1114.js → session-2kg89srt.js} +4 -4
  40. package/dist/chunks/session-2tfsq0e5.js +222 -0
  41. package/dist/chunks/{credential-yv7s2sp4.js → session-2vpr0s80.js} +3 -3
  42. package/dist/chunks/{credential-hqxkkta1.js → session-2zp5a6yg.js} +3 -3
  43. package/dist/chunks/{credential-v55n1npn.js → session-306wmwj5.js} +30 -30
  44. package/dist/chunks/{credential-qyh39dz8.js → session-3d1dxbz0.js} +5 -5
  45. package/dist/chunks/{credential-v8h33378.js → session-3fm477c7.js} +3 -3
  46. package/dist/chunks/{credential-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{credential-3nnrz6f6.js → session-3nnrz6f6.js} +1 -1
  48. package/dist/chunks/{credential-nm4377q9.js → session-3ntfh06s.js} +8 -8
  49. package/dist/chunks/{credential-e14rv8n7.js → session-3z1690bs.js} +45 -45
  50. package/dist/chunks/{credential-40za9wsf.js → session-40za9wsf.js} +2 -2
  51. package/dist/chunks/{credential-6qh3pn8d.js → session-42qtrm15.js} +25 -25
  52. package/dist/chunks/{credential-gx1r7nq1.js → session-4bev3xhy.js} +12 -12
  53. package/dist/chunks/{credential-v3n3vpwq.js → session-4cyw8nx1.js} +28 -28
  54. package/dist/chunks/{credential-3sf9fkhp.js → session-4p4bzch3.js} +3 -3
  55. package/dist/chunks/{credential-4pyp9zr9.js → session-4pyp9zr9.js} +1 -1
  56. package/dist/chunks/{credential-4v008n1t.js → session-4v008n1t.js} +1 -1
  57. package/dist/chunks/{credential-p1njj0by.js → session-4w3brme9.js} +9 -9
  58. package/dist/chunks/{credential-gfk2zkvt.js → session-4x23c0v6.js} +22 -22
  59. package/dist/chunks/{credential-mpewzr3m.js → session-511h5e8a.js} +42 -42
  60. package/dist/chunks/{credential-qxpk38rz.js → session-5ac4cxmk.js} +10 -10
  61. package/dist/chunks/{credential-h0gszfyz.js → session-5aytyrt3.js} +11 -11
  62. package/dist/chunks/{credential-5m9w47nd.js → session-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{credential-sar30ebp.js → session-5q32avkb.js} +21 -21
  64. package/dist/chunks/{credential-tchg2t0x.js → session-5sh8dy76.js} +24 -24
  65. package/dist/chunks/{credential-nr0dnw6m.js → session-5svmm7fm.js} +16 -5
  66. package/dist/chunks/{credential-2d25yes2.js → session-5v99ekdb.js} +19 -19
  67. package/dist/chunks/{credential-wp68tbf9.js → session-5w1z1d8q.js} +50 -50
  68. package/dist/chunks/{credential-zdn46m04.js → session-6cahmqzr.js} +7 -7
  69. package/dist/chunks/{credential-6esdw8yj.js → session-6esdw8yj.js} +1 -1
  70. package/dist/chunks/{credential-qvbj290y.js → session-6hy9r9dj.js} +8 -8
  71. package/dist/chunks/{credential-bsefsz8j.js → session-6hybw9g3.js} +5 -5
  72. package/dist/chunks/{credential-nmw1n2a0.js → session-6k3pn0ym.js} +21 -21
  73. package/dist/chunks/{credential-xj3m7ras.js → session-6kff7ze5.js} +19 -19
  74. package/dist/chunks/{credential-pqqhbn30.js → session-6kj7g8xp.js} +27 -27
  75. package/dist/chunks/{credential-xkrp785j.js → session-6kxp06hb.js} +7 -7
  76. package/dist/chunks/{credential-p1pcd2wf.js → session-6zwd6715.js} +13 -13
  77. package/dist/chunks/{credential-kyzgttvd.js → session-74sxx59s.js} +9 -9
  78. package/dist/chunks/{credential-76cb1hcw.js → session-76cb1hcw.js} +1 -1
  79. package/dist/chunks/{credential-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{credential-agqd6nxz.js → session-7sdtxe0n.js} +4 -4
  81. package/dist/chunks/{credential-1jakw16s.js → session-7stb81gk.js} +2 -1
  82. package/dist/chunks/{credential-mg801ykt.js → session-7svxnz6h.js} +15 -15
  83. package/dist/chunks/{credential-qbfny989.js → session-7tt92bnf.js} +23 -23
  84. package/dist/chunks/{credential-7w2ypzdf.js → session-7w2ypzdf.js} +1 -1
  85. package/dist/chunks/{credential-fneb0zf4.js → session-83bdf6kd.js} +50 -50
  86. package/dist/chunks/{credential-n3tfvvbp.js → session-83y1ztr9.js} +2 -2
  87. package/dist/chunks/{credential-v4mmdv09.js → session-84041qcw.js} +26 -26
  88. package/dist/chunks/{credential-9f8nz412.js → session-8gej5d5g.js} +32 -32
  89. package/dist/chunks/{credential-8jztxfpf.js → session-8jztxfpf.js} +1 -1
  90. package/dist/chunks/{credential-303mq5q0.js → session-8p2jpvs0.js} +39 -27
  91. package/dist/chunks/{credential-14f8gty7.js → session-8wqqaqzt.js} +4 -4
  92. package/dist/chunks/{credential-8wtp7s3z.js → session-8wtp7s3z.js} +1 -1
  93. package/dist/chunks/{credential-90zstvax.js → session-90zstvax.js} +1 -1
  94. package/dist/chunks/{credential-ghrzdqqx.js → session-994b2pxg.js} +5 -5
  95. package/dist/chunks/{credential-6te9kxba.js → session-99awmhkb.js} +12 -12
  96. package/dist/chunks/{credential-9z9tayqc.js → session-9f3sjfep.js} +9 -9
  97. package/dist/chunks/{credential-q8djhvnf.js → session-9y9v7zvr.js} +38 -38
  98. package/dist/chunks/{credential-9d99svmd.js → session-a1vq38jw.js} +5 -5
  99. package/dist/chunks/{credential-cth8y227.js → session-a3r0se63.js} +8 -8
  100. package/dist/chunks/{credential-tqnhxgm9.js → session-a4zme8rz.js} +29 -29
  101. package/dist/chunks/{credential-jyeaxm3w.js → session-afm1mqfd.js} +22 -22
  102. package/dist/chunks/{credential-dkj2h5cm.js → session-ajs99hkw.js} +12 -12
  103. package/dist/chunks/{credential-1hayz8ad.js → session-apc99ahs.js} +21 -21
  104. package/dist/chunks/{credential-7dyk5r5p.js → session-aq8fvkrh.js} +17 -17
  105. package/dist/chunks/{credential-3kdbrncp.js → session-avgzkss2.js} +5 -5
  106. package/dist/chunks/{credential-ayjs7tqn.js → session-ayjs7tqn.js} +2 -2
  107. package/dist/chunks/{credential-65m06x48.js → session-b3vf0bc4.js} +9 -9
  108. package/dist/chunks/{credential-b6x8f3en.js → session-b5z3fqjc.js} +16 -16
  109. package/dist/chunks/{credential-b6vsg801.js → session-b6vsg801.js} +2 -2
  110. package/dist/chunks/{credential-wa091f1c.js → session-ba56jx13.js} +44 -44
  111. package/dist/chunks/{credential-539dw32x.js → session-btnkw9ag.js} +4 -4
  112. package/dist/chunks/{credential-4hn0zw0c.js → session-c0j43jcq.js} +17 -17
  113. package/dist/chunks/{credential-br0kkpnn.js → session-c6x7d2ts.js} +7 -7
  114. package/dist/chunks/{credential-hw81h15x.js → session-cbvv2732.js} +19 -19
  115. package/dist/chunks/{credential-a81capfc.js → session-cf4j1xxh.js} +11 -11
  116. package/dist/chunks/{credential-0gmzdafk.js → session-cp0d67wz.js} +37 -37
  117. package/dist/chunks/{credential-zxfqvegw.js → session-csjqfz54.js} +7 -7
  118. package/dist/chunks/{credential-cwrgdav8.js → session-cwrgdav8.js} +2 -2
  119. package/dist/chunks/{credential-0hy252xp.js → session-cxzp2bsp.js} +21 -21
  120. package/dist/chunks/{credential-a7vdyqvq.js → session-d0zcdp69.js} +13 -13
  121. package/dist/chunks/{credential-ssfehs1z.js → session-d2887f8n.js} +4 -4
  122. package/dist/chunks/{credential-d4v9tmah.js → session-d4v9tmah.js} +2 -2
  123. package/dist/chunks/{credential-d77dj7jw.js → session-d77dj7jw.js} +1 -1
  124. package/dist/chunks/{credential-wmzrz68n.js → session-d7htzk6m.js} +4 -4
  125. package/dist/chunks/{credential-gx98ktag.js → session-ddp1c6wr.js} +18 -18
  126. package/dist/chunks/{credential-12dezc3d.js → session-dh8t6pa0.js} +23 -23
  127. package/dist/chunks/{credential-82nhjx58.js → session-dp6am7n6.js} +2 -2
  128. package/dist/chunks/{credential-dt77769w.js → session-dt77769w.js} +1 -1
  129. package/dist/chunks/{credential-q91aphyp.js → session-dwpz7zn0.js} +3 -3
  130. package/dist/chunks/{credential-zhyc4r0c.js → session-e2e8g6me.js} +11 -11
  131. package/dist/chunks/{credential-sv6qbdb8.js → session-e3me9f8n.js} +38 -38
  132. package/dist/chunks/{credential-e834z07m.js → session-e834z07m.js} +1 -1
  133. package/dist/chunks/{credential-dajrwvna.js → session-ean2d8b5.js} +1 -1
  134. package/dist/chunks/{credential-yap2aqf7.js → session-epet3xcy.js} +40 -40
  135. package/dist/chunks/{credential-dk3hpat9.js → session-eq0bj8vr.js} +10 -10
  136. package/dist/chunks/{credential-bwva959e.js → session-et8sht6e.js} +35 -35
  137. package/dist/chunks/{credential-k8qb7q2x.js → session-evmcva0v.js} +11 -11
  138. package/dist/chunks/{credential-ayq7z3yq.js → session-ewzp24hx.js} +16 -16
  139. package/dist/chunks/{credential-zr9ea7v2.js → session-f1bbj6f0.js} +18 -18
  140. package/dist/chunks/{credential-3tcpaccq.js → session-f3t0m2cs.js} +5 -5
  141. package/dist/chunks/{credential-m8683jv8.js → session-f4177rbw.js} +12 -12
  142. package/dist/chunks/{credential-5e4fvpp9.js → session-f52hekk8.js} +6 -6
  143. package/dist/chunks/{credential-fffv3p7h.js → session-fffv3p7h.js} +1 -1
  144. package/dist/chunks/{credential-fqx72tyj.js → session-fg8bmn5r.js} +21 -21
  145. package/dist/chunks/{credential-fg9p65nk.js → session-fg9p65nk.js} +2 -2
  146. package/dist/chunks/{credential-5zpj5z5z.js → session-fydb03qw.js} +10 -10
  147. package/dist/chunks/{credential-fznmdakp.js → session-fznmdakp.js} +1 -1
  148. package/dist/chunks/{credential-r96ere88.js → session-g1e2r5aa.js} +4 -4
  149. package/dist/chunks/{credential-v1fpgjhe.js → session-g3p0pw3f.js} +22 -22
  150. package/dist/chunks/{credential-0473z1ea.js → session-g5y8y9ka.js} +4 -4
  151. package/dist/chunks/{credential-1mdvq69k.js → session-gc07wgt0.js} +42 -25
  152. package/dist/chunks/{credential-pbbktnbz.js → session-gd8sx287.js} +4 -4
  153. package/dist/chunks/{credential-ndnqagje.js → session-gk8m8gwv.js} +24 -24
  154. package/dist/chunks/{credential-6vyrcjf5.js → session-gvfwbdg5.js} +18 -18
  155. package/dist/chunks/{credential-apyyhtqv.js → session-gvj3fga6.js} +31 -31
  156. package/dist/chunks/{credential-fpg34aj9.js → session-gyka3hze.js} +16 -16
  157. package/dist/chunks/{credential-1p97rsrw.js → session-h45rwca9.js} +88 -86
  158. package/dist/chunks/{credential-vqew4rxv.js → session-h57hnx26.js} +8 -8
  159. package/dist/chunks/{credential-g9r4jbb8.js → session-h7rsa5h4.js} +22 -22
  160. package/dist/chunks/{credential-bgtvwfds.js → session-hc4wny2n.js} +11 -11
  161. package/dist/chunks/{credential-mxqz9txa.js → session-hfmn2zba.js} +10 -10
  162. package/dist/chunks/{credential-r0yr0wbs.js → session-hh7kjqtw.js} +2 -1
  163. package/dist/chunks/{credential-pnr9fk74.js → session-hht3wrh4.js} +12 -12
  164. package/dist/chunks/{credential-s3r7jzb8.js → session-hj48n5g3.js} +11 -11
  165. package/dist/chunks/{credential-c0xjp2a3.js → session-hjnjc3ts.js} +8 -8
  166. package/dist/chunks/{credential-sm0vs1nj.js → session-hjpa6ehn.js} +22 -22
  167. package/dist/chunks/{credential-mvd85fn1.js → session-hjvvwd9m.js} +68 -56
  168. package/dist/chunks/{credential-g4hd4tqj.js → session-hm2g1pam.js} +336 -336
  169. package/dist/chunks/{credential-hpg1pkwy.js → session-hpg1pkwy.js} +1 -1
  170. package/dist/chunks/{credential-jzyke2ba.js → session-hqqbfxm4.js} +11 -11
  171. package/dist/chunks/{credential-8411r79r.js → session-hvktc1vq.js} +9 -9
  172. package/dist/chunks/{credential-kmzgegqq.js → session-hy8c1z76.js} +8 -8
  173. package/dist/chunks/{credential-010tfxz5.js → session-j3v6xgsf.js} +71 -51
  174. package/dist/chunks/{credential-kgxvfcjx.js → session-j6pgq882.js} +5 -5
  175. package/dist/chunks/{credential-fh43wqrx.js → session-jcjsjw6m.js} +20 -20
  176. package/dist/chunks/{credential-rzd5m2bc.js → session-jcnk5dbh.js} +17 -17
  177. package/dist/chunks/{credential-jfaecv01.js → session-jfaecv01.js} +1 -1
  178. package/dist/chunks/{credential-cjqs9axx.js → session-jhdr5shj.js} +11 -11
  179. package/dist/chunks/{credential-6xtf9y56.js → session-jrzhkn60.js} +35 -35
  180. package/dist/chunks/{credential-rm3qbz2f.js → session-js3ekr85.js} +13 -13
  181. package/dist/chunks/{credential-jtnps1zs.js → session-jtnps1zs.js} +2 -2
  182. package/dist/chunks/{credential-1p6bnm4j.js → session-jw3xc4w3.js} +30 -30
  183. package/dist/chunks/{credential-87bz1bn4.js → session-k7fyma4a.js} +14 -14
  184. package/dist/chunks/{credential-k814nvkf.js → session-k814nvkf.js} +1 -1
  185. package/dist/chunks/{credential-k9zkdd2y.js → session-k9zkdd2y.js} +1 -1
  186. package/dist/chunks/{credential-g5nf4rjy.js → session-kb90rkdq.js} +17 -17
  187. package/dist/chunks/{credential-313ht5vg.js → session-kmshagc5.js} +15 -15
  188. package/dist/chunks/{credential-2r6emfn3.js → session-kr5yk018.js} +4 -4
  189. package/dist/chunks/{credential-we7ts2z8.js → session-krdv82ye.js} +4 -4
  190. package/dist/chunks/{credential-kt3bjfbg.js → session-kt3bjfbg.js} +1 -1
  191. package/dist/chunks/{credential-zk58pg8w.js → session-kxbt2msb.js} +12 -12
  192. package/dist/chunks/{credential-fwp9mfc9.js → session-ky596kc3.js} +4 -4
  193. package/dist/chunks/{credential-m1714858.js → session-m1714858.js} +1 -1
  194. package/dist/chunks/{credential-acns5kb5.js → session-m6br695y.js} +15 -15
  195. package/dist/chunks/{credential-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{credential-gg8p9cgs.js → session-mb7mbhnz.js} +17 -4
  197. package/dist/chunks/{credential-s7gmm2q3.js → session-mg356nz4.js} +3 -3
  198. package/dist/chunks/{credential-0yrc0qsb.js → session-mjzr7bcb.js} +19 -19
  199. package/dist/chunks/{credential-8ecyv6n4.js → session-mwqmxszj.js} +12 -12
  200. package/dist/chunks/{credential-ntx01z7a.js → session-mz14xksf.js} +27 -27
  201. package/dist/chunks/{credential-0yf36v3f.js → session-mzx60t1x.js} +63 -59
  202. package/dist/chunks/{credential-5sc8268w.js → session-n05pjf0z.js} +47 -47
  203. package/dist/chunks/{credential-xr858cgz.js → session-n5f56dyg.js} +31 -31
  204. package/dist/chunks/{credential-2ktpft3m.js → session-n5szpsx2.js} +17 -17
  205. package/dist/chunks/{credential-j9m7wknr.js → session-n9f4a7bt.js} +22 -22
  206. package/dist/chunks/{credential-nah043kf.js → session-nah043kf.js} +1 -1
  207. package/dist/chunks/{credential-8ppy984g.js → session-ng70ej78.js} +10 -10
  208. package/dist/chunks/{credential-mc5t9a7x.js → session-nma643tt.js} +11 -11
  209. package/dist/chunks/{credential-ge9gsrez.js → session-nqmf97tx.js} +31 -31
  210. package/dist/chunks/{credential-f7s46jf6.js → session-ntqvm2fg.js} +3 -3
  211. package/dist/chunks/{credential-1egdjfep.js → session-nz2ac0f6.js} +6 -6
  212. package/dist/chunks/{credential-p015t6z3.js → session-p015t6z3.js} +2 -2
  213. package/dist/chunks/{credential-x8c5qhdb.js → session-p58rp8mt.js} +27 -27
  214. package/dist/chunks/{credential-p7vhpwh8.js → session-p7vhpwh8.js} +1 -1
  215. package/dist/chunks/{credential-fpap23jy.js → session-p916h210.js} +28 -28
  216. package/dist/chunks/{credential-zgy820yb.js → session-pcve4y50.js} +53 -53
  217. package/dist/chunks/{credential-e1n7p4ag.js → session-pfhvw22f.js} +6 -6
  218. package/dist/chunks/{credential-2fbmf7r0.js → session-pj80she1.js} +3 -3
  219. package/dist/chunks/{credential-pknna89w.js → session-pknna89w.js} +1 -1
  220. package/dist/chunks/{credential-96zj6efe.js → session-prh1gakp.js} +76 -76
  221. package/dist/chunks/session-prveawz9.js +257 -0
  222. package/dist/chunks/{credential-xxw17ph9.js → session-py1kgbbs.js} +18 -18
  223. package/dist/chunks/{credential-va3vstze.js → session-qg5z9cfk.js} +33 -33
  224. package/dist/chunks/{credential-eth7w1ws.js → session-qn0q7ss9.js} +31 -31
  225. package/dist/chunks/{credential-qp7r0hxv.js → session-qp7r0hxv.js} +1 -1
  226. package/dist/chunks/{credential-qqvy8y24.js → session-qqvy8y24.js} +1 -1
  227. package/dist/chunks/{credential-k98prhpv.js → session-qtbtp5y4.js} +4 -4
  228. package/dist/chunks/{credential-fds3jynx.js → session-qvfyc67n.js} +14 -14
  229. package/dist/chunks/{credential-3t284k5r.js → session-r0543gnn.js} +39 -39
  230. package/dist/chunks/{credential-f3erva9m.js → session-r4pw3xq2.js} +5 -5
  231. package/dist/chunks/{credential-r542h3bh.js → session-r542h3bh.js} +1 -1
  232. package/dist/chunks/{credential-rb9dy4dg.js → session-rb9dy4dg.js} +1 -1
  233. package/dist/chunks/{credential-qmpcwza3.js → session-rbc1s8g1.js} +32 -16
  234. package/dist/chunks/{credential-4fes9nxq.js → session-rd86k9nx.js} +9 -9
  235. package/dist/chunks/{credential-jcqm84fr.js → session-rjnacbrz.js} +9 -9
  236. package/dist/chunks/{credential-kaa2rt48.js → session-rkc457kn.js} +9 -9
  237. package/dist/chunks/{credential-rt5dr6hb.js → session-rt5dr6hb.js} +1 -1
  238. package/dist/chunks/{credential-hn4sj8vd.js → session-rwvswa9y.js} +6 -6
  239. package/dist/chunks/{credential-sa3fpqfw.js → session-sa3fpqfw.js} +2 -2
  240. package/dist/chunks/{credential-t3wbeppe.js → session-sj8cf4xn.js} +18 -18
  241. package/dist/chunks/{credential-2agjkr66.js → session-skhfmn6d.js} +23 -23
  242. package/dist/chunks/{credential-sqjzf8x2.js → session-sqjzf8x2.js} +1 -1
  243. package/dist/chunks/{credential-myztnk54.js → session-stkk57rt.js} +21 -0
  244. package/dist/chunks/{credential-svcy3p9a.js → session-svcy3p9a.js} +1 -1
  245. package/dist/chunks/session-t03h4f5z.js +16 -0
  246. package/dist/chunks/{credential-tczq8hjw.js → session-tczq8hjw.js} +1 -1
  247. package/dist/chunks/{credential-pnvhe9nj.js → session-teh5t5jp.js} +11 -11
  248. package/dist/chunks/{credential-4f3e2fe5.js → session-tf0cgyr6.js} +48 -48
  249. package/dist/chunks/{credential-b5pzs38m.js → session-tg9kr0y0.js} +24 -24
  250. package/dist/chunks/{credential-mqqd3hk5.js → session-tj6nb54t.js} +6 -6
  251. package/dist/chunks/{credential-xwyk9x3x.js → session-tjand230.js} +27 -27
  252. package/dist/chunks/{credential-qgtmjkbw.js → session-tkfkfkf0.js} +23 -23
  253. package/dist/chunks/{credential-anaq8tyr.js → session-tkgn6n4e.js} +27 -27
  254. package/dist/chunks/{credential-gxz26haq.js → session-tp4q3xqc.js} +8 -8
  255. package/dist/chunks/{credential-j63f8txt.js → session-ts17rpp3.js} +29 -29
  256. package/dist/chunks/{credential-twssxy5n.js → session-twssxy5n.js} +2 -2
  257. package/dist/chunks/session-ty7weeps.js +28 -0
  258. package/dist/chunks/{credential-arc1qckg.js → session-v1mxzh7z.js} +34 -34
  259. package/dist/chunks/{credential-sdb9e0vb.js → session-v27eh5cj.js} +13 -13
  260. package/dist/chunks/{credential-v2r1d0zg.js → session-v2r1d0zg.js} +1 -1
  261. package/dist/chunks/{credential-rc1hggec.js → session-v35fmwg5.js} +28 -28
  262. package/dist/chunks/{credential-w1wt7qh1.js → session-v8vd993n.js} +8 -8
  263. package/dist/chunks/{credential-26x8chrq.js → session-vaq1yek0.js} +6 -6
  264. package/dist/chunks/{credential-qc3z06b5.js → session-vp9b3xr6.js} +53 -19
  265. package/dist/chunks/{credential-z54nca32.js → session-vre2328q.js} +27 -27
  266. package/dist/chunks/{credential-hpcxzwwk.js → session-vyevn7ez.js} +5 -5
  267. package/dist/chunks/{credential-7yt5s0f0.js → session-w1g6eztn.js} +36 -36
  268. package/dist/chunks/{credential-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  269. package/dist/chunks/{credential-tt2179fk.js → session-w8cbkq7x.js} +9 -9
  270. package/dist/chunks/{credential-wakvkjy4.js → session-wakvkjy4.js} +1 -1
  271. package/dist/chunks/{credential-wd87259q.js → session-wd87259q.js} +1 -1
  272. package/dist/chunks/{credential-rgzggw2r.js → session-wegkxhrn.js} +6 -2
  273. package/dist/chunks/{credential-e23z2b6q.js → session-wgy4vw39.js} +12 -12
  274. package/dist/chunks/{credential-wnhgecwx.js → session-wnhgecwx.js} +1 -1
  275. package/dist/chunks/{credential-9r0x1bva.js → session-wrd39zd3.js} +9 -9
  276. package/dist/chunks/{credential-s9fv6dbg.js → session-wtem00hm.js} +5 -5
  277. package/dist/chunks/{credential-5macz2df.js → session-wvphax15.js} +33 -33
  278. package/dist/chunks/{credential-kcg78dnn.js → session-wwgpyqzb.js} +9 -9
  279. package/dist/chunks/{credential-d8q8hp8x.js → session-wzytqp0z.js} +23 -23
  280. package/dist/chunks/{credential-05gcnbx9.js → session-x15zq3xe.js} +7 -7
  281. package/dist/chunks/{credential-szazyy8v.js → session-x78h82an.js} +43 -43
  282. package/dist/chunks/{credential-gkw5tmj9.js → session-x7sfbxcq.js} +1 -1
  283. package/dist/chunks/{credential-t42546yy.js → session-x968pprt.js} +19 -19
  284. package/dist/chunks/{credential-xd9cc171.js → session-xd9cc171.js} +1 -1
  285. package/dist/chunks/{credential-cac0wmbb.js → session-xk2zn0cv.js} +4 -4
  286. package/dist/chunks/{credential-m37sd98t.js → session-xnh55p1t.js} +5 -5
  287. package/dist/chunks/{credential-7jad4yjq.js → session-xq6kn9sb.js} +25 -25
  288. package/dist/chunks/{credential-hby6rmzj.js → session-xvk346a2.js} +26 -26
  289. package/dist/chunks/{credential-j5gjnx76.js → session-y5qd0fdx.js} +19 -19
  290. package/dist/chunks/{credential-yara3q77.js → session-yara3q77.js} +2 -2
  291. package/dist/chunks/{credential-yb20nhc3.js → session-yb20nhc3.js} +1 -1
  292. package/dist/chunks/{credential-1x73k67a.js → session-ycbkkxa6.js} +6 -6
  293. package/dist/chunks/{credential-xy0fx19g.js → session-yg4xtd5c.js} +23 -23
  294. package/dist/chunks/{credential-xfg2wzq9.js → session-yk92hh7b.js} +25 -25
  295. package/dist/chunks/{credential-ymz7p2c9.js → session-ymz7p2c9.js} +3 -3
  296. package/dist/chunks/{credential-5jandae5.js → session-yne29hzv.js} +16 -16
  297. package/dist/chunks/{credential-f5ydn5fg.js → session-ynx6mseh.js} +11 -11
  298. package/dist/chunks/{credential-3j1m3tq4.js → session-yt5wjcy6.js} +5 -5
  299. package/dist/chunks/{credential-grghrhjz.js → session-yv82jfb9.js} +20 -20
  300. package/dist/chunks/{credential-prsrv2zx.js → session-yvdwn3rt.js} +15 -15
  301. package/dist/chunks/{credential-rchdkk7p.js → session-yxtp6v20.js} +2 -2
  302. package/dist/chunks/{credential-5k74q2xq.js → session-yy77v243.js} +189 -189
  303. package/dist/chunks/{credential-89bbjwma.js → session-z1gzwszr.js} +11 -11
  304. package/dist/chunks/{credential-z38nccrw.js → session-z38nccrw.js} +1 -1
  305. package/dist/chunks/{credential-svmg43vj.js → session-z9dbc4cd.js} +20 -20
  306. package/dist/chunks/{credential-g38vz1ag.js → session-zqzhvas5.js} +15 -15
  307. package/dist/codemode/catalog.js +1 -1
  308. package/dist/codemode/instructions.js +9 -9
  309. package/dist/codemode/tool.js +3 -3
  310. package/dist/codemode/web.js +1 -1
  311. package/dist/command.js +95 -92
  312. package/dist/config/discovery.js +94 -91
  313. package/dist/config/integration.js +1 -1
  314. package/dist/config/markdown.js +1 -1
  315. package/dist/config/normalize.js +111 -108
  316. package/dist/config/plugin/agent.js +125 -122
  317. package/dist/config/plugin/command.js +223 -220
  318. package/dist/config/plugin/compaction.js +166 -163
  319. package/dist/config/plugin/compatibility.js +146 -143
  320. package/dist/config/plugin/entry-observer.js +1 -1
  321. package/dist/config/plugin/formatter.js +126 -123
  322. package/dist/config/plugin/image.js +125 -122
  323. package/dist/config/plugin/instruction.js +125 -122
  324. package/dist/config/plugin/location-watcher.js +127 -124
  325. package/dist/config/plugin/mcp.js +132 -129
  326. package/dist/config/plugin/policy.js +127 -124
  327. package/dist/config/plugin/provider.js +126 -123
  328. package/dist/config/plugin/reference.js +127 -124
  329. package/dist/config/plugin/shell.js +127 -124
  330. package/dist/config/plugin/skill-file.js +142 -139
  331. package/dist/config/plugin/skill-scan.js +1 -1
  332. package/dist/config/plugin/skill.js +149 -146
  333. package/dist/config/plugin/snapshot.js +125 -122
  334. package/dist/config/plugin/source.js +128 -125
  335. package/dist/config/plugin/tool-output.js +126 -123
  336. package/dist/config/plugin/websearch.js +126 -123
  337. package/dist/config/plugin/worktree.js +127 -124
  338. package/dist/config/variable.js +1 -1
  339. package/dist/config/watch.js +1 -1
  340. package/dist/config.js +128 -125
  341. package/dist/console-access.js +1 -1
  342. package/dist/credential/sql.js +2 -2
  343. package/dist/credential.js +93 -90
  344. package/dist/database/database.js +76 -73
  345. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  346. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  347. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  348. package/dist/database/drizzle/index.js +13 -13
  349. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  350. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  351. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  352. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  353. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  354. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  355. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  356. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  357. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  358. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  359. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  360. package/dist/database/drizzle.js +14 -14
  361. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  362. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  363. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  364. package/dist/database/migration/20260225215848_workspace.js +1 -1
  365. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  366. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  367. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  368. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  369. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  370. package/dist/database/migration/20260323234822_events.js +1 -1
  371. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  372. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  373. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  374. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  375. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  376. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  377. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  378. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  379. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  380. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  381. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  382. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  383. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  384. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  385. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  386. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  387. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  388. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  389. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  390. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  391. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  392. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  393. package/dist/database/migration/20260611035744_credential.js +1 -1
  394. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  395. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  396. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  397. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  398. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  399. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  400. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  401. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  402. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  403. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  404. package/dist/database/migration/20260812213948_worktree.js +1 -1
  405. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  406. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  407. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  408. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  409. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  410. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  411. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  412. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  413. package/dist/database/migration/20261025123711_blob.js +1 -1
  414. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  415. package/dist/database/migration/20261026223005_schedule.js +1 -1
  416. package/dist/database/migration/20261029002625_session_part.js +6 -0
  417. package/dist/database/migration/20261029073502_session_time_busy.js +6 -0
  418. package/dist/database/migration/20261029165540_schedule_checks.js +6 -0
  419. package/dist/database/migration.gen.js +59 -56
  420. package/dist/database/migration.js +61 -58
  421. package/dist/database/path.js +2 -2
  422. package/dist/database/schema.gen.js +1 -1
  423. package/dist/database/schema.sql.js +1 -1
  424. package/dist/database/sqlite.bun.js +1 -1
  425. package/dist/database/sqlite.js +1 -1
  426. package/dist/database/sqlite.node.js +1 -1
  427. package/dist/database/sqlite.workerd.js +2 -1
  428. package/dist/database/v1-migration.bun.js +104 -101
  429. package/dist/database/v1-migration.js +1 -1
  430. package/dist/effect/app-node-builder.js +390 -385
  431. package/dist/effect/app-node-platform.js +2 -2
  432. package/dist/effect/keyed-mutex.js +1 -1
  433. package/dist/effect/websocket-constructor.js +1 -1
  434. package/dist/environment/driver.js +1 -1
  435. package/dist/environment/environment.js +105 -102
  436. package/dist/environment/exec-defaults.js +2 -2
  437. package/dist/environment/files.js +1 -1
  438. package/dist/environment/index.js +105 -102
  439. package/dist/environment/local.js +2 -2
  440. package/dist/environment/memory.js +2 -2
  441. package/dist/environment/unavailable.js +1 -1
  442. package/dist/event/sql.js +1 -1
  443. package/dist/event-logger.js +84 -81
  444. package/dist/file-access.js +148 -145
  445. package/dist/file-mutation.js +106 -103
  446. package/dist/file-retention.js +1 -1
  447. package/dist/filesystem/fff.bun.js +2 -2
  448. package/dist/filesystem/fff.js +1 -1
  449. package/dist/filesystem/fff.node.js +2 -2
  450. package/dist/filesystem/fff.workerd.js +2 -2
  451. package/dist/filesystem/file-watch.js +90 -87
  452. package/dist/filesystem/location-watcher-policy.js +6 -6
  453. package/dist/filesystem/location-watcher.js +238 -235
  454. package/dist/filesystem/protected.js +1 -1
  455. package/dist/filesystem/search.js +111 -108
  456. package/dist/filesystem/watcher-binding.js +1 -1
  457. package/dist/filesystem/watcher.js +11 -11
  458. package/dist/filesystem.js +112 -109
  459. package/dist/form.js +94 -91
  460. package/dist/formatter/builtins.js +4 -4
  461. package/dist/formatter.js +95 -92
  462. package/dist/generate.js +115 -112
  463. package/dist/git.js +11 -11
  464. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  465. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  466. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  467. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  468. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  469. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  470. package/dist/github-copilot/copilot-provider.js +17 -17
  471. package/dist/github-copilot/models.js +111 -108
  472. package/dist/github-copilot/openai-compatible-error.js +1 -1
  473. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  474. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  475. package/dist/github-copilot/responses/openai-error.js +1 -1
  476. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  477. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  478. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  479. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  480. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  481. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  482. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  483. package/dist/image/notice.js +8 -0
  484. package/dist/image/photon-normalize.js +1 -1
  485. package/dist/image/photon-worker.js +1 -1
  486. package/dist/image/photon.js +4 -4
  487. package/dist/image.js +6 -6
  488. package/dist/instance/service.js +5 -5
  489. package/dist/instance.js +381 -376
  490. package/dist/instruction-discovery.js +94 -91
  491. package/dist/instructions/builtins.js +99 -96
  492. package/dist/instructions/index.js +3 -3
  493. package/dist/integration/connection.js +3 -3
  494. package/dist/integration.js +99 -96
  495. package/dist/job.js +88 -85
  496. package/dist/kv/sql.js +2 -2
  497. package/dist/kv.js +83 -80
  498. package/dist/location-activity.js +170 -167
  499. package/dist/location-lifecycle.js +146 -143
  500. package/dist/location-service-map.js +98 -95
  501. package/dist/location-services.js +378 -373
  502. package/dist/location.js +101 -98
  503. package/dist/managed-policy.js +3 -3
  504. package/dist/mcp/client.js +103 -100
  505. package/dist/mcp/index.js +119 -116
  506. package/dist/mcp/instructions.js +170 -167
  507. package/dist/mcp/oauth.js +88 -85
  508. package/dist/mcp/socket-client.js +1 -1
  509. package/dist/mcp/stdio.js +102 -99
  510. package/dist/mime.js +1 -1
  511. package/dist/modal/models.js +111 -108
  512. package/dist/model-resolver.js +111 -108
  513. package/dist/model-retry.js +1 -1
  514. package/dist/model.js +112 -109
  515. package/dist/models-dev/v1.js +1 -1
  516. package/dist/models-dev.js +120 -117
  517. package/dist/oauth/page.js +1 -1
  518. package/dist/permission/saved.js +92 -89
  519. package/dist/permission/sql.js +5 -5
  520. package/dist/permission.js +153 -148
  521. package/dist/persistent-pty/binary.bun.js +1 -1
  522. package/dist/persistent-pty/daemon.js +1 -1
  523. package/dist/persistent-pty/index.js +98 -93
  524. package/dist/persistent-pty/pty-binding.js +1 -1
  525. package/dist/persistent-pty.js +85 -82
  526. package/dist/plugin/agent.js +84 -81
  527. package/dist/plugin/command.js +112 -109
  528. package/dist/plugin/goal.js +3 -3
  529. package/dist/plugin/hooks.js +3 -3
  530. package/dist/plugin/host.js +229 -226
  531. package/dist/plugin/identity.js +3 -3
  532. package/dist/plugin/instance.js +5 -5
  533. package/dist/plugin/internal.js +357 -346
  534. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  535. package/dist/plugin/models-dev.js +109 -106
  536. package/dist/plugin/module.js +125 -122
  537. package/dist/plugin/optimize.js +2 -2
  538. package/dist/plugin/plan.js +142 -139
  539. package/dist/plugin/promise.js +1 -1
  540. package/dist/plugin/provider/amazon-bedrock.js +103 -100
  541. package/dist/plugin/provider/azure.js +123 -120
  542. package/dist/plugin/provider/cerebras.js +1 -1
  543. package/dist/plugin/provider/chatgpt.js +125 -122
  544. package/dist/plugin/provider/cloudflare-ai-gateway.js +123 -120
  545. package/dist/plugin/provider/cloudflare-workers-ai.js +123 -120
  546. package/dist/plugin/provider/configured.js +121 -118
  547. package/dist/plugin/provider/credential-settings.js +84 -81
  548. package/dist/plugin/provider/databricks.js +1 -1
  549. package/dist/plugin/provider/digitalocean.js +105 -102
  550. package/dist/plugin/provider/dynamic.js +2 -2
  551. package/dist/plugin/provider/github-copilot.js +107 -104
  552. package/dist/plugin/provider/gitlab.js +106 -103
  553. package/dist/plugin/provider/google-vertex.js +122 -119
  554. package/dist/plugin/provider/kilo.js +1 -1
  555. package/dist/plugin/provider/llmgateway.js +88 -85
  556. package/dist/plugin/provider/lmstudio.js +132 -129
  557. package/dist/plugin/provider/local.js +131 -128
  558. package/dist/plugin/provider/modal.js +104 -101
  559. package/dist/plugin/provider/neon.js +1 -1
  560. package/dist/plugin/provider/nvidia.js +1 -1
  561. package/dist/plugin/provider/ollama.js +134 -131
  562. package/dist/plugin/provider/openai-context-caps.js +102 -99
  563. package/dist/plugin/provider/openai.js +125 -122
  564. package/dist/plugin/provider/opencode.js +128 -125
  565. package/dist/plugin/provider/openrouter.js +103 -100
  566. package/dist/plugin/provider/poe.js +89 -86
  567. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  568. package/dist/plugin/provider/sap-ai-core.js +103 -100
  569. package/dist/plugin/provider/sdk-factory.js +1 -1
  570. package/dist/plugin/provider/snowflake-cortex.js +124 -121
  571. package/dist/plugin/provider/vllm.js +134 -131
  572. package/dist/plugin/provider/xai.js +103 -100
  573. package/dist/plugin/provider/zenmux.js +1 -1
  574. package/dist/plugin/provider.js +176 -173
  575. package/dist/plugin/sdk.js +80 -77
  576. package/dist/plugin/service.js +1 -1
  577. package/dist/plugin/skill.js +143 -140
  578. package/dist/plugin/source-directory.js +1 -1
  579. package/dist/plugin/supervisor.js +365 -360
  580. package/dist/plugin/tool-input-repair.js +4 -4
  581. package/dist/plugin/update.js +6 -6
  582. package/dist/plugin/vcs/git.js +98 -95
  583. package/dist/plugin/vcs/hg.js +98 -95
  584. package/dist/plugin/verbosity.js +105 -102
  585. package/dist/plugin/warming.js +123 -120
  586. package/dist/plugin/websearch/exa.js +7 -7
  587. package/dist/plugin/websearch/firecrawl.js +8 -8
  588. package/dist/plugin/websearch/index.js +9 -9
  589. package/dist/plugin/websearch/mcp.js +2 -2
  590. package/dist/plugin/websearch/parallel.js +8 -8
  591. package/dist/plugin/websearch/tavily.js +6 -6
  592. package/dist/plugin/websearch/tinyfish.js +8 -8
  593. package/dist/plugin.js +236 -233
  594. package/dist/project/icon.js +5 -5
  595. package/dist/project/schema.js +8 -8
  596. package/dist/project/sql.js +4 -4
  597. package/dist/project.js +102 -99
  598. package/dist/provider.js +111 -108
  599. package/dist/pty/protocol.js +1 -1
  600. package/dist/pty/ticket.js +1 -1
  601. package/dist/pty.js +110 -107
  602. package/dist/reference/instructions.js +100 -97
  603. package/dist/reference.js +98 -95
  604. package/dist/repository-cache.js +92 -89
  605. package/dist/repository.js +1 -1
  606. package/dist/ripgrep/binary.js +2 -2
  607. package/dist/ripgrep.js +109 -106
  608. package/dist/rpc.js +98 -95
  609. package/dist/schedule/check.js +248 -0
  610. package/dist/schedule/sql.js +6 -6
  611. package/dist/schedule.js +251 -228
  612. package/dist/schema.js +1 -1
  613. package/dist/session/affinity.js +1 -1
  614. package/dist/session/background.js +1 -1
  615. package/dist/session/blob.js +136 -123
  616. package/dist/session/command.js +84 -81
  617. package/dist/session/compaction.js +166 -163
  618. package/dist/session/context.js +188 -185
  619. package/dist/session/diff.js +100 -97
  620. package/dist/session/environment.js +5 -5
  621. package/dist/session/error.js +5 -5
  622. package/dist/session/event.js +1 -1
  623. package/dist/session/execution/restart.js +242 -232
  624. package/dist/session/execution.js +156 -153
  625. package/dist/session/generate.js +192 -189
  626. package/dist/session/history.js +140 -129
  627. package/dist/session/inbox.js +144 -141
  628. package/dist/session/info.js +3 -3
  629. package/dist/session/instruction-entry.js +89 -86
  630. package/dist/session/instruction-state.js +8 -8
  631. package/dist/session/instructions.js +136 -133
  632. package/dist/session/message-updater.js +2 -2
  633. package/dist/session/message.js +1 -1
  634. package/dist/session/model-request.js +159 -156
  635. package/dist/session/model-transport.js +9 -9
  636. package/dist/session/move.js +156 -153
  637. package/dist/session/projector.js +136 -133
  638. package/dist/session/prompt.js +144 -141
  639. package/dist/session/recent-text.js +1 -1
  640. package/dist/session/revert.js +134 -131
  641. package/dist/session/run-coordinator.js +3 -3
  642. package/dist/session/runner/index.js +3 -3
  643. package/dist/session/runner/llm.js +243 -240
  644. package/dist/session/runner/max-steps.js +1 -1
  645. package/dist/session/runner/model.js +112 -109
  646. package/dist/session/runner/publish-llm-event.js +145 -142
  647. package/dist/session/runner/retry.js +5 -5
  648. package/dist/session/runner/step.js +158 -155
  649. package/dist/session/runner/to-llm-message.js +132 -129
  650. package/dist/session/schema.js +5 -5
  651. package/dist/session/session.js +176 -173
  652. package/dist/session/shell.js +139 -136
  653. package/dist/session/skill.js +143 -140
  654. package/dist/session/sql.js +7 -5
  655. package/dist/session/stats.js +116 -81
  656. package/dist/session/store.js +137 -134
  657. package/dist/session/stored.js +2 -2
  658. package/dist/session/subagent-completion.js +1 -1
  659. package/dist/session/subagent-job.js +223 -220
  660. package/dist/session/system-prompt.js +3 -3
  661. package/dist/session/title.js +196 -193
  662. package/dist/session/to-session-error.js +144 -141
  663. package/dist/session/transfer.js +253 -227
  664. package/dist/session/usage.js +1 -1
  665. package/dist/session.js +223 -220
  666. package/dist/shell/parse.js +6 -6
  667. package/dist/shell/result.js +1 -1
  668. package/dist/shell/scan.js +1 -1
  669. package/dist/shell/select.js +15 -15
  670. package/dist/shell.js +141 -138
  671. package/dist/skill/discovery.js +6 -6
  672. package/dist/skill/instructions.js +147 -144
  673. package/dist/skill.js +148 -145
  674. package/dist/snapshot.js +101 -98
  675. package/dist/state.js +1 -1
  676. package/dist/tool/html-markdown.js +1 -1
  677. package/dist/tool/http-body.js +1 -1
  678. package/dist/tool/mcp.js +169 -166
  679. package/dist/tool/plugin/edit.js +160 -157
  680. package/dist/tool/plugin/file-diff.js +1 -1
  681. package/dist/tool/plugin/glob.js +164 -161
  682. package/dist/tool/plugin/grep.js +156 -153
  683. package/dist/tool/plugin/image-generate.js +233 -229
  684. package/dist/tool/plugin/mcp-resource.js +158 -155
  685. package/dist/tool/plugin/opencode.js +157 -154
  686. package/dist/tool/plugin/patch.js +162 -159
  687. package/dist/tool/plugin/question.js +142 -139
  688. package/dist/tool/plugin/read.js +165 -162
  689. package/dist/tool/plugin/schedule.js +239 -220
  690. package/dist/tool/plugin/shell.js +228 -225
  691. package/dist/tool/plugin/skill.js +153 -150
  692. package/dist/tool/plugin/subagent.js +228 -225
  693. package/dist/tool/plugin/todo.js +143 -140
  694. package/dist/tool/plugin/webfetch.js +149 -146
  695. package/dist/tool/plugin/websearch.js +151 -148
  696. package/dist/tool/plugin/write.js +162 -159
  697. package/dist/tool/read-filesystem.js +114 -111
  698. package/dist/tool/runtime.js +1 -1
  699. package/dist/tool-output.js +7 -7
  700. package/dist/tool.js +14 -14
  701. package/dist/types/config/plugin/command.d.ts +1 -1
  702. package/dist/types/database/migration/20261029002625_session_part.d.ts +3 -0
  703. package/dist/types/database/migration/20261029073502_session_time_busy.d.ts +3 -0
  704. package/dist/types/database/migration/20261029165540_schedule_checks.d.ts +3 -0
  705. package/dist/types/image/notice.d.ts +7 -0
  706. package/dist/types/instance.d.ts +1 -1
  707. package/dist/types/location-activity.d.ts +1 -1
  708. package/dist/types/mcp/index.d.ts +1 -1
  709. package/dist/types/permission.d.ts +10 -0
  710. package/dist/types/persistent-pty/index.d.ts +7 -1
  711. package/dist/types/plugin/command.d.ts +1 -1
  712. package/dist/types/plugin/host.d.ts +2 -2
  713. package/dist/types/plugin/internal.d.ts +1 -1
  714. package/dist/types/plugin/models-dev.d.ts +1 -1
  715. package/dist/types/schedule/check.d.ts +46 -0
  716. package/dist/types/schedule/sql.d.ts +75 -1
  717. package/dist/types/schedule.d.ts +4 -147
  718. package/dist/types/session/blob.d.ts +884 -17
  719. package/dist/types/session/compaction.d.ts +1 -1
  720. package/dist/types/session/execution/restart.d.ts +1 -1
  721. package/dist/types/session/execution.d.ts +1 -1
  722. package/dist/types/session/history.d.ts +1165 -1
  723. package/dist/types/session/revert.d.ts +2 -2
  724. package/dist/types/session/runner/step.d.ts +1 -1
  725. package/dist/types/session/schema.d.ts +1 -0
  726. package/dist/types/session/session.d.ts +1 -1
  727. package/dist/types/session/sql.d.ts +252 -0
  728. package/dist/types/session/title.d.ts +1 -1
  729. package/dist/types/session/transfer.d.ts +1 -0
  730. package/dist/types/tool/mcp.d.ts +1 -1
  731. package/dist/types/tool/plugin/image-generate.d.ts +2 -1
  732. package/dist/types/tool/plugin/schedule.d.ts +28 -1
  733. package/dist/types/tool/plugin/subagent.d.ts +1 -1
  734. package/dist/usage-limits.js +99 -96
  735. package/dist/util/error-summary.js +1 -1
  736. package/dist/util/git-executable.js +3 -3
  737. package/dist/util/lazy.js +1 -1
  738. package/dist/util/slug.js +1 -1
  739. package/dist/util/token.js +1 -1
  740. package/dist/util/which.js +1 -1
  741. package/dist/util/wildcard.js +1 -1
  742. package/dist/v1/config/agent.js +5 -5
  743. package/dist/v1/config/command.js +5 -5
  744. package/dist/v1/config/mcp.js +4 -4
  745. package/dist/v1/config/migrate.js +104 -101
  746. package/dist/v1/config/permission.js +3 -3
  747. package/dist/v1/config/plugin.js +1 -1
  748. package/dist/v1/config/provider-options.js +1 -1
  749. package/dist/v1/config/provider.js +4 -4
  750. package/dist/variant.js +105 -102
  751. package/dist/vcs/patch.js +1 -1
  752. package/dist/vcs.js +101 -98
  753. package/dist/voice.js +100 -97
  754. package/dist/websearch.js +94 -91
  755. package/dist/wellknown/plugin.js +86 -83
  756. package/dist/wellknown.js +89 -86
  757. package/dist/workspace/driver.js +5 -5
  758. package/dist/workspace/sql.js +1 -1
  759. package/dist/workspace.js +92 -89
  760. package/dist/worktree/directory.js +2 -2
  761. package/dist/worktree/git.js +11 -11
  762. package/dist/worktree/sql.js +5 -5
  763. package/dist/worktree/strategies.js +101 -98
  764. package/dist/worktree.js +110 -107
  765. package/package.json +12 -12
  766. package/dist/chunks/credential-bs2ewjth.js +0 -26
  767. package/dist/chunks/credential-zdy8es89.js +0 -257
  768. /package/dist/chunks/{credential-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  769. /package/dist/chunks/{credential-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  770. /package/dist/chunks/{credential-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  771. /package/dist/chunks/{credential-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  772. /package/dist/chunks/{credential-24dcb14g.js → session-24dcb14g.js} +0 -0
  773. /package/dist/chunks/{credential-2710q6r3.js → session-2710q6r3.js} +0 -0
  774. /package/dist/chunks/{credential-2bv980vf.js → session-2bv980vf.js} +0 -0
  775. /package/dist/chunks/{credential-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  776. /package/dist/chunks/{credential-359p4xyc.js → session-359p4xyc.js} +0 -0
  777. /package/dist/chunks/{credential-3asan66x.js → session-3asan66x.js} +0 -0
  778. /package/dist/chunks/{credential-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  779. /package/dist/chunks/{credential-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  780. /package/dist/chunks/{credential-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  781. /package/dist/chunks/{credential-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  782. /package/dist/chunks/{credential-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  783. /package/dist/chunks/{credential-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  784. /package/dist/chunks/{credential-53557ph1.js → session-53557ph1.js} +0 -0
  785. /package/dist/chunks/{credential-550bvhaj.js → session-550bvhaj.js} +0 -0
  786. /package/dist/chunks/{credential-5w3e23ze.js → session-5w3e23ze.js} +0 -0
  787. /package/dist/chunks/{credential-6prwharc.js → session-6prwharc.js} +0 -0
  788. /package/dist/chunks/{credential-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
  789. /package/dist/chunks/{credential-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  790. /package/dist/chunks/{credential-7m9af43g.js → session-7m9af43g.js} +0 -0
  791. /package/dist/chunks/{credential-822emrt2.js → session-822emrt2.js} +0 -0
  792. /package/dist/chunks/{credential-84wd9syh.js → session-84wd9syh.js} +0 -0
  793. /package/dist/chunks/{credential-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  794. /package/dist/chunks/{credential-8n3pysct.js → session-8n3pysct.js} +0 -0
  795. /package/dist/chunks/{credential-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  796. /package/dist/chunks/{credential-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  797. /package/dist/chunks/{credential-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  798. /package/dist/chunks/{credential-a058387c.js → session-a058387c.js} +0 -0
  799. /package/dist/chunks/{credential-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  800. /package/dist/chunks/{credential-af5trqkr.js → session-af5trqkr.js} +0 -0
  801. /package/dist/chunks/{credential-afrmfg78.js → session-afrmfg78.js} +0 -0
  802. /package/dist/chunks/{credential-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  803. /package/dist/chunks/{credential-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  804. /package/dist/chunks/{credential-beh6qq61.js → session-beh6qq61.js} +0 -0
  805. /package/dist/chunks/{credential-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  806. /package/dist/chunks/{credential-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  807. /package/dist/chunks/{credential-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  808. /package/dist/chunks/{credential-cqv5kn06.js → session-cqv5kn06.js} +0 -0
  809. /package/dist/chunks/{credential-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  810. /package/dist/chunks/{credential-d9fn303g.js → session-d9fn303g.js} +0 -0
  811. /package/dist/chunks/{credential-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  812. /package/dist/chunks/{credential-dap0rakb.js → session-dap0rakb.js} +0 -0
  813. /package/dist/chunks/{credential-df08tz66.js → session-df08tz66.js} +0 -0
  814. /package/dist/chunks/{credential-dy18nga0.js → session-dy18nga0.js} +0 -0
  815. /package/dist/chunks/{credential-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  816. /package/dist/chunks/{credential-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  817. /package/dist/chunks/{credential-ec1grn59.js → session-ec1grn59.js} +0 -0
  818. /package/dist/chunks/{credential-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  819. /package/dist/chunks/{credential-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  820. /package/dist/chunks/{credential-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  821. /package/dist/chunks/{credential-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  822. /package/dist/chunks/{credential-faypxj3z.js → session-faypxj3z.js} +0 -0
  823. /package/dist/chunks/{credential-fd410y7t.js → session-fd410y7t.js} +0 -0
  824. /package/dist/chunks/{credential-fkpq3x5p.js → session-fkpq3x5p.js} +0 -0
  825. /package/dist/chunks/{credential-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  826. /package/dist/chunks/{credential-g86h250q.js → session-g86h250q.js} +0 -0
  827. /package/dist/chunks/{credential-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  828. /package/dist/chunks/{credential-gftt206x.js → session-gftt206x.js} +0 -0
  829. /package/dist/chunks/{credential-hcxmzztb.js → session-hcxmzztb.js} +0 -0
  830. /package/dist/chunks/{credential-hk9envan.js → session-hk9envan.js} +0 -0
  831. /package/dist/chunks/{credential-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  832. /package/dist/chunks/{credential-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  833. /package/dist/chunks/{credential-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  834. /package/dist/chunks/{credential-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  835. /package/dist/chunks/{credential-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  836. /package/dist/chunks/{credential-jwr30sdr.js → session-jwr30sdr.js} +0 -0
  837. /package/dist/chunks/{credential-jze0r7bz.js → session-jze0r7bz.js} +0 -0
  838. /package/dist/chunks/{credential-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  839. /package/dist/chunks/{credential-m18g726c.js → session-m18g726c.js} +0 -0
  840. /package/dist/chunks/{credential-mp448xyj.js → session-mp448xyj.js} +0 -0
  841. /package/dist/chunks/{credential-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  842. /package/dist/chunks/{credential-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  843. /package/dist/chunks/{credential-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  844. /package/dist/chunks/{credential-ncqqe42p.js → session-ncqqe42p.js} +0 -0
  845. /package/dist/chunks/{credential-nh4v3znn.js → session-nh4v3znn.js} +0 -0
  846. /package/dist/chunks/{credential-njntx4h6.js → session-njntx4h6.js} +0 -0
  847. /package/dist/chunks/{credential-p71gwv9c.js → session-p71gwv9c.js} +0 -0
  848. /package/dist/chunks/{credential-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  849. /package/dist/chunks/{credential-q74kybfr.js → session-q74kybfr.js} +0 -0
  850. /package/dist/chunks/{credential-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  851. /package/dist/chunks/{credential-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  852. /package/dist/chunks/{credential-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  853. /package/dist/chunks/{credential-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  854. /package/dist/chunks/{credential-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  855. /package/dist/chunks/{credential-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  856. /package/dist/chunks/{credential-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  857. /package/dist/chunks/{credential-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  858. /package/dist/chunks/{credential-ve7vex1e.js → session-ve7vex1e.js} +0 -0
  859. /package/dist/chunks/{credential-w803qqfp.js → session-w803qqfp.js} +0 -0
  860. /package/dist/chunks/{credential-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  861. /package/dist/chunks/{credential-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  862. /package/dist/chunks/{credential-wtztk69x.js → session-wtztk69x.js} +0 -0
  863. /package/dist/chunks/{credential-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  864. /package/dist/chunks/{credential-x61499pn.js → session-x61499pn.js} +0 -0
  865. /package/dist/chunks/{credential-y44na4kk.js → session-y44na4kk.js} +0 -0
  866. /package/dist/chunks/{credential-y8f7s663.js → session-y8f7s663.js} +0 -0
  867. /package/dist/chunks/{credential-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  868. /package/dist/chunks/{credential-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
  869. /package/dist/chunks/{credential-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service86
3
- } from "./credential-pnr9fk74.js";
2
+ Service83
3
+ } from "./session-hht3wrh4.js";
4
4
  import {
5
- Service39
6
- } from "./credential-ndnqagje.js";
5
+ Service41
6
+ } from "./session-gk8m8gwv.js";
7
7
  import {
8
- Error4
9
- } from "./credential-xy0fx19g.js";
8
+ Error3
9
+ } from "./session-yg4xtd5c.js";
10
10
  import {
11
- Service55
12
- } from "./credential-bgtvwfds.js";
11
+ Service48
12
+ } from "./session-hc4wny2n.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./credential-5e4fvpp9.js";
15
+ } from "./session-f52hekk8.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./credential-ec1grn59.js";
18
+ } from "./session-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./credential-nr0dnw6m.js";
21
+ } from "./session-5svmm7fm.js";
22
22
  import {
23
23
  record2
24
- } from "./credential-r542h3bh.js";
24
+ } from "./session-r542h3bh.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./credential-v8h33378.js";
27
+ } from "./session-3fm477c7.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./credential-26x8chrq.js";
30
+ } from "./session-vaq1yek0.js";
31
31
  import {
32
32
  __export
33
- } from "./credential-9rqn6x4v.js";
33
+ } from "./session-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make9
40
+ make: () => make8
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make9 = Effect.gen(function* () {
55
- const bus = yield* Service86;
54
+ var make8 = Effect.gen(function* () {
55
+ const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service39;
58
- const toolOutput = yield* Service55;
57
+ const snapshots = yield* Service41;
58
+ const toolOutput = yield* Service48;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error4({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
223
223
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
224
224
  };
225
225
 
226
- export { Outcome2, make9, exports_step };
226
+ export { Outcome2, make8, exports_step };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./credential-yv7s2sp4.js";
4
+ } from "./session-2vpr0s80.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./credential-3hepkmqq.js";
7
+ } from "./session-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./credential-9rqn6x4v.js";
10
+ } from "./session-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service75,
17
- node: () => node79
16
+ Service: () => Service85,
17
+ node: () => node89
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service75 extends Context.Service()("@opencode/KV") {
22
+ class Service85 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service75, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service85, Effect.gen(function* () {
25
25
  const db = (yield* Service87).db;
26
- return Service75.of({
26
+ return Service85.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node79 = makeGlobalNode({ service: Service75, layer, deps: [node91] });
54
+ var node89 = makeGlobalNode({ service: Service85, layer, deps: [node91] });
55
55
 
56
- export { Service75, node79, exports_kv };
56
+ export { Service85, node89, exports_kv };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./credential-p015t6z3.js";
3
+ } from "./session-p015t6z3.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service37,
11
+ Service: () => Service33,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer18,
13
+ layer: () => layer14,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node40
15
+ node: () => node36
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service37.of({ bind, close, closeAll });
370
+ return Service33.of({ bind, close, closeAll });
371
371
  }));
372
- var layer18 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node40 = makeGlobalNode({ service: Service37, layer: layer18, deps: [webSocketConstructor2] });
375
+ var node36 = makeGlobalNode({ service: Service33, layer: layer14, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service37, makeLayer2, layer18, node40, exports_model_transport };
377
+ export { Service33, makeLayer2, layer14, node36, exports_model_transport };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./credential-yv7s2sp4.js";
4
+ } from "./session-2vpr0s80.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./credential-8jztxfpf.js";
7
+ } from "./session-8jztxfpf.js";
8
8
  import {
9
- Service86,
10
- node90
11
- } from "./credential-pnr9fk74.js";
9
+ Service83,
10
+ node87
11
+ } from "./session-hht3wrh4.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./credential-ec1grn59.js";
14
+ } from "./session-ec1grn59.js";
15
15
  import {
16
16
  SessionMessageTable2,
17
17
  SessionInboxTable2
18
- } from "./credential-gg8p9cgs.js";
18
+ } from "./session-mb7mbhnz.js";
19
19
  import {
20
20
  SessionMessage2
21
- } from "./credential-gftt206x.js";
21
+ } from "./session-gftt206x.js";
22
22
  import {
23
23
  UserPayload3
24
- } from "./credential-fg9p65nk.js";
24
+ } from "./session-fg9p65nk.js";
25
25
  import {
26
26
  hydrateInbox2,
27
27
  keepInboxRefs2,
28
- describe2,
28
+ describe3,
29
29
  externalizePayload2,
30
30
  recordRefs2,
31
31
  releaseMessage2
32
- } from "./credential-qmpcwza3.js";
32
+ } from "./session-rbc1s8g1.js";
33
33
  import {
34
34
  decodeMessageRows2
35
- } from "./credential-qc3z06b5.js";
35
+ } from "./session-vp9b3xr6.js";
36
36
  import {
37
37
  __export
38
- } from "./credential-9rqn6x4v.js";
38
+ } from "./session-9rqn6x4v.js";
39
39
 
40
40
  // src/session/inbox.ts
41
41
  var exports_inbox = {};
@@ -43,7 +43,7 @@ __export(exports_inbox, {
43
43
  Compaction: () => Compaction2,
44
44
  CompactionPayload: () => CompactionPayload2,
45
45
  Delivery: () => Delivery2,
46
- Info: () => Info7,
46
+ Info: () => Info12,
47
47
  Item: () => Item2,
48
48
  LifecycleConflict: () => LifecycleConflict2,
49
49
  MediaInfo: () => MediaInfo2,
@@ -51,7 +51,7 @@ __export(exports_inbox, {
51
51
  MediaUserPayload: () => MediaUserPayload2,
52
52
  Move: () => Move2,
53
53
  MovePayload: () => MovePayload2,
54
- Service: () => Service43,
54
+ Service: () => Service53,
55
55
  SessionInbox: () => exports_inbox,
56
56
  Synthetic: () => Synthetic2,
57
57
  SyntheticPayload: () => SyntheticPayload2,
@@ -59,13 +59,13 @@ __export(exports_inbox, {
59
59
  UserPayload: () => UserPayload2,
60
60
  find: () => find2,
61
61
  has: () => has2,
62
- layer: () => layer22,
63
- list: () => list3,
62
+ layer: () => layer19,
63
+ list: () => list4,
64
64
  listWithRefs: () => listWithRefs2,
65
- make: () => make17,
65
+ make: () => make18,
66
66
  moveIDs: () => moveIDs2,
67
67
  nextPromotable: () => nextPromotable2,
68
- node: () => node46,
68
+ node: () => node55,
69
69
  projectAdmitted: () => projectAdmitted2,
70
70
  projectCancelled: () => projectCancelled2,
71
71
  projectDelivered: () => projectDelivered2,
@@ -80,7 +80,7 @@ import {
80
80
  Compaction as Compaction2,
81
81
  CompactionPayload as CompactionPayload2,
82
82
  Delivery as Delivery2,
83
- Info as Info7,
83
+ Info as Info12,
84
84
  Item as Item2,
85
85
  MediaInfo as MediaInfo2,
86
86
  MediaUser as MediaUser2,
@@ -184,12 +184,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
184
184
  });
185
185
  });
186
186
 
187
- class Service43 extends Context.Service()("@opencode/SessionInbox") {
187
+ class Service53 extends Context.Service()("@opencode/SessionInbox") {
188
188
  }
189
- var make17 = Effect.fn("SessionInbox.make")(function* () {
189
+ var make18 = Effect.fn("SessionInbox.make")(function* () {
190
190
  const database = yield* Service87;
191
191
  const db = database.db;
192
- const bus = yield* Service86;
192
+ const bus = yield* Service83;
193
193
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
194
194
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
195
195
  if (existing === undefined)
@@ -206,7 +206,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
206
206
  inboxID: request.id,
207
207
  sessionID: request.sessionID,
208
208
  item: request.item
209
- }).pipe(Effect.map((event) => Info7.make({
209
+ }).pipe(Effect.map((event) => Info12.make({
210
210
  id: request.id,
211
211
  sessionID: request.sessionID,
212
212
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -226,7 +226,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
226
226
  }
227
227
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
228
228
  return yield* new LifecycleConflict2({ id: input.id });
229
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
229
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
230
230
  if (pending)
231
231
  return pending;
232
232
  return yield* admit({
@@ -251,7 +251,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
251
251
  delivery: "queue"
252
252
  })));
253
253
  return {
254
- list: (sessionID) => list3(db, sessionID),
254
+ list: (sessionID) => list4(db, sessionID),
255
255
  reconcile,
256
256
  admit,
257
257
  admitCompaction,
@@ -260,8 +260,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
260
260
  queue
261
261
  };
262
262
  });
263
- var layer22 = Layer.effect(Service43, make17());
264
- var node46 = makeGlobalNode({ service: Service43, layer: layer22, deps: [node91, node90] });
263
+ var layer19 = Layer.effect(Service53, make18());
264
+ var node55 = makeGlobalNode({ service: Service53, layer: layer19, deps: [node91, node87] });
265
265
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
266
266
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
267
267
  if (message !== undefined)
@@ -310,7 +310,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
310
310
  to: input.delivery
311
311
  }));
312
312
  var listRows = (db, sessionID) => db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
313
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
313
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
314
314
  return (yield* hydrateInbox2(db, yield* listRows(db, sessionID))).map(fromRow);
315
315
  });
316
316
  var listWithRefs2 = Effect.fn("SessionInbox.listWithRefs")(function* (db, sessionID) {
@@ -324,7 +324,7 @@ var listWithRefs2 = Effect.fn("SessionInbox.listWithRefs")(function* (db, sessio
324
324
  sessionID: row.session_id,
325
325
  time: { created: DateTime.makeUnsafe(row.time_created) },
326
326
  type: "user",
327
- payload: payload.files ? { ...payload, files: describe2(payload.files, kept.meta) } : payload,
327
+ payload: payload.files ? { ...payload, files: describe3(payload.files, kept.meta) } : payload,
328
328
  delivery: row.delivery
329
329
  });
330
330
  });
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
385
385
  return rows;
386
386
  }));
387
387
 
388
- export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service43, make17, layer22, node46, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
388
+ export { Compaction2, CompactionPayload2, Delivery2, Info12, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service53, make18, layer19, node55, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./credential-dkxwsr1g.js";
5
+ } from "./session-04e5fydp.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make24,
10
10
  makeWithDefaults2
11
- } from "./credential-q91aphyp.js";
11
+ } from "./session-dwpz7zn0.js";
12
12
  import {
13
13
  __export
14
- } from "./credential-9rqn6x4v.js";
14
+ } from "./session-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./credential-va3vstze.js";
3
+ } from "./session-qg5z9cfk.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./credential-bwva959e.js";
6
+ } from "./session-et8sht6e.js";
7
7
  import {
8
8
  __export
9
- } from "./credential-9rqn6x4v.js";
9
+ } from "./session-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2,
15
+ resolve: () => resolve4,
16
16
  supports: () => supports2
17
17
  });
18
18
  function supports2(reasoning) {
@@ -24,7 +24,7 @@ function supports2(reasoning) {
24
24
  ...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
25
25
  ];
26
26
  }
27
- function resolve2(model, supports = [{ type: "effort" }]) {
27
+ function resolve4(model, supports = [{ type: "effort" }]) {
28
28
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
29
29
  if (!protocol)
30
30
  return [];
@@ -584,4 +584,4 @@ var PROTOCOLS = {
584
584
  [aisdk2("gitlab-ai-provider")]: gitlab
585
585
  };
586
586
 
587
- export { supports2, resolve2, exports_variant };
587
+ export { supports2, resolve4, exports_variant };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./credential-jze0r7bz.js";
3
+ } from "./session-jze0r7bz.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service65,
3
- node69
4
- } from "./credential-sh6m4nea.js";
2
+ Service71,
3
+ node74
4
+ } from "./session-014m13nx.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./credential-4hn0zw0c.js";
6
+ Service77,
7
+ node81
8
+ } from "./session-c0j43jcq.js";
9
9
  import {
10
- Service64,
11
- node68
12
- } from "./credential-4f3e2fe5.js";
10
+ Service70,
11
+ node73
12
+ } from "./session-tf0cgyr6.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./credential-6esdw8yj.js";
16
+ } from "./session-6esdw8yj.js";
17
17
  import {
18
18
  __export
19
- } from "./credential-9rqn6x4v.js";
19
+ } from "./session-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service5,
25
+ Service: () => Service8,
26
26
  empty: () => empty2,
27
- layer: () => layer6,
28
- node: () => node6
27
+ layer: () => layer8,
28
+ node: () => node10
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service5 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer6 = Layer.effect(Service5, Effect.gen(function* () {
39
- const config = yield* Service64;
40
- const watcher = yield* Service65;
38
+ var layer8 = Layer.effect(Service8, Effect.gen(function* () {
39
+ const config = yield* Service70;
40
+ const watcher = yield* Service71;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service83;
42
+ const location = yield* Service77;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service5.of({
61
+ return Service8.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service5,
75
- layer: layer6,
76
- deps: [node68, FSUtil.node, node69, node87]
73
+ var node10 = makeLocationNode({
74
+ service: Service8,
75
+ layer: layer8,
76
+ deps: [node73, FSUtil.node, node74, node81]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service5,
80
- layer: Layer.succeed(Service5, Service5.of({
79
+ service: Service8,
80
+ layer: Layer.succeed(Service8, Service8.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -138,4 +138,4 @@ function isPluginSource(entries, file) {
138
138
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
139
139
  }
140
140
 
141
- export { Service5, layer6, node6, empty2, exports_source };
141
+ export { Service8, layer8, node10, empty2, exports_source };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./credential-pnr9fk74.js";
2
+ Service83,
3
+ node87
4
+ } from "./session-hht3wrh4.js";
5
5
  import {
6
6
  changes2,
7
7
  create3
8
- } from "./credential-204s3925.js";
8
+ } from "./session-204s3925.js";
9
9
  import {
10
10
  __export
11
- } from "./credential-9rqn6x4v.js";
11
+ } from "./session-9rqn6x4v.js";
12
12
 
13
13
  // src/command.ts
14
- var exports_command5 = {};
15
- __export(exports_command5, {
16
- Command: () => exports_command5,
17
- Event: () => Event17,
14
+ var exports_command4 = {};
15
+ __export(exports_command4, {
16
+ Command: () => exports_command4,
17
+ Event: () => Event10,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info25,
20
- NotFoundError: () => NotFoundError11,
21
- Service: () => Service76,
22
- layer: () => layer27,
23
- node: () => node80
19
+ Info: () => Info13,
20
+ NotFoundError: () => NotFoundError8,
21
+ Service: () => Service57,
22
+ layer: () => layer20,
23
+ node: () => node59
24
24
  });
25
25
  import { Command } from "@opencode/schema/command";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
- import { Event as Event17 } from "@opencode/schema/command";
29
- var Info25 = Command.Info;
28
+ import { Event as Event10 } from "@opencode/schema/command";
29
+ var Info13 = Command.Info;
30
30
 
31
- class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
32
32
  command: Schema.String,
33
33
  message: Schema.String
34
34
  }) {
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
40
40
  }) {
41
41
  }
42
42
 
43
- class Service76 extends Context.Service()("@opencode/Command") {
43
+ class Service57 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer27 = Layer.effect(Service76, Effect.gen(function* () {
46
- const bus = yield* Service86;
47
- const info = (definition) => Info25.make({
45
+ var layer20 = Layer.effect(Service57, Effect.gen(function* () {
46
+ const bus = yield* Service83;
47
+ const info = (definition) => Info13.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer27 = Layer.effect(Service76, Effect.gen(function* () {
56
56
  }),
57
57
  notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
58
58
  });
59
- return Service76.of({
59
+ return Service57.of({
60
60
  reload: state.reload,
61
61
  transform: state.transform,
62
62
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -67,15 +67,15 @@ var layer27 = Layer.effect(Service76, Effect.gen(function* () {
67
67
  execute: Effect.fn("Command.execute")(function* (input) {
68
68
  const definition = state.get().get(input.name);
69
69
  if (!definition)
70
- return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
71
71
  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) })));
72
72
  })
73
73
  });
74
74
  }));
75
- var node80 = makeLocationNode({
76
- service: Service76,
77
- layer: layer27,
78
- deps: [node90]
75
+ var node59 = makeLocationNode({
76
+ service: Service57,
77
+ layer: layer20,
78
+ deps: [node87]
79
79
  });
80
80
  function errorMessage(error) {
81
81
  if (error instanceof Error)
@@ -87,4 +87,4 @@ function errorMessage(error) {
87
87
  return "Command execution failed";
88
88
  }
89
89
 
90
- export { Info25, NotFoundError11, ExecutionError2, Service76, layer27, node80, exports_command5, Event17 };
90
+ export { Info13, NotFoundError8, ExecutionError2, Service57, layer20, node59, exports_command4, Event10 };