@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./job-4vda8ndh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./job-ws5qfxv9.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin19
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin19 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service37;
|
|
26
|
+
const image = yield* Service63;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin15 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin19, exports_image };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service37
|
|
4
|
+
} from "./job-4vda8ndh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./job-tqjwy6mf.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin26
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin26 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service37;
|
|
27
|
+
const output = yield* Service80;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin2 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin26, exports_tool_output };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./job-wbe59x29.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event14,
|
|
7
|
+
Service54,
|
|
8
|
+
node57
|
|
9
|
+
} from "./job-wh2dv1v9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service38,
|
|
12
|
+
node42
|
|
13
|
+
} from "./job-4dmhzvqh.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node80
|
|
20
|
+
} from "./job-05znt9a9.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-h1frrkv0.js";
|
|
27
27
|
import {
|
|
28
28
|
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-50bdtw13.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service39,
|
|
36
|
+
Event8,
|
|
37
|
+
node43
|
|
38
|
+
} from "./job-af0peg3t.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./job-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service37,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer15,
|
|
53
|
+
node: () => node41,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options5 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service37 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service37, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
99
|
+
const location = yield* Service75;
|
|
100
|
+
const watcher = yield* Service38;
|
|
101
|
+
const bus = yield* Service78;
|
|
102
|
+
const credentials = yield* Service54;
|
|
103
|
+
const wellknown = yield* Service39;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -223,8 +223,8 @@ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service37.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured5(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service37,
|
|
248
|
+
layer: layer15(options),
|
|
249
|
+
deps: [node42, node83, FSUtil.node, Global.node, node80, node57, node43]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node41 = configured5();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options5, Service37, Test2, testLayer2, layer15, configured5, node41, exports_config };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-8pccszvy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./job-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service79,
|
|
16
|
+
node84
|
|
17
|
+
} from "./job-7w0m1cr7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node83
|
|
21
|
+
} from "./job-wbe59x29.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-dj2t23y0.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-m0jqrx5p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service75,
|
|
30
|
+
node80
|
|
31
|
+
} from "./job-05znt9a9.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical2
|
|
35
|
+
} from "./job-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make15
|
|
38
|
+
} from "./job-8xr8aj9a.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./job-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./job-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event4,
|
|
53
|
+
Info: () => Info5,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service33,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node37
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info5 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event4 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service33 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
|
-
const database = yield*
|
|
109
|
+
const database = yield* Service79;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service78;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service75;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make15;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical2(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
196
|
+
const result = { directory: yield* canonical2(fs, created.directory) };
|
|
197
197
|
yield* changed(yield* ops.create({
|
|
198
198
|
directory: result.directory,
|
|
199
199
|
strategy: selected.id,
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
218
218
|
});
|
|
219
219
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
220
220
|
yield* local;
|
|
221
|
-
const worktreeDirectory = yield*
|
|
221
|
+
const worktreeDirectory = yield* canonical2(fs, input.directory);
|
|
222
222
|
const stored = yield* ops.find(worktreeDirectory);
|
|
223
223
|
if (!stored?.strategy)
|
|
224
224
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
239
239
|
for (const strategy of strategies) {
|
|
240
240
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
241
241
|
for (const entry of entries) {
|
|
242
|
-
const directory = yield*
|
|
242
|
+
const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
243
243
|
if (!directory || discovered.has(directory))
|
|
244
244
|
continue;
|
|
245
245
|
discovered.set(directory, {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service33.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node37 = makeLocationNode({
|
|
273
|
+
service: Service33,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node, node82,
|
|
275
|
+
deps: [FSUtil.node, node82, node83, node84, AppProcess.node, node80, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service33, node37, exports_worktree2, OperationError2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service50,
|
|
6
|
+
node53
|
|
7
|
+
} from "./job-hwbs7xck.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service35,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer14,
|
|
20
|
+
node: () => node39
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service35 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service50;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service35.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node39 = makeLocationNode({
|
|
69
|
+
service: Service35,
|
|
70
|
+
layer: layer14,
|
|
71
|
+
deps: [node53, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service35, layer14, node39, exports_generate2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./job-7w0m1cr7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./job-wbe59x29.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./job-v8jfbz3g.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service42
|
|
16
|
+
} from "./job-fegsmc0t.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-jzy4mkh2.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service49;
|
|
46
|
+
const database = yield* Service79;
|
|
47
|
+
const bus = yield* Service78;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service42;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service49;
|
|
78
|
+
const bus = yield* Service78;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service42;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./job-05znt9a9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names3 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service75;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|