@opencode/core 0.0.0-dev-21506 → 0.0.0-dev-21507
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-02mvvr71.js → tool-02mvvr71.js} +3 -3
- package/dist/chunks/{model-e4ed32bz.js → tool-04cnhvec.js} +32 -32
- package/dist/chunks/{model-wnfhhngp.js → tool-06v6246a.js} +42 -42
- package/dist/chunks/{model-0vbcp93d.js → tool-0emb60td.js} +2 -2
- package/dist/chunks/{model-4pk5qdp0.js → tool-0kdreaa3.js} +25 -25
- package/dist/chunks/{model-dkmgwdej.js → tool-0pdt8dbx.js} +3 -3
- package/dist/chunks/{model-b9ehgbqb.js → tool-0sgefyfd.js} +4 -4
- package/dist/chunks/{model-v4fy3qk9.js → tool-10xea195.js} +32 -32
- package/dist/chunks/{model-h5w80xhp.js → tool-118zcnpk.js} +21 -21
- package/dist/chunks/{model-1ep4rre3.js → tool-1ep4rre3.js} +1 -1
- package/dist/chunks/{model-tz8n52kk.js → tool-1ey1ywa8.js} +34 -34
- package/dist/chunks/{model-hy9g3ct7.js → tool-1hga77xc.js} +11 -11
- package/dist/chunks/{model-rpavaw06.js → tool-1vx9hbz5.js} +22 -22
- package/dist/chunks/{model-f6eb70w4.js → tool-208nnjmr.js} +4 -4
- package/dist/chunks/{model-nhg8br5k.js → tool-228mhbmk.js} +11 -11
- package/dist/chunks/{model-g3vtahr4.js → tool-26dhv5et.js} +19 -19
- package/dist/chunks/{model-1ep2p91f.js → tool-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-fx1vnbe7.js → tool-283ssd4b.js} +12 -12
- package/dist/chunks/{model-gs5g8sst.js → tool-29gc4c91.js} +10 -10
- package/dist/chunks/{model-qn9wnv8g.js → tool-2ftt7040.js} +20 -20
- package/dist/chunks/{model-f567p7kr.js → tool-2mrwwyd2.js} +19 -19
- package/dist/chunks/{model-e5g7rz9z.js → tool-2vz2ewx5.js} +12 -12
- package/dist/chunks/{model-bsznzx2j.js → tool-2z2nwxhc.js} +40 -40
- package/dist/chunks/{model-qga2y2xr.js → tool-332kxz91.js} +54 -54
- package/dist/chunks/{model-tcncyrvt.js → tool-34w1safd.js} +18 -18
- package/dist/chunks/{model-qv0sc65t.js → tool-37cqxn50.js} +6 -6
- package/dist/chunks/{model-6vca1abt.js → tool-3ga20zad.js} +20 -20
- package/dist/chunks/{model-rw8ryefd.js → tool-3hahq16z.js} +19 -19
- package/dist/chunks/{model-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-j0g1y14w.js → tool-3hjc3vgd.js} +8 -8
- package/dist/chunks/{model-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-2ckxs07g.js → tool-3q29hfa9.js} +16 -16
- package/dist/chunks/{model-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-efg2qyjc.js → tool-3xbwwg1d.js} +13 -13
- package/dist/chunks/{model-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-47jkzegy.js → tool-43kvem2p.js} +5 -5
- package/dist/chunks/{model-qwpgb8t5.js → tool-49jcyb13.js} +15 -15
- package/dist/chunks/{model-tk9ew89t.js → tool-4c8bw516.js} +8 -8
- package/dist/chunks/{model-arzs74za.js → tool-4dg0xz54.js} +6 -6
- package/dist/chunks/{model-46z6bbc3.js → tool-4gt0zems.js} +5 -5
- package/dist/chunks/{model-fpr4zhmy.js → tool-4hvcvget.js} +12 -12
- package/dist/chunks/{model-3p9fx5xs.js → tool-4j0c97rp.js} +20 -20
- package/dist/chunks/{model-e89rsxqp.js → tool-4sj6rv93.js} +8 -8
- package/dist/chunks/{model-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{model-qwk3m3t3.js → tool-556pd3b9.js} +31 -31
- package/dist/chunks/{model-3p7wkzsm.js → tool-5651m5ed.js} +37 -37
- package/dist/chunks/{model-z0ydvj27.js → tool-5g57z1ma.js} +4 -4
- package/dist/chunks/{model-mfk0mvfz.js → tool-5gx51r66.js} +3 -3
- package/dist/chunks/{model-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-qdf5x4hh.js → tool-5qmfkff2.js} +9 -9
- package/dist/chunks/{model-8pah9whb.js → tool-5z2vrcz3.js} +2 -2
- package/dist/chunks/{model-hbc5tqp3.js → tool-64ddt51t.js} +8 -8
- package/dist/chunks/{model-wx5pdzv2.js → tool-66950z1s.js} +7 -7
- package/dist/chunks/{model-6827pfxn.js → tool-6827pfxn.js} +1 -1
- package/dist/chunks/{model-6vembv3h.js → tool-687c5wp0.js} +26 -26
- package/dist/chunks/{model-7jabcg2v.js → tool-6a3j6khd.js} +14 -14
- package/dist/chunks/{model-2k5pzv8p.js → tool-6j90fxgt.js} +13 -13
- package/dist/chunks/{model-rs2p4h37.js → tool-6w39brh1.js} +5 -5
- package/dist/chunks/{model-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-tmz9z8jm.js → tool-6ygh4fgn.js} +30 -30
- package/dist/chunks/{model-775gj3j1.js → tool-775gj3j1.js} +2 -2
- package/dist/chunks/{model-097nk7jj.js → tool-7a5jr4d9.js} +11 -11
- package/dist/chunks/{model-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-ffhn27st.js → tool-7dqsqf20.js} +50 -50
- package/dist/chunks/{model-pqtz87qt.js → tool-7jvyaakv.js} +17 -17
- package/dist/chunks/{model-6vjn048p.js → tool-82rbgap5.js} +12 -12
- package/dist/chunks/{model-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{model-6yz0wx8n.js → tool-8cbrfsed.js} +5 -5
- package/dist/chunks/{model-s15sfq84.js → tool-8edt2mn2.js} +76 -76
- package/dist/chunks/{model-kecgep65.js → tool-8fs4gys7.js} +11 -11
- package/dist/chunks/{model-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-8mywswrd.js → tool-8mywswrd.js} +1 -1
- package/dist/chunks/{model-ngh7x0hb.js → tool-8pjxh0v6.js} +32 -32
- package/dist/chunks/{model-tm7f4x12.js → tool-8ptwh2sj.js} +3 -3
- package/dist/chunks/{model-hkhzft4n.js → tool-8qjra3pm.js} +23 -23
- package/dist/chunks/{model-xw9fg8fb.js → tool-8vcf4cwr.js} +2 -2
- package/dist/chunks/{model-h53p44pz.js → tool-940py8pc.js} +18 -18
- package/dist/chunks/{model-8p9mr4ny.js → tool-98e06m6b.js} +45 -45
- package/dist/chunks/{model-39fz5gq7.js → tool-9ar0tc7e.js} +2 -2
- package/dist/chunks/{model-cmwkp3r5.js → tool-9hn6k4tm.js} +8 -8
- package/dist/chunks/{model-s85y7g3v.js → tool-9ks7twft.js} +21 -21
- package/dist/chunks/{model-9hrj064r.js → tool-9mbmc05v.js} +10 -10
- package/dist/chunks/{model-6bh8c15d.js → tool-9ny5hk10.js} +11 -11
- package/dist/chunks/{model-9wev2pgg.js → tool-9wev2pgg.js} +1 -1
- package/dist/chunks/{model-r09mn59h.js → tool-9y4hw6ff.js} +51 -51
- package/dist/chunks/{model-h6310vsd.js → tool-a3c7ahw6.js} +4 -4
- package/dist/chunks/{model-119vrnyz.js → tool-a6rw3yra.js} +32 -32
- package/dist/chunks/{model-jb678r5y.js → tool-aher8bmf.js} +12 -12
- package/dist/chunks/{model-034tev2y.js → tool-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-375hpnnp.js → tool-amdk1eh7.js} +20 -20
- package/dist/chunks/{model-yjr10ne3.js → tool-awb2kyzs.js} +15 -15
- package/dist/chunks/{model-7bj5zk0h.js → tool-az243w7k.js} +16 -16
- package/dist/chunks/{model-b11a7tx7.js → tool-b11a7tx7.js} +1 -1
- package/dist/chunks/{model-anf0zms1.js → tool-be2hac41.js} +9 -9
- package/dist/chunks/{model-bjx1sjef.js → tool-bjx1sjef.js} +2 -2
- package/dist/chunks/{model-059731j3.js → tool-bz1rn4hs.js} +6 -6
- package/dist/chunks/{model-ss358qx3.js → tool-c2sed5cq.js} +3 -3
- package/dist/chunks/{model-kkwkmtv3.js → tool-c95ze8dw.js} +11 -11
- package/dist/chunks/{model-bysh3wsf.js → tool-cbre0k23.js} +7 -7
- package/dist/chunks/{model-0eje4krr.js → tool-ccxm2ze4.js} +13 -13
- package/dist/chunks/{model-2re5xsb3.js → tool-cnfb3fp5.js} +86 -86
- package/dist/chunks/{model-nfpte2eb.js → tool-cv6a5k53.js} +14 -14
- package/dist/chunks/{model-bhqc6ztw.js → tool-cv8w919v.js} +6 -6
- package/dist/chunks/{model-gq1w7sb6.js → tool-d7bshphg.js} +8 -8
- package/dist/chunks/{model-ztxz8wab.js → tool-d8e9t34v.js} +9 -9
- package/dist/chunks/{model-b1cfp7e8.js → tool-d99mbq37.js} +21 -21
- package/dist/chunks/{model-sc122w87.js → tool-dbde4j0g.js} +4 -4
- package/dist/chunks/{model-5w3hrgwv.js → tool-df85n37n.js} +11 -11
- package/dist/chunks/{model-mcxd1mvb.js → tool-dgzw2v3x.js} +33 -33
- package/dist/chunks/{model-nvrn0rpc.js → tool-dhhj8p3k.js} +34 -34
- package/dist/chunks/{model-djszqvmq.js → tool-djszqvmq.js} +2 -2
- package/dist/chunks/{model-998yhzzq.js → tool-dvj9ct8m.js} +3 -3
- package/dist/chunks/{model-zee1rnkq.js → tool-e2hjzebn.js} +4 -4
- package/dist/chunks/{model-93h83n4j.js → tool-e5adrsfc.js} +30 -30
- package/dist/chunks/{model-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-p2237knj.js → tool-enwyhyab.js} +17 -17
- package/dist/chunks/{model-47hbj2pp.js → tool-eryt761w.js} +33 -33
- package/dist/chunks/{model-jr2ksrq3.js → tool-ewzj04x6.js} +7 -7
- package/dist/chunks/{model-btec747f.js → tool-ex0pka66.js} +5 -5
- package/dist/chunks/{model-jj5620az.js → tool-f083g6z5.js} +1 -1
- package/dist/chunks/{model-4akb30p9.js → tool-f3c2dd4g.js} +17 -17
- package/dist/chunks/{model-dac595nq.js → tool-f46vcsvf.js} +14 -14
- package/dist/chunks/{model-fcrkznn8.js → tool-fcrkznn8.js} +1 -1
- package/dist/chunks/{model-fcy631f0.js → tool-fcy631f0.js} +1 -1
- package/dist/chunks/{model-depwzj9d.js → tool-fdms3n6w.js} +9 -9
- package/dist/chunks/{model-2y4y574v.js → tool-fgz8sgbp.js} +14 -14
- package/dist/chunks/{model-c08hck0b.js → tool-fhczpvra.js} +11 -11
- package/dist/chunks/{model-fn9t717r.js → tool-fn9t717r.js} +3 -3
- package/dist/chunks/{model-pvgxn4e8.js → tool-fr6mqtdc.js} +13 -13
- package/dist/chunks/{model-8vamb002.js → tool-fyd5j4v9.js} +28 -28
- package/dist/chunks/{model-3apxagx1.js → tool-g0nc362r.js} +2 -2
- package/dist/chunks/{model-5qspxpfa.js → tool-g5bttqze.js} +11 -11
- package/dist/chunks/{model-3e18q7y0.js → tool-g98a52zh.js} +4 -4
- package/dist/chunks/{model-wh7c4t4p.js → tool-gc1jma41.js} +34 -34
- package/dist/chunks/{model-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-jyhmc03f.js → tool-gjeh15rb.js} +11 -11
- package/dist/chunks/{model-4cqzk04t.js → tool-gmy8fdpk.js} +4 -4
- package/dist/chunks/{model-csphqezw.js → tool-gn4fp5fa.js} +45 -45
- package/dist/chunks/{model-s2ayqtyj.js → tool-gq1qwanx.js} +12 -12
- package/dist/chunks/{model-x5yt3945.js → tool-gy0p0s4q.js} +19 -19
- package/dist/chunks/{model-bxrpwnhh.js → tool-gzsyx702.js} +5 -5
- package/dist/chunks/{model-2hawg8d6.js → tool-h4dbkbzh.js} +7 -7
- package/dist/chunks/{model-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-g31edv3s.js → tool-hgchpp86.js} +24 -24
- package/dist/chunks/{model-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-5q6zkt9t.js → tool-hpbpadsk.js} +4 -4
- package/dist/chunks/{model-jqyzchqw.js → tool-hveambb3.js} +6 -6
- package/dist/chunks/{model-xax4r61v.js → tool-j0hvq876.js} +23 -23
- package/dist/chunks/{model-2t1cejgk.js → tool-j3nws6dg.js} +11 -11
- package/dist/chunks/{model-xqsr3wks.js → tool-j7zvs761.js} +30 -30
- package/dist/chunks/{model-zqp45qky.js → tool-j8kb6sns.js} +1 -1
- package/dist/chunks/{model-4cgvcnqc.js → tool-jcjdxez0.js} +6 -6
- package/dist/chunks/{model-qx0ddeyr.js → tool-jf44gywc.js} +15 -15
- package/dist/chunks/{model-65xqj3gf.js → tool-jj9ksvj6.js} +30 -30
- package/dist/chunks/{model-bpxj61qy.js → tool-jkwff1ec.js} +22 -22
- package/dist/chunks/{model-sjng2d8s.js → tool-jmqp76t3.js} +3 -3
- package/dist/chunks/{model-9yty7s6b.js → tool-jnz7tvg3.js} +3 -3
- package/dist/chunks/{model-rkprpv83.js → tool-jws6fkes.js} +8 -8
- package/dist/chunks/{model-gm80t6jn.js → tool-k032gzcv.js} +32 -32
- package/dist/chunks/{model-4vxbzg96.js → tool-k2svkm7d.js} +8 -8
- package/dist/chunks/{model-t1hdc2tq.js → tool-k52t8s6v.js} +11 -11
- package/dist/chunks/{model-f9gdjgpy.js → tool-k5jfazps.js} +19 -19
- package/dist/chunks/{model-281sgaqb.js → tool-k7af4aa9.js} +8 -8
- package/dist/chunks/{model-yftbr5kk.js → tool-kj78g2dw.js} +25 -25
- package/dist/chunks/{model-kwb1v3vj.js → tool-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-x1z449jw.js → tool-m103jfcn.js} +43 -43
- package/dist/chunks/{model-q3wfvgvt.js → tool-m49kcc85.js} +15 -15
- package/dist/chunks/{model-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → tool-maspj1v3.js} +1 -1
- package/dist/chunks/{model-8dtwfnm6.js → tool-mjj5jjh8.js} +5 -5
- package/dist/chunks/{model-mqqhst8y.js → tool-mqqhst8y.js} +1 -1
- package/dist/chunks/{model-v27y90m9.js → tool-mqwsrn1d.js} +29 -29
- package/dist/chunks/{model-ag9wmf18.js → tool-mr48ebck.js} +23 -23
- package/dist/chunks/{model-azwe5p1w.js → tool-mxvxcxwy.js} +4 -4
- package/dist/chunks/{model-26speyvc.js → tool-n1dmb866.js} +29 -29
- package/dist/chunks/{model-rwz8d33h.js → tool-n2dhmw60.js} +21 -21
- package/dist/chunks/{model-dbxp0fmc.js → tool-n5wy83m1.js} +4 -4
- package/dist/chunks/{model-ebs90ymd.js → tool-n9c7dk5h.js} +34 -34
- package/dist/chunks/{model-7x77f1v0.js → tool-ndkkv98v.js} +20 -20
- package/dist/chunks/{model-144xy37h.js → tool-np60s0wh.js} +27 -27
- package/dist/chunks/{model-6y0zycxh.js → tool-ntecsb7f.js} +45 -45
- package/dist/chunks/{model-qmw2t4sc.js → tool-nxgc2w5h.js} +12 -12
- package/dist/chunks/{model-khmqacep.js → tool-ny8edt06.js} +4 -4
- package/dist/chunks/{model-nz56sr1f.js → tool-nz56sr1f.js} +2 -2
- package/dist/chunks/{model-c5xv6gzt.js → tool-p14k59zn.js} +5 -5
- package/dist/chunks/tool-p2h6zvwc.js +18 -0
- package/dist/chunks/{model-wpmx8zxk.js → tool-p3p03tan.js} +33 -33
- package/dist/chunks/{model-f40v7vve.js → tool-p5pn22a9.js} +152 -152
- package/dist/chunks/{model-pc1v25hk.js → tool-pc1v25hk.js} +1 -1
- package/dist/chunks/{model-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{model-fm2qvscf.js → tool-qa3qhgw8.js} +4 -4
- package/dist/chunks/{model-r47k2kcx.js → tool-qg775g37.js} +43 -43
- package/dist/chunks/{model-drwq78ky.js → tool-qqeeq2t9.js} +7 -7
- package/dist/chunks/{model-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{model-nb2z81by.js → tool-qvyxvxya.js} +26 -26
- package/dist/chunks/{model-t1d8dt4n.js → tool-r4apxbbe.js} +16 -16
- package/dist/chunks/{model-8952chzp.js → tool-rdfnpc7e.js} +1 -1
- package/dist/chunks/{model-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-v210v162.js → tool-rm4mkcw0.js} +2 -2
- package/dist/chunks/{model-at643fqj.js → tool-rp9an6k1.js} +25 -25
- package/dist/chunks/{model-wsncy6g1.js → tool-rq2y2j0k.js} +13 -13
- package/dist/chunks/{model-sr417449.js → tool-rs666mm1.js} +4 -4
- package/dist/chunks/{model-1pbps8gm.js → tool-rscvxc63.js} +17 -17
- package/dist/chunks/{model-4kkgmn48.js → tool-s14qqts9.js} +22 -22
- package/dist/chunks/{model-0jqcpeea.js → tool-sfjj6pfb.js} +34 -34
- package/dist/chunks/{model-g634x94t.js → tool-sgtpgegc.js} +21 -21
- package/dist/chunks/{model-xyx6322v.js → tool-sjq3h641.js} +47 -47
- package/dist/chunks/{model-t9618mt3.js → tool-skpzryv2.js} +11 -11
- package/dist/chunks/{model-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{model-02nrjc1r.js → tool-t550f9t1.js} +8 -8
- package/dist/chunks/{model-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-gg18brya.js → tool-tbhbbw5y.js} +72 -72
- package/dist/chunks/{model-yjg8p8vw.js → tool-tbv8yktb.js} +14 -14
- package/dist/chunks/{model-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{model-ky6xty6m.js → tool-tec24ygv.js} +16 -16
- package/dist/chunks/{model-2k1yrrb9.js → tool-tewdvev1.js} +21 -21
- package/dist/chunks/{model-fp7gkmgg.js → tool-tfbr2nq1.js} +3 -3
- package/dist/chunks/{model-d858xzj7.js → tool-tjedn1bk.js} +4 -4
- package/dist/chunks/{model-bacj9t34.js → tool-tk1z8rcs.js} +2 -2
- package/dist/chunks/{model-9g86fe8k.js → tool-tx895r66.js} +24 -24
- package/dist/chunks/{model-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{model-kektvt0t.js → tool-tz96d8h6.js} +9 -9
- package/dist/chunks/{model-g9cxqbhm.js → tool-v28f4abg.js} +2 -2
- package/dist/chunks/{model-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-38c2t0gr.js → tool-vbj0m456.js} +5 -5
- package/dist/chunks/{model-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{model-5jd37bg5.js → tool-vfm45d2v.js} +5 -5
- package/dist/chunks/{model-17h5khbx.js → tool-vj682sbm.js} +2 -2
- package/dist/chunks/{model-e7gxn9p4.js → tool-vmamyk2k.js} +15 -15
- package/dist/chunks/{model-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-6zrgpeqf.js → tool-w174qar2.js} +13 -13
- package/dist/chunks/{model-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-jvkh9b4k.js → tool-w492d1p5.js} +18 -18
- package/dist/chunks/{model-gee0q842.js → tool-w5pf37nm.js} +23 -23
- package/dist/chunks/{model-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-p03rm6sa.js → tool-wb3hegf8.js} +16 -16
- package/dist/chunks/{model-9a2f8bab.js → tool-wbrx293h.js} +5 -5
- package/dist/chunks/{model-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{model-seqcyr36.js → tool-wjv6dtxz.js} +4 -4
- package/dist/chunks/{model-qsjwargm.js → tool-wk61yqzs.js} +40 -40
- package/dist/chunks/{model-x9qrfn9j.js → tool-wkrva1pr.js} +20 -20
- package/dist/chunks/{model-egbnj0d7.js → tool-wkrz5chy.js} +55 -55
- package/dist/chunks/{model-gfe9tc4x.js → tool-wn6r8baz.js} +11 -11
- package/dist/chunks/{model-3eqfzzpc.js → tool-wsd2y1yv.js} +23 -23
- package/dist/chunks/{model-yjc5w60m.js → tool-wtd34zkk.js} +9 -9
- package/dist/chunks/{model-a4se8z2x.js → tool-wy8rpyz3.js} +6 -6
- package/dist/chunks/{model-rrvj5mm5.js → tool-x030sm2p.js} +34 -34
- package/dist/chunks/{model-3mz3s9dw.js → tool-x13hnj69.js} +28 -28
- package/dist/chunks/{model-kyq9yddx.js → tool-x36bd8da.js} +33 -33
- package/dist/chunks/{model-0w0e9t10.js → tool-x6etvh7w.js} +22 -22
- package/dist/chunks/{model-mzeqcj4y.js → tool-xdzd716q.js} +5 -5
- package/dist/chunks/{model-d8vyx0bf.js → tool-xzsd65cy.js} +22 -22
- package/dist/chunks/{model-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-zdfm1n8e.js → tool-y51c8cm2.js} +184 -184
- package/dist/chunks/{model-xzfxv41j.js → tool-y5r47bzr.js} +4 -4
- package/dist/chunks/{model-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{model-7pz44b56.js → tool-y9mdcbbm.js} +8 -8
- package/dist/chunks/{model-hhyv66vq.js → tool-y9s9xvs6.js} +8 -8
- package/dist/chunks/{model-p1dsckbq.js → tool-yc3qf5z0.js} +9 -9
- package/dist/chunks/{model-nx4dbdvx.js → tool-yja0x3kv.js} +318 -318
- package/dist/chunks/{model-svs75v6z.js → tool-ymwgex1k.js} +16 -16
- package/dist/chunks/{model-1qzqd7y9.js → tool-yvf18s5x.js} +11 -11
- package/dist/chunks/{model-yjp1gbyy.js → tool-yvz6gv03.js} +12 -12
- package/dist/chunks/{model-888zzhja.js → tool-ywwdv83n.js} +15 -15
- package/dist/chunks/{model-r63j37j6.js → tool-yx0rmv9r.js} +8 -8
- package/dist/chunks/{model-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z18fegx4.js → tool-z18fegx4.js} +1 -1
- package/dist/chunks/{model-sxffc3gc.js → tool-z6sgjvvh.js} +10 -10
- package/dist/chunks/{model-j4p30vk2.js → tool-z7nbrbpb.js} +9 -9
- package/dist/chunks/{model-ddf4n6wt.js → tool-zag9qx83.js} +21 -21
- package/dist/chunks/{model-bw9zjykr.js → tool-zdwe30dy.js} +6 -6
- package/dist/chunks/{model-a2qe2ev9.js → tool-ze75yzft.js} +8 -8
- package/dist/chunks/{model-ft76mxxj.js → tool-zfgqkgc5.js} +4 -4
- package/dist/chunks/{model-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-vcf39g69.js → tool-zwgthjzd.js} +16 -16
- package/dist/chunks/{model-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-kee9xs5a.js → tool-zyg44wv6.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +114 -114
- package/dist/config/plugin/mcp.js +121 -121
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +97 -97
- 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 +76 -76
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +93 -93
- 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 +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- 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 +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- 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 +93 -93
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- 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 +4 -4
- 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 +113 -113
- 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 +125 -125
- 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 +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +74 -74
- 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 +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- 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 +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +116 -116
- 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 +137 -137
- 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 +126 -126
- 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 +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +112 -112
- 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/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/model-gyce5qg1.js +0 -18
- /package/dist/chunks/{model-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5fjb7ams.js → tool-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./tool-nxgc2w5h.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service47,
|
|
17
|
+
node51
|
|
18
|
+
} from "./tool-3ga20zad.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
29
|
Event: () => Event10,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service46,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node50
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -42,15 +42,15 @@ import { Global } from "@opencode/util/global";
|
|
|
42
42
|
import { Event as Event10 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service46 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service85;
|
|
53
|
+
const cache = yield* Service47;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service46.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node50 = makeLocationNode({
|
|
116
|
+
service: Service46,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node89, node51]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service46, node50, exports_reference2, Event10 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./tool-tx895r66.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./tool-04cnhvec.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./tool-wk61yqzs.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-c2sed5cq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service68
|
|
18
|
+
} from "./tool-wb3hegf8.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./tool-wkrz5chy.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service17
|
|
25
|
+
} from "./tool-cnfb3fp5.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service9
|
|
31
|
+
} from "./tool-2mrwwyd2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin29,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input10 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input5 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output6 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin29 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service17;
|
|
93
|
+
const jobs = yield* Service68;
|
|
94
|
+
const agents = yield* Service67;
|
|
95
|
+
const config = yield* Service61;
|
|
96
|
+
const permission = yield* Service64;
|
|
97
|
+
const models = yield* Service72;
|
|
98
|
+
const subagents = yield* Service9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin21 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin21 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name10,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin21 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name10];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name10, Input10, Output6, description5, Plugin29, exports_subagent };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-tfbr2nq1.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service85,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node89,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -78,13 +78,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
78
78
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
79
79
|
var isDefinition = (input) => !Array.isArray(input);
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service85 extends Context.Service()("@opencode/Bus") {
|
|
82
82
|
}
|
|
83
83
|
function configured12(options) {
|
|
84
84
|
return makeGlobalNode({
|
|
85
|
-
service:
|
|
85
|
+
service: Service85,
|
|
86
86
|
deps: [node90],
|
|
87
|
-
layer: Layer.effect(
|
|
87
|
+
layer: Layer.effect(Service85, Effect.gen(function* () {
|
|
88
88
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
89
89
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
90
90
|
const pubsub = {
|
|
@@ -527,7 +527,7 @@ function configured12(options) {
|
|
|
527
527
|
list.push((event) => projector(event));
|
|
528
528
|
projectors.set(key, list);
|
|
529
529
|
});
|
|
530
|
-
return
|
|
530
|
+
return Service85.of({
|
|
531
531
|
publish,
|
|
532
532
|
publishAll,
|
|
533
533
|
subscribe,
|
|
@@ -541,6 +541,6 @@ function configured12(options) {
|
|
|
541
541
|
}))
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
|
-
var
|
|
544
|
+
var node89 = configured12();
|
|
545
545
|
|
|
546
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
546
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service85, configured12, node89, exports_bus };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer4,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer4 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer4, exports_unavailable };
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-g0nc362r.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-n2dhmw60.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service19,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service19 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service19.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service19, awaitActivation2, exports_service };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./tool-nxgc2w5h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node79
|
|
10
|
+
} from "./tool-dgzw2v3x.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-mxvxcxwy.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-fyd5j4v9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event18,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID13,
|
|
41
|
+
Info: () => Info21,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service74,
|
|
49
|
+
node: () => node77
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
72
|
+
var ID13 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info21 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID13,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service74 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service76;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info21.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service74.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key4.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node77 = makeLocationNode({
|
|
633
|
+
service: Service74,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node79, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node77, exports_integration, Event18 };
|