@opencode/core 0.0.0-dev-842 → 0.0.0-dev-845

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 (931) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +248 -248
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{form-j7c0x7wv.js → shell-0376wd2r.js} +15 -15
  9. package/dist/chunks/{form-6y5bc2de.js → shell-09m30c13.js} +8 -8
  10. package/dist/chunks/{form-1k92ehs8.js → shell-0c9a6smd.js} +17 -17
  11. package/dist/chunks/{form-0b5bd7nc.js → shell-0f6bvsk3.js} +16 -16
  12. package/dist/chunks/{form-at6j6z2m.js → shell-0gj47m7y.js} +18 -18
  13. package/dist/chunks/{form-0j7gp832.js → shell-0j7gp832.js} +1 -1
  14. package/dist/chunks/{form-yd4epj8t.js → shell-0jqak6z7.js} +19 -19
  15. package/dist/chunks/{form-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{form-evgxvaw6.js → shell-0pas9fex.js} +42 -42
  17. package/dist/chunks/{form-s028352g.js → shell-0ptksmaw.js} +23 -23
  18. package/dist/chunks/{form-9zhs84ee.js → shell-0xc524zk.js} +4 -4
  19. package/dist/chunks/{form-tk3j38rc.js → shell-0xwpf9nm.js} +364 -364
  20. package/dist/chunks/{form-rqbywvpy.js → shell-11dfeftq.js} +12 -12
  21. package/dist/chunks/{form-y01bbref.js → shell-1435t53a.js} +3 -3
  22. package/dist/chunks/{form-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{form-g4secby6.js → shell-1d0wczam.js} +22 -22
  24. package/dist/chunks/{form-fw6w43k8.js → shell-1drh042d.js} +12 -12
  25. package/dist/chunks/{form-pz38ppbk.js → shell-1fxksq7e.js} +17 -17
  26. package/dist/chunks/{form-jxp4zbgy.js → shell-1rjq489n.js} +160 -160
  27. package/dist/chunks/{form-cjxestwk.js → shell-1trk357q.js} +23 -23
  28. package/dist/chunks/{form-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{form-m7rbn2gb.js → shell-1xzjzq12.js} +30 -30
  30. package/dist/chunks/{form-1yq9hg58.js → shell-1yq9hg58.js} +1 -1
  31. package/dist/chunks/{form-p87h0044.js → shell-1zxrx0km.js} +9 -9
  32. package/dist/chunks/shell-208nbn7x.js +16 -0
  33. package/dist/chunks/{form-5c94rcg7.js → shell-20yvxjhy.js} +22 -22
  34. package/dist/chunks/{form-229tvxdn.js → shell-229tvxdn.js} +1 -1
  35. package/dist/chunks/{form-fz5v2h79.js → shell-25ybqthv.js} +29 -29
  36. package/dist/chunks/{form-1ep2p91f.js → shell-27w5k9zf.js} +2 -2
  37. package/dist/chunks/{form-scn5v30h.js → shell-2b2r7h3k.js} +9 -9
  38. package/dist/chunks/{form-2fc7eemy.js → shell-2fc7eemy.js} +1 -1
  39. package/dist/chunks/{form-w8t0h76g.js → shell-2fc8b0kx.js} +14 -14
  40. package/dist/chunks/{form-rcbjwvze.js → shell-2m2g9ynh.js} +4 -4
  41. package/dist/chunks/{form-z2ythmv4.js → shell-2mrzfd6s.js} +21 -21
  42. package/dist/chunks/{form-2p60zmnr.js → shell-2p60zmnr.js} +2 -2
  43. package/dist/chunks/{form-fxh7cfc2.js → shell-2z7pcg50.js} +20 -20
  44. package/dist/chunks/{form-6taepy3j.js → shell-3288jgew.js} +4 -4
  45. package/dist/chunks/{form-eb4y6e43.js → shell-32j8phd5.js} +24 -24
  46. package/dist/chunks/{form-ywv6jdkf.js → shell-32s5n8c8.js} +11 -11
  47. package/dist/chunks/{form-20m6c23e.js → shell-34r5v1v3.js} +20 -20
  48. package/dist/chunks/{form-27vhhex7.js → shell-3aadzwqp.js} +3 -3
  49. package/dist/chunks/{form-ayjs7tqn.js → shell-3cbjf1nt.js} +2 -2
  50. package/dist/chunks/{form-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{form-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{form-0wjy80qx.js → shell-3npftgr8.js} +11 -11
  53. package/dist/chunks/{form-13ttwavm.js → shell-3nw1k2zv.js} +6 -6
  54. package/dist/chunks/{form-5y6fv6n0.js → shell-3pxaezmg.js} +10 -10
  55. package/dist/chunks/{form-rhdp1g8h.js → shell-3qme0kf1.js} +18 -18
  56. package/dist/chunks/{form-09z4nsg5.js → shell-3s2njrkt.js} +2 -2
  57. package/dist/chunks/{form-0ae8gskx.js → shell-405hpm5w.js} +5 -5
  58. package/dist/chunks/{form-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
  59. package/dist/chunks/{form-w2eysc6j.js → shell-40za9wsf.js} +9 -9
  60. package/dist/chunks/{form-44pmzq9c.js → shell-44pmzq9c.js} +2 -2
  61. package/dist/chunks/{form-8x9zc39d.js → shell-4bn5jfhg.js} +29 -29
  62. package/dist/chunks/{form-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
  63. package/dist/chunks/{form-r542h3bh.js → shell-4f25tdd0.js} +5 -5
  64. package/dist/chunks/{form-c509b2xd.js → shell-4m25fs0c.js} +25 -25
  65. package/dist/chunks/{form-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
  66. package/dist/chunks/{form-d9hmz7we.js → shell-4rrwvkzx.js} +13 -13
  67. package/dist/chunks/{form-4v008n1t.js → shell-4v008n1t.js} +1 -1
  68. package/dist/chunks/{form-bsrypqqq.js → shell-4xjy8j8p.js} +5 -5
  69. package/dist/chunks/{form-918maj3v.js → shell-4z1pemzx.js} +8 -8
  70. package/dist/chunks/{form-0e86k0yz.js → shell-537wj3tm.js} +17 -17
  71. package/dist/chunks/{form-a4j1t0h9.js → shell-5f11tvgc.js} +46 -46
  72. package/dist/chunks/{form-a9vnvp82.js → shell-5m6ckvxn.js} +14 -14
  73. package/dist/chunks/{form-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{form-189cp306.js → shell-5r7kxkrw.js} +32 -32
  75. package/dist/chunks/{form-21qmnpkk.js → shell-5t2bv29q.js} +9 -9
  76. package/dist/chunks/{form-5bz64z4q.js → shell-5yptz2jp.js} +21 -21
  77. package/dist/chunks/{form-m77694tz.js → shell-643vwpv5.js} +12 -12
  78. package/dist/chunks/{form-t0yj1xma.js → shell-66skc788.js} +11 -11
  79. package/dist/chunks/{form-54da28pt.js → shell-68gmzqw4.js} +19 -19
  80. package/dist/chunks/{form-r3ns2zpb.js → shell-6bcwq14n.js} +5 -5
  81. package/dist/chunks/{form-gvvsspjy.js → shell-6hav4whp.js} +13 -13
  82. package/dist/chunks/{form-3qhp66jm.js → shell-6rwa7jk1.js} +5 -5
  83. package/dist/chunks/{form-ntrx60bt.js → shell-6sbfg0tw.js} +23 -23
  84. package/dist/chunks/{form-7h7tvtg0.js → shell-6sg7v011.js} +2 -2
  85. package/dist/chunks/{form-20ktvzzm.js → shell-6swabtyq.js} +12 -12
  86. package/dist/chunks/{form-yfnmf266.js → shell-6wxs95q2.js} +8 -8
  87. package/dist/chunks/{form-n5a26p1g.js → shell-6x9fp5f4.js} +8 -8
  88. package/dist/chunks/{form-t1byp53t.js → shell-70yhc4mp.js} +8 -8
  89. package/dist/chunks/{form-ys900tws.js → shell-75a2gs08.js} +1 -1
  90. package/dist/chunks/{form-ssa8s2ke.js → shell-76fw5h1w.js} +12 -12
  91. package/dist/chunks/{form-4tjsbxdc.js → shell-79z3x0ey.js} +12 -12
  92. package/dist/chunks/{form-8bvx5x22.js → shell-7bbqa9np.js} +36 -36
  93. package/dist/chunks/{form-v0wt9h0w.js → shell-7bkjbtdh.js} +4 -4
  94. package/dist/chunks/{form-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  95. package/dist/chunks/{form-16qcmenh.js → shell-7etmxwrw.js} +9 -9
  96. package/dist/chunks/{form-8sxe6kv8.js → shell-7qrph824.js} +2 -2
  97. package/dist/chunks/{form-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
  98. package/dist/chunks/{form-7weczvnd.js → shell-7weczvnd.js} +1 -1
  99. package/dist/chunks/{form-3743djwj.js → shell-7yss8msg.js} +11 -11
  100. package/dist/chunks/{form-80mg3ag8.js → shell-80mg3ag8.js} +3 -3
  101. package/dist/chunks/{form-89287pr7.js → shell-89287pr7.js} +1 -1
  102. package/dist/chunks/{form-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
  103. package/dist/chunks/{form-5whx36p1.js → shell-8cg7mtm3.js} +4 -4
  104. package/dist/chunks/{form-vfrxt2x7.js → shell-8dgmathe.js} +82 -82
  105. package/dist/chunks/{form-pnwsrq7c.js → shell-8fb3spgr.js} +6 -6
  106. package/dist/chunks/{form-9w464bjy.js → shell-8s61ky95.js} +17 -17
  107. package/dist/chunks/{form-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
  108. package/dist/chunks/{form-mb7mbhnz.js → shell-8z6m94af.js} +3 -3
  109. package/dist/chunks/{form-8zv0xmg5.js → shell-8zv0xmg5.js} +1 -1
  110. package/dist/chunks/{form-kxfjk1hq.js → shell-954rbe2c.js} +5 -5
  111. package/dist/chunks/{form-wjtqmzzy.js → shell-96ay2w1e.js} +20 -20
  112. package/dist/chunks/{form-t3b41g95.js → shell-99gq5wd5.js} +20 -20
  113. package/dist/chunks/{form-ze4dgnex.js → shell-9cx1gfxp.js} +11 -11
  114. package/dist/chunks/{form-p08bfc34.js → shell-9e8m0fbc.js} +27 -27
  115. package/dist/chunks/{form-k36x9ds4.js → shell-9jsg05jc.js} +31 -31
  116. package/dist/chunks/{form-71w0tn67.js → shell-9mgth90e.js} +6 -6
  117. package/dist/chunks/{form-5f395gws.js → shell-9ncrnkt5.js} +2 -2
  118. package/dist/chunks/{form-9q8g9sv8.js → shell-9q8g9sv8.js} +1 -1
  119. package/dist/chunks/{form-694dpcrp.js → shell-9qqfewpb.js} +7 -7
  120. package/dist/chunks/{form-jv5ccajn.js → shell-9wk4aggv.js} +2 -2
  121. package/dist/chunks/{form-8b7mpbas.js → shell-a06r4g0m.js} +15 -15
  122. package/dist/chunks/{form-7nqkf5r1.js → shell-a5fx33f2.js} +6 -6
  123. package/dist/chunks/{form-18w41q58.js → shell-a692z59y.js} +5 -5
  124. package/dist/chunks/{form-g31nr9r5.js → shell-a8sr8rzb.js} +10 -10
  125. package/dist/chunks/{form-034tev2y.js → shell-aj7mw0zk.js} +2 -2
  126. package/dist/chunks/{form-azqdag7d.js → shell-azqdag7d.js} +1 -1
  127. package/dist/chunks/{form-bysra5t4.js → shell-b1rrmhtb.js} +7 -7
  128. package/dist/chunks/{form-b26ddj6h.js → shell-b26ddj6h.js} +4 -4
  129. package/dist/chunks/{form-k01tsexe.js → shell-b6z59cfe.js} +27 -27
  130. package/dist/chunks/{form-v438kgpn.js → shell-bb3pv0r8.js} +7 -7
  131. package/dist/chunks/{form-xfagcpqk.js → shell-bc8y4p89.js} +37 -37
  132. package/dist/chunks/{form-e36smfwe.js → shell-bg0mwpa3.js} +11 -11
  133. package/dist/chunks/{form-9ffxq9nb.js → shell-bg52gzq1.js} +11 -11
  134. package/dist/chunks/{form-n3h5x1j7.js → shell-bhafg173.js} +5 -5
  135. package/dist/chunks/{form-s26c8eb5.js → shell-bhfd478d.js} +4 -4
  136. package/dist/chunks/{form-160y4fy1.js → shell-bkzdj837.js} +4 -4
  137. package/dist/chunks/{form-fjvdb2py.js → shell-bqy6qjs0.js} +4 -4
  138. package/dist/chunks/{form-bstexjd6.js → shell-bstexjd6.js} +1 -1
  139. package/dist/chunks/{form-9br47e8c.js → shell-bvphg68q.js} +11 -11
  140. package/dist/chunks/{form-z134yfam.js → shell-bwwgg4gq.js} +36 -36
  141. package/dist/chunks/{form-c3rs14w3.js → shell-bxttbxw3.js} +21 -21
  142. package/dist/chunks/{form-wakhmmd1.js → shell-c74zf002.js} +16 -16
  143. package/dist/chunks/shell-cdf2aen0.js +26 -0
  144. package/dist/chunks/{form-h0x6rr14.js → shell-ch7td5aw.js} +9 -9
  145. package/dist/chunks/{form-ffsa8r87.js → shell-cn47eddm.js} +19 -19
  146. package/dist/chunks/{form-zwqpd1sv.js → shell-cttdm8w6.js} +16 -16
  147. package/dist/chunks/{form-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
  148. package/dist/chunks/{form-jvqa538b.js → shell-czbtc4y4.js} +14 -14
  149. package/dist/chunks/shell-d77dj7jw.js +18 -0
  150. package/dist/chunks/{form-spshqcm8.js → shell-d89g0pyp.js} +13 -13
  151. package/dist/chunks/{form-ckg8xawb.js → shell-dac3x4jp.js} +36 -36
  152. package/dist/chunks/{form-73ff1310.js → shell-dbatw319.js} +3 -3
  153. package/dist/chunks/{form-eraegmzv.js → shell-ddm9bp8z.js} +16 -16
  154. package/dist/chunks/{form-8rapdqzr.js → shell-ddvv9kd4.js} +4 -4
  155. package/dist/chunks/{form-tp61pwzp.js → shell-dsamxs8t.js} +1 -1
  156. package/dist/chunks/{form-dt77769w.js → shell-dt77769w.js} +1 -1
  157. package/dist/chunks/{form-3jymkt4s.js → shell-dvnqv6yn.js} +4 -4
  158. package/dist/chunks/{form-6p497339.js → shell-dvt27j4v.js} +27 -27
  159. package/dist/chunks/{form-73y9ag02.js → shell-e174pryb.js} +8 -8
  160. package/dist/chunks/{form-e834z07m.js → shell-e834z07m.js} +1 -1
  161. package/dist/chunks/{form-308728w8.js → shell-e9cw7gmf.js} +17 -17
  162. package/dist/chunks/{form-yngvyh0w.js → shell-eam2557n.js} +8 -8
  163. package/dist/chunks/{form-nnrze58g.js → shell-eewdpb1z.js} +11 -11
  164. package/dist/chunks/{form-je58zs5t.js → shell-eg24kt41.js} +15 -15
  165. package/dist/chunks/{form-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
  166. package/dist/chunks/{form-9dbgw895.js → shell-ewg1d00g.js} +20 -20
  167. package/dist/chunks/{form-r57t315r.js → shell-f1724s09.js} +27 -27
  168. package/dist/chunks/{form-f2kkz48h.js → shell-f391j6tf.js} +36 -36
  169. package/dist/chunks/{form-zd20d99m.js → shell-f54379qr.js} +11 -11
  170. package/dist/chunks/{form-d7qcj0s1.js → shell-f9r4rks5.js} +3 -3
  171. package/dist/chunks/{form-3t8871fy.js → shell-fdzzf5f1.js} +17 -17
  172. package/dist/chunks/{form-t2b5j66t.js → shell-fe6hsv98.js} +50 -50
  173. package/dist/chunks/{form-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
  174. package/dist/chunks/{form-0abym86h.js → shell-ffz0kz1m.js} +16 -16
  175. package/dist/chunks/{form-prq7xxp2.js → shell-fg9p65nk.js} +6 -6
  176. package/dist/chunks/{form-t6z22wpq.js → shell-fm7r52f5.js} +33 -33
  177. package/dist/chunks/{form-jc2407y7.js → shell-fmyv9c6r.js} +11 -11
  178. package/dist/chunks/{form-kayvfd89.js → shell-frrvpzgc.js} +10 -10
  179. package/dist/chunks/{form-rcpcm9rp.js → shell-ft76x6ef.js} +5 -5
  180. package/dist/chunks/{form-wr3re1en.js → shell-fznmdakp.js} +4 -4
  181. package/dist/chunks/{form-q7yhqdrz.js → shell-g0n526a7.js} +10 -10
  182. package/dist/chunks/{form-rzg6y5rp.js → shell-g5ajqn12.js} +4 -4
  183. package/dist/chunks/{form-zy99nq64.js → shell-gba9zttd.js} +39 -39
  184. package/dist/chunks/{form-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
  185. package/dist/chunks/{form-73wk2e5x.js → shell-gcjxeb8g.js} +9 -9
  186. package/dist/chunks/{form-f80thpwy.js → shell-ggx84v7x.js} +6 -6
  187. package/dist/chunks/{form-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
  188. package/dist/chunks/{form-d4v9tmah.js → shell-gn8tkhbf.js} +2 -2
  189. package/dist/chunks/{form-mxmmsac2.js → shell-gqzdnzz8.js} +5 -5
  190. package/dist/chunks/{form-hzrrmept.js → shell-gtdtb6zh.js} +1 -1
  191. package/dist/chunks/{form-tg7s7b5t.js → shell-gxs71cxp.js} +4 -4
  192. package/dist/chunks/{form-vv9d6yzq.js → shell-gz6jg68s.js} +5 -5
  193. package/dist/chunks/{form-c3egrpe1.js → shell-h00ntfdh.js} +28 -28
  194. package/dist/chunks/{form-nt907s04.js → shell-h5chy42v.js} +3 -3
  195. package/dist/chunks/{form-3zfpb5av.js → shell-h78ntqjs.js} +8 -8
  196. package/dist/chunks/{form-0qeynme4.js → shell-h7yvbbcv.js} +15 -15
  197. package/dist/chunks/{form-wwzhm1er.js → shell-h8j0ctnd.js} +13 -13
  198. package/dist/chunks/{form-93emhyj4.js → shell-h9wxasy5.js} +18 -18
  199. package/dist/chunks/{form-7qxfdkbh.js → shell-hazbs8j2.js} +9 -9
  200. package/dist/chunks/{form-55z1fvan.js → shell-hgj39bj7.js} +7 -7
  201. package/dist/chunks/{form-hgzwgvze.js → shell-hgzwgvze.js} +2 -2
  202. package/dist/chunks/{form-gys30727.js → shell-hhzexzy6.js} +9 -9
  203. package/dist/chunks/{form-e5cb9r4c.js → shell-hpvchwm2.js} +11 -11
  204. package/dist/chunks/{form-nhk3pcz2.js → shell-hwkyjen6.js} +11 -11
  205. package/dist/chunks/{form-ra6js1h8.js → shell-hy8c1z76.js} +8 -8
  206. package/dist/chunks/{form-dvtygb9t.js → shell-hyka1c57.js} +10 -10
  207. package/dist/chunks/{form-yq1szrv8.js → shell-j2e5thya.js} +25 -17
  208. package/dist/chunks/{form-fqfedspm.js → shell-j57hq37t.js} +25 -25
  209. package/dist/chunks/{form-t12x3c57.js → shell-j8912rfd.js} +23 -23
  210. package/dist/chunks/{form-zp0nz9wc.js → shell-jjzjap5a.js} +5 -5
  211. package/dist/chunks/{form-edn7q8a0.js → shell-jm4m5v7c.js} +35 -35
  212. package/dist/chunks/{form-jm70asfg.js → shell-jm70asfg.js} +1 -1
  213. package/dist/chunks/{form-npbkx8j0.js → shell-jx7n74qh.js} +8 -8
  214. package/dist/chunks/{form-dr8tb8h2.js → shell-k60epa5j.js} +15 -15
  215. package/dist/chunks/{form-4ynbgj42.js → shell-kcfxxse4.js} +3 -3
  216. package/dist/chunks/{form-d1fvrzrq.js → shell-kf87nf2v.js} +15 -15
  217. package/dist/chunks/{form-acccg05p.js → shell-kgt7p13e.js} +18 -18
  218. package/dist/chunks/{form-qxhjjx9m.js → shell-kjb9hnrx.js} +34 -34
  219. package/dist/chunks/{form-wxxe0m6j.js → shell-kswrbrbd.js} +41 -41
  220. package/dist/chunks/{form-293z9b6s.js → shell-ktjv9mj5.js} +25 -25
  221. package/dist/chunks/{form-yte5fy8q.js → shell-kwx8p0jg.js} +5 -5
  222. package/dist/chunks/{form-cr44ae3x.js → shell-kz2edm91.js} +5 -5
  223. package/dist/chunks/{form-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
  224. package/dist/chunks/{form-mb6fvzwn.js → shell-m117rz8z.js} +5 -5
  225. package/dist/chunks/{form-m1714858.js → shell-m1714858.js} +1 -1
  226. package/dist/chunks/{form-g0w8afv2.js → shell-m3pvbx4h.js} +20 -20
  227. package/dist/chunks/{form-0r23xs05.js → shell-m4gnngc2.js} +17 -17
  228. package/dist/chunks/{form-rcrnc85a.js → shell-m9c2aabq.js} +46 -46
  229. package/dist/chunks/{form-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  230. package/dist/chunks/{form-1frrjsr4.js → shell-mdggcxnx.js} +21 -21
  231. package/dist/chunks/{form-esb6qh0w.js → shell-mjd3hhf5.js} +15 -15
  232. package/dist/chunks/{form-gaeqj6x4.js → shell-mkzwmkqf.js} +6 -6
  233. package/dist/chunks/{form-mm06edep.js → shell-mm06edep.js} +1 -1
  234. package/dist/chunks/{form-v90yhsav.js → shell-mner3my0.js} +6 -6
  235. package/dist/chunks/{form-y0fy3pq0.js → shell-mnh4y74e.js} +9 -9
  236. package/dist/chunks/{form-9h3gp9hb.js → shell-mnkg1d8g.js} +9 -9
  237. package/dist/chunks/{form-z8hem9nv.js → shell-mvh0hmx3.js} +5 -5
  238. package/dist/chunks/{form-g180tnwk.js → shell-n0f0gc3a.js} +12 -12
  239. package/dist/chunks/{form-0k664v8a.js → shell-n3v17h74.js} +28 -28
  240. package/dist/chunks/{form-ap9d5c66.js → shell-n4e6djfc.js} +24 -24
  241. package/dist/chunks/{form-9tx3qs7q.js → shell-n8hn2tj1.js} +23 -23
  242. package/dist/chunks/{form-r7a6435k.js → shell-nbyv4xpy.js} +30 -30
  243. package/dist/chunks/{form-0rxnpv7m.js → shell-nd36bfyw.js} +12 -12
  244. package/dist/chunks/{form-8hfctyyf.js → shell-nn2nd58t.js} +7 -7
  245. package/dist/chunks/{form-vmqe41cb.js → shell-nr915jn7.js} +4 -4
  246. package/dist/chunks/{form-ybnfsn37.js → shell-nw2n20b5.js} +12 -12
  247. package/dist/chunks/{form-wegkxhrn.js → shell-nx4vzyjd.js} +2 -2
  248. package/dist/chunks/{form-xjbsd7zy.js → shell-nxxmtyhx.js} +9 -9
  249. package/dist/chunks/{form-vja7ev1p.js → shell-p0vvrprf.js} +29 -29
  250. package/dist/chunks/{form-65km4cj3.js → shell-pg0x1cv7.js} +8 -8
  251. package/dist/chunks/{form-pknna89w.js → shell-pknna89w.js} +1 -1
  252. package/dist/chunks/{form-vat5hr7b.js → shell-pmjkhs0p.js} +28 -28
  253. package/dist/chunks/{form-adgr8v99.js → shell-pt2r0h69.js} +9 -9
  254. package/dist/chunks/{form-04sjpjg0.js → shell-pwc55nz9.js} +6 -6
  255. package/dist/chunks/{form-msd2a3qm.js → shell-pxrqm68d.js} +8 -8
  256. package/dist/chunks/{form-w8z9qwkz.js → shell-pzcf4m7b.js} +14 -14
  257. package/dist/chunks/{form-v7xfb91r.js → shell-q3m1k2g5.js} +37 -37
  258. package/dist/chunks/{form-0r162r8a.js → shell-q5c7zkja.js} +24 -24
  259. package/dist/chunks/{form-fndffhh1.js → shell-q9cee3z8.js} +35 -35
  260. package/dist/chunks/{form-3g76ehah.js → shell-qaf687f9.js} +14 -14
  261. package/dist/chunks/{form-kszkre2j.js → shell-qf23cwjr.js} +8 -8
  262. package/dist/chunks/{form-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
  263. package/dist/chunks/{form-7zbepvwg.js → shell-qr2s0mn1.js} +34 -34
  264. package/dist/chunks/{form-wfdx5ztx.js → shell-qsdghx1p.js} +4 -4
  265. package/dist/chunks/shell-qt6swdsg.js +265 -0
  266. package/dist/chunks/{form-fqymr2jd.js → shell-qww6qcee.js} +23 -23
  267. package/dist/chunks/{form-8t99kr38.js → shell-r17fbvme.js} +4 -4
  268. package/dist/chunks/{form-jhgtwaqc.js → shell-r2q4cnrv.js} +12 -12
  269. package/dist/chunks/{form-csts2fnr.js → shell-r7z94ssd.js} +78 -78
  270. package/dist/chunks/{form-p94p4v4n.js → shell-r7zrbnjn.js} +4 -4
  271. package/dist/chunks/{form-25fae597.js → shell-ramak3h7.js} +40 -40
  272. package/dist/chunks/{form-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
  273. package/dist/chunks/{form-v25gmzk0.js → shell-rcddr6md.js} +22 -22
  274. package/dist/chunks/{form-yz9hf6pr.js → shell-rev8xd0k.js} +9 -9
  275. package/dist/chunks/{form-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
  276. package/dist/chunks/{form-v5avj4xv.js → shell-rhk8bcs2.js} +13 -13
  277. package/dist/chunks/{form-7bzkyjdd.js → shell-rmaqdgct.js} +32 -32
  278. package/dist/chunks/{form-9qeywnpq.js → shell-rmxymfm5.js} +24 -24
  279. package/dist/chunks/{form-jq2xsbfn.js → shell-rn9mkc76.js} +7 -7
  280. package/dist/chunks/{form-zr8fnqvv.js → shell-rqv9g1yx.js} +4 -4
  281. package/dist/chunks/{form-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
  282. package/dist/chunks/{form-xvbvkk60.js → shell-rt98jwbf.js} +41 -41
  283. package/dist/chunks/{form-rjzpb8qy.js → shell-rv4457c9.js} +8 -8
  284. package/dist/chunks/{form-fe5d6xp2.js → shell-s5y0a33b.js} +7 -7
  285. package/dist/chunks/{form-pen16d07.js → shell-s92vvz56.js} +6 -6
  286. package/dist/chunks/{form-sbya78hr.js → shell-sbya78hr.js} +1 -1
  287. package/dist/chunks/{form-3ybp4q9q.js → shell-sc0vgygz.js} +10 -10
  288. package/dist/chunks/{form-aqtp4w6n.js → shell-sdfbdwmp.js} +12 -12
  289. package/dist/chunks/{form-45x0gvrm.js → shell-sm8hvaf4.js} +20 -20
  290. package/dist/chunks/{form-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
  291. package/dist/chunks/{form-ex4jkzy7.js → shell-t04xxpqv.js} +9 -9
  292. package/dist/chunks/{form-zyfhsknv.js → shell-t6f7t09b.js} +7 -7
  293. package/dist/chunks/{form-tbpn7jtk.js → shell-tbpn7jtk.js} +1 -1
  294. package/dist/chunks/{form-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
  295. package/dist/chunks/{form-tr8x705m.js → shell-tr8x705m.js} +1 -1
  296. package/dist/chunks/{form-x9mxxg72.js → shell-tretta9n.js} +32 -32
  297. package/dist/chunks/{form-twssxy5n.js → shell-twssxy5n.js} +2 -2
  298. package/dist/chunks/{form-0ptvw50g.js → shell-v197ct80.js} +7 -7
  299. package/dist/chunks/{form-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
  300. package/dist/chunks/{form-y1havdw8.js → shell-v37bc009.js} +3 -3
  301. package/dist/chunks/{form-p6exqzn6.js → shell-v7ad2pwj.js} +5 -5
  302. package/dist/chunks/{form-hqbz4gsn.js → shell-vbwbyck9.js} +6 -6
  303. package/dist/chunks/{form-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
  304. package/dist/chunks/{form-xjcr4z2x.js → shell-vpd34e2k.js} +22 -22
  305. package/dist/chunks/{form-f0bx904t.js → shell-vs629ttb.js} +44 -44
  306. package/dist/chunks/{form-5rv27ekb.js → shell-vseznqsh.js} +3 -3
  307. package/dist/chunks/{form-teav1bzy.js → shell-vt4r9rmy.js} +9 -9
  308. package/dist/chunks/{form-cte73bdn.js → shell-vtkasd9r.js} +23 -23
  309. package/dist/chunks/{form-wsgv2ceh.js → shell-vvw1vw7z.js} +4 -4
  310. package/dist/chunks/{form-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  311. package/dist/chunks/{form-qx8y9ktn.js → shell-w632115p.js} +16 -16
  312. package/dist/chunks/{form-rca0dgyq.js → shell-w7z3hg28.js} +6 -6
  313. package/dist/chunks/{form-1rw0yr3p.js → shell-w9x34k8x.js} +29 -29
  314. package/dist/chunks/{form-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
  315. package/dist/chunks/{form-mhrnve06.js → shell-wbj5jy1j.js} +6 -6
  316. package/dist/chunks/{form-wd87259q.js → shell-wd87259q.js} +1 -1
  317. package/dist/chunks/{form-rhfkjr61.js → shell-wdyst71x.js} +15 -15
  318. package/dist/chunks/{form-q67he66r.js → shell-wetheyd5.js} +38 -38
  319. package/dist/chunks/{form-ag72398e.js → shell-wj1xdvk1.js} +16 -16
  320. package/dist/chunks/{form-c7cw818c.js → shell-wt99tj4q.js} +5 -5
  321. package/dist/chunks/{form-jhfvn3va.js → shell-wtx32rv5.js} +16 -16
  322. package/dist/chunks/{form-wvr8xscb.js → shell-wvr8xscb.js} +1 -1
  323. package/dist/chunks/{form-2x25ccpa.js → shell-wz3tbts5.js} +11 -11
  324. package/dist/chunks/{form-x5x97v45.js → shell-wzrgv9jt.js} +2 -2
  325. package/dist/chunks/{form-gxs04k45.js → shell-x47kby8p.js} +4 -4
  326. package/dist/chunks/{form-aax7r870.js → shell-xajpbdhf.js} +6 -6
  327. package/dist/chunks/{form-50pr4ew0.js → shell-xb44tg6j.js} +6 -6
  328. package/dist/chunks/{form-r2zy42nk.js → shell-xc05pfap.js} +47 -47
  329. package/dist/chunks/{form-xxschbft.js → shell-xjr6c8m4.js} +4 -4
  330. package/dist/chunks/{form-q2jwrh60.js → shell-xmx7xj34.js} +5 -5
  331. package/dist/chunks/{form-802gct3x.js → shell-xpkbe0n0.js} +30 -30
  332. package/dist/chunks/{form-bnf3g5rh.js → shell-xxj247ny.js} +2 -2
  333. package/dist/chunks/{form-ez6029c8.js → shell-y3tc4mqh.js} +3 -3
  334. package/dist/chunks/{form-v4jcgqv3.js → shell-y6jpg1cr.js} +52 -52
  335. package/dist/chunks/{form-8ftgkh75.js → shell-y9hckaaa.js} +3 -3
  336. package/dist/chunks/{form-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
  337. package/dist/chunks/{form-yewazj63.js → shell-yj3gcj8g.js} +39 -39
  338. package/dist/chunks/{form-rw19kyxe.js → shell-yj4dxp6f.js} +10 -10
  339. package/dist/chunks/{form-kswbdfdp.js → shell-yn0csnzd.js} +22 -22
  340. package/dist/chunks/{form-yr705xyq.js → shell-yr705xyq.js} +1 -1
  341. package/dist/chunks/{form-yts2a8qm.js → shell-yts2a8qm.js} +1 -1
  342. package/dist/chunks/{form-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
  343. package/dist/chunks/{form-4tqs0jzk.js → shell-yydqqga9.js} +4 -4
  344. package/dist/chunks/{form-jbhyw86b.js → shell-z5ce19gj.js} +83 -83
  345. package/dist/chunks/{form-7zcbhqwr.js → shell-zagh74s1.js} +59 -59
  346. package/dist/chunks/{form-ze75qvmd.js → shell-ze75qvmd.js} +3 -3
  347. package/dist/chunks/{form-wqvsbzj7.js → shell-zhjkbk77.js} +4 -4
  348. package/dist/chunks/{form-by8ty0bx.js → shell-zpdbqgja.js} +4 -4
  349. package/dist/chunks/{form-4ty7fwzn.js → shell-zv7dwkwz.js} +5 -5
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +5 -5
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +5 -5
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +96 -96
  356. package/dist/config/discovery.js +95 -95
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +133 -133
  362. package/dist/config/plugin/command.js +240 -240
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +145 -145
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +130 -130
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +156 -156
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +134 -134
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +129 -129
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +131 -131
  386. package/dist/console-access.js +7 -7
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +84 -84
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +15 -15
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +16 -16
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +105 -105
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -440
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +3 -3
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +107 -107
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +3 -3
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +81 -81
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +88 -88
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +251 -251
  498. package/dist/filesystem/protected.js +1 -1
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +9 -9
  502. package/dist/filesystem.js +118 -118
  503. package/dist/flag.js +127 -127
  504. package/dist/form.js +81 -81
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +118 -118
  508. package/dist/git.js +11 -11
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +104 -104
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +1 -1
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +97 -97
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +3 -3
  538. package/dist/integration/connection.js +1 -1
  539. package/dist/integration.js +88 -88
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +88 -88
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +180 -180
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +100 -100
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +104 -104
  554. package/dist/mcp/index.js +126 -126
  555. package/dist/mcp/instructions.js +189 -189
  556. package/dist/mcp/oauth.js +86 -86
  557. package/dist/mcp/pool.js +112 -112
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +104 -104
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +113 -113
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +121 -121
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +89 -89
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +152 -152
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +97 -97
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +87 -87
  577. package/dist/plugin/command.js +119 -119
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +409 -409
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +129 -129
  587. package/dist/plugin/optimize.js +4 -4
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  600. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  605. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  613. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  614. package/dist/plugin/provider/claude-agent/session.js +114 -114
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +140 -140
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +140 -140
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +135 -135
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +140 -140
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +87 -87
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +152 -152
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +419 -419
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +6 -6
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +8 -8
  669. package/dist/plugin/websearch/firecrawl.js +7 -7
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +6 -6
  672. package/dist/plugin/websearch/parallel.js +9 -9
  673. package/dist/plugin/websearch/provider.js +3 -3
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +9 -9
  676. package/dist/plugin.js +255 -255
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +6 -6
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +103 -103
  681. package/dist/provider.js +110 -110
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +113 -113
  685. package/dist/reference/instructions.js +99 -99
  686. package/dist/reference.js +101 -101
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +1 -1
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +109 -109
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +263 -263
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +3 -3
  698. package/dist/session/blob.js +132 -132
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +175 -175
  701. package/dist/session/context.js +205 -205
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +3 -3
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +245 -245
  707. package/dist/session/execution.js +169 -169
  708. package/dist/session/generate.js +204 -204
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +150 -150
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +146 -146
  715. package/dist/session/message-updater.js +4 -4
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +171 -171
  718. package/dist/session/model-transport.js +9 -9
  719. package/dist/session/move.js +171 -171
  720. package/dist/session/projector.js +146 -146
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +3 -3
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +258 -258
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +5 -5
  731. package/dist/session/runner/step.js +166 -166
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +5 -5
  734. package/dist/session/session.js +186 -186
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -150
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +85 -85
  739. package/dist/session/store.js +143 -143
  740. package/dist/session/stored.js +4 -4
  741. package/dist/session/subagent-completion.js +1 -1
  742. package/dist/session/subagent-job.js +237 -237
  743. package/dist/session/system-prompt.js +1 -1
  744. package/dist/session/title.js +209 -209
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +245 -245
  747. package/dist/session/usage.js +3 -3
  748. package/dist/session.js +239 -239
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +7 -7
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +154 -154
  757. package/dist/skill.js +159 -159
  758. package/dist/snapshot.js +104 -104
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +188 -188
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +170 -170
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +174 -174
  767. package/dist/tool/plugin/grep.js +173 -173
  768. package/dist/tool/plugin/image-generate.js +247 -247
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +171 -171
  772. package/dist/tool/plugin/question.js +149 -149
  773. package/dist/tool/plugin/read.js +175 -175
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +241 -241
  776. package/dist/tool/plugin/skill.js +158 -158
  777. package/dist/tool/plugin/subagent.js +242 -242
  778. package/dist/tool/plugin/todo.js +156 -156
  779. package/dist/tool/plugin/webfetch.js +158 -158
  780. package/dist/tool/plugin/websearch.js +156 -156
  781. package/dist/tool/plugin/write.js +171 -171
  782. package/dist/tool/read-filesystem.js +114 -114
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +165 -165
  787. package/dist/usage-limits.js +100 -100
  788. package/dist/util/error-summary.js +1 -1
  789. package/dist/util/git-executable.js +3 -3
  790. package/dist/util/lazy.js +1 -1
  791. package/dist/util/slug.js +1 -1
  792. package/dist/util/token.js +1 -1
  793. package/dist/util/which.js +1 -1
  794. package/dist/util/wildcard.js +1 -1
  795. package/dist/v1/config/agent.js +5 -5
  796. package/dist/v1/config/command.js +3 -3
  797. package/dist/v1/config/mcp.js +2 -2
  798. package/dist/v1/config/migrate.js +105 -105
  799. package/dist/v1/config/permission.js +1 -1
  800. package/dist/v1/config/plugin.js +1 -1
  801. package/dist/v1/config/provider-options.js +1 -1
  802. package/dist/v1/config/provider.js +4 -4
  803. package/dist/variant.js +104 -104
  804. package/dist/vcs/patch.js +1 -1
  805. package/dist/vcs.js +102 -102
  806. package/dist/voice.js +99 -99
  807. package/dist/websearch.js +93 -93
  808. package/dist/wellknown/plugin.js +87 -87
  809. package/dist/wellknown.js +90 -90
  810. package/dist/workspace/driver.js +5 -5
  811. package/dist/workspace/sql.js +1 -1
  812. package/dist/workspace.js +93 -93
  813. package/dist/worktree/directory.js +2 -2
  814. package/dist/worktree/git.js +9 -9
  815. package/dist/worktree/sql.js +5 -5
  816. package/dist/worktree/strategies.js +102 -102
  817. package/dist/worktree.js +111 -111
  818. package/package.json +8 -8
  819. package/dist/chunks/form-4m6g1g4q.js +0 -16
  820. package/dist/chunks/form-7yv5xa0k.js +0 -18
  821. package/dist/chunks/form-htg0wy1g.js +0 -26
  822. package/dist/chunks/form-pw7hxex3.js +0 -265
  823. /package/dist/chunks/{form-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  824. /package/dist/chunks/{form-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  825. /package/dist/chunks/{form-108x4f4w.js → shell-108x4f4w.js} +0 -0
  826. /package/dist/chunks/{form-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  827. /package/dist/chunks/{form-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  828. /package/dist/chunks/{form-1kah00gy.js → shell-1kah00gy.js} +0 -0
  829. /package/dist/chunks/{form-24dcb14g.js → shell-24dcb14g.js} +0 -0
  830. /package/dist/chunks/{form-2710q6r3.js → shell-2710q6r3.js} +0 -0
  831. /package/dist/chunks/{form-2bv980vf.js → shell-2bv980vf.js} +0 -0
  832. /package/dist/chunks/{form-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  833. /package/dist/chunks/{form-359p4xyc.js → shell-359p4xyc.js} +0 -0
  834. /package/dist/chunks/{form-3af0jn4w.js → shell-3af0jn4w.js} +0 -0
  835. /package/dist/chunks/{form-3asan66x.js → shell-3asan66x.js} +0 -0
  836. /package/dist/chunks/{form-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  837. /package/dist/chunks/{form-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  838. /package/dist/chunks/{form-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  839. /package/dist/chunks/{form-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  840. /package/dist/chunks/{form-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
  841. /package/dist/chunks/{form-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  842. /package/dist/chunks/{form-53557ph1.js → shell-53557ph1.js} +0 -0
  843. /package/dist/chunks/{form-550bvhaj.js → shell-550bvhaj.js} +0 -0
  844. /package/dist/chunks/{form-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
  845. /package/dist/chunks/{form-6agm2x70.js → shell-6agm2x70.js} +0 -0
  846. /package/dist/chunks/{form-6prwharc.js → shell-6prwharc.js} +0 -0
  847. /package/dist/chunks/{form-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  848. /package/dist/chunks/{form-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  849. /package/dist/chunks/{form-7m9af43g.js → shell-7m9af43g.js} +0 -0
  850. /package/dist/chunks/{form-822emrt2.js → shell-822emrt2.js} +0 -0
  851. /package/dist/chunks/{form-84wd9syh.js → shell-84wd9syh.js} +0 -0
  852. /package/dist/chunks/{form-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  853. /package/dist/chunks/{form-8n3pysct.js → shell-8n3pysct.js} +0 -0
  854. /package/dist/chunks/{form-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  855. /package/dist/chunks/{form-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  856. /package/dist/chunks/{form-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  857. /package/dist/chunks/{form-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  858. /package/dist/chunks/{form-af5trqkr.js → shell-af5trqkr.js} +0 -0
  859. /package/dist/chunks/{form-afrmfg78.js → shell-afrmfg78.js} +0 -0
  860. /package/dist/chunks/{form-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  861. /package/dist/chunks/{form-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  862. /package/dist/chunks/{form-beh6qq61.js → shell-beh6qq61.js} +0 -0
  863. /package/dist/chunks/{form-bhmrqjy3.js → shell-bhmrqjy3.js} +0 -0
  864. /package/dist/chunks/{form-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  865. /package/dist/chunks/{form-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  866. /package/dist/chunks/{form-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  867. /package/dist/chunks/{form-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
  868. /package/dist/chunks/{form-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  869. /package/dist/chunks/{form-d9fn303g.js → shell-d9fn303g.js} +0 -0
  870. /package/dist/chunks/{form-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  871. /package/dist/chunks/{form-dap0rakb.js → shell-dap0rakb.js} +0 -0
  872. /package/dist/chunks/{form-df08tz66.js → shell-df08tz66.js} +0 -0
  873. /package/dist/chunks/{form-dy18nga0.js → shell-dy18nga0.js} +0 -0
  874. /package/dist/chunks/{form-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  875. /package/dist/chunks/{form-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
  876. /package/dist/chunks/{form-ec1grn59.js → shell-ec1grn59.js} +0 -0
  877. /package/dist/chunks/{form-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  878. /package/dist/chunks/{form-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  879. /package/dist/chunks/{form-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  880. /package/dist/chunks/{form-faypxj3z.js → shell-faypxj3z.js} +0 -0
  881. /package/dist/chunks/{form-fd410y7t.js → shell-fd410y7t.js} +0 -0
  882. /package/dist/chunks/{form-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
  883. /package/dist/chunks/{form-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  884. /package/dist/chunks/{form-g86h250q.js → shell-g86h250q.js} +0 -0
  885. /package/dist/chunks/{form-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  886. /package/dist/chunks/{form-gftt206x.js → shell-gftt206x.js} +0 -0
  887. /package/dist/chunks/{form-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
  888. /package/dist/chunks/{form-hk9envan.js → shell-hk9envan.js} +0 -0
  889. /package/dist/chunks/{form-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  890. /package/dist/chunks/{form-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  891. /package/dist/chunks/{form-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  892. /package/dist/chunks/{form-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  893. /package/dist/chunks/{form-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  894. /package/dist/chunks/{form-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
  895. /package/dist/chunks/{form-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  896. /package/dist/chunks/{form-m18g726c.js → shell-m18g726c.js} +0 -0
  897. /package/dist/chunks/{form-mp448xyj.js → shell-mp448xyj.js} +0 -0
  898. /package/dist/chunks/{form-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  899. /package/dist/chunks/{form-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  900. /package/dist/chunks/{form-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  901. /package/dist/chunks/{form-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
  902. /package/dist/chunks/{form-njntx4h6.js → shell-njntx4h6.js} +0 -0
  903. /package/dist/chunks/{form-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
  904. /package/dist/chunks/{form-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  905. /package/dist/chunks/{form-q74kybfr.js → shell-q74kybfr.js} +0 -0
  906. /package/dist/chunks/{form-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  907. /package/dist/chunks/{form-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  908. /package/dist/chunks/{form-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  909. /package/dist/chunks/{form-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  910. /package/dist/chunks/{form-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  911. /package/dist/chunks/{form-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  912. /package/dist/chunks/{form-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  913. /package/dist/chunks/{form-syrav9an.js → shell-syrav9an.js} +0 -0
  914. /package/dist/chunks/{form-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
  915. /package/dist/chunks/{form-ty7weeps.js → shell-ty7weeps.js} +0 -0
  916. /package/dist/chunks/{form-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  917. /package/dist/chunks/{form-vtarvj67.js → shell-vtarvj67.js} +0 -0
  918. /package/dist/chunks/{form-w803qqfp.js → shell-w803qqfp.js} +0 -0
  919. /package/dist/chunks/{form-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  920. /package/dist/chunks/{form-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  921. /package/dist/chunks/{form-wtztk69x.js → shell-wtztk69x.js} +0 -0
  922. /package/dist/chunks/{form-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  923. /package/dist/chunks/{form-x4th4bpe.js → shell-x4th4bpe.js} +0 -0
  924. /package/dist/chunks/{form-x61499pn.js → shell-x61499pn.js} +0 -0
  925. /package/dist/chunks/{form-y44na4kk.js → shell-y44na4kk.js} +0 -0
  926. /package/dist/chunks/{form-y8f7s663.js → shell-y8f7s663.js} +0 -0
  927. /package/dist/chunks/{form-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  928. /package/dist/chunks/{form-z0h12gs8.js → shell-z0h12gs8.js} +0 -0
  929. /package/dist/chunks/{form-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  930. /package/dist/chunks/{form-z9919s4g.js → shell-z9919s4g.js} +0 -0
  931. /package/dist/chunks/{form-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service92,
3
3
  node96
4
- } from "./form-wqvsbzj7.js";
4
+ } from "./shell-zhjkbk77.js";
5
5
  import {
6
6
  RecoverySchema2
7
- } from "./form-ys900tws.js";
7
+ } from "./shell-75a2gs08.js";
8
8
  import {
9
9
  JobTable2
10
- } from "./form-kzczzf4v.js";
10
+ } from "./shell-kzczzf4v.js";
11
11
  import {
12
12
  read3
13
- } from "./form-d7qcj0s1.js";
13
+ } from "./shell-f9r4rks5.js";
14
14
  import {
15
15
  SessionMessage2
16
- } from "./form-gftt206x.js";
16
+ } from "./shell-gftt206x.js";
17
17
  import {
18
18
  __export
19
- } from "./form-9rqn6x4v.js";
19
+ } from "./shell-9rqn6x4v.js";
20
20
 
21
21
  // src/job.ts
22
22
  var exports_job = {};
23
23
  __export(exports_job, {
24
24
  Job: () => exports_job,
25
- Service: () => Service51,
25
+ Service: () => Service62,
26
26
  make: () => make29,
27
- node: () => node54
27
+ node: () => node63
28
28
  });
29
29
  import { asc, eq, or } from "drizzle-orm";
30
30
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
@@ -40,7 +40,7 @@ var Background = Schema.Struct({
40
40
  var decodeBackground = Schema.decodeUnknownResult(Background);
41
41
  var COMPLETED_LIMIT = 25;
42
42
 
43
- class Service51 extends Context.Service()("@opencode/Job") {
43
+ class Service62 extends Context.Service()("@opencode/Job") {
44
44
  }
45
45
  function snapshot(job) {
46
46
  return {
@@ -392,7 +392,7 @@ var make29 = Effect.gen(function* () {
392
392
  next.delete(entry[0]);
393
393
  return next;
394
394
  })));
395
- return Service51.of({
395
+ return Service62.of({
396
396
  get,
397
397
  start,
398
398
  wait,
@@ -407,7 +407,7 @@ var make29 = Effect.gen(function* () {
407
407
  completeBackground
408
408
  });
409
409
  });
410
- var layer = Layer.effect(Service51, make29);
411
- var node54 = makeGlobalNode({ service: Service51, layer, deps: [node96] });
410
+ var layer = Layer.effect(Service62, make29);
411
+ var node63 = makeGlobalNode({ service: Service62, layer, deps: [node96] });
412
412
 
413
- export { Service51, make29, node54, exports_job };
413
+ export { Service62, make29, node63, exports_job };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./shell-z5v4ffb3.js";
4
4
  import {
5
- Service73
6
- } from "./form-zy99nq64.js";
5
+ Service77
6
+ } from "./shell-gba9zttd.js";
7
7
  import {
8
- Info13,
9
- ID10,
8
+ Info10,
9
+ ID8,
10
10
  Name2
11
- } from "./form-cjxestwk.js";
11
+ } from "./shell-1trk357q.js";
12
12
  import {
13
13
  __export
14
- } from "./form-9rqn6x4v.js";
14
+ } from "./shell-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill3 = {};
18
- __export(exports_skill3, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin51,
21
+ Plugin: () => Plugin13,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill3
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
430
430
  var ReportContent2 = report_default;
431
431
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
432
432
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
433
- var Plugin51 = define({
433
+ var Plugin13 = define({
434
434
  id: "opencode.skill",
435
435
  effect: Effect.fn(function* (ctx) {
436
436
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
437
437
  yield* ctx.skill.transform((editor) => {
438
- editor.add(Info13.make({
439
- id: ID10.make("opencode"),
438
+ editor.add(Info10.make({
439
+ id: ID8.make("opencode"),
440
440
  name: Name2.make("OpenCode"),
441
441
  description: OpencodeDescription2,
442
442
  path: AbsolutePath2.make("skill://opencode/SKILL.md"),
443
443
  content: OpencodeContent2
444
444
  }));
445
- editor.add(Info13.make({
446
- id: ID10.make("report"),
445
+ editor.add(Info10.make({
446
+ id: ID8.make("report"),
447
447
  name: Name2.make("Report"),
448
448
  description: REPORT_DESCRIPTION,
449
449
  path: AbsolutePath2.make("skill://report/SKILL.md"),
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
472
472
  `);
473
473
  });
474
474
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
475
- const config = yield* Service73;
475
+ const config = yield* Service77;
476
476
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
477
477
  });
478
478
  function terminal() {
@@ -486,4 +486,4 @@ function shell() {
486
486
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
487
487
  }
488
488
 
489
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin51, exports_skill3 };
489
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin13, exports_skill };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./form-0b5bd7nc.js";
3
+ } from "./shell-0f6bvsk3.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service53,
12
+ Service: () => Service65,
13
13
  canonical: () => canonical3,
14
- node: () => node56,
14
+ node: () => node66,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service53 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service65 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service53, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node56 = LayerNode.unbound(Service53, Node.tags.values.global);
27
+ var node66 = LayerNode.unbound(Service65, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service53;
29
+ const locations = yield* Service65;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -48,4 +48,4 @@ function canonical3(ref) {
48
48
  });
49
49
  }
50
50
 
51
- export { Service53, node56, reload2, canonical3, exports_location_service_map };
51
+ export { Service65, node66, reload2, canonical3, exports_location_service_map };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  connectionEnv2
3
- } from "./form-v438kgpn.js";
3
+ } from "./shell-bb3pv0r8.js";
4
4
  import {
5
5
  Model2
6
- } from "./form-918maj3v.js";
6
+ } from "./shell-4z1pemzx.js";
7
7
  import {
8
8
  ID3,
9
9
  PACKAGE2
10
- } from "./form-t3b41g95.js";
10
+ } from "./shell-99gq5wd5.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/provider/claude-agent/aisdk.ts
16
16
  var exports_aisdk = {};
17
17
  __export(exports_aisdk, {
18
18
  ClaudeAISDK: () => exports_aisdk,
19
- register: () => register5
19
+ register: () => register3
20
20
  });
21
21
  import { Effect } from "effect";
22
- var register5 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
22
+ var register3 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
23
23
  const context = yield* Effect.context();
24
24
  const run = Effect.runPromiseWith(context);
25
25
  const dependencies = {
@@ -39,4 +39,4 @@ var register5 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
39
39
  }), { providerID: ID3 });
40
40
  });
41
41
 
42
- export { register5, exports_aisdk };
42
+ export { register3, exports_aisdk };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  lazy2
3
- } from "./form-88xbtdfr.js";
3
+ } from "./shell-88xbtdfr.js";
4
4
  import {
5
5
  which2
6
- } from "./form-x4th4bpe.js";
6
+ } from "./shell-x4th4bpe.js";
7
7
 
8
8
  // src/util/git-executable.ts
9
9
  import { existsSync, realpathSync } from "node:fs";
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./form-rb9dy4dg.js";
10
+ } from "./shell-rb9dy4dg.js";
11
11
  import {
12
- Service85
13
- } from "./form-0b5bd7nc.js";
12
+ Service83
13
+ } from "./shell-0f6bvsk3.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./form-1frrjsr4.js";
16
+ } from "./shell-mdggcxnx.js";
17
17
  import {
18
18
  __export
19
- } from "./form-9rqn6x4v.js";
19
+ } from "./shell-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin44,
24
+ Plugin: () => Plugin3,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin44 = define({
33
+ var Plugin3 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service85;
36
+ const location = yield* Service83;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin44, exports_hg };
201
+ export { Plugin3, exports_hg };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service73
4
- } from "./form-zy99nq64.js";
3
+ Service77
4
+ } from "./shell-gba9zttd.js";
5
5
  import {
6
- Service79
7
- } from "./form-nhk3pcz2.js";
6
+ Service73
7
+ } from "./shell-hwkyjen6.js";
8
8
  import {
9
9
  observe2
10
- } from "./form-mm06edep.js";
10
+ } from "./shell-mm06edep.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin29
19
+ Plugin: () => Plugin43
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin29 = define({
23
+ var Plugin43 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service73;
27
- const output = yield* Service79;
26
+ const config = yield* Service77;
27
+ const output = yield* Service73;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin29 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin29, exports_tool_output };
41
+ export { Plugin43, exports_tool_output };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./form-tczq8hjw.js";
3
+ } from "./shell-tczq8hjw.js";
4
4
  import {
5
5
  create4
6
- } from "./form-40y6dtc2.js";
6
+ } from "./shell-40y6dtc2.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service79,
18
+ Service: () => Service73,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node83
21
+ node: () => node74
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service79 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service73 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service79, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service79.of({
124
+ return Service73.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node83 = makeLocationNode({
143
- service: Service79,
142
+ var node74 = makeLocationNode({
143
+ service: Service73,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service79, node83, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service73, node74, exports_tool_output2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service12,
9
+ Service: () => Service3,
10
10
  bound: () => bound2,
11
- node: () => node14
11
+ node: () => node4
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service12 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service3 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node14 = makeLocationNode({
19
- service: Service12,
18
+ var node4 = makeLocationNode({
19
+ service: Service3,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
29
+ return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service12, node14, bound2, exports_instance2 };
32
+ export { Service3, node4, bound2, exports_instance2 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  batches2
3
- } from "./form-jm70asfg.js";
3
+ } from "./shell-jm70asfg.js";
4
4
  import {
5
5
  SessionMessage2
6
- } from "./form-gftt206x.js";
6
+ } from "./shell-gftt206x.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./form-8ftgkh75.js";
9
+ } from "./shell-y9hckaaa.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read5
13
- } from "./form-p94p4v4n.js";
13
+ } from "./shell-r7zrbnjn.js";
14
14
  import {
15
15
  SessionMessageTable2,
16
16
  SessionPartTable2
17
- } from "./form-mb7mbhnz.js";
17
+ } from "./shell-8z6m94af.js";
18
18
  import {
19
19
  initial2,
20
20
  preview3
21
- } from "./form-8rapdqzr.js";
21
+ } from "./shell-ddvv9kd4.js";
22
22
  import {
23
23
  User3
24
- } from "./form-prq7xxp2.js";
24
+ } from "./shell-fg9p65nk.js";
25
25
  import {
26
26
  hydrate2,
27
27
  keepRefs2,
28
28
  describe3
29
- } from "./form-h0x6rr14.js";
29
+ } from "./shell-ch7td5aw.js";
30
30
  import {
31
31
  messageToText2
32
- } from "./form-v2r1d0zg.js";
32
+ } from "./shell-v2r1d0zg.js";
33
33
  import {
34
34
  __export
35
- } from "./form-9rqn6x4v.js";
35
+ } from "./shell-9rqn6x4v.js";
36
36
 
37
37
  // src/session/history.ts
38
38
  var exports_history = {};
@@ -1,29 +1,30 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./form-z0h12gs8.js";
3
+ } from "./shell-z0h12gs8.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./form-20ktvzzm.js";
6
+ } from "./shell-6swabtyq.js";
7
7
  import {
8
8
  invocation2,
9
9
  Service67
10
- } from "./form-8x9zc39d.js";
10
+ } from "./shell-4bn5jfhg.js";
11
11
  import {
12
- Service64
13
- } from "./form-s028352g.js";
12
+ Service20,
13
+ resolvePath2
14
+ } from "./shell-0ptksmaw.js";
14
15
  import {
15
16
  DirectoryUnavailableError2
16
- } from "./form-d4v9tmah.js";
17
+ } from "./shell-gn8tkhbf.js";
17
18
  import {
18
- Info7,
19
+ Info6,
19
20
  List2,
20
21
  InvalidDirectoryError2,
21
22
  StrategyUnavailableError2,
22
23
  OperationError2
23
- } from "./form-f2kkz48h.js";
24
+ } from "./shell-f391j6tf.js";
24
25
  import {
25
26
  __export
26
- } from "./form-9rqn6x4v.js";
27
+ } from "./shell-9rqn6x4v.js";
27
28
 
28
29
  // src/tool/plugin/opencode.ts
29
30
  var exports_opencode = {};
@@ -31,7 +32,7 @@ __export(exports_opencode, {
31
32
  ModelsInput: () => ModelsInput2,
32
33
  MoveInput: () => MoveInput2,
33
34
  OpenCodeTools: () => exports_opencode,
34
- Plugin: () => Plugin13,
35
+ Plugin: () => Plugin28,
35
36
  RenameInput: () => RenameInput2,
36
37
  WorktreeCreateInput: () => WorktreeCreateInput2,
37
38
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -40,6 +41,7 @@ import { SystemPart, ToolFailure } from "@opencode/ai/effect";
40
41
  import { Model } from "@opencode/schema/model";
41
42
  import { AbsolutePath } from "@opencode/schema/schema";
42
43
  import { Session } from "@opencode/schema/session";
44
+ import { FSUtil } from "@opencode/util/fs-util";
43
45
  import { Effect, Schema } from "effect";
44
46
  var RenameInput2 = Schema.Struct({
45
47
  sessionID: Schema.optionalKey(Session.ID).annotate({ description: "Omit to rename the current session." }),
@@ -109,10 +111,10 @@ var ModelsOutput = Schema.Struct({
109
111
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
110
112
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
111
113
  });
112
- var Plugin13 = {
114
+ var Plugin28 = {
113
115
  id: "opencode.tools",
114
116
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
115
- const access = yield* Service64;
117
+ const access = yield* Service20;
116
118
  const permission = yield* Service67;
117
119
  const hook = (event) => Effect.sync(() => {
118
120
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
@@ -150,14 +152,20 @@ var Plugin13 = {
150
152
  options: { namespace: "opencode", codemode: true, pinned: true },
151
153
  execute: (input, context) => Effect.gen(function* () {
152
154
  const sessionID = input.sessionID ?? context.sessionID;
155
+ const session = yield* ctx.session.get({ sessionID });
156
+ const directory = AbsolutePath.make(resolvePath2(session.location.directory, input.directory.trim()));
157
+ const target = yield* access.resolve({ path: directory, kind: "directory" });
158
+ const worktrees = target.externalDirectory ? yield* ctx.worktree.list({ projectID: ctx.location.project.id }) : [];
159
+ if (!worktrees.some((worktree) => FSUtil.contains(worktree.directory, directory)))
160
+ yield* access.authorizeExternal([target], context);
153
161
  yield* ctx.session.move({
154
162
  sessionID,
155
- directory: input.directory,
163
+ directory,
156
164
  delivery: "steer"
157
165
  });
158
166
  return {
159
- output: { sessionID, directory: input.directory },
160
- content: `Moved session ${sessionID} to ${input.directory}.`
167
+ output: { sessionID, directory },
168
+ content: `Moved session ${sessionID} to ${directory}.`
161
169
  };
162
170
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Unable to move session to ${input.directory}`, error })))
163
171
  });
@@ -165,7 +173,7 @@ var Plugin13 = {
165
173
  name: "worktree_create",
166
174
  description: "Create a named worktree. Returns its directory.",
167
175
  input: WorktreeCreateInput2,
168
- output: Info7,
176
+ output: Info6,
169
177
  options: { namespace: "opencode", codemode: true, pinned: true },
170
178
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
171
179
  });
@@ -260,4 +268,4 @@ function removeFailure(directory, error) {
260
268
  return `Unable to remove worktree ${directory}.`;
261
269
  }
262
270
 
263
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin13, exports_opencode };
271
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin28, exports_opencode };