@opencode/core 0.0.0-dev-443 → 0.0.0-dev-448
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +240 -240
- package/dist/bus.js +80 -80
- package/dist/chunks/{reference-c2gfmzbs.js → shell-00mqt8vt.js} +16 -16
- package/dist/chunks/{reference-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{reference-hrmp8gd9.js → shell-05ag7ga3.js} +157 -157
- package/dist/chunks/{reference-15cysddm.js → shell-05bzq52v.js} +15 -15
- package/dist/chunks/{reference-7ffybbfj.js → shell-0ahs07zn.js} +7 -7
- package/dist/chunks/{reference-0j7gp832.js → shell-0j7gp832.js} +1 -1
- package/dist/chunks/{reference-2a7d31jd.js → shell-0kfn2p10.js} +5 -5
- package/dist/chunks/{reference-8d7r1mrg.js → shell-0kxez0ph.js} +16 -16
- package/dist/chunks/{reference-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
- package/dist/chunks/{reference-5jprqqys.js → shell-0v6hfd9s.js} +6 -6
- package/dist/chunks/{reference-t95ysx1g.js → shell-0w3xksdf.js} +6 -6
- package/dist/chunks/{reference-m2737jxk.js → shell-0yrffq11.js} +14 -14
- package/dist/chunks/{reference-jyqh8e0t.js → shell-0zakc424.js} +13 -13
- package/dist/chunks/{reference-vpk1fvq3.js → shell-14h6fpvz.js} +11 -11
- package/dist/chunks/{reference-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
- package/dist/chunks/{reference-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{reference-b6ks1ev6.js → shell-1gn0yq23.js} +43 -43
- package/dist/chunks/{reference-pwchwzj6.js → shell-1t6wg0nd.js} +21 -21
- package/dist/chunks/{reference-yr5ba2wg.js → shell-1t71ng30.js} +14 -14
- package/dist/chunks/{reference-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-6vfywprm.js → shell-25wes5qp.js} +59 -59
- package/dist/chunks/{reference-pb91tgv1.js → shell-2665aej8.js} +28 -28
- package/dist/chunks/{reference-1adc86m8.js → shell-27nqpkb2.js} +9 -9
- package/dist/chunks/{reference-nwje9g86.js → shell-27q2yh5h.js} +11 -11
- package/dist/chunks/{reference-sbz71ybr.js → shell-2cdjxzfg.js} +3 -3
- package/dist/chunks/{reference-613jk0tz.js → shell-2n444ktb.js} +3 -3
- package/dist/chunks/{reference-690h68aj.js → shell-2nye2ds3.js} +10 -10
- package/dist/chunks/{reference-1gx3s6kq.js → shell-2vpa0jw2.js} +3 -3
- package/dist/chunks/{reference-5max24n7.js → shell-2x55varr.js} +27 -27
- package/dist/chunks/{reference-4jr01p1g.js → shell-2xqskhr2.js} +22 -22
- package/dist/chunks/{reference-rqnh3gtk.js → shell-2zekx2gw.js} +29 -29
- package/dist/chunks/{reference-47y99arh.js → shell-2zhyc09s.js} +3 -3
- package/dist/chunks/{reference-h8jkwx0d.js → shell-30rdyssq.js} +19 -19
- package/dist/chunks/{reference-k6tcbmyt.js → shell-3114at99.js} +34 -34
- package/dist/chunks/{reference-8cw29sdh.js → shell-31694pws.js} +8 -8
- package/dist/chunks/{reference-qcheb0c1.js → shell-395719v5.js} +5 -5
- package/dist/chunks/{reference-jcb3g1m8.js → shell-39v0af2n.js} +4 -4
- package/dist/chunks/{reference-rz6n9wws.js → shell-3br5vy3s.js} +11 -11
- package/dist/chunks/{reference-pfjcjygb.js → shell-3fm5wbjz.js} +20 -20
- package/dist/chunks/{reference-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-1ab3ncc6.js → shell-3mg501j9.js} +2 -2
- package/dist/chunks/{reference-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{reference-qvd7qgmr.js → shell-3tp4c0xt.js} +10 -10
- package/dist/chunks/{reference-wx32wxjt.js → shell-3vtz7ksg.js} +13 -13
- package/dist/chunks/{reference-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
- package/dist/chunks/{reference-w2eysc6j.js → shell-40za9wsf.js} +9 -9
- package/dist/chunks/{reference-3xfvn2q6.js → shell-449ep3qq.js} +50 -50
- package/dist/chunks/{reference-qkjgr7xk.js → shell-461h2a5h.js} +9 -9
- package/dist/chunks/{reference-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
- package/dist/chunks/{reference-4f25tdd0.js → shell-4f25tdd0.js} +1 -1
- package/dist/chunks/{reference-qv63ttqj.js → shell-4hheswcz.js} +14 -14
- package/dist/chunks/{reference-hnn9xgjg.js → shell-4jwb178p.js} +13 -13
- package/dist/chunks/{reference-gv67ntjp.js → shell-4n04qkt5.js} +4 -4
- package/dist/chunks/{reference-h56sm60v.js → shell-4pk3sz26.js} +11 -11
- package/dist/chunks/{reference-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
- package/dist/chunks/{reference-6ss92qkm.js → shell-4qjj3hcn.js} +23 -23
- package/dist/chunks/{reference-85ns17jv.js → shell-4s5nd4wa.js} +10 -10
- package/dist/chunks/{reference-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-nbjzw6e5.js → shell-4za8zkf9.js} +30 -30
- package/dist/chunks/{reference-btb6x883.js → shell-4zd0rrxz.js} +27 -27
- package/dist/chunks/{reference-jb50ydk6.js → shell-51apr65m.js} +24 -24
- package/dist/chunks/{reference-tn0bswzz.js → shell-51fa9ecf.js} +23 -23
- package/dist/chunks/{reference-6yyhgwbs.js → shell-51v7w56y.js} +4 -4
- package/dist/chunks/{reference-3bj795wp.js → shell-53qdpb3h.js} +24 -24
- package/dist/chunks/{reference-q2zvgtsa.js → shell-56jkt7vc.js} +33 -33
- package/dist/chunks/{reference-0rs9y64j.js → shell-5btn60ym.js} +46 -46
- package/dist/chunks/{reference-c4yfg02y.js → shell-5h6nvp4c.js} +3 -3
- package/dist/chunks/{reference-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-b6vsg801.js → shell-5nnwax6m.js} +5 -5
- package/dist/chunks/{reference-8ycaw6fb.js → shell-5q2nstmm.js} +7 -7
- package/dist/chunks/{reference-94shd7jv.js → shell-5rktefs5.js} +12 -12
- package/dist/chunks/{reference-xpczpa7n.js → shell-5wa3g67q.js} +9 -9
- package/dist/chunks/{reference-q96vm3a1.js → shell-5yya8jn5.js} +30 -30
- package/dist/chunks/{reference-1k11dnhy.js → shell-61w59j6e.js} +30 -30
- package/dist/chunks/{reference-5yz02wa3.js → shell-6ckcm1vf.js} +31 -31
- package/dist/chunks/{reference-ngc16xap.js → shell-6cqv0jev.js} +15 -15
- package/dist/chunks/{reference-wtefmtt4.js → shell-6d0d1q6g.js} +4 -4
- package/dist/chunks/{reference-ar02kkrs.js → shell-6g782zwq.js} +15 -15
- package/dist/chunks/{reference-e51gjym8.js → shell-6gggjtz2.js} +6 -6
- package/dist/chunks/{reference-5kmv9aa7.js → shell-6qccxdkv.js} +10 -10
- package/dist/chunks/{reference-ja6fgs3m.js → shell-6rzx9z0d.js} +30 -29
- package/dist/chunks/{reference-8w0nqmj1.js → shell-73n38n5m.js} +5 -5
- package/dist/chunks/{reference-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
- package/dist/chunks/{reference-775hqbnd.js → shell-775hqbnd.js} +3 -3
- package/dist/chunks/{reference-ke0ypgcr.js → shell-7b7w9v0b.js} +6 -6
- package/dist/chunks/{reference-w2c54y1b.js → shell-7bd9md05.js} +20 -20
- package/dist/chunks/{reference-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-6v2d75bq.js → shell-7gh7q8bn.js} +7 -7
- package/dist/chunks/{reference-gazw5geb.js → shell-7jk3qjta.js} +2 -2
- package/dist/chunks/{reference-7kr66rt3.js → shell-7kr66rt3.js} +1 -1
- package/dist/chunks/{reference-n8ad7w9m.js → shell-7ne4y0bm.js} +6 -6
- package/dist/chunks/{reference-7nqkf5r1.js → shell-7nqkf5r1.js} +2 -2
- package/dist/chunks/{reference-762r0j46.js → shell-7r0r50e5.js} +5 -5
- package/dist/chunks/{reference-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-7weczvnd.js → shell-7weczvnd.js} +1 -1
- package/dist/chunks/{reference-6j9rpd6t.js → shell-7ydc43j0.js} +12 -12
- package/dist/chunks/shell-7yv5xa0k.js +18 -0
- package/dist/chunks/{reference-z7g1ntke.js → shell-81xk75pr.js} +5 -5
- package/dist/chunks/{reference-jmjrr75j.js → shell-83dtkyp0.js} +14 -14
- package/dist/chunks/{reference-zw6d6ftc.js → shell-86kd7kzh.js} +4 -4
- package/dist/chunks/{reference-89287pr7.js → shell-89287pr7.js} +1 -1
- package/dist/chunks/{reference-6mnqmw21.js → shell-89cj2fxr.js} +37 -37
- package/dist/chunks/{reference-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
- package/dist/chunks/{reference-99k7drdz.js → shell-8dzmkjrb.js} +3 -3
- package/dist/chunks/{reference-aa0c8pw4.js → shell-8fmhgeg1.js} +35 -35
- package/dist/chunks/{reference-9y33s1fr.js → shell-8mft0qb8.js} +3 -3
- package/dist/chunks/{reference-p7znwjnf.js → shell-8qmjt4fd.js} +16 -16
- package/dist/chunks/{reference-hbyv04zf.js → shell-8rj7reax.js} +24 -24
- package/dist/chunks/{reference-0z5y4ft2.js → shell-8tr8bk8c.js} +21 -21
- package/dist/chunks/{reference-qb19zs7n.js → shell-8wepf0gn.js} +14 -14
- package/dist/chunks/{reference-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-xksw6ev0.js → shell-8xz27cp9.js} +4 -4
- package/dist/chunks/{reference-38aws4xb.js → shell-90ct6wq4.js} +4 -4
- package/dist/chunks/{reference-90zstvax.js → shell-90zstvax.js} +1 -1
- package/dist/chunks/{reference-qrjv7ewp.js → shell-92cf50ag.js} +8 -8
- package/dist/chunks/{reference-6edbc7zm.js → shell-93xmyh8q.js} +7 -7
- package/dist/chunks/{reference-94s5f2xb.js → shell-94s5f2xb.js} +1 -1
- package/dist/chunks/{reference-dv16mx8y.js → shell-963hk181.js} +7 -7
- package/dist/chunks/{reference-szwm4crx.js → shell-96djdqw5.js} +4 -4
- package/dist/chunks/{reference-v2eyy4tw.js → shell-9fa1t37d.js} +25 -25
- package/dist/chunks/{reference-s2pfznc4.js → shell-9nkjg9qd.js} +6 -6
- package/dist/chunks/{reference-sw2fh6qq.js → shell-9pmmtcn7.js} +33 -33
- package/dist/chunks/{reference-zmk9j00b.js → shell-9q5v2hqn.js} +48 -48
- package/dist/chunks/{reference-861wn8d2.js → shell-9qgz8pwv.js} +2 -2
- package/dist/chunks/{reference-sjk8ggqb.js → shell-9r66fnzx.js} +14 -14
- package/dist/chunks/{reference-v5k6a3yj.js → shell-9yvqmxq3.js} +16 -16
- package/dist/chunks/{reference-1ke7tmvv.js → shell-9zhekznq.js} +20 -20
- package/dist/chunks/{reference-q38xb3pe.js → shell-a2avvjgj.js} +35 -35
- package/dist/chunks/{reference-emxm75vg.js → shell-a3fn0gmm.js} +2 -2
- package/dist/chunks/{reference-n0vt53f7.js → shell-a4jw6pvt.js} +21 -21
- package/dist/chunks/{reference-nd6j0hzb.js → shell-a752e3c2.js} +3 -3
- package/dist/chunks/{reference-apmn1ywx.js → shell-a7jv6bhz.js} +19 -19
- package/dist/chunks/{reference-6jr8r875.js → shell-ahetjexs.js} +73 -73
- package/dist/chunks/{reference-3dkv7v35.js → shell-aq3d4cx2.js} +84 -84
- package/dist/chunks/{reference-pc1p51sf.js → shell-askmrcha.js} +13 -13
- package/dist/chunks/{reference-epvhatmm.js → shell-awp23k8s.js} +10 -10
- package/dist/chunks/{reference-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{reference-kp6ae2pe.js → shell-azx1espf.js} +14 -14
- package/dist/chunks/{reference-c32zfq3f.js → shell-b096peb1.js} +8 -8
- package/dist/chunks/{reference-h0f258xj.js → shell-b1cct362.js} +15 -15
- package/dist/chunks/{reference-4d2dtj2f.js → shell-b2armg7w.js} +4 -4
- package/dist/chunks/{reference-ymfpy3zb.js → shell-b358x5d5.js} +9 -9
- package/dist/chunks/{reference-6yq0h38y.js → shell-b50bv8kf.js} +22 -22
- package/dist/chunks/{reference-sjdkvdpf.js → shell-b6p2478r.js} +11 -11
- package/dist/chunks/{reference-qhnjevdm.js → shell-bfg2nms2.js} +15 -15
- package/dist/chunks/{reference-jkdcm5hg.js → shell-bhfd478d.js} +4 -4
- package/dist/chunks/{reference-8qxzvxym.js → shell-bm4qvk29.js} +26 -26
- package/dist/chunks/{reference-jf43mb4q.js → shell-bnzx9dwt.js} +5 -5
- package/dist/chunks/{reference-5mt85ktg.js → shell-bs847zte.js} +5 -5
- package/dist/chunks/{reference-bstexjd6.js → shell-bstexjd6.js} +1 -1
- package/dist/chunks/{reference-xtyf3e7d.js → shell-bxq9e2r0.js} +13 -13
- package/dist/chunks/{reference-qqr3eed0.js → shell-bzeh9fff.js} +20 -20
- package/dist/chunks/{reference-h9vcpk3m.js → shell-ca06aq19.js} +6 -6
- package/dist/chunks/{reference-w05gf8dg.js → shell-cbzdy2pv.js} +18 -18
- package/dist/chunks/{reference-x27095e6.js → shell-ckw7gy7y.js} +16 -16
- package/dist/chunks/{reference-fa4k8m6e.js → shell-cn0ah7mh.js} +35 -35
- package/dist/chunks/{reference-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{reference-d1zb90rk.js → shell-cxj09ebx.js} +6 -6
- package/dist/chunks/{reference-fv6e3vpa.js → shell-d27tfk0e.js} +32 -32
- package/dist/chunks/{reference-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-1h4css5a.js → shell-d9xdsm8s.js} +15 -15
- package/dist/chunks/{reference-tcvaazz4.js → shell-dbc9xtzy.js} +3 -3
- package/dist/chunks/{reference-7stb81gk.js → shell-dbht28n9.js} +10 -13
- package/dist/chunks/{reference-gqtc81fs.js → shell-djjqqg9g.js} +17 -17
- package/dist/chunks/{reference-n0m3yc73.js → shell-drd2zyk1.js} +15 -15
- package/dist/chunks/{reference-zjzjvjzc.js → shell-drzej0yw.js} +25 -25
- package/dist/chunks/{reference-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{reference-jvkfy8wk.js → shell-dwstrqp9.js} +29 -29
- package/dist/chunks/{reference-7fsbddzy.js → shell-dxsywhez.js} +8 -8
- package/dist/chunks/{reference-1ybhq5nm.js → shell-e3vjfzb0.js} +2 -2
- package/dist/chunks/{reference-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{reference-w60f7fcc.js → shell-e9eefsk3.js} +32 -32
- package/dist/chunks/{reference-zf34d4p5.js → shell-ed6f1zf7.js} +14 -14
- package/dist/chunks/{reference-swm5scyq.js → shell-eg4gnj8c.js} +36 -36
- package/dist/chunks/{reference-b026y7h9.js → shell-eh5dqxbp.js} +32 -32
- package/dist/chunks/{reference-4rgve0ee.js → shell-ehmfb7qh.js} +20 -20
- package/dist/chunks/{reference-khz3fjx7.js → shell-en2d5ckk.js} +14 -14
- package/dist/chunks/{reference-yc54tpkz.js → shell-epcdake3.js} +4 -4
- package/dist/chunks/{reference-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
- package/dist/chunks/{reference-d390zwf3.js → shell-etrnj9s7.js} +8 -8
- package/dist/chunks/{reference-9q8p2g7h.js → shell-eyjntv0n.js} +6 -6
- package/dist/chunks/{reference-2gs6tz3z.js → shell-eyrapaw6.js} +16 -16
- package/dist/chunks/{reference-zhpfnbp3.js → shell-f163p87t.js} +8 -8
- package/dist/chunks/{reference-jjbwns5p.js → shell-fb1j3qsp.js} +7 -7
- package/dist/chunks/{reference-abz40b9j.js → shell-fc6b9ra8.js} +13 -13
- package/dist/chunks/{reference-y3a5ah7e.js → shell-fccvjkbp.js} +9 -9
- package/dist/chunks/{reference-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{reference-prq7xxp2.js → shell-fg9p65nk.js} +6 -6
- package/dist/chunks/{reference-zvnbbcek.js → shell-fmvwew7x.js} +7 -7
- package/dist/chunks/{reference-hhpdvxf0.js → shell-fqs0zq7g.js} +12 -12
- package/dist/chunks/{reference-pevmb6n5.js → shell-ft05h4rm.js} +47 -47
- package/dist/chunks/{reference-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
- package/dist/chunks/{reference-bgm817xr.js → shell-gcjdgkn2.js} +9 -9
- package/dist/chunks/{reference-j7nebjx0.js → shell-ggrsp7xj.js} +6 -6
- package/dist/chunks/{reference-xnxbtbwt.js → shell-gmsr39wm.js} +23 -23
- package/dist/chunks/{reference-q3qhbnrq.js → shell-gn6qas9s.js} +8 -8
- package/dist/chunks/{reference-056ztwq1.js → shell-gtt1ypct.js} +22 -22
- package/dist/chunks/{reference-tg7s7b5t.js → shell-gxs71cxp.js} +4 -4
- package/dist/chunks/{reference-0bacybsm.js → shell-h068nwdc.js} +12 -12
- package/dist/chunks/{reference-pyxh1jtg.js → shell-h30y51ze.js} +28 -28
- package/dist/chunks/shell-hhqxxv04.js +26 -0
- package/dist/chunks/{reference-pq07gx7n.js → shell-hj48rses.js} +345 -345
- package/dist/chunks/{reference-hv9tq466.js → shell-hm878m0g.js} +4 -4
- package/dist/chunks/{reference-hpg1pkwy.js → shell-hpg1pkwy.js} +1 -1
- package/dist/chunks/{reference-ydsespw1.js → shell-hy8c1z76.js} +8 -8
- package/dist/chunks/{reference-tr8x705m.js → shell-j376ae4e.js} +5 -5
- package/dist/chunks/{reference-qftvcexj.js → shell-j7pa4zmt.js} +10 -10
- package/dist/chunks/{reference-wfs84ra6.js → shell-j82m12k7.js} +7 -7
- package/dist/chunks/{reference-j9nxzz3g.js → shell-j9nxzz3g.js} +3 -3
- package/dist/chunks/{reference-ed1zzhtr.js → shell-j9zdr12n.js} +20 -20
- package/dist/chunks/{reference-snfsmn1e.js → shell-ja2smk70.js} +8 -8
- package/dist/chunks/{reference-dq29gc8k.js → shell-jcxtjxcx.js} +28 -28
- package/dist/chunks/{reference-9h3gvard.js → shell-jnfc869c.js} +7 -7
- package/dist/chunks/{reference-0jsrzebh.js → shell-jprct3q1.js} +16 -16
- package/dist/chunks/{reference-xqwqgrp4.js → shell-js4rf8bj.js} +33 -33
- package/dist/chunks/{reference-jtnps1zs.js → shell-jtnps1zs.js} +2 -2
- package/dist/chunks/{reference-44pmzq9c.js → shell-jxd6f16v.js} +2 -2
- package/dist/chunks/{reference-5c65mm2p.js → shell-k84dnw8r.js} +9 -9
- package/dist/chunks/{reference-744s79v7.js → shell-k9bs7cba.js} +17 -17
- package/dist/chunks/{reference-v0ycc7z4.js → shell-kghhyr40.js} +21 -21
- package/dist/chunks/{reference-kj9n5bvh.js → shell-kj9n5bvh.js} +1 -1
- package/dist/chunks/{reference-bqj2yrcm.js → shell-kmee7t05.js} +80 -80
- package/dist/chunks/{reference-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
- package/dist/chunks/{reference-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
- package/dist/chunks/{reference-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{reference-hfm9d8t7.js → shell-m41dwf8x.js} +28 -28
- package/dist/chunks/{reference-zs13vp9t.js → shell-m74aw6gb.js} +30 -30
- package/dist/chunks/{reference-rfq7pfcf.js → shell-m7bre8ve.js} +11 -11
- package/dist/chunks/{reference-s6nv5rhc.js → shell-m7sxgjj7.js} +12 -12
- package/dist/chunks/{reference-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
- package/dist/chunks/{reference-wq2vv118.js → shell-mdeyfzen.js} +9 -9
- package/dist/chunks/{reference-v5ckev1x.js → shell-mnc72ab7.js} +29 -29
- package/dist/chunks/{reference-pjc9r9mm.js → shell-mnpd6dxn.js} +4 -4
- package/dist/chunks/{reference-hv13wmdk.js → shell-mwb4t2xa.js} +6 -6
- package/dist/chunks/{reference-wrwda9bc.js → shell-n4d8tphs.js} +35 -35
- package/dist/chunks/{reference-jdwv9wew.js → shell-n9vbb020.js} +7 -7
- package/dist/chunks/{reference-sfrgz4br.js → shell-nbbs31bc.js} +17 -17
- package/dist/chunks/{reference-tfafkvnn.js → shell-ndksvsqq.js} +5 -5
- package/dist/chunks/{reference-7jen3kst.js → shell-ne3edjpr.js} +9 -9
- package/dist/chunks/{reference-mcp1ma5s.js → shell-nx6bawrx.js} +3 -3
- package/dist/chunks/{reference-3c7qpzd7.js → shell-p52jgvd8.js} +8 -8
- package/dist/chunks/{reference-p7vhpwh8.js → shell-p7vhpwh8.js} +1 -1
- package/dist/chunks/{reference-fx6mby0j.js → shell-pawhhdeh.js} +4 -3
- package/dist/chunks/{reference-yj0bhx0g.js → shell-pcxqyrq0.js} +8 -8
- package/dist/chunks/{reference-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{reference-dqfznqe2.js → shell-pmctgzqh.js} +9 -9
- package/dist/chunks/{reference-1e1dknnq.js → shell-pn41xxg3.js} +4 -4
- package/dist/chunks/{reference-davkmrkt.js → shell-pncygwdk.js} +4 -4
- package/dist/chunks/{reference-vy7yczpp.js → shell-ps01eb2k.js} +19 -19
- package/dist/chunks/{reference-c3jamc6s.js → shell-pwz5ypps.js} +8 -8
- package/dist/chunks/{reference-c5zvymhv.js → shell-px7qpgcn.js} +4 -4
- package/dist/chunks/{reference-2xrh48d4.js → shell-qax80wjp.js} +25 -25
- package/dist/chunks/{reference-s6f7yc92.js → shell-qe69n4wc.js} +11 -11
- package/dist/chunks/{reference-4g3sdj5g.js → shell-qh5g3qaw.js} +8 -8
- package/dist/chunks/{reference-0bas93te.js → shell-qn178psk.js} +11 -11
- package/dist/chunks/{reference-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{reference-qqvy8y24.js → shell-qqvy8y24.js} +1 -1
- package/dist/chunks/{reference-k3cx6fhe.js → shell-qsdghx1p.js} +4 -4
- package/dist/chunks/{reference-8wjgamp7.js → shell-qw2t3dzn.js} +6 -6
- package/dist/chunks/{reference-nftry5qd.js → shell-qw9nj3hw.js} +16 -16
- package/dist/chunks/{reference-e69dyrmv.js → shell-qx8keh7z.js} +5 -5
- package/dist/chunks/{reference-1vbrkdbs.js → shell-qzxcgvak.js} +3 -3
- package/dist/chunks/{reference-b28mnwwt.js → shell-r4p1hmh8.js} +6 -6
- package/dist/chunks/{reference-4md98zfb.js → shell-r6mk7n9z.js} +23 -23
- package/dist/chunks/{reference-wqv5jm8j.js → shell-ra7camvv.js} +24 -24
- package/dist/chunks/{reference-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-2p60zmnr.js → shell-s1ba0vj0.js} +2 -2
- package/dist/chunks/{reference-bq295cha.js → shell-s75f2ek2.js} +4 -4
- package/dist/chunks/{reference-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
- package/dist/chunks/{reference-sbya78hr.js → shell-sbya78hr.js} +1 -1
- package/dist/chunks/{reference-k53asr8d.js → shell-sdn8sen6.js} +4 -4
- package/dist/chunks/{reference-qe1net9j.js → shell-sfpad9m1.js} +35 -35
- package/dist/chunks/{reference-bvrc3dy0.js → shell-sj1akaq3.js} +25 -25
- package/dist/chunks/{reference-y93sts95.js → shell-snc40rsw.js} +25 -25
- package/dist/chunks/{reference-appgrv18.js → shell-snk2nech.js} +20 -20
- package/dist/chunks/{reference-tts2jvj6.js → shell-ss09eh5m.js} +6 -6
- package/dist/chunks/{reference-8xpc3pg5.js → shell-ss0wp4jv.js} +19 -19
- package/dist/chunks/{reference-cpe35zww.js → shell-ssdvd2y7.js} +4 -4
- package/dist/chunks/{reference-b1f3npmd.js → shell-stb7syxb.js} +4 -4
- package/dist/chunks/{reference-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{reference-sbwr8wkm.js → shell-swrmw7cp.js} +27 -27
- package/dist/chunks/{reference-xszv4dxe.js → shell-sx705zhx.js} +11 -11
- package/dist/chunks/{reference-98z24gk8.js → shell-sywhw5n9.js} +20 -20
- package/dist/chunks/{reference-nyv79txf.js → shell-t11xxbkn.js} +36 -36
- package/dist/chunks/{reference-78p2h4ex.js → shell-t8erkws8.js} +5 -5
- package/dist/chunks/{reference-hgtf1k35.js → shell-t9p1t371.js} +30 -30
- package/dist/chunks/{reference-26wfx3k0.js → shell-tb2mrvc9.js} +4 -4
- package/dist/chunks/{reference-1q0mweb2.js → shell-tc9v4qa2.js} +25 -25
- package/dist/chunks/{reference-s0a6rh8z.js → shell-tcahmmy5.js} +43 -43
- package/dist/chunks/{reference-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-1e4253h0.js → shell-tdzh4vzn.js} +11 -11
- package/dist/chunks/{reference-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{reference-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{reference-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
- package/dist/chunks/{reference-04k7bb1m.js → shell-vq7pdr9z.js} +12 -12
- package/dist/chunks/{reference-wxbz31gk.js → shell-vt35469a.js} +9 -9
- package/dist/chunks/{reference-sw1xk73j.js → shell-vy50mzzj.js} +23 -23
- package/dist/chunks/{reference-83ngvp4t.js → shell-vy796nhc.js} +8 -8
- package/dist/chunks/{reference-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-2kg89srt.js → shell-w79nt68w.js} +4 -4
- package/dist/chunks/shell-w9emth0g.js +261 -0
- package/dist/chunks/{reference-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-8n40800e.js → shell-wbebweck.js} +14 -14
- package/dist/chunks/{reference-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{reference-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
- package/dist/chunks/{reference-0bq3f1dw.js → shell-wej8cf7c.js} +25 -25
- package/dist/chunks/{reference-bpedy5vf.js → shell-wf4k3nrk.js} +1 -1
- package/dist/chunks/{reference-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
- package/dist/chunks/{reference-w687dnns.js → shell-wr3re1en.js} +4 -4
- package/dist/chunks/{reference-g5svysbw.js → shell-wt44qdcs.js} +3 -3
- package/dist/chunks/{reference-wvr8xscb.js → shell-wvr8xscb.js} +1 -1
- package/dist/chunks/{reference-95sp4hdf.js → shell-wws03c5r.js} +4 -4
- package/dist/chunks/{reference-qef1pbbz.js → shell-x3fa7fwr.js} +9 -9
- package/dist/chunks/{reference-2knv0w72.js → shell-x64jffdk.js} +5 -5
- package/dist/chunks/{reference-9m05rbrv.js → shell-xc1jhcm7.js} +7 -7
- package/dist/chunks/{reference-rd1s9py2.js → shell-xj160ydj.js} +31 -31
- package/dist/chunks/{reference-8cdt6zae.js → shell-y2384acf.js} +47 -47
- package/dist/chunks/{reference-e8ng32yk.js → shell-y5bbkd9h.js} +42 -42
- package/dist/chunks/{reference-4et8yzd5.js → shell-y9xb4576.js} +15 -15
- package/dist/chunks/{reference-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-msd2a3qm.js → shell-ybws1qgk.js} +4 -4
- package/dist/chunks/{reference-xaa14kzp.js → shell-yd96381m.js} +9 -9
- package/dist/chunks/{reference-hhkmsxvd.js → shell-yf073rag.js} +10 -10
- package/dist/chunks/{reference-aej1ke2g.js → shell-yf4636eg.js} +7 -7
- package/dist/chunks/{reference-y4089kv6.js → shell-yfp0tbxs.js} +9 -9
- package/dist/chunks/{reference-e45fk36t.js → shell-yqveydy6.js} +4 -4
- package/dist/chunks/{reference-dvgvyyb9.js → shell-yqvz6s31.js} +8 -8
- package/dist/chunks/{reference-yr705xyq.js → shell-yr705xyq.js} +1 -1
- package/dist/chunks/{reference-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
- package/dist/chunks/{reference-e805zvba.js → shell-z5rnbz19.js} +33 -33
- package/dist/chunks/{reference-zm27gg57.js → shell-zm27gg57.js} +2 -2
- package/dist/chunks/{reference-k8vythrt.js → shell-zqgpx8ma.js} +27 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +131 -131
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +110 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +113 -113
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +111 -111
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -407
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +249 -249
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +167 -167
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +236 -236
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +143 -143
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +137 -137
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +138 -138
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +152 -152
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +162 -162
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +162 -162
- package/dist/tool/plugin/image-generate.js +235 -235
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -98
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/reference-4p82ra0x.js +0 -261
- package/dist/chunks/reference-8x060fmy.js +0 -18
- package/dist/chunks/reference-fske6sts.js +0 -26
- /package/dist/chunks/{reference-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kah00gy.js → shell-1kah00gy.js} +0 -0
- /package/dist/chunks/{reference-1pevy3nx.js → shell-1pevy3nx.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{reference-6agm2x70.js → shell-6agm2x70.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-syrav9an.js → shell-syrav9an.js} +0 -0
- /package/dist/chunks/{reference-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
- /package/dist/chunks/{reference-ty7weeps.js → shell-ty7weeps.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-vtarvj67.js → shell-vtarvj67.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load7
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-4qk9sjk2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service74,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
18
|
configured: () => configured9,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer26,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node76,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service74 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer26 = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service74.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer23 = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service74.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service74).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service74, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,9 +156,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}));
|
|
157
157
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
158
158
|
function configured9(options) {
|
|
159
|
-
return makeGlobalNode({ service:
|
|
159
|
+
return makeGlobalNode({ service: Service74, layer: layer26(options), deps: [nativeNode] });
|
|
160
160
|
}
|
|
161
|
-
var
|
|
161
|
+
var node76 = configured9();
|
|
162
162
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
163
163
|
if (!native || !backend) {
|
|
164
164
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -178,4 +178,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
178
178
|
}).pipe(Effect.as(undefined))));
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export { hasNativeBinding2, Native3,
|
|
181
|
+
export { hasNativeBinding2, Native3, Service74, Test3, layer26, testLayer3, nativeLayer2, configured9, node76, exports_watcher };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-syrav9an.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-fb1j3qsp.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-wf4k3nrk.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make33 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make34 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make33(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make33, makeWithDefaults2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make31,
|
|
14
|
+
node: () => node83,
|
|
15
15
|
registry: () => registry3,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make31 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry3(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node83 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make31, RegistryService2, registry3, registryNode2, node83, exports_driver };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-27q2yh5h.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-40za9wsf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin9,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint3
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin9 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin38 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin38 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint3, Plugin9, exports_tinyfish };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-27q2yh5h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-4n04qkt5.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service85
|
|
11
|
+
} from "./shell-t9p1t371.js";
|
|
12
12
|
import {
|
|
13
13
|
ID18,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service83
|
|
16
|
+
} from "./shell-m74aw6gb.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-yb20nhc3.js";
|
|
21
21
|
import {
|
|
22
22
|
ID17
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-zqgpx8ma.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-7ne4y0bm.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service85;
|
|
57
|
+
const integrations = yield* Service83;
|
|
58
58
|
const bus = yield* Service89;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -188,7 +188,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
|
-
yield* bus.subscribe(
|
|
191
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void))), Effect.forkScoped({ startImmediately: true }));
|
|
192
192
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
193
193
|
const token = envToken();
|
|
194
194
|
if (token)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./shell-y2384acf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./shell-4za8zkf9.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service73;
|
|
27
|
+
const snapshot = yield* Service41;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin22 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin18, exports_snapshot };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./shell-ra7camvv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./shell-m7sxgjj7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service56
|
|
15
|
+
} from "./shell-js4rf8bj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service19,
|
|
18
18
|
resolvePath2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-sj1akaq3.js";
|
|
20
20
|
import {
|
|
21
21
|
output2,
|
|
22
22
|
notice2,
|
|
23
23
|
metadata2,
|
|
24
24
|
notification2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-89287pr7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Service77,
|
|
28
28
|
name17
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-30rdyssq.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
NotFoundError12,
|
|
32
|
+
Service69
|
|
33
|
+
} from "./shell-5btn60ym.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service27
|
|
36
|
+
} from "./shell-aq3d4cx2.js";
|
|
37
37
|
import {
|
|
38
38
|
scan3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./shell-sdn8sen6.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./shell-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/tool/plugin/shell.ts
|
|
45
|
-
var
|
|
46
|
-
__export(
|
|
45
|
+
var exports_shell2 = {};
|
|
46
|
+
__export(exports_shell2, {
|
|
47
47
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
48
|
-
Input: () =>
|
|
49
|
-
Plugin: () =>
|
|
50
|
-
ShellTool: () =>
|
|
51
|
-
name: () =>
|
|
48
|
+
Input: () => Input14,
|
|
49
|
+
Plugin: () => Plugin54,
|
|
50
|
+
ShellTool: () => exports_shell2,
|
|
51
|
+
name: () => name14
|
|
52
52
|
});
|
|
53
53
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
54
54
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
55
|
-
var
|
|
55
|
+
var name14 = "shell";
|
|
56
56
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
57
57
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
58
58
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -66,7 +66,7 @@ var description = (shell) => [
|
|
|
66
66
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
67
67
|
"Background commands return immediately, and you will be notified when they complete."
|
|
68
68
|
].join(" ");
|
|
69
|
-
var
|
|
69
|
+
var Input14 = Schema.Struct({
|
|
70
70
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
71
71
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
72
72
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -112,18 +112,18 @@ Output is streaming to: ${file}`,
|
|
|
112
112
|
truncated: false,
|
|
113
113
|
status: "running"
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var Plugin54 = {
|
|
116
116
|
id: "opencode.tool.shell",
|
|
117
117
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
118
|
-
const sessions = yield*
|
|
119
|
-
const jobs = yield*
|
|
118
|
+
const sessions = yield* Service27;
|
|
119
|
+
const jobs = yield* Service46;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
|
-
const environment = yield*
|
|
122
|
-
const access = yield*
|
|
123
|
-
const shell = yield*
|
|
124
|
-
const shellSelect = yield*
|
|
121
|
+
const environment = yield* Service71;
|
|
122
|
+
const access = yield* Service19;
|
|
123
|
+
const shell = yield* Service69;
|
|
124
|
+
const shellSelect = yield* Service77;
|
|
125
125
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service56;
|
|
127
127
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
128
128
|
const source = {
|
|
129
129
|
type: "tool",
|
|
@@ -141,7 +141,7 @@ var Plugin2 = {
|
|
|
141
141
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
142
142
|
if (parsed.commands.length > 0)
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name14,
|
|
145
145
|
resources: parsed.commands.map((command) => command.resource),
|
|
146
146
|
save: parsed.commands.map((command) => command.save),
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -178,10 +178,10 @@ var Plugin2 = {
|
|
|
178
178
|
yield* jobs.completeBackground(info.notificationID);
|
|
179
179
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
180
180
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
181
|
-
name:
|
|
181
|
+
name: name14,
|
|
182
182
|
options: { codemode: false },
|
|
183
183
|
description: description(),
|
|
184
|
-
input:
|
|
184
|
+
input: Input14,
|
|
185
185
|
output: Output,
|
|
186
186
|
execute: (input, context) => Effect.gen(function* () {
|
|
187
187
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -204,7 +204,7 @@ var Plugin2 = {
|
|
|
204
204
|
const run = Effect.gen(function* () {
|
|
205
205
|
const result = yield* shell.result(info);
|
|
206
206
|
if (!result.capture)
|
|
207
|
-
return yield* new
|
|
207
|
+
return yield* new NotFoundError12({ id: info.id });
|
|
208
208
|
const output = output2(result);
|
|
209
209
|
return {
|
|
210
210
|
...output,
|
|
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
218
218
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
219
219
|
const job = yield* jobs.start({
|
|
220
220
|
id: info.id,
|
|
221
|
-
type:
|
|
221
|
+
type: name14,
|
|
222
222
|
title: info.command,
|
|
223
223
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
224
224
|
recovery: {
|
|
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
248
248
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
249
249
|
})).pipe(Effect.orDie);
|
|
250
250
|
const hook = (event) => Effect.gen(function* () {
|
|
251
|
-
const tool = event.tools[
|
|
251
|
+
const tool = event.tools[name14];
|
|
252
252
|
if (!tool)
|
|
253
253
|
return;
|
|
254
254
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
259
259
|
})
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { name14, DEFAULT_TIMEOUT_MS2, Input14, Plugin54, exports_shell2 };
|