@opencode/core 0.0.0-dev-19498 → 0.0.0-dev-19501
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +82 -82
- package/dist/chunks/{repository-02dtbf74.js → job-05znt9a9.js} +16 -16
- package/dist/chunks/{repository-ebmt16rb.js → job-09wpk6vq.js} +4 -4
- package/dist/chunks/{repository-0ajdgxne.js → job-0ajdgxne.js} +2 -2
- package/dist/chunks/{repository-0j1x6d8f.js → job-0b3ppf0m.js} +8 -8
- package/dist/chunks/{repository-2k8khapm.js → job-0jwsre1p.js} +5 -5
- package/dist/chunks/{repository-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → job-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-t8028kwh.js → job-0rkcyjmh.js} +15 -15
- package/dist/chunks/{repository-f2n192rq.js → job-1acjjqhc.js} +4 -4
- package/dist/chunks/{repository-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-sscy94be.js → job-1fjxzwkh.js} +27 -27
- package/dist/chunks/{repository-mfqp6xfm.js → job-1ygqh575.js} +6 -6
- package/dist/chunks/{repository-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{repository-x7b60kqc.js → job-223d1qz3.js} +30 -30
- package/dist/chunks/{repository-ddnawyq4.js → job-26x13ny0.js} +11 -11
- package/dist/chunks/{repository-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/job-2d79k4yp.js +247 -0
- package/dist/chunks/{repository-fyymr9xg.js → job-2evyaa68.js} +4 -4
- package/dist/chunks/{repository-15p57gcn.js → job-2hbyh6nn.js} +15 -15
- package/dist/chunks/{repository-e99x5n85.js → job-2j14t725.js} +25 -25
- package/dist/chunks/{repository-xengr0xg.js → job-2jf2j74m.js} +10 -10
- package/dist/chunks/{repository-w19q6fm0.js → job-2vtsxqdn.js} +2 -2
- package/dist/chunks/{repository-rrbca1ec.js → job-2wyjv582.js} +4 -4
- package/dist/chunks/{repository-axet0v9v.js → job-2ye9hrzq.js} +14 -14
- package/dist/chunks/{repository-s9sks4b0.js → job-2yhcctmw.js} +17 -17
- package/dist/chunks/{repository-csbyz877.js → job-377tdzm5.js} +3 -3
- package/dist/chunks/{repository-z69pw8hh.js → job-39s00pmn.js} +22 -22
- package/dist/chunks/{repository-fv119r3h.js → job-39s66enp.js} +13 -13
- package/dist/chunks/{repository-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-ht4gsq17.js → job-42c662mh.js} +9 -9
- package/dist/chunks/job-45th5jwr.js +18 -0
- package/dist/chunks/{repository-760k6j29.js → job-470v6bvq.js} +26 -26
- package/dist/chunks/{repository-gv99rv2p.js → job-483bcsj8.js} +9 -9
- package/dist/chunks/{repository-9cqrggry.js → job-4dmhzvqh.js} +22 -22
- package/dist/chunks/{repository-31v32fqb.js → job-4hc1kxpa.js} +10 -10
- package/dist/chunks/{repository-9hxsd346.js → job-4jegdd7h.js} +11 -11
- package/dist/chunks/{repository-6db80x29.js → job-4v6fnmv6.js} +11 -11
- package/dist/chunks/{repository-wt6nz37q.js → job-4vda8ndh.js} +46 -46
- package/dist/chunks/{repository-jcxv3m6c.js → job-4w1yen7k.js} +45 -45
- package/dist/chunks/{repository-79ttbg46.js → job-4yqpz7cw.js} +20 -20
- package/dist/chunks/{repository-1v08kvga.js → job-4z62xtfw.js} +25 -25
- package/dist/chunks/{repository-4hwjbp3f.js → job-50bdtw13.js} +5 -5
- package/dist/chunks/{repository-2q4wgzbd.js → job-53d4v5pk.js} +1 -1
- package/dist/chunks/{repository-1fvpfgwa.js → job-53f31axm.js} +27 -27
- package/dist/chunks/{repository-z4h1g45j.js → job-57spzpgt.js} +23 -23
- package/dist/chunks/{repository-5c4hm403.js → job-5c4hm403.js} +3 -3
- package/dist/chunks/{repository-chwwb1dy.js → job-5cyrhyve.js} +9 -9
- package/dist/chunks/{repository-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-qrjvp9c2.js → job-5fesm737.js} +171 -171
- package/dist/chunks/{repository-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-6tfgbeb6.js → job-61k5jphj.js} +18 -18
- package/dist/chunks/{repository-6cstdyv9.js → job-61mnds12.js} +5 -5
- package/dist/chunks/{repository-tt9rf8rt.js → job-62kn995j.js} +13 -13
- package/dist/chunks/{repository-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{repository-h73hfk1n.js → job-6dpf0sr6.js} +11 -11
- package/dist/chunks/{repository-6h73sxmp.js → job-6h73sxmp.js} +1 -1
- package/dist/chunks/{repository-bsns4k6q.js → job-6ksr27c4.js} +15 -15
- package/dist/chunks/{repository-epq63s4f.js → job-6m8cgtnn.js} +57 -57
- package/dist/chunks/{repository-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-8e3avz02.js → job-6z4emzs5.js} +41 -41
- package/dist/chunks/{repository-71q4at8m.js → job-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-1bbkgx8g.js → job-73tb2d7t.js} +3 -3
- package/dist/chunks/{repository-gsqrher5.js → job-77ry477k.js} +30 -30
- package/dist/chunks/{repository-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-ej495afh.js → job-7msm4rwz.js} +16 -16
- package/dist/chunks/{repository-mv74xwze.js → job-7w0m1cr7.js} +11 -11
- package/dist/chunks/{repository-c1495ybz.js → job-818pfwc9.js} +8 -8
- package/dist/chunks/{repository-5zxg5yys.js → job-81swgkk7.js} +9 -9
- package/dist/chunks/{repository-cmwkp3r5.js → job-844ef7ks.js} +4 -4
- package/dist/chunks/{repository-z8jqfd5s.js → job-85wb28z4.js} +4 -4
- package/dist/chunks/{repository-1sjjhtq8.js → job-89wjbkgr.js} +29 -29
- package/dist/chunks/{repository-9nv865s7.js → job-89yh578v.js} +9 -9
- package/dist/chunks/{repository-89znhe33.js → job-89znhe33.js} +1 -1
- package/dist/chunks/{repository-ps8cmt9z.js → job-8awsthtr.js} +5 -5
- package/dist/chunks/{repository-35cpeqze.js → job-8ctqdr62.js} +23 -23
- package/dist/chunks/{repository-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-9edcvf27.js → job-8pccszvy.js} +3 -3
- package/dist/chunks/{repository-rf224sys.js → job-8tq8zswb.js} +30 -30
- package/dist/chunks/{repository-kp844bkx.js → job-8xr8aj9a.js} +9 -9
- package/dist/chunks/{repository-7da7ws9f.js → job-990ev2kv.js} +1 -1
- package/dist/chunks/{repository-v41m4hv8.js → job-9edb9jbp.js} +22 -22
- package/dist/chunks/{repository-1rc1q9w7.js → job-9f8x733p.js} +11 -11
- package/dist/chunks/{repository-v6rf84qt.js → job-9mrxmr8h.js} +18 -18
- package/dist/chunks/{repository-twyqrbez.js → job-9rw2238w.js} +26 -26
- package/dist/chunks/{repository-mpxnmgtm.js → job-9ywjwkc3.js} +41 -41
- package/dist/chunks/{repository-vcgkk9hq.js → job-a28srp6z.js} +20 -20
- package/dist/chunks/{repository-cgv98gz4.js → job-a80mwyht.js} +19 -19
- package/dist/chunks/{repository-se1g6v53.js → job-a880hm1k.js} +85 -85
- package/dist/chunks/{repository-q56g9vvj.js → job-a8hcp5ng.js} +16 -16
- package/dist/chunks/{repository-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-96n8jbhm.js → job-af0peg3t.js} +21 -21
- package/dist/chunks/{repository-asnar2z5.js → job-agy1jr6g.js} +26 -26
- package/dist/chunks/{repository-ejjk7mg9.js → job-ajchncqw.js} +8 -8
- package/dist/chunks/{repository-ypt0emkc.js → job-arjbbgf8.js} +6 -6
- package/dist/chunks/{repository-02nrjc1r.js → job-athype10.js} +4 -4
- package/dist/chunks/{repository-bjpwrgw7.js → job-b5hzpkv8.js} +25 -25
- package/dist/chunks/{repository-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-zw4pk1bw.js → job-b7v4cx43.js} +5 -5
- package/dist/chunks/{repository-dx870anp.js → job-bbqjtvjt.js} +90 -90
- package/dist/chunks/{repository-wge1ywg1.js → job-bcxexh6n.js} +22 -22
- package/dist/chunks/{repository-2qm2t37x.js → job-bra6p34v.js} +32 -32
- package/dist/chunks/{repository-fjvydvzm.js → job-bscb95cy.js} +4 -4
- package/dist/chunks/{repository-f8qzdw9k.js → job-bxw8ngxp.js} +5 -5
- package/dist/chunks/{repository-dz921fs9.js → job-byn59v6m.js} +1 -1
- package/dist/chunks/{repository-pead7vf7.js → job-c649dwfa.js} +22 -22
- package/dist/chunks/{repository-zcy8rv0e.js → job-cfx5nnhv.js} +18 -18
- package/dist/chunks/{repository-czhxebx3.js → job-ckw6gep2.js} +17 -17
- package/dist/chunks/{repository-9rqcq6mt.js → job-d16qd7aj.js} +2 -2
- package/dist/chunks/{repository-n2xxa85q.js → job-d4dr9rb7.js} +6 -6
- package/dist/chunks/{repository-rtdmfcdc.js → job-dfdvek0b.js} +28 -28
- package/dist/chunks/{repository-0kjyx4as.js → job-dgvf7yhf.js} +15 -15
- package/dist/chunks/{repository-ddt2bs9e.js → job-dhmh7aw6.js} +4 -4
- package/dist/chunks/{repository-dj2t23y0.js → job-dj2t23y0.js} +2 -2
- package/dist/chunks/{repository-np7xrdgd.js → job-dw9ftjz0.js} +5 -5
- package/dist/chunks/{repository-qs4sxs2p.js → job-dwv6k166.js} +25 -25
- package/dist/chunks/{repository-6xfb7f67.js → job-e23dc7d8.js} +9 -9
- package/dist/chunks/{repository-qsxbhfxw.js → job-e2535fdq.js} +11 -11
- package/dist/chunks/{repository-qte5z7bc.js → job-e6hmchc5.js} +5 -5
- package/dist/chunks/{repository-swvvrepw.js → job-e99y237x.js} +11 -11
- package/dist/chunks/{repository-sqhkja9w.js → job-e9gb6pdy.js} +6 -6
- package/dist/chunks/{repository-vxrjsf8c.js → job-ebrpajgw.js} +7 -7
- package/dist/chunks/{repository-q2x85fkv.js → job-efs7hy0y.js} +11 -11
- package/dist/chunks/{repository-wgjqh7ga.js → job-eg1ta683.js} +30 -30
- package/dist/chunks/{repository-fshg7mjp.js → job-ejsrqr7m.js} +4 -4
- package/dist/chunks/{repository-vngt7js8.js → job-ek00w5t7.js} +25 -25
- package/dist/chunks/{repository-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-pnsxdan0.js → job-eza9v3bf.js} +18 -18
- package/dist/chunks/{repository-b27vhd2z.js → job-fdv30zvt.js} +7 -7
- package/dist/chunks/{repository-may4g8rc.js → job-fe1tayzh.js} +17 -17
- package/dist/chunks/{repository-303jm9zc.js → job-fegsmc0t.js} +21 -21
- package/dist/chunks/{repository-5axkb2dj.js → job-fgzdzk1h.js} +27 -27
- package/dist/chunks/{repository-6d9mz4vp.js → job-fjmrr6sh.js} +9 -9
- package/dist/chunks/{repository-bd5kazb5.js → job-fqtw9snj.js} +9 -9
- package/dist/chunks/{repository-qd6kbfr6.js → job-fteascj8.js} +4 -4
- package/dist/chunks/{repository-gw0sx9d8.js → job-fwr4kp6g.js} +11 -11
- package/dist/chunks/{repository-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-f3ngv102.js → job-g190xswt.js} +4 -4
- package/dist/chunks/{repository-hc8297b1.js → job-g5bqepvr.js} +11 -11
- package/dist/chunks/{repository-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-yvzs9wg3.js → job-gd7fndfc.js} +47 -47
- package/dist/chunks/{repository-4p9etfsw.js → job-gjjtys5r.js} +32 -32
- package/dist/chunks/{repository-jjs74g98.js → job-gsx0ryk4.js} +9 -9
- package/dist/chunks/{repository-th5km1p3.js → job-gv6a8nnw.js} +5 -5
- package/dist/chunks/{repository-gqrxex2e.js → job-gx6t3jfd.js} +43 -43
- package/dist/chunks/{repository-h03wrkyp.js → job-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-r2m9agnq.js → job-h1frrkv0.js} +24 -24
- package/dist/chunks/{repository-bx7759mv.js → job-h3376zec.js} +7 -7
- package/dist/chunks/{repository-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-hdnk95c8.js → job-hdnk95c8.js} +2 -2
- package/dist/chunks/{repository-kehke4gd.js → job-hezdnza5.js} +10 -10
- package/dist/chunks/{repository-ead3g9p8.js → job-hkfg6fzm.js} +5 -5
- package/dist/chunks/{repository-thaqkx7r.js → job-htveh2m9.js} +1 -1
- package/dist/chunks/{repository-0hb9kn17.js → job-hwbs7xck.js} +42 -42
- package/dist/chunks/{repository-p53gvhkt.js → job-j1ydb14k.js} +32 -32
- package/dist/chunks/{repository-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-8skddr1y.js → job-j9eftr55.js} +6 -6
- package/dist/chunks/{repository-hybg6kpz.js → job-jc02vnth.js} +26 -26
- package/dist/chunks/{repository-qwtet0bt.js → job-jce26jfm.js} +18 -18
- package/dist/chunks/{repository-pvkhkebb.js → job-jf27y05g.js} +16 -16
- package/dist/chunks/{repository-rzja4vsd.js → job-jgd9689z.js} +6 -6
- package/dist/chunks/{repository-k79tzb9n.js → job-jwx4y25k.js} +9 -9
- package/dist/chunks/{repository-mq4pc9p2.js → job-jzy4mkh2.js} +6 -6
- package/dist/chunks/{repository-gtp689g7.js → job-k070sa49.js} +297 -297
- package/dist/chunks/{repository-fjqp604d.js → job-k5nz7jxc.js} +24 -24
- package/dist/chunks/{repository-4hbd63w4.js → job-k9h3bn14.js} +18 -18
- package/dist/chunks/{repository-jfn6jztq.js → job-kb49dwdy.js} +9 -9
- package/dist/chunks/{repository-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-9vtsx9kz.js → job-kwn7s3xs.js} +28 -28
- package/dist/chunks/{repository-m0jqrx5p.js → job-m0jqrx5p.js} +2 -2
- package/dist/chunks/{repository-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-1hc11dc4.js → job-msq0jde0.js} +4 -4
- package/dist/chunks/{repository-bk89yz0d.js → job-mth96381.js} +1 -1
- package/dist/chunks/{repository-1qpfe9sk.js → job-mty3s5k3.js} +10 -10
- package/dist/chunks/{repository-715fqh1x.js → job-n5pt8tbc.js} +13 -13
- package/dist/chunks/{repository-6zz1gbh1.js → job-nep8tjkt.js} +8 -8
- package/dist/chunks/{repository-nhy5jxhy.js → job-nhy5jxhy.js} +1 -1
- package/dist/chunks/{repository-dwxy40gg.js → job-njffw8q5.js} +18 -18
- package/dist/chunks/{repository-s22r2bgp.js → job-nmbjd050.js} +23 -23
- package/dist/chunks/{repository-q7dhks77.js → job-nsnkpgmw.js} +29 -29
- package/dist/chunks/{repository-nv5vn7qx.js → job-nv5vn7qx.js} +2 -2
- package/dist/chunks/{repository-q1h4ggtj.js → job-nvn8ehym.js} +4 -4
- package/dist/chunks/{repository-3q1jyqhd.js → job-p33ejz0k.js} +1 -1
- package/dist/chunks/{repository-3z7f8tm9.js → job-p69wsv11.js} +12 -12
- package/dist/chunks/job-pa9n1am2.js +22 -0
- package/dist/chunks/{repository-4h4kc2we.js → job-pe5bkq7z.js} +26 -26
- package/dist/chunks/{repository-zvv0052e.js → job-pe61x464.js} +9 -9
- package/dist/chunks/{repository-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{repository-b1mg7fsy.js → job-q1wsye3c.js} +2 -2
- package/dist/chunks/{repository-0v53mg2y.js → job-q2b1ymqp.js} +4 -4
- package/dist/chunks/{repository-n4qym5bf.js → job-qbds1c0x.js} +3 -3
- package/dist/chunks/{repository-j0fn4spe.js → job-qcqr6c42.js} +4 -4
- package/dist/chunks/{repository-780w54ys.js → job-qjgw82pv.js} +33 -33
- package/dist/chunks/{repository-t0bxsy7k.js → job-qjnctwjf.js} +8 -8
- package/dist/chunks/{repository-7da99df4.js → job-qjqwssjd.js} +7 -7
- package/dist/chunks/{repository-rtxv9fy7.js → job-qk5tp4kc.js} +36 -36
- package/dist/chunks/{repository-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-w2g4wz0k.js → job-qzb9gbxh.js} +41 -41
- package/dist/chunks/{repository-yvtv9nre.js → job-r56v5vzb.js} +20 -20
- package/dist/chunks/{repository-35yx2wmk.js → job-r7yyze0b.js} +25 -25
- package/dist/chunks/{repository-c6yb4237.js → job-r863235s.js} +17 -17
- package/dist/chunks/{repository-r9mregkx.js → job-r9mregkx.js} +2 -2
- package/dist/chunks/{repository-bq5fxdyt.js → job-rasx6tva.js} +8 -8
- package/dist/chunks/{repository-f44pksnw.js → job-rbr1ba9y.js} +6 -6
- package/dist/chunks/{repository-bjs2yq5f.js → job-rhx683sy.js} +4 -4
- package/dist/chunks/{repository-8sp4zmk3.js → job-rnp9kzat.js} +8 -8
- package/dist/chunks/{repository-3btz0cnc.js → job-rs5tj728.js} +16 -16
- package/dist/chunks/{repository-7beh8vzt.js → job-rs9dtcm6.js} +25 -25
- package/dist/chunks/{repository-6rdedmrb.js → job-s3287qar.js} +35 -35
- package/dist/chunks/{repository-m0qh16g1.js → job-s673h22a.js} +18 -18
- package/dist/chunks/{repository-m6h6nebs.js → job-s8afmmt2.js} +17 -17
- package/dist/chunks/{repository-czfqgbdx.js → job-sbvbgwj3.js} +29 -29
- package/dist/chunks/{repository-3k42az9m.js → job-t0wy8e3x.js} +24 -24
- package/dist/chunks/{repository-68vqj5c0.js → job-t2k8w6x7.js} +8 -8
- package/dist/chunks/{repository-gw4wh78t.js → job-t3g6f9dq.js} +17 -17
- package/dist/chunks/{repository-etw8f4c2.js → job-t7wpzaak.js} +17 -17
- package/dist/chunks/{repository-gkrd4bgd.js → job-t96gcqea.js} +4 -4
- package/dist/chunks/{repository-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{repository-5q0d5xf3.js → job-tm3xrft6.js} +22 -22
- package/dist/chunks/{repository-c2rnhds8.js → job-tpj9kemf.js} +6 -6
- package/dist/chunks/{repository-78qgck3m.js → job-tqjwy6mf.js} +12 -12
- package/dist/chunks/{repository-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-z3pw5915.js → job-tz2bjj40.js} +5 -5
- package/dist/chunks/{repository-p7kse70a.js → job-v5w9803s.js} +8 -8
- package/dist/chunks/{repository-ghk9cxjs.js → job-v8jfbz3g.js} +6 -6
- package/dist/chunks/{repository-ms4pas81.js → job-v8s8zax1.js} +25 -25
- package/dist/chunks/{repository-4j44ebqe.js → job-va3rkdfa.js} +34 -34
- package/dist/chunks/{repository-3dcs0pne.js → job-vbj8td05.js} +61 -61
- package/dist/chunks/{repository-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-9wjhpth9.js → job-vgd8tbfn.js} +73 -73
- package/dist/chunks/{repository-e535yj0k.js → job-vm7fznsz.js} +32 -32
- package/dist/chunks/{repository-v0af3dwr.js → job-vtzwx9w7.js} +41 -41
- package/dist/chunks/{repository-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-zq6stcrg.js → job-w1ad28wa.js} +8 -8
- package/dist/chunks/{repository-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-zpc6dyj7.js → job-w4dt659t.js} +1 -1
- package/dist/chunks/{repository-emggx1tz.js → job-w5rgr3ed.js} +9 -9
- package/dist/chunks/{repository-z0jd1bs7.js → job-w63wt874.js} +48 -48
- package/dist/chunks/{repository-wdgh92ty.js → job-wbe59x29.js} +18 -18
- package/dist/chunks/{repository-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{repository-m5r142j1.js → job-wh2dv1v9.js} +34 -34
- package/dist/chunks/{repository-d38fd2j6.js → job-wpqm8tgx.js} +15 -15
- package/dist/chunks/{repository-drknmmyh.js → job-ws5qfxv9.js} +9 -9
- package/dist/chunks/{repository-wbjwqceb.js → job-wvdszsq1.js} +43 -43
- package/dist/chunks/{repository-m3r691ny.js → job-wycsdkc3.js} +11 -11
- package/dist/chunks/{repository-8cp8hhzs.js → job-x09ggfgh.js} +13 -13
- package/dist/chunks/{repository-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-6p1sqnga.js → job-x2xn2ag0.js} +12 -12
- package/dist/chunks/{repository-me7tczfq.js → job-x3nm3630.js} +20 -20
- package/dist/chunks/{repository-gn2hfjap.js → job-xdw78xdg.js} +8 -8
- package/dist/chunks/{repository-tjz4ep1y.js → job-xgte56ee.js} +24 -24
- package/dist/chunks/{repository-89qp1k24.js → job-xs8d25ev.js} +8 -8
- package/dist/chunks/{repository-d4pyqmad.js → job-xwdfg3dx.js} +5 -5
- package/dist/chunks/{repository-8x1ga14t.js → job-y0j58446.js} +13 -13
- package/dist/chunks/{repository-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-dpkg50ah.js → job-y71avatq.js} +4 -4
- package/dist/chunks/{repository-j7m8st6v.js → job-y8p3zjbc.js} +6 -6
- package/dist/chunks/{repository-18d55ntk.js → job-ykw20yhg.js} +18 -18
- package/dist/chunks/{repository-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-5kdrn25z.js → job-yxjbx3ws.js} +9 -9
- package/dist/chunks/{repository-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-qy11zpxb.js → job-z5tggqpm.js} +3 -3
- package/dist/chunks/{repository-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-9h1nkghz.js → job-z75d3rsp.js} +4 -4
- package/dist/chunks/{repository-bzjkhwme.js → job-z8pb3dnf.js} +5 -5
- package/dist/chunks/{repository-mc9wjbnw.js → job-z9mc2c5r.js} +9 -9
- package/dist/chunks/{repository-rzfk4f89.js → job-zc07dx4z.js} +7 -7
- package/dist/chunks/{repository-2s14wjwq.js → job-zecnhp4y.js} +47 -47
- package/dist/chunks/{repository-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-63sbrax2.js → job-zmwpq63m.js} +18 -18
- package/dist/chunks/{repository-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-jxrrwyvz.js → job-zsh8a2sh.js} +20 -20
- package/dist/chunks/{repository-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +3 -3
- 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 +3 -3
- 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/id/id.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 +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +79 -79
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- 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 +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +85 -85
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/repository-9zdhvgqs.js +0 -18
- package/dist/chunks/repository-qsqamk6a.js +0 -247
- package/dist/chunks/repository-w7xk12sf.js +0 -22
- /package/dist/chunks/{repository-0mesazry.js → job-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → job-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-paphc93g.js → job-paphc93g.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./job-k5nz7jxc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service72,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-x09ggfgh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./job-6ksr27c4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service55
|
|
14
|
+
} from "./job-6m8cgtnn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service41
|
|
17
|
+
} from "./job-61k5jphj.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input10,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin42,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name10,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name10 = "write";
|
|
39
|
+
var Input10 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin42 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service41;
|
|
56
|
+
const fileMutation = yield* Service72;
|
|
57
|
+
const environment = yield* Service73;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service55;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name10,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input10,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name10, Input10, Output7, toModelContent5, Plugin42, exports_write };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service58
|
|
4
|
+
} from "./job-xgte56ee.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service37
|
|
8
|
+
} from "./job-4vda8ndh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-377tdzm5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service69
|
|
14
|
+
} from "./job-s8afmmt2.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service55
|
|
18
|
+
} from "./job-6m8cgtnn.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./job-bbqjtvjt.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make9
|
|
27
|
+
} from "./job-fwr4kp6g.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Output: () => Output3,
|
|
37
|
+
Plugin: () => Plugin35,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description2,
|
|
40
|
+
name: () => name3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name3 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input3 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input10 = Schema.Struct({
|
|
|
63
63
|
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."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output3 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description2 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description4 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin35 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service16;
|
|
84
|
+
const jobs = yield* Service69;
|
|
85
|
+
const agents = yield* Service58;
|
|
86
|
+
const config = yield* Service37;
|
|
87
|
+
const permission = yield* Service55;
|
|
88
|
+
const subagents = yield* make9;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name3,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description2,
|
|
93
|
+
input: Input3,
|
|
94
|
+
output: Output3,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin41 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name3,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin41 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID12.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name3];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name3, Input3, Output3, description2, Plugin35, exports_subagent };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin3,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin3 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin26 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin3, exports_exa };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./job-v8jfbz3g.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-45th5jwr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service29
|
|
9
|
+
} from "./job-gd7fndfc.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service29), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node83
|
|
7
|
+
} from "./job-wbe59x29.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./job-wh2dv1v9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node80
|
|
16
|
+
} from "./job-05znt9a9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./job-k5nz7jxc.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service68,
|
|
24
|
+
node72
|
|
25
|
+
} from "./job-sbvbgwj3.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service53,
|
|
34
|
+
node56
|
|
35
|
+
} from "./job-53f31axm.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./job-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service28,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured3,
|
|
66
66
|
layer: () => layer13,
|
|
67
|
-
node: () =>
|
|
67
|
+
node: () => node32
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID7.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service28 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options3 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var layer13 = (options) => Layer.effect(
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service73;
|
|
179
|
+
const bus = yield* Service78;
|
|
180
|
+
const forms = yield* Service68;
|
|
181
|
+
const integration = yield* Service53;
|
|
182
|
+
const credentials = yield* Service54;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID7.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID14.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service73, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service28.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured3(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
712
|
+
service: Service28,
|
|
713
713
|
layer: layer13(options),
|
|
714
|
-
deps: [
|
|
714
|
+
deps: [node80, node77, node83, node72, node56, node57]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node32 = configured3();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service28, Options3, layer13, configured3, node32, exports_mcp4 };
|