@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./job-wbe59x29.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service39,
|
|
6
|
+
Event8
|
|
7
|
+
} from "./job-af0peg3t.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin14,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin14 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service78;
|
|
24
|
+
const wellknown = yield* Service39;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin44 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin14, exports_plugin };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./job-05znt9a9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service20
|
|
7
|
+
} from "./job-45th5jwr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service33,
|
|
10
|
+
node37
|
|
11
|
+
} from "./job-4w1yen7k.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node18
|
|
14
|
+
} from "./job-r56v5vzb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node6
|
|
17
|
+
} from "./job-qzb9gbxh.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node5
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service75;
|
|
32
|
+
const plugins = yield* Service20;
|
|
33
|
+
const worktrees = yield* Service33;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node5 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node37, node80, node18, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node5, exports_refresh };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service30,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node34
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service30 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service30, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service30.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node34 = makeGlobalNode({ service: Service30, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service30, node34, exports_environment };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./job-wbe59x29.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event16,
|
|
18
|
+
ID: () => ID12,
|
|
19
|
+
Info: () => Info24,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service58,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node61
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event16 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID12 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID12.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info24 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service58 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service78;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info24.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID12.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service58.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID12.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID12.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [node83, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID12, Name3, defaultID2, Color2, Info24, Service58, node61, exports_agent4, Event16 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-377tdzm5.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-jzy4mkh2.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-athype10.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-nvn8ehym.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-msq0jde0.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-rasx6tva.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID13.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,13 +56,13 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID13.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
}));
|
|
64
64
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
65
|
-
if (evt.model.providerID !==
|
|
65
|
+
if (evt.model.providerID !== ID13.googleVertex)
|
|
66
66
|
return;
|
|
67
67
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
68
68
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./job-7w0m1cr7.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service70,
|
|
17
|
+
node: () => node74
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service70 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service79).db;
|
|
26
|
+
return Service70.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node84] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service70, node74, exports_kv };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node79,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node79 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node79, exports_driver };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./job-wbe59x29.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service75,
|
|
12
|
+
node80
|
|
13
|
+
} from "./job-05znt9a9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service32,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node36
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service32 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service78;
|
|
44
|
+
const location = yield* Service75;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service32.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node83, node80] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service32, node36, exports_rpc, define2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-rasx6tva.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Info23,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-nep8tjkt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID13.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID11.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -91,7 +91,7 @@ function build(id, remote, baseURL, previous) {
|
|
|
91
91
|
return Info23.make({
|
|
92
92
|
...Info23.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID11.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-rasx6tva.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID13.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|