@opencode/core 0.0.0-dev-572 → 0.0.0-dev-575
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 +84 -84
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +106 -106
- package/dist/app.js +7 -7
- package/dist/artifact.js +248 -248
- package/dist/bus.js +86 -86
- package/dist/chunks/{reference-qdess7qm.js → project-019n5914.js} +27 -27
- package/dist/chunks/{reference-034tev2y.js → project-034tev2y.js} +2 -2
- package/dist/chunks/{reference-2hjsqf89.js → project-04xdb978.js} +23 -23
- package/dist/chunks/{reference-gn2zye69.js → project-07a6zqrb.js} +14 -14
- package/dist/chunks/{reference-t67p36zk.js → project-0j1zqr2k.js} +10 -10
- package/dist/chunks/{reference-5r9mks47.js → project-0jbw3gkr.js} +10 -10
- package/dist/chunks/{reference-atyx0n5q.js → project-0jf3g4p5.js} +30 -30
- package/dist/chunks/{reference-0ma9gw4f.js → project-0ma9gw4f.js} +2 -2
- package/dist/chunks/{reference-2hnx7p23.js → project-0nxdczg9.js} +31 -31
- package/dist/chunks/{reference-9dp51m1t.js → project-0svgr7xd.js} +20 -20
- package/dist/chunks/project-0t4nwps0.js +16 -0
- package/dist/chunks/{reference-s3r0jkg8.js → project-0twfw88w.js} +7 -7
- package/dist/chunks/{reference-2ta3xcqa.js → project-0wpz3h74.js} +20 -20
- package/dist/chunks/{reference-6wmf7jyj.js → project-0yw17pkx.js} +13 -13
- package/dist/chunks/{reference-4ke1sdaf.js → project-135jvntg.js} +31 -31
- package/dist/chunks/{reference-ck5jdqth.js → project-16a46khb.js} +24 -24
- package/dist/chunks/{reference-jdk019fs.js → project-16jxsy3y.js} +5 -5
- package/dist/chunks/{reference-1aqsckx4.js → project-1aqsckx4.js} +1 -1
- package/dist/chunks/{reference-1ep2p91f.js → project-1ep2p91f.js} +2 -2
- package/dist/chunks/{reference-qsdghx1p.js → project-1fjzrn8a.js} +4 -4
- package/dist/chunks/{reference-bdv8sqrq.js → project-1gdzt2xj.js} +1 -1
- package/dist/chunks/{reference-xn61qhd8.js → project-1kmqmr0e.js} +38 -38
- package/dist/chunks/{reference-wgy2m6zh.js → project-1mpqg9fr.js} +17 -17
- package/dist/chunks/{reference-py8xjxyt.js → project-1tgvq00n.js} +32 -32
- package/dist/chunks/{reference-1x2knyw4.js → project-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-42yqcdz9.js → project-1xdkex0j.js} +44 -44
- package/dist/chunks/{reference-39r7m9zj.js → project-1ym5fh8n.js} +31 -31
- package/dist/chunks/{reference-8b3vzgkx.js → project-25h84942.js} +4 -4
- package/dist/chunks/{reference-tsvtqc2e.js → project-290cbanv.js} +10 -10
- package/dist/chunks/{reference-95x2gesx.js → project-29gg63gz.js} +3 -3
- package/dist/chunks/{reference-y8xep5t8.js → project-29x9sgby.js} +10 -10
- package/dist/chunks/{reference-1scgcwfj.js → project-2cdjxzfg.js} +3 -3
- package/dist/chunks/{reference-krtsfw0k.js → project-2e2qfbf4.js} +26 -26
- package/dist/chunks/{reference-ry5s2gm0.js → project-2kpqbs2m.js} +34 -34
- package/dist/chunks/{reference-t7x8kn27.js → project-2pyr13f1.js} +32 -32
- package/dist/chunks/{reference-ykd1k0bk.js → project-343zgq8q.js} +78 -59
- package/dist/chunks/{reference-c2d6jz65.js → project-3696pwfc.js} +29 -29
- package/dist/chunks/{reference-2swc61r8.js → project-36t74d6c.js} +11 -11
- package/dist/chunks/{reference-tbc5nv78.js → project-37jqyv1h.js} +4 -4
- package/dist/chunks/{reference-tm5605ws.js → project-39hyj06c.js} +36 -36
- package/dist/chunks/{reference-xjbsd7zy.js → project-3adw4bt5.js} +9 -9
- package/dist/chunks/{reference-2smp010m.js → project-3d92dp21.js} +11 -11
- package/dist/chunks/{reference-emaveete.js → project-3dkr1mc7.js} +12 -12
- package/dist/chunks/{reference-sv2nzebw.js → project-3gr38rez.js} +6 -6
- package/dist/chunks/{reference-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3nnrz6f6.js → project-3nnrz6f6.js} +1 -1
- package/dist/chunks/{reference-t62dywgn.js → project-3spf441s.js} +6 -6
- package/dist/chunks/{reference-1mp4f3yt.js → project-3v25rph8.js} +8 -7
- package/dist/chunks/{reference-40y6dtc2.js → project-40y6dtc2.js} +1 -1
- package/dist/chunks/{reference-40za9wsf.js → project-40za9wsf.js} +2 -2
- package/dist/chunks/{reference-6r3j5rq4.js → project-43mz42wn.js} +10 -10
- package/dist/chunks/{reference-bbw35q2q.js → project-46mmnvnq.js} +36 -36
- package/dist/chunks/{reference-f356pky6.js → project-4a9adyq1.js} +31 -31
- package/dist/chunks/{reference-4dx1dgte.js → project-4dx1dgte.js} +1 -1
- package/dist/chunks/{reference-4f25tdd0.js → project-4f25tdd0.js} +1 -1
- package/dist/chunks/{reference-a884m5kj.js → project-4pngysgc.js} +35 -35
- package/dist/chunks/{reference-4pyp9zr9.js → project-4pyp9zr9.js} +1 -1
- package/dist/chunks/{reference-4v008n1t.js → project-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-dsy6v1fe.js → project-52f5a6rd.js} +11 -11
- package/dist/chunks/{reference-jqfrpy0b.js → project-539dw32x.js} +4 -4
- package/dist/chunks/{reference-kt3bjfbg.js → project-53nv8vz9.js} +12 -2
- package/dist/chunks/{reference-vhhswwyd.js → project-5eagrnsn.js} +58 -58
- package/dist/chunks/{reference-hretfjjx.js → project-5jandp8q.js} +2 -2
- package/dist/chunks/{reference-5m9w47nd.js → project-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-v8wxce3j.js → project-5nbmkez3.js} +18 -18
- package/dist/chunks/{reference-ytex9bjn.js → project-5pcajhdb.js} +18 -18
- package/dist/chunks/{reference-z4cw7ht6.js → project-5x6zgx5a.js} +180 -180
- package/dist/chunks/{reference-9k76nara.js → project-64rjgvdt.js} +11 -11
- package/dist/chunks/{reference-nta6dm7p.js → project-69xp77xe.js} +9 -9
- package/dist/chunks/{reference-qefxaq5v.js → project-70c7swy8.js} +12 -14
- package/dist/chunks/{reference-s4kyhetj.js → project-716k91av.js} +6 -6
- package/dist/chunks/{reference-knpjw1zf.js → project-71ky0fxt.js} +4 -4
- package/dist/chunks/{reference-fvjma0rg.js → project-726km6eh.js} +59 -59
- package/dist/chunks/{reference-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-m0efzj7r.js → project-7hxvez1g.js} +18 -18
- package/dist/chunks/{reference-xz07m27x.js → project-7nqkf5r1.js} +2 -2
- package/dist/chunks/{reference-q8a85cdf.js → project-7prjwx2s.js} +5 -5
- package/dist/chunks/{reference-0ynhw1wj.js → project-7r0camkz.js} +11 -11
- package/dist/chunks/{reference-7w2ypzdf.js → project-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-7weczvnd.js → project-7weczvnd.js} +1 -1
- package/dist/chunks/{reference-8grrarsh.js → project-7yyxz3fg.js} +30 -30
- package/dist/chunks/{reference-80mg3ag8.js → project-80mg3ag8.js} +3 -3
- package/dist/chunks/{reference-9g1m21dx.js → project-821n8anj.js} +21 -21
- package/dist/chunks/{reference-f32m8sjz.js → project-82phgae0.js} +5 -5
- package/dist/chunks/{reference-wa9t2f6b.js → project-85a5jd0r.js} +49 -49
- package/dist/chunks/{reference-89287pr7.js → project-89287pr7.js} +1 -1
- package/dist/chunks/{reference-8cg7mtm3.js → project-8cg7mtm3.js} +1 -1
- package/dist/chunks/{reference-pdm4ywp3.js → project-8dqkg4s0.js} +7 -7
- package/dist/chunks/{reference-rgr196vp.js → project-8sb7jtsn.js} +9 -9
- package/dist/chunks/{reference-8sxe6kv8.js → project-8sxe6kv8.js} +2 -2
- package/dist/chunks/{reference-8wtp7s3z.js → project-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-90zstvax.js → project-90zstvax.js} +1 -1
- package/dist/chunks/{reference-kn4zqwcq.js → project-94e33dpz.js} +3 -3
- package/dist/chunks/{reference-2eb83ex8.js → project-96cftbda.js} +38 -38
- package/dist/chunks/{reference-szwm4crx.js → project-96djdqw5.js} +4 -4
- package/dist/chunks/{reference-mhx1h2m0.js → project-98b85hpm.js} +11 -11
- package/dist/chunks/{reference-ax0z0xv7.js → project-9a0r90ad.js} +5 -5
- package/dist/chunks/{reference-teav1bzy.js → project-9f3jsh1d.js} +9 -9
- package/dist/chunks/{reference-kprr32nt.js → project-9gvz502r.js} +14 -14
- package/dist/chunks/{reference-782ftqzm.js → project-9jx6pde7.js} +16 -16
- package/dist/chunks/{reference-p9x26950.js → project-9jxpbjsa.js} +8 -8
- package/dist/chunks/{reference-hm3v9m15.js → project-9m02z06j.js} +36 -36
- package/dist/chunks/{reference-00g1yw63.js → project-9w0mq0qd.js} +28 -28
- package/dist/chunks/{reference-963hk181.js → project-a0fq0pbv.js} +9 -9
- package/dist/chunks/{reference-s2pfznc4.js → project-a0kwzn5j.js} +6 -6
- package/dist/chunks/{reference-kkb7zeg6.js → project-a1td16et.js} +8 -8
- package/dist/chunks/{reference-0ac1knw3.js → project-a260d95k.js} +8 -8
- package/dist/chunks/{reference-6xg5mvc6.js → project-a90k0e99.js} +9 -9
- package/dist/chunks/{reference-90ct6wq4.js → project-anvcme1c.js} +4 -4
- package/dist/chunks/{reference-5ms49gm2.js → project-av5hzh88.js} +5 -5
- package/dist/chunks/{reference-f3qwesrw.js → project-axhyxf2f.js} +8 -8
- package/dist/chunks/{reference-ayjs7tqn.js → project-ayjs7tqn.js} +2 -2
- package/dist/chunks/{reference-whw1pa3p.js → project-aynzz71e.js} +6 -6
- package/dist/chunks/{reference-hgxg4bd5.js → project-b1x8zrb5.js} +12 -12
- package/dist/chunks/{reference-yzg0z8vt.js → project-b5p2pymq.js} +9 -9
- package/dist/chunks/{reference-b6vsg801.js → project-b6vsg801.js} +2 -2
- package/dist/chunks/{reference-03xjjwe3.js → project-b7ke1cet.js} +1 -1
- package/dist/chunks/{reference-9pevz77s.js → project-bb3r9wxm.js} +5 -5
- package/dist/chunks/{reference-ftjmg9qs.js → project-bbmsnk0w.js} +13 -13
- package/dist/chunks/{reference-rdmk0mq4.js → project-bbvh3bsr.js} +12 -12
- package/dist/chunks/{reference-1yq9hg58.js → project-bdhd9h6e.js} +5 -5
- package/dist/chunks/{reference-nvrbz68q.js → project-besf4p6f.js} +15 -15
- package/dist/chunks/{reference-647a467t.js → project-bmj3n0tq.js} +15 -15
- package/dist/chunks/{reference-5ay8k29b.js → project-bn2zw3xc.js} +5 -5
- package/dist/chunks/{reference-fd03a0jw.js → project-bpzq4rbg.js} +9 -9
- package/dist/chunks/{reference-bstexjd6.js → project-bstexjd6.js} +1 -1
- package/dist/chunks/{reference-j9s9xvf1.js → project-byxbe7hm.js} +20 -20
- package/dist/chunks/{reference-kz1jwzt0.js → project-c15gyfbj.js} +5 -5
- package/dist/chunks/{reference-rj7j5fvs.js → project-c5zvymhv.js} +4 -4
- package/dist/chunks/{reference-7ct4w35d.js → project-cbpf86ap.js} +27 -27
- package/dist/chunks/{reference-hmpgak6v.js → project-cdhapxv9.js} +3 -3
- package/dist/chunks/{reference-jjv6dbs2.js → project-ce6vjyqc.js} +18 -18
- package/dist/chunks/{reference-40b0605t.js → project-cka6ngk0.js} +12 -12
- package/dist/chunks/{reference-dys0v8r2.js → project-ckcb1bmd.js} +30 -30
- package/dist/chunks/{reference-93xmyh8q.js → project-ckk44cdz.js} +5 -5
- package/dist/chunks/{reference-khtjmheq.js → project-cmmsak4z.js} +17 -17
- package/dist/chunks/{reference-fwz1byk4.js → project-cnh7rm97.js} +5 -5
- package/dist/chunks/{reference-cpvd08na.js → project-cpvd08na.js} +1 -1
- package/dist/chunks/{reference-d841hfc3.js → project-cqff7g0c.js} +19 -19
- package/dist/chunks/{reference-djpnqkt2.js → project-csx4k8k5.js} +9 -9
- package/dist/chunks/{reference-cwrgdav8.js → project-cwrgdav8.js} +2 -2
- package/dist/chunks/{reference-d4v9tmah.js → project-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-mghkq3nv.js → project-dgq98zw6.js} +8 -8
- package/dist/chunks/{reference-w0gyare9.js → project-dmwh07z0.js} +5 -5
- package/dist/chunks/{reference-dt77769w.js → project-dt77769w.js} +1 -1
- package/dist/chunks/{reference-w75sbm79.js → project-dv9xw74s.js} +11 -11
- package/dist/chunks/{reference-88595d5t.js → project-e04vrpbp.js} +19 -19
- package/dist/chunks/{reference-fr3xfwew.js → project-e18cc8yy.js} +12 -12
- package/dist/chunks/{reference-jdxhd634.js → project-e4dxw20e.js} +20 -20
- package/dist/chunks/{reference-yxcjxpza.js → project-e6q22qz5.js} +54 -54
- package/dist/chunks/{reference-qe2tdkb2.js → project-e81060zc.js} +41 -41
- package/dist/chunks/{reference-e834z07m.js → project-e834z07m.js} +1 -1
- package/dist/chunks/{reference-w7s430yt.js → project-ek60h7nh.js} +4 -4
- package/dist/chunks/{reference-kse531ts.js → project-ek7r9692.js} +6 -6
- package/dist/chunks/{reference-eqw4pqj1.js → project-eqw4pqj1.js} +2 -2
- package/dist/chunks/{reference-381w5cv2.js → project-er5qm13q.js} +65 -61
- package/dist/chunks/{reference-31avdb49.js → project-etrnj9s7.js} +8 -8
- package/dist/chunks/{reference-ngwykzwa.js → project-exgqh01h.js} +26 -26
- package/dist/chunks/{reference-nv2c5e9q.js → project-ez4sqtdc.js} +3 -3
- package/dist/chunks/project-f521vhbp.js +26 -0
- package/dist/chunks/{reference-w5vfw1k0.js → project-f53z0w0m.js} +75 -75
- package/dist/chunks/{reference-78hx0q36.js → project-fe3t4ebc.js} +17 -17
- package/dist/chunks/{reference-fffv3p7h.js → project-fffv3p7h.js} +1 -1
- package/dist/chunks/{reference-fg9p65nk.js → project-fg9p65nk.js} +2 -2
- package/dist/chunks/{reference-nf348xcb.js → project-fm535swd.js} +4 -4
- package/dist/chunks/{reference-hmrw4ntv.js → project-fn5qj37w.js} +51 -51
- package/dist/chunks/{reference-k3p33cht.js → project-fqhgsedn.js} +19 -19
- package/dist/chunks/{reference-e45fk36t.js → project-fstdtr31.js} +4 -4
- package/dist/chunks/{reference-8339jj3p.js → project-ftepgs6m.js} +14 -14
- package/dist/chunks/{reference-ctyc4gz6.js → project-fvg0bsm6.js} +24 -24
- package/dist/chunks/{reference-vtbhdzrb.js → project-g8kza3j3.js} +13 -13
- package/dist/chunks/{reference-gbjdnr5j.js → project-gbjdnr5j.js} +2 -2
- package/dist/chunks/{reference-8mcxc71g.js → project-gc7a2s80.js} +39 -39
- package/dist/chunks/{reference-bnfdbx95.js → project-gcrq2pb2.js} +4 -4
- package/dist/chunks/{reference-14qfxjyt.js → project-ge5jw5a3.js} +36 -36
- package/dist/chunks/{reference-ghrv1g9c.js → project-ghrv1g9c.js} +1 -1
- package/dist/chunks/{reference-4w0wjrsb.js → project-gjj1a6n2.js} +28 -28
- package/dist/chunks/{reference-crpj5dzf.js → project-gnv8580k.js} +3 -3
- package/dist/chunks/{reference-gxs71cxp.js → project-gxs71cxp.js} +1 -1
- package/dist/chunks/{reference-8ggtc5cf.js → project-h792trvy.js} +14 -14
- package/dist/chunks/{reference-ndgw3s2s.js → project-h7vd8y7b.js} +12 -12
- package/dist/chunks/{reference-q94fsdzs.js → project-h9fh7y94.js} +11 -11
- package/dist/chunks/{reference-61msdqca.js → project-h9q35say.js} +30 -30
- package/dist/chunks/{reference-bnrgpspr.js → project-hcz18hcw.js} +22 -22
- package/dist/chunks/{reference-t16fqg33.js → project-hfcxeq1b.js} +5 -5
- package/dist/chunks/{reference-6e4p0b5k.js → project-hknx3ga7.js} +38 -38
- package/dist/chunks/{reference-ywm210e4.js → project-hmeh6bv9.js} +35 -35
- package/dist/chunks/{reference-17b8a7h3.js → project-hrfsj0r4.js} +11 -11
- package/dist/chunks/{reference-hr05g0yp.js → project-hyppwetb.js} +4 -4
- package/dist/chunks/{reference-ceh9hyhz.js → project-hzaj9ats.js} +9 -9
- package/dist/chunks/{reference-ehb04tzd.js → project-j13j23vt.js} +14 -14
- package/dist/chunks/{reference-tr8x705m.js → project-j376ae4e.js} +5 -5
- package/dist/chunks/{reference-6aw533fg.js → project-j7wjfnya.js} +12 -12
- package/dist/chunks/{reference-v095fdbr.js → project-jjcdyn1v.js} +2 -2
- package/dist/chunks/{reference-vhvty3qh.js → project-jjwnx7m3.js} +13 -13
- package/dist/chunks/{reference-c3e0rej3.js → project-jkrqcqs0.js} +11 -11
- package/dist/chunks/{reference-2y8q1569.js → project-jnhgr88h.js} +6 -6
- package/dist/chunks/{reference-x8rzqjkp.js → project-jqdm0egr.js} +23 -23
- package/dist/chunks/{reference-44pmzq9c.js → project-jxd6f16v.js} +2 -2
- package/dist/chunks/{reference-ynd6x6p8.js → project-kb2fafn8.js} +83 -83
- package/dist/chunks/{reference-kh8gdsej.js → project-kh8gdsej.js} +1 -1
- package/dist/chunks/{reference-fdwgpv3x.js → project-km2jt1n7.js} +43 -43
- package/dist/chunks/{reference-hrw51qw6.js → project-kmgqb0hj.js} +6 -6
- package/dist/chunks/{reference-wtpwnj4b.js → project-kp6q3yge.js} +11 -11
- package/dist/chunks/{reference-hn0qvtyz.js → project-kpmjj9dj.js} +21 -21
- package/dist/chunks/{reference-gznjef8r.js → project-kpr8r4gf.js} +9 -9
- package/dist/chunks/{reference-snghghw3.js → project-kwp8h6ge.js} +11 -11
- package/dist/chunks/{reference-kzczzf4v.js → project-kzczzf4v.js} +1 -1
- package/dist/chunks/{reference-txqeed8d.js → project-m0wanvqp.js} +39 -39
- package/dist/chunks/{reference-t8b37839.js → project-m15jf2d8.js} +17 -17
- package/dist/chunks/{reference-m1714858.js → project-m1714858.js} +1 -1
- package/dist/chunks/{reference-c5c32ebd.js → project-m7df3mfn.js} +22 -22
- package/dist/chunks/{reference-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-mb7mbhnz.js → project-mb7mbhnz.js} +3 -3
- package/dist/chunks/project-me0dhgxs.js +18 -0
- package/dist/chunks/{reference-gp5w1wtp.js → project-me2yvmr0.js} +58 -54
- package/dist/chunks/{reference-y062q5ej.js → project-mha933gq.js} +24 -24
- package/dist/chunks/{reference-tvtps2q9.js → project-mm06edep.js} +7 -6
- package/dist/chunks/{reference-d2p78d1f.js → project-mxmv149a.js} +15 -15
- package/dist/chunks/{reference-3d1097x7.js → project-mybwhcb5.js} +33 -33
- package/dist/chunks/{reference-y5fqa56h.js → project-mz7yysnf.js} +20 -20
- package/dist/chunks/{reference-dsz7b6ct.js → project-mzsvv2v9.js} +20 -20
- package/dist/chunks/{reference-2z3htntm.js → project-n0jv45dk.js} +3 -3
- package/dist/chunks/{reference-sf4zgaj4.js → project-n59qcj3f.js} +14 -14
- package/dist/chunks/{reference-f5rkjw9s.js → project-n6cgafjz.js} +16 -16
- package/dist/chunks/{reference-06t4fpg4.js → project-n78mes17.js} +12 -12
- package/dist/chunks/{reference-71jzrrng.js → project-naxg1y3z.js} +4 -4
- package/dist/chunks/{reference-8h4byctv.js → project-nfgvz23f.js} +2 -2
- package/dist/chunks/{reference-gf3dp8br.js → project-nhrefdj7.js} +12 -12
- package/dist/chunks/{reference-9rqhy0gk.js → project-nj82evve.js} +7 -7
- package/dist/chunks/{reference-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{reference-ryy905h1.js → project-pnhr1vvr.js} +5 -5
- package/dist/chunks/{reference-4bjxqc3y.js → project-pvs7bvhv.js} +360 -352
- package/dist/chunks/{reference-d57rvnhv.js → project-pwdej7e7.js} +32 -32
- package/dist/chunks/{reference-bqq6ewbb.js → project-pwep5jdf.js} +8 -8
- package/dist/chunks/{reference-sd74kdpv.js → project-pwz30w5f.js} +19 -19
- package/dist/chunks/{reference-1thmwbjb.js → project-q11t1skj.js} +17 -17
- package/dist/chunks/{reference-jhwp234h.js → project-q65mdntm.js} +4 -4
- package/dist/chunks/{reference-0cvmjxzj.js → project-qaazn6f8.js} +8 -8
- package/dist/chunks/{reference-pa19eq4n.js → project-qava8dj6.js} +11 -11
- package/dist/chunks/{reference-tgaynfn5.js → project-qbh5071r.js} +18 -18
- package/dist/chunks/{reference-kzs9t8x7.js → project-qbqv0dqm.js} +34 -34
- package/dist/chunks/{reference-mh67hebd.js → project-qbrwtzwr.js} +23 -23
- package/dist/chunks/{reference-edjeqbg4.js → project-qe9ewq4x.js} +12 -12
- package/dist/chunks/{reference-s11vyctz.js → project-qfhrpw0k.js} +15 -15
- package/dist/chunks/{reference-qp7r0hxv.js → project-qp7r0hxv.js} +1 -1
- package/dist/chunks/{reference-qw2t3dzn.js → project-qw2t3dzn.js} +3 -3
- package/dist/chunks/{reference-egmfbr6n.js → project-qx91edma.js} +9 -9
- package/dist/chunks/{reference-3qgwywyc.js → project-r17fbvme.js} +4 -4
- package/dist/chunks/{reference-7mybvnhq.js → project-r259dfpz.js} +26 -26
- package/dist/chunks/{reference-zhtx80hn.js → project-r55m6wx9.js} +3 -3
- package/dist/chunks/{reference-cdk4fzb8.js → project-r6grmmj8.js} +21 -21
- package/dist/chunks/{reference-4nejw68x.js → project-r7e9vx2n.js} +30 -30
- package/dist/chunks/{reference-hk7q23wz.js → project-r8zaw36y.js} +34 -34
- package/dist/chunks/{reference-rb9dy4dg.js → project-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-rgc9cx3e.js → project-rgc9cx3e.js} +2 -2
- package/dist/chunks/{reference-5ez0nn78.js → project-rgw9km2s.js} +12 -12
- package/dist/chunks/{reference-rt5dr6hb.js → project-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-xnx0h343.js → project-rvztm0f0.js} +21 -21
- package/dist/chunks/{reference-2p60zmnr.js → project-s1ba0vj0.js} +2 -2
- package/dist/chunks/project-s1ntesz6.js +265 -0
- package/dist/chunks/{reference-1w1c54a8.js → project-s3q7a4yt.js} +9 -9
- package/dist/chunks/{reference-sa3fpqfw.js → project-sa3fpqfw.js} +2 -2
- package/dist/chunks/{reference-sbya78hr.js → project-sbya78hr.js} +1 -1
- package/dist/chunks/{reference-0j7gp832.js → project-sqjzf8x2.js} +4 -4
- package/dist/chunks/{reference-svcy3p9a.js → project-svcy3p9a.js} +1 -1
- package/dist/chunks/{reference-hvnk3yew.js → project-swv67jcs.js} +3 -3
- package/dist/chunks/{reference-vbrb3wb4.js → project-t103h60z.js} +25 -25
- package/dist/chunks/{reference-ztsca96a.js → project-t3yg9b49.js} +63 -63
- package/dist/chunks/{reference-xjr6c8m4.js → project-t54kw4zq.js} +7 -7
- package/dist/chunks/{reference-0xaj1zzf.js → project-t5nywe1c.js} +38 -38
- package/dist/chunks/{reference-xrtq227w.js → project-t848fhp4.js} +6 -6
- package/dist/chunks/{reference-9zwexsxs.js → project-t8erkws8.js} +5 -5
- package/dist/chunks/{reference-14gz4c3q.js → project-t9ttf0gw.js} +12 -12
- package/dist/chunks/{reference-tczq8hjw.js → project-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-tg1vr1qt.js → project-tg1vr1qt.js} +1 -1
- package/dist/chunks/{reference-spx8r9sv.js → project-tk5z3f6w.js} +15 -15
- package/dist/chunks/{reference-3jw4bp35.js → project-tk7vtk68.js} +14 -12
- package/dist/chunks/{reference-6gvfabyz.js → project-tnyzx988.js} +18 -18
- package/dist/chunks/{reference-z1khe0aq.js → project-tnzw11y9.js} +5 -5
- package/dist/chunks/{reference-h134rhff.js → project-tpg7h1py.js} +8 -8
- package/dist/chunks/{reference-79ef09mr.js → project-tpqghdpg.js} +21 -21
- package/dist/chunks/{reference-4kmrrt4a.js → project-tpv0drx9.js} +6 -6
- package/dist/chunks/{reference-9ysx6p1b.js → project-tpycw7ak.js} +24 -24
- package/dist/chunks/{reference-dq3e4dc7.js → project-tq53n54w.js} +5 -5
- package/dist/chunks/{reference-twssxy5n.js → project-twssxy5n.js} +2 -2
- package/dist/chunks/{reference-h3b857xk.js → project-tx91wa5k.js} +4 -4
- package/dist/chunks/{reference-v2r1d0zg.js → project-v2r1d0zg.js} +1 -1
- package/dist/chunks/{reference-tb2mrvc9.js → project-v4bj6baw.js} +4 -4
- package/dist/chunks/{reference-0nk8vgec.js → project-v7jw4qpb.js} +32 -31
- package/dist/chunks/{reference-5z7nwpm6.js → project-vcfmb0aa.js} +11 -11
- package/dist/chunks/{reference-w6dzzgd0.js → project-vfkrvvzg.js} +3 -3
- package/dist/chunks/{reference-jqthpbgk.js → project-vgajs0a2.js} +8 -8
- package/dist/chunks/{reference-6mzz38vb.js → project-vgf0s298.js} +7 -7
- package/dist/chunks/{reference-cndqxqvv.js → project-vhc965fw.js} +6 -6
- package/dist/chunks/{reference-vjf35v1f.js → project-vjf35v1f.js} +1 -1
- package/dist/chunks/{reference-bhfd478d.js → project-vmxsyvj6.js} +4 -4
- package/dist/chunks/{reference-144cfcmr.js → project-vn14q1vs.js} +15 -15
- package/dist/chunks/{reference-be4v52w8.js → project-w19854z7.js} +11 -11
- package/dist/chunks/{reference-j3adhq3q.js → project-w3aygza5.js} +18 -18
- package/dist/chunks/{reference-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-wr3re1en.js → project-w687dnns.js} +4 -4
- package/dist/chunks/{reference-v0t96s7a.js → project-w79nt68w.js} +4 -4
- package/dist/chunks/{reference-m891dem5.js → project-w7f2dp2w.js} +16 -16
- package/dist/chunks/{reference-wakvkjy4.js → project-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{reference-wegkxhrn.js → project-wegkxhrn.js} +2 -2
- package/dist/chunks/{reference-wnhgecwx.js → project-wnhgecwx.js} +1 -1
- package/dist/chunks/{reference-bzznm7ry.js → project-wsx9wyaa.js} +13 -13
- package/dist/chunks/{reference-6y2b864j.js → project-wvr8xscb.js} +4 -4
- package/dist/chunks/{reference-3trf7cca.js → project-ww2x1zr9.js} +6 -6
- package/dist/chunks/{reference-kj9n5bvh.js → project-wzfa06mn.js} +4 -4
- package/dist/chunks/{reference-pksc74pe.js → project-x1c7xtkj.js} +27 -27
- package/dist/chunks/{reference-bgvr7nj9.js → project-xdbtyszx.js} +15 -15
- package/dist/chunks/{reference-xksw6ev0.js → project-xksw6ev0.js} +1 -1
- package/dist/chunks/{reference-frkpq432.js → project-xtjdmje4.js} +43 -43
- package/dist/chunks/{reference-075knt2m.js → project-xxq7an4k.js} +20 -20
- package/dist/chunks/{reference-0t8nby67.js → project-xz8fwc3w.js} +11 -11
- package/dist/chunks/{reference-9g36e1vm.js → project-xzq4ysw5.js} +7 -7
- package/dist/chunks/{reference-rqqdyhrh.js → project-y1drznxv.js} +43 -43
- package/dist/chunks/{reference-3nde6fhg.js → project-y31awznh.js} +15 -15
- package/dist/chunks/{reference-yb20nhc3.js → project-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-1v2g13eq.js → project-ybws1qgk.js} +4 -4
- package/dist/chunks/{reference-k9dzae1r.js → project-yms3hkvm.js} +31 -31
- package/dist/chunks/{reference-yr705xyq.js → project-yr705xyq.js} +1 -1
- package/dist/chunks/{reference-yvtc2x31.js → project-yvtc2x31.js} +1 -1
- package/dist/chunks/{reference-amhmzkbr.js → project-yxpmhp3m.js} +14 -14
- package/dist/chunks/{reference-9sdka5yd.js → project-yzdn5123.js} +27 -27
- package/dist/chunks/{reference-kb90r49x.js → project-yzjzbeq7.js} +28 -28
- package/dist/chunks/{reference-wpz76m6n.js → project-z7gt2z0p.js} +5 -5
- package/dist/chunks/{reference-c25pd9t8.js → project-z7p9cwh7.js} +8 -8
- package/dist/chunks/{reference-fdd5z8e8.js → project-z864cskq.js} +17 -17
- package/dist/chunks/{reference-ze75qvmd.js → project-ze75qvmd.js} +3 -3
- package/dist/chunks/{reference-sdp94t6k.js → project-zg6rj2t1.js} +27 -27
- package/dist/chunks/{reference-yayn8afj.js → project-zmmeasjg.js} +36 -36
- package/dist/chunks/{reference-mc07p528.js → project-znqcmc13.js} +9 -9
- package/dist/chunks/{reference-zpdbqgja.js → project-zpdbqgja.js} +1 -1
- package/dist/chunks/{reference-tbt2628x.js → project-zx32m1gd.js} +9 -9
- package/dist/chunks/{reference-kapdsjwd.js → project-zxnv3p5n.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- 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 +131 -131
- package/dist/config/plugin/command.js +234 -234
- 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 +139 -139
- 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 +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- 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 +135 -135
- package/dist/console-access.js +7 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +83 -83
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +103 -103
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- 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 +85 -85
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +249 -249
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- 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 +3 -3
- 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 +428 -428
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +180 -180
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +155 -155
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +115 -107
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +154 -154
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- 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 +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- 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 +240 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +404 -404
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- 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 +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +6 -6
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +112 -112
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- 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 +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +157 -157
- 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 +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +145 -145
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +412 -412
- 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 +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- 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 +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- 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 +131 -131
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +196 -196
- 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 +248 -248
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- 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 +141 -141
- package/dist/session/message-updater.js +2 -2
- 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 +163 -163
- package/dist/session/projector.js +141 -141
- 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 +254 -254
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- 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 +182 -182
- package/dist/session/shell.js +145 -145
- 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 +140 -140
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +244 -244
- 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 +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +152 -152
- package/dist/snapshot.js +106 -106
- 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 +232 -232
- package/dist/tool/plugin/edit.js +165 -165
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +243 -243
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +239 -239
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +240 -240
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +164 -164
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/types/config/integration.d.ts +4 -4
- package/dist/types/config/plugin/entry-observer.d.ts +5 -1
- package/dist/types/config.d.ts +5 -0
- package/dist/types/console-access.d.ts +12 -0
- package/dist/types/managed-policy.d.ts +1 -1
- package/dist/types/mcp/connection.d.ts +2 -0
- package/dist/types/plugin/internal.d.ts +3 -1
- 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 +1 -1
- 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 +3 -3
- 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 +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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 +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/reference-3k4vyfzg.js +0 -26
- package/dist/chunks/reference-3qhreq2y.js +0 -16
- package/dist/chunks/reference-dtkhn1ga.js +0 -265
- package/dist/chunks/reference-qmh7vbk2.js +0 -18
- /package/dist/chunks/{reference-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-108x4f4w.js → project-108x4f4w.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kah00gy.js → project-1kah00gy.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → project-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3af0jn4w.js → project-3af0jn4w.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4qk9sjk2.js → project-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5w3e23ze.js → project-5w3e23ze.js} +0 -0
- /package/dist/chunks/{reference-6agm2x70.js → project-6agm2x70.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → project-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → project-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-beh6qq61.js → project-beh6qq61.js} +0 -0
- /package/dist/chunks/{reference-bhmrqjy3.js → project-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cqv5kn06.js → project-cqv5kn06.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-ean2d8b5.js → project-ean2d8b5.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fkpq3x5p.js → project-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → project-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jwr30sdr.js → project-jwr30sdr.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → project-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-nh4v3znn.js → project-nh4v3znn.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-p71gwv9c.js → project-p71gwv9c.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-syrav9an.js → project-syrav9an.js} +0 -0
- /package/dist/chunks/{reference-t03h4f5z.js → project-t03h4f5z.js} +0 -0
- /package/dist/chunks/{reference-ty7weeps.js → project-ty7weeps.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → project-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-vtarvj67.js → project-vtarvj67.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-z0h12gs8.js → project-z0h12gs8.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → project-z9919s4g.js} +0 -0
- /package/dist/chunks/{reference-zxpyjp51.js → project-zxpyjp51.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-0j1zqr2k.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
register7
|
|
9
|
+
} from "./project-t54kw4zq.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/firecrawl.ts
|
|
15
15
|
var exports_firecrawl = {};
|
|
16
16
|
__export(exports_firecrawl, {
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin4,
|
|
18
18
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
19
|
-
endpoint: () =>
|
|
19
|
+
endpoint: () => endpoint2
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Option, Schema } from "effect";
|
|
23
23
|
import { HttpClient } from "effect/http";
|
|
24
|
-
var
|
|
24
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
25
25
|
var McpInput = Schema.Struct({
|
|
26
26
|
query: Schema.String,
|
|
27
27
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -40,16 +40,16 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
40
40
|
})
|
|
41
41
|
}));
|
|
42
42
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
43
|
-
var
|
|
43
|
+
var Plugin4 = define({
|
|
44
44
|
id: "opencode.websearch.firecrawl",
|
|
45
45
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
46
46
|
const http = yield* HttpClient.HttpClient;
|
|
47
|
-
yield*
|
|
47
|
+
yield* register7(ctx, {
|
|
48
48
|
id: "firecrawl",
|
|
49
49
|
name: "Firecrawl",
|
|
50
50
|
env: "FIRECRAWL_API_KEY",
|
|
51
51
|
execute: (input, credential) => Effect.gen(function* () {
|
|
52
|
-
const result = yield* call2(http,
|
|
52
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
53
53
|
"User-Agent": useragent2(ctx.app),
|
|
54
54
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
55
55
|
});
|
|
@@ -66,4 +66,4 @@ var Plugin7 = define({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { endpoint2, Plugin4, exports_firecrawl };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make31,
|
|
5
5
|
listUpdate2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-3spf441s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
Name2,
|
|
10
10
|
available4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service51,
|
|
12
|
+
node55
|
|
13
|
+
} from "./project-qbrwtzwr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions6 = {};
|
|
20
|
+
__export(exports_instructions6, {
|
|
21
|
+
Service: () => Service42,
|
|
22
|
+
SkillInstructions: () => exports_instructions6,
|
|
23
|
+
node: () => node46
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID10,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -56,14 +56,14 @@ var update = listUpdate2({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service42 extends Context.Service()("@opencode/SkillInstructions") {
|
|
60
60
|
}
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const skills = yield*
|
|
63
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
62
|
+
const skills = yield* Service51;
|
|
63
|
+
return Service42.of({
|
|
64
64
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
65
65
|
const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
66
|
-
return
|
|
66
|
+
return make31({
|
|
67
67
|
key: Key3.make("core/skill-guidance"),
|
|
68
68
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
69
69
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -76,6 +76,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node46 = makeLocationNode({ service: Service42, layer, deps: [node55] });
|
|
80
80
|
|
|
81
|
-
export {
|
|
81
|
+
export { Service42, node46, exports_instructions6 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node95
|
|
7
|
+
} from "./project-290cbanv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service90,
|
|
10
|
+
node94
|
|
11
|
+
} from "./project-9jx6pde7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service84,
|
|
14
|
+
node88
|
|
15
|
+
} from "./project-cka6ngk0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info27,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-a0fq0pbv.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./project-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./project-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./project-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID17,
|
|
44
|
+
Info: () => Info26,
|
|
45
|
+
NotFoundError: () => NotFoundError13,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service83,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured13,
|
|
51
|
+
node: () => node87,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID17 = ID18;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info26 = Info27;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID17
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service83 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,12 +111,12 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service84;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service90;
|
|
120
120
|
const db = (yield* Service91).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event18.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event18.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID17.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError13({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID17.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID17.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID17.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID17.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service83.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured13(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service83,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node94, node95, FSUtil.node, node88, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node87 = configured13();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service83;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node87]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID17, Vcs2, Current2, Info26, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service83, configured13, node87, sweepNode2, exports_project };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./project-q11t1skj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service85
|
|
12
|
+
} from "./project-tnyzx988.js";
|
|
13
13
|
import {
|
|
14
14
|
invocation2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./project-9m02z06j.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service20,
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-fvg0bsm6.js";
|
|
21
21
|
import {
|
|
22
22
|
output2,
|
|
23
23
|
notice2,
|
|
24
24
|
metadata2,
|
|
25
25
|
notification2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-89287pr7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service55,
|
|
29
29
|
name17
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-w7f2dp2w.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError9,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service52
|
|
34
|
+
} from "./project-1xdkex0j.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service30
|
|
37
|
+
} from "./project-kb2fafn8.js";
|
|
38
38
|
import {
|
|
39
39
|
scan3
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./project-gcrq2pb2.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./project-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/shell.ts
|
|
46
|
-
var
|
|
47
|
-
__export(
|
|
46
|
+
var exports_shell2 = {};
|
|
47
|
+
__export(exports_shell2, {
|
|
48
48
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
49
|
-
Input: () =>
|
|
50
|
-
Plugin: () =>
|
|
51
|
-
ShellTool: () =>
|
|
52
|
-
name: () =>
|
|
49
|
+
Input: () => Input4,
|
|
50
|
+
Plugin: () => Plugin42,
|
|
51
|
+
ShellTool: () => exports_shell2,
|
|
52
|
+
name: () => name4
|
|
53
53
|
});
|
|
54
54
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
55
55
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
56
|
-
var
|
|
56
|
+
var name4 = "shell";
|
|
57
57
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
58
58
|
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.";
|
|
59
59
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -67,7 +67,7 @@ var description = (shell) => [
|
|
|
67
67
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
68
68
|
"Background commands return immediately, and you will be notified when they complete."
|
|
69
69
|
].join(" ");
|
|
70
|
-
var
|
|
70
|
+
var Input4 = Schema.Struct({
|
|
71
71
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
72
72
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
73
73
|
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."
|
|
@@ -113,18 +113,18 @@ Output is streaming to: ${file}`,
|
|
|
113
113
|
truncated: false,
|
|
114
114
|
status: "running"
|
|
115
115
|
});
|
|
116
|
-
var
|
|
116
|
+
var Plugin42 = {
|
|
117
117
|
id: "opencode.tool.shell",
|
|
118
118
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
119
|
-
const sessions = yield*
|
|
120
|
-
const jobs = yield*
|
|
119
|
+
const sessions = yield* Service30;
|
|
120
|
+
const jobs = yield* Service85;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
|
-
const environment = yield*
|
|
123
|
-
const access = yield*
|
|
124
|
-
const shell = yield*
|
|
125
|
-
const shellSelect = yield*
|
|
122
|
+
const environment = yield* Service56;
|
|
123
|
+
const access = yield* Service20;
|
|
124
|
+
const shell = yield* Service52;
|
|
125
|
+
const shellSelect = yield* Service55;
|
|
126
126
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
127
|
-
const permission = yield*
|
|
127
|
+
const permission = yield* Service71;
|
|
128
128
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
129
129
|
const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
|
|
130
130
|
invocation.cwd = target.absolute;
|
|
@@ -137,7 +137,7 @@ var Plugin34 = {
|
|
|
137
137
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
138
138
|
if (parsed.commands.length > 0)
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name4,
|
|
141
141
|
resources: parsed.commands.map((command) => command.resource),
|
|
142
142
|
save: parsed.commands.map((command) => command.save),
|
|
143
143
|
...invocation2(context)
|
|
@@ -172,10 +172,10 @@ var Plugin34 = {
|
|
|
172
172
|
yield* jobs.completeBackground(info.notificationID);
|
|
173
173
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
174
174
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
175
|
-
name:
|
|
175
|
+
name: name4,
|
|
176
176
|
options: { codemode: false },
|
|
177
177
|
description: description(),
|
|
178
|
-
input:
|
|
178
|
+
input: Input4,
|
|
179
179
|
output: Output,
|
|
180
180
|
execute: (input, context) => Effect.gen(function* () {
|
|
181
181
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -212,7 +212,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
212
212
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
213
213
|
const job = yield* jobs.start({
|
|
214
214
|
id: info.id,
|
|
215
|
-
type:
|
|
215
|
+
type: name4,
|
|
216
216
|
title: info.command,
|
|
217
217
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
218
218
|
recovery: {
|
|
@@ -242,7 +242,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
242
242
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
243
243
|
})).pipe(Effect.orDie);
|
|
244
244
|
const hook = (event) => Effect.gen(function* () {
|
|
245
|
-
const tool = event.tools[
|
|
245
|
+
const tool = event.tools[name4];
|
|
246
246
|
if (!tool)
|
|
247
247
|
return;
|
|
248
248
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -253,4 +253,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin42, exports_shell2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-dt77769w.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-zxnv3p5n.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-pwdej7e7.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-s1ba0vj0.js";
|
|
4
4
|
import {
|
|
5
5
|
base2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-nj82evve.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/status.ts
|
|
12
12
|
var exports_status = {};
|
|
13
13
|
__export(exports_status, {
|
|
14
14
|
ClaudeStatus: () => exports_status,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make4
|
|
16
16
|
});
|
|
17
17
|
import { Effect, Semaphore, SubscriptionRef } from "effect";
|
|
18
|
-
var
|
|
18
|
+
var make4 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
19
19
|
const state = yield* SubscriptionRef.make({ type: "checking" });
|
|
20
20
|
const lock = yield* Semaphore.make(1);
|
|
21
21
|
const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
|
|
@@ -33,4 +33,4 @@ var make5 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
|
33
33
|
return { state, refresh, report };
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
export {
|
|
36
|
+
export { make4, exports_status };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
groups2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-vjf35v1f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/sync/checkpoints.ts
|
|
9
9
|
var exports_checkpoints = {};
|