@opencode/core 0.0.0-dev-21268 → 0.0.0-dev-21286
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{formatter-2afzv2w7.js → skill-05vzypjk.js} +13 -13
- package/dist/chunks/{formatter-60byc3m8.js → skill-06waph1v.js} +50 -50
- package/dist/chunks/{formatter-w56efnhv.js → skill-09nv85a9.js} +25 -25
- package/dist/chunks/{formatter-gc9yyap8.js → skill-0adv686s.js} +11 -11
- package/dist/chunks/{formatter-q5e7cmwt.js → skill-0ebt9ktc.js} +17 -13
- package/dist/chunks/{formatter-0v8jbydc.js → skill-0s4awtrm.js} +30 -30
- package/dist/chunks/{formatter-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{formatter-xx0g94j1.js → skill-13a51vk5.js} +10 -10
- package/dist/chunks/{formatter-p80cb2q6.js → skill-15v1mmar.js} +13 -13
- package/dist/chunks/{formatter-kzaea99f.js → skill-1cp9bz2d.js} +14 -14
- package/dist/chunks/{formatter-bzeyqsqd.js → skill-1ep4rre3.js} +4 -4
- package/dist/chunks/{formatter-wjr9rjd7.js → skill-1ffvrpkg.js} +9 -9
- package/dist/chunks/{formatter-jbv6fv9n.js → skill-1gmddy7b.js} +4 -4
- package/dist/chunks/{formatter-7cx1y1jk.js → skill-1scs9kvk.js} +23 -23
- package/dist/chunks/{formatter-6n87qsqk.js → skill-1x40g0cb.js} +78 -155
- package/dist/chunks/{formatter-1845wcnm.js → skill-1x9n3mmz.js} +36 -36
- package/dist/chunks/{formatter-g4jej14z.js → skill-1ywjs8d5.js} +14 -14
- package/dist/chunks/{formatter-w8xr7nv8.js → skill-207ajt2h.js} +5 -5
- package/dist/chunks/{formatter-m2eens3g.js → skill-22fjnv6b.js} +16 -16
- package/dist/chunks/{formatter-d18yz2tr.js → skill-22zjq5d7.js} +22 -22
- package/dist/chunks/{formatter-bmvxsevk.js → skill-23fhnjw2.js} +12 -12
- package/dist/chunks/{formatter-jt04gwr3.js → skill-24qb9ktg.js} +27 -27
- package/dist/chunks/{formatter-sg1n6he9.js → skill-284nz0qx.js} +5 -5
- package/dist/chunks/{formatter-fcrkznn8.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{formatter-d04wke9a.js → skill-2pqzp2n5.js} +38 -38
- package/dist/chunks/{formatter-k15rxyma.js → skill-2pv2ee2c.js} +8 -8
- package/dist/chunks/{formatter-9md8he8y.js → skill-2rhr1j2v.js} +32 -32
- package/dist/chunks/{formatter-ym5wg1kc.js → skill-2s32b1pm.js} +2 -2
- package/dist/chunks/{formatter-y539vebz.js → skill-2xre7bbz.js} +34 -34
- package/dist/chunks/{formatter-24920ypz.js → skill-2ydj7fj1.js} +35 -35
- package/dist/chunks/{formatter-7mxcbd2h.js → skill-30x38mv8.js} +46 -46
- package/dist/chunks/{formatter-0j6qdzw7.js → skill-33vw7qyp.js} +20 -20
- package/dist/chunks/{formatter-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
- package/dist/chunks/{formatter-kd568tns.js → skill-3s06hs9t.js} +5 -5
- package/dist/chunks/{formatter-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-30a99vc0.js → skill-3w4mwa0r.js} +24 -24
- package/dist/chunks/{formatter-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{formatter-xbf45m1m.js → skill-40h581yp.js} +11 -11
- package/dist/chunks/{formatter-9864qn22.js → skill-47zrz7pg.js} +33 -33
- package/dist/chunks/{formatter-kmk629k8.js → skill-49eyavm8.js} +7 -7
- package/dist/chunks/{formatter-880p7epb.js → skill-4ckgtqrh.js} +9 -9
- package/dist/chunks/{formatter-dktgvxhq.js → skill-4g7bc71f.js} +20 -20
- package/dist/chunks/{formatter-4p2aqbrx.js → skill-4mwphs2k.js} +6 -6
- package/dist/chunks/{formatter-4nj4bn9q.js → skill-4nj4bn9q.js} +2 -2
- package/dist/chunks/{formatter-81dsrpbq.js → skill-4ptxcp1e.js} +24 -24
- package/dist/chunks/{formatter-kgnmzmc2.js → skill-4r2zbptf.js} +67 -70
- package/dist/chunks/{formatter-c340nhfc.js → skill-4t2jy500.js} +13 -13
- package/dist/chunks/skill-4wsa0agf.js +257 -0
- package/dist/chunks/{formatter-r94pvvab.js → skill-54ma36ye.js} +4 -4
- package/dist/chunks/{formatter-wxv2y18y.js → skill-5dc849gq.js} +6 -6
- package/dist/chunks/{formatter-d9gp05e8.js → skill-5efy2ttq.js} +14 -14
- package/dist/chunks/{formatter-d3394kee.js → skill-5jpamcfq.js} +14 -14
- package/dist/chunks/{formatter-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-ny53wrt7.js → skill-5vf4742z.js} +32 -39
- package/dist/chunks/{formatter-n3qps2jj.js → skill-5wzag2z6.js} +7 -7
- package/dist/chunks/{formatter-6827pfxn.js → skill-6827pfxn.js} +1 -1
- package/dist/chunks/{formatter-pvzd63td.js → skill-6p3qshzc.js} +32 -32
- package/dist/chunks/{formatter-cqsap5z8.js → skill-6s9dfnwd.js} +9 -7
- package/dist/chunks/{formatter-ctbnrc59.js → skill-6x24qp8q.js} +10 -10
- package/dist/chunks/{formatter-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{formatter-775gj3j1.js → skill-775gj3j1.js} +2 -2
- package/dist/chunks/{formatter-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-sd6q20cc.js → skill-7es1h6bd.js} +7 -7
- package/dist/chunks/{formatter-a20pjse5.js → skill-7v6vae4w.js} +3 -3
- package/dist/chunks/{formatter-k0a04qyy.js → skill-7xw63ggs.js} +9 -9
- package/dist/chunks/{formatter-84txncab.js → skill-84txncab.js} +1 -1
- package/dist/chunks/{formatter-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/skill-8mywswrd.js +86 -0
- package/dist/chunks/{formatter-3ks3pb71.js → skill-8nr83adb.js} +3 -3
- package/dist/chunks/{formatter-v6xvqrem.js → skill-8psfat6b.js} +3 -3
- package/dist/chunks/{formatter-nsj8m29q.js → skill-8w9ta1h6.js} +8 -8
- package/dist/chunks/{formatter-zzywg6y6.js → skill-96ewcb6m.js} +18 -18
- package/dist/chunks/{formatter-g73qmrf1.js → skill-994fvcqk.js} +31 -31
- package/dist/chunks/{formatter-3hfr6h8q.js → skill-9hn6k4tm.js} +8 -8
- package/dist/chunks/{formatter-b12fh71z.js → skill-9nyvt9wv.js} +12 -12
- package/dist/chunks/{formatter-qv11eaqs.js → skill-9sgsjpgv.js} +9 -9
- package/dist/chunks/{formatter-s4j1ewxt.js → skill-9w133m1s.js} +15 -15
- package/dist/chunks/skill-9zdhvgqs.js +18 -0
- package/dist/chunks/{formatter-rzx22v1q.js → skill-acrka64b.js} +6 -6
- package/dist/chunks/{formatter-04ap81dm.js → skill-ahnhtz0s.js} +15 -15
- package/dist/chunks/{formatter-a01j9zgm.js → skill-aj3rbcf1.js} +5 -5
- package/dist/chunks/{formatter-6133dmrp.js → skill-an6ss4rp.js} +35 -35
- package/dist/chunks/{formatter-7knmx1zy.js → skill-az180baf.js} +5 -5
- package/dist/chunks/{formatter-7mdty465.js → skill-az9pkjsk.js} +30 -29
- package/dist/chunks/{formatter-jwg5m4bp.js → skill-azfbpf7r.js} +47 -49
- package/dist/chunks/{formatter-gqtdsdt7.js → skill-azwe5p1w.js} +4 -4
- package/dist/chunks/{formatter-yz20g6dm.js → skill-b0m1ne2p.js} +23 -23
- package/dist/chunks/{formatter-9x7kjnc6.js → skill-b5e8q9y4.js} +4 -4
- package/dist/chunks/{formatter-f78dsz6n.js → skill-bh2h312c.js} +11 -11
- package/dist/chunks/{formatter-k10w2rw8.js → skill-bkatn0cp.js} +27 -27
- package/dist/chunks/{formatter-s1hjqbmb.js → skill-bm84hcav.js} +17 -17
- package/dist/chunks/{formatter-vxby77fw.js → skill-bnmr3cva.js} +8 -8
- package/dist/chunks/{formatter-h9ef7te3.js → skill-bteyxjds.js} +5 -5
- package/dist/chunks/{formatter-dzse07y5.js → skill-bw9zjykr.js} +6 -6
- package/dist/chunks/{formatter-rj3eygr5.js → skill-c41wscbt.js} +2 -2
- package/dist/chunks/{formatter-qkr7tnsm.js → skill-c5cr6fz1.js} +26 -26
- package/dist/chunks/{formatter-sa8ekw3f.js → skill-c8ax2afj.js} +2 -2
- package/dist/chunks/{formatter-s5b7v2dw.js → skill-cd870end.js} +43 -43
- package/dist/chunks/{formatter-1xf6wzjn.js → skill-cgjwj88c.js} +13 -13
- package/dist/chunks/{formatter-nc16zhnm.js → skill-cka3pwfj.js} +24 -25
- package/dist/chunks/{formatter-zcghh444.js → skill-cse5452s.js} +23 -23
- package/dist/chunks/{formatter-r78700hm.js → skill-cxfgc6by.js} +10 -10
- package/dist/chunks/{formatter-2tgf6cja.js → skill-dcpjbqwq.js} +4 -4
- package/dist/chunks/{formatter-8qgr4h1v.js → skill-dddsnv1t.js} +19 -19
- package/dist/chunks/{formatter-j2r6n3at.js → skill-dh1wnrr3.js} +26 -26
- package/dist/chunks/{formatter-dpkg50ah.js → skill-dpkg50ah.js} +1 -1
- package/dist/chunks/{formatter-zcgapt0q.js → skill-dsc898vs.js} +26 -26
- package/dist/chunks/{formatter-p8706pxr.js → skill-dsct1602.js} +15 -15
- package/dist/chunks/{formatter-wh6zw745.js → skill-dssbfrwz.js} +5 -5
- package/dist/chunks/{formatter-38qay2m7.js → skill-dtvxyhpg.js} +32 -32
- package/dist/chunks/{formatter-jq12p00e.js → skill-dzb6kqcp.js} +3 -3
- package/dist/chunks/{formatter-vrfj7wzn.js → skill-e49jeknm.js} +15 -15
- package/dist/chunks/{formatter-jdma4b20.js → skill-e5t061k5.js} +17 -17
- package/dist/chunks/{formatter-e80seqcp.js → skill-e80seqcp.js} +1 -1
- package/dist/chunks/{formatter-02nrjc1r.js → skill-eaj1djv9.js} +4 -4
- package/dist/chunks/{formatter-0t9wd588.js → skill-eeaf82dq.js} +8 -8
- package/dist/chunks/{formatter-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
- package/dist/chunks/{formatter-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-c1fqxshp.js → skill-es1vcfrp.js} +3 -3
- package/dist/chunks/{formatter-yx0rmv9r.js → skill-esjfm2jj.js} +8 -8
- package/dist/chunks/{formatter-ay1662mf.js → skill-f19p4dtt.js} +9 -9
- package/dist/chunks/{formatter-g3tfzm17.js → skill-fba44ey8.js} +1 -1
- package/dist/chunks/{formatter-fcy631f0.js → skill-fcy631f0.js} +1 -1
- package/dist/chunks/{formatter-326x6pdt.js → skill-ffex79nh.js} +4 -4
- package/dist/chunks/{formatter-9b8ncctb.js → skill-fgat89d3.js} +8 -8
- package/dist/chunks/{formatter-fn9t717r.js → skill-fn9t717r.js} +3 -3
- package/dist/chunks/{formatter-pc7d6ej0.js → skill-fp460gdt.js} +16 -16
- package/dist/chunks/{formatter-79qaa2kf.js → skill-ft3hqk2c.js} +9 -9
- package/dist/chunks/{formatter-z6pg3wkb.js → skill-fx27t40w.js} +14 -14
- package/dist/chunks/{formatter-qf501b6x.js → skill-g7zm5684.js} +11 -11
- package/dist/chunks/{formatter-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-9hwaqfsw.js → skill-gj71zhbs.js} +5 -5
- package/dist/chunks/{formatter-fgvzqqhz.js → skill-gjpes3nd.js} +11 -11
- package/dist/chunks/{formatter-axvj98vx.js → skill-gjqf6prp.js} +15 -15
- package/dist/chunks/{formatter-xgfaq3ry.js → skill-gxqmtd9s.js} +4 -4
- package/dist/chunks/{formatter-0ed8e971.js → skill-h1qzx281.js} +21 -21
- package/dist/chunks/{formatter-fxaymqdw.js → skill-h221s06d.js} +4 -4
- package/dist/chunks/{formatter-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-wrmbd4ct.js → skill-hcv80w8f.js} +8 -8
- package/dist/chunks/{formatter-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
- package/dist/chunks/{formatter-ce2nyva1.js → skill-hpwaxba9.js} +51 -36
- package/dist/chunks/{formatter-3dbk125e.js → skill-j3pmw4n4.js} +13 -16
- package/dist/chunks/{formatter-sbvsyxhr.js → skill-j5vs2s0c.js} +16 -16
- package/dist/chunks/{formatter-sd0pxfvh.js → skill-jg6y9exp.js} +9 -9
- package/dist/chunks/{formatter-hkh1jx8g.js → skill-jpxbkzcm.js} +18 -18
- package/dist/chunks/{formatter-cedvsd9p.js → skill-jrcrphs5.js} +15 -15
- package/dist/chunks/skill-k4pcy416.js +26 -0
- package/dist/chunks/{formatter-gyahv1by.js → skill-k4z9qb1h.js} +18 -18
- package/dist/chunks/{formatter-75rtafjv.js → skill-k767h5gk.js} +14 -14
- package/dist/chunks/{formatter-9nerqjs9.js → skill-k9rcbhkt.js} +20 -20
- package/dist/chunks/{formatter-jrbcd3qy.js → skill-kb53hzak.js} +25 -25
- package/dist/chunks/{formatter-kwb1v3vj.js → skill-kwb1v3vj.js} +1 -1
- package/dist/chunks/{formatter-kecqbpkt.js → skill-kzp04e93.js} +10 -10
- package/dist/chunks/{formatter-vzn69n1x.js → skill-m6pbs28h.js} +15 -15
- package/dist/chunks/{formatter-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-maspj1v3.js → skill-maspj1v3.js} +1 -1
- package/dist/chunks/{formatter-yx35gvjr.js → skill-mezgzbf4.js} +8 -8
- package/dist/chunks/{formatter-wek98stj.js → skill-mf2cr3hn.js} +5 -5
- package/dist/chunks/{formatter-sa6168g2.js → skill-mfjtdt2y.js} +3 -3
- package/dist/chunks/{formatter-1hcnqvj0.js → skill-mj8v08g3.js} +25 -25
- package/dist/chunks/{formatter-wfc8dvn2.js → skill-mk12phhj.js} +2 -2
- package/dist/chunks/{formatter-jnyfd4gm.js → skill-mr40cxx5.js} +11 -11
- package/dist/chunks/{formatter-fqxpggxp.js → skill-mrvktngd.js} +15 -15
- package/dist/chunks/{formatter-p9j36qey.js → skill-mwfdq8qc.js} +21 -21
- package/dist/chunks/{formatter-psf8dvjb.js → skill-mxzy28fn.js} +15 -15
- package/dist/chunks/{formatter-1pvppg81.js → skill-n2jhanjn.js} +7 -7
- package/dist/chunks/{formatter-2mw400dq.js → skill-n8s3x8gg.js} +18 -18
- package/dist/chunks/{formatter-bacj9t34.js → skill-nd4tfyg0.js} +9 -9
- package/dist/chunks/{formatter-g0nw424s.js → skill-nrfaghy7.js} +32 -32
- package/dist/chunks/{formatter-1gd0p40m.js → skill-p24k7xxs.js} +21 -21
- package/dist/chunks/{formatter-fka0j1an.js → skill-p7ejm75f.js} +15 -15
- package/dist/chunks/{formatter-t39j3nb6.js → skill-p83bgnwy.js} +182 -182
- package/dist/chunks/{formatter-mdqes59k.js → skill-p9yv9cpt.js} +47 -47
- package/dist/chunks/{formatter-h4smr58a.js → skill-pe6c7tpr.js} +52 -52
- package/dist/chunks/{formatter-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-apba62c4.js → skill-psw58z79.js} +26 -26
- package/dist/chunks/{formatter-rkprpv83.js → skill-py3kkmfq.js} +2 -2
- package/dist/chunks/{formatter-560ck4c5.js → skill-q5yng9nd.js} +3 -3
- package/dist/chunks/{formatter-m53709c2.js → skill-q7nxqx7p.js} +11 -11
- package/dist/chunks/{formatter-xgqamae7.js → skill-q7w9bzh9.js} +5 -5
- package/dist/chunks/{formatter-dftrqtzk.js → skill-qfphg4nc.js} +3 -3
- package/dist/chunks/{formatter-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{formatter-j3rvqy98.js → skill-qrvjed71.js} +19 -19
- package/dist/chunks/{formatter-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-5tcnstt9.js → skill-qshse4pa.js} +11 -11
- package/dist/chunks/{formatter-e3wg82qa.js → skill-r0snawp5.js} +14 -14
- package/dist/chunks/{formatter-3gmzkzp0.js → skill-r2gt430y.js} +46 -46
- package/dist/chunks/{formatter-7t5c4g27.js → skill-r4dce1g6.js} +9 -9
- package/dist/chunks/{formatter-fjzkwv4w.js → skill-rbpvdgf0.js} +5 -5
- package/dist/chunks/{formatter-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-r8xr0va3.js → skill-rhraev7y.js} +4 -4
- package/dist/chunks/{formatter-d2m5bwmv.js → skill-rtj3qdv7.js} +17 -17
- package/dist/chunks/{formatter-6gtdewqb.js → skill-rw53n0fn.js} +47 -47
- package/dist/chunks/{formatter-9qxahjdj.js → skill-rzjhynvd.js} +21 -21
- package/dist/chunks/{formatter-tn7n77d0.js → skill-rzptascq.js} +18 -18
- package/dist/chunks/{formatter-2mmtmdq9.js → skill-s062krnn.js} +28 -29
- package/dist/chunks/{formatter-gwpaft9z.js → skill-s0tpqwmh.js} +36 -36
- package/dist/chunks/{formatter-g9kdeh46.js → skill-s3dcqe2f.js} +87 -90
- package/dist/chunks/{formatter-vtdr16f1.js → skill-s7hgpj7n.js} +25 -25
- package/dist/chunks/{formatter-wfk38fft.js → skill-sjrfcf49.js} +13 -13
- package/dist/chunks/{formatter-sabmmyg1.js → skill-skda7hje.js} +97 -97
- package/dist/chunks/{formatter-0kve3vzz.js → skill-snpdvfcc.js} +13 -13
- package/dist/chunks/{formatter-vybdm9k2.js → skill-spvegxv4.js} +43 -43
- package/dist/chunks/{formatter-pt1ss6jy.js → skill-ss358qx3.js} +3 -3
- package/dist/chunks/{formatter-cdf78ym6.js → skill-stpt7qpp.js} +26 -26
- package/dist/chunks/{formatter-syv4x271.js → skill-syv4x271.js} +1 -1
- package/dist/chunks/{formatter-xy38s77h.js → skill-szfjq214.js} +5 -5
- package/dist/chunks/{formatter-5p6qw3tz.js → skill-t0s87p9z.js} +48 -48
- package/dist/chunks/{formatter-v4m9j1r3.js → skill-t2cxfkz0.js} +19 -19
- package/dist/chunks/{formatter-gx7ed082.js → skill-t3s4rf4r.js} +11 -11
- package/dist/chunks/{formatter-6hh8tjw2.js → skill-t6vsspdg.js} +7 -7
- package/dist/chunks/{formatter-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-hgpmxtmw.js → skill-tj5ahh21.js} +18 -18
- package/dist/chunks/{formatter-n1w5qww0.js → skill-tjmbphra.js} +24 -22
- package/dist/chunks/{formatter-rert0e01.js → skill-tkb22qbm.js} +2 -2
- package/dist/chunks/{formatter-tm0kqsz3.js → skill-tm0kqsz3.js} +1 -1
- package/dist/chunks/{formatter-bcndysnn.js → skill-tp8qtqfe.js} +32 -32
- package/dist/chunks/{formatter-5fmp7ejv.js → skill-tq14xbg8.js} +24 -24
- package/dist/chunks/{formatter-tgdmrz9m.js → skill-tw1svedf.js} +18 -18
- package/dist/chunks/{formatter-mqqhst8y.js → skill-txm3e8qz.js} +4 -4
- package/dist/chunks/{formatter-tyytaxap.js → skill-tyytaxap.js} +1 -1
- package/dist/chunks/{formatter-kpawbemv.js → skill-tzs4kwf2.js} +21 -21
- package/dist/chunks/{formatter-n23bjbw3.js → skill-tzx53q96.js} +23 -23
- package/dist/chunks/{formatter-h978070j.js → skill-v13b12ef.js} +16 -19
- package/dist/chunks/{formatter-x5jhdhzv.js → skill-v210v162.js} +5 -5
- package/dist/chunks/{formatter-s6mjk57t.js → skill-v3t362sx.js} +23 -23
- package/dist/chunks/{formatter-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
- package/dist/chunks/{formatter-06c933ea.js → skill-v86je2z5.js} +16 -16
- package/dist/chunks/{formatter-r1sktf6h.js → skill-va1m2gws.js} +1 -1
- package/dist/chunks/{formatter-njbdz2ej.js → skill-vd4aczts.js} +18 -18
- package/dist/chunks/{formatter-6t4hr8r6.js → skill-ve85v3xb.js} +4 -4
- package/dist/chunks/{formatter-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{formatter-6md12hsa.js → skill-w19cxg5d.js} +5 -5
- package/dist/chunks/{formatter-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-z039y7x6.js → skill-w5e5n6qp.js} +31 -31
- package/dist/chunks/{formatter-qyh1b4jm.js → skill-w9pxnq1f.js} +3 -3
- package/dist/chunks/{formatter-kd03d9gr.js → skill-wcnw1vw1.js} +4 -4
- package/dist/chunks/{formatter-we093gtr.js → skill-wcv23wjp.js} +11 -11
- package/dist/chunks/{formatter-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-6shsmc4s.js → skill-wg21mfe7.js} +20 -20
- package/dist/chunks/{formatter-p6xnc3rx.js → skill-wjvejwxj.js} +19 -19
- package/dist/chunks/{formatter-v82nyebm.js → skill-wq5ge4qs.js} +10 -10
- package/dist/chunks/{formatter-j8y9j9kj.js → skill-wrpzvqff.js} +18 -18
- package/dist/chunks/{formatter-b3nqcn4t.js → skill-ws22wf9m.js} +13 -13
- package/dist/chunks/{formatter-qg7te02p.js → skill-wsc8jw0e.js} +8 -8
- package/dist/chunks/{formatter-whnjbvkc.js → skill-x1j2xbxr.js} +11 -11
- package/dist/chunks/{formatter-n3kjjdbc.js → skill-x27b78bf.js} +23 -23
- package/dist/chunks/skill-x7schd0t.js +517 -0
- package/dist/chunks/{formatter-waamc7ac.js → skill-x9xez83g.js} +23 -23
- package/dist/chunks/{formatter-vebvfg1b.js → skill-xbk1brvq.js} +33 -33
- package/dist/chunks/{formatter-drwq78ky.js → skill-xfkkasph.js} +4 -4
- package/dist/chunks/skill-xjwnzk3j.js +130 -0
- package/dist/chunks/{formatter-hj6k4shy.js → skill-xzt4qk3d.js} +4 -4
- package/dist/chunks/{formatter-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-n5s0rf7q.js → skill-y34wrf3d.js} +9 -9
- package/dist/chunks/{formatter-14nzty46.js → skill-y5716pwx.js} +10 -10
- package/dist/chunks/{formatter-xsj2mzjf.js → skill-y5csa3j3.js} +8 -8
- package/dist/chunks/{formatter-jftvfy36.js → skill-y5wbntgb.js} +29 -29
- package/dist/chunks/{formatter-n2srvep7.js → skill-y6mhz57t.js} +4 -4
- package/dist/chunks/{formatter-wmmpzfcy.js → skill-ycgxjbe9.js} +36 -36
- package/dist/chunks/{formatter-2p6ntd4m.js → skill-yjc6fc7c.js} +22 -22
- package/dist/chunks/{formatter-f5jgrrfv.js → skill-yjtv1dgs.js} +21 -21
- package/dist/chunks/{formatter-sr8jg6q5.js → skill-ykb9mt4z.js} +20 -20
- package/dist/chunks/{formatter-sx6dfbyf.js → skill-ys00zx1c.js} +1 -1
- package/dist/chunks/{formatter-d55h3tfb.js → skill-ytphcrpa.js} +20 -20
- package/dist/chunks/{formatter-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-z18fegx4.js → skill-z18fegx4.js} +1 -1
- package/dist/chunks/{formatter-t9gjcg3f.js → skill-zbvn420s.js} +24 -24
- package/dist/chunks/{formatter-8gxqpgph.js → skill-zee1rnkq.js} +4 -4
- package/dist/chunks/{formatter-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-xr2s98ph.js → skill-zvn91fcw.js} +27 -27
- package/dist/chunks/{formatter-49znd53m.js → skill-zvqs7mdw.js} +14 -14
- package/dist/chunks/{formatter-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{formatter-nt6vwrgy.js → skill-zz1b5zj3.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +83 -82
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +101 -101
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +19 -13
- package/dist/session/inbox.js +95 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +14 -0
- package/dist/session/revert.js +96 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/credential/sql.d.ts +0 -3
- package/dist/types/credential.d.ts +0 -3
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/session/history.d.ts +35 -888
- package/dist/types/session/recent-text.d.ts +11 -0
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +5 -55
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/formatter-7asbmpsf.js +0 -95
- package/dist/chunks/formatter-f29mbr7f.js +0 -69
- package/dist/chunks/formatter-fsthefce.js +0 -26
- package/dist/chunks/formatter-pf31ssb9.js +0 -18
- package/dist/chunks/formatter-tbcqt8n1.js +0 -517
- package/dist/chunks/formatter-yvpf485x.js +0 -257
- package/dist/session/provider-context.js +0 -20
- package/dist/types/session/provider-context.d.ts +0 -46
- /package/dist/chunks/{formatter-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{formatter-pyv0edze.js → skill-pyv0edze.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wjj7prxr.js → skill-wjj7prxr.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-dzb6kqcp.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-dpkg50ah.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node63
|
|
18
|
+
} from "./skill-esjfm2jj.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID7,
|
|
31
|
+
Info: () => Info16,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service58,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured11,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node62
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID7 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info16 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID7,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info27 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID7,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service58 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service58,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node63]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info16({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service58.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID7.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node62 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID7, Info16, NotFound2, CreateConflict2, Service58, configured11, node62, exports_workspace };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-mfjtdt2y.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-cd870end.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-24qb9ktg.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-azfbpf7r.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-4t2jy500.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./skill-r2gt430y.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service57
|
|
13
|
+
} from "./skill-4ptxcp1e.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service64
|
|
16
|
+
} from "./skill-j5vs2s0c.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service77
|
|
19
|
+
} from "./skill-cd870end.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service76,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-vd4aczts.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service43,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-mrvktngd.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service39
|
|
37
|
+
} from "./skill-rw53n0fn.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./skill-skda7hje.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan2
|
|
43
|
+
} from "./skill-zz1b5zj3.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./skill-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin10,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name8 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
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.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input8 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
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."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin10 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service25;
|
|
124
|
+
const jobs = yield* Service64;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service57;
|
|
127
|
+
const access = yield* Service76;
|
|
128
|
+
const shell = yield* Service39;
|
|
129
|
+
const shellSelect = yield* Service43;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service77;
|
|
132
|
+
const config = yield* Service45;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin36 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin36 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name8,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin36 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name8,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input8,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin36 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name8,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name8];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin10, exports_shell };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-6s9dfnwd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./skill-v86je2z5.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service79,
|
|
14
|
+
node83
|
|
15
|
+
} from "./skill-zvqs7mdw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node8
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service85;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service79;
|
|
41
|
+
const location = yield* Service81;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node89, FSUtil.node,
|
|
101
|
+
deps: [node89, FSUtil.node, node85, node83]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node8, exports_instructions };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./skill-r2gt430y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./skill-4ckgtqrh.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service45;
|
|
26
|
+
const image = yield* Service74;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin8 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin35, exports_image };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info9
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info9 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info9, exports_command4 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-txm3e8qz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./skill-hcv80w8f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info9
|
|
12
|
+
} from "./skill-t6vsspdg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info8
|
|
15
|
+
} from "./skill-dssbfrwz.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info10
|
|
21
|
+
} from "./skill-gj71zhbs.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-dcpjbqwq.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info8, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -430,7 +430,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
430
430
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
431
431
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
432
432
|
return [];
|
|
433
|
-
const provider = decodeValue(
|
|
433
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
434
434
|
if (provider === undefined)
|
|
435
435
|
return [];
|
|
436
436
|
const destination = providerID2(name);
|