@opencode/core 0.0.0-dev-19491 → 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 +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{skill-2vskgd28.js → job-05znt9a9.js} +5 -5
- package/dist/chunks/{skill-1nahrzwd.js → job-09wpk6vq.js} +4 -4
- package/dist/chunks/{skill-4y66k410.js → job-0ajdgxne.js} +5 -5
- package/dist/chunks/{skill-94txab4a.js → job-0b3ppf0m.js} +8 -8
- package/dist/chunks/{skill-qgn6gcr1.js → job-0jwsre1p.js} +5 -5
- package/dist/chunks/{skill-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-0q0f95c6.js → job-0q0f95c6.js} +1 -1
- package/dist/chunks/{skill-qwg36vzy.js → job-0rkcyjmh.js} +11 -11
- package/dist/chunks/{skill-yp2x3t23.js → job-1acjjqhc.js} +4 -4
- package/dist/chunks/{skill-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-fwyqjcw8.js → job-1fjxzwkh.js} +5 -5
- package/dist/chunks/{skill-1ygqh575.js → job-1ygqh575.js} +2 -2
- package/dist/chunks/{skill-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{skill-nb3bdtzf.js → job-223d1qz3.js} +29 -29
- package/dist/chunks/{skill-b0kmrf4v.js → job-26x13ny0.js} +7 -7
- package/dist/chunks/{skill-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-ne45wkcn.js → job-2d79k4yp.js} +144 -144
- package/dist/chunks/{skill-7z7az0f5.js → job-2evyaa68.js} +4 -4
- package/dist/chunks/{skill-6tcshp3z.js → job-2hbyh6nn.js} +13 -13
- package/dist/chunks/{skill-24bmmpej.js → job-2j14t725.js} +25 -25
- package/dist/chunks/{skill-tya32p6w.js → job-2jf2j74m.js} +6 -6
- package/dist/chunks/{skill-3h99rnj2.js → job-2vtsxqdn.js} +2 -2
- package/dist/chunks/{skill-6h6m7p04.js → job-2wyjv582.js} +4 -4
- package/dist/chunks/{skill-t94spz24.js → job-2ye9hrzq.js} +7 -7
- package/dist/chunks/{skill-aehqxcxq.js → job-2yhcctmw.js} +20 -20
- package/dist/chunks/{skill-j7wq2tw5.js → job-377tdzm5.js} +2 -2
- package/dist/chunks/{skill-9emyn5xc.js → job-39s00pmn.js} +21 -21
- package/dist/chunks/{skill-5jzgtb6e.js → job-39s66enp.js} +13 -13
- package/dist/chunks/{skill-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-rqtkra6z.js → job-42c662mh.js} +6 -6
- package/dist/chunks/job-45th5jwr.js +18 -0
- package/dist/chunks/{skill-x342d764.js → job-470v6bvq.js} +19 -19
- package/dist/chunks/{skill-2h72r71h.js → job-483bcsj8.js} +7 -7
- package/dist/chunks/{skill-24mnhr99.js → job-4dmhzvqh.js} +12 -12
- package/dist/chunks/{skill-g17cqcan.js → job-4hc1kxpa.js} +5 -5
- package/dist/chunks/{skill-9h0nm469.js → job-4jegdd7h.js} +9 -9
- package/dist/chunks/{skill-zf5rd7ft.js → job-4v6fnmv6.js} +9 -9
- package/dist/chunks/{skill-js1rcq3a.js → job-4vda8ndh.js} +31 -31
- package/dist/chunks/{skill-hw8ywvk8.js → job-4w1yen7k.js} +41 -41
- package/dist/chunks/{skill-90cw7nv9.js → job-4yqpz7cw.js} +22 -22
- package/dist/chunks/{skill-hgezhq2t.js → job-4z62xtfw.js} +25 -25
- package/dist/chunks/{skill-d5m5g738.js → job-50bdtw13.js} +8 -8
- package/dist/chunks/{skill-2q4wgzbd.js → job-53d4v5pk.js} +1 -1
- package/dist/chunks/{skill-q4qw7xgb.js → job-53f31axm.js} +25 -25
- package/dist/chunks/{skill-byvqdmd1.js → job-57spzpgt.js} +21 -21
- package/dist/chunks/{skill-a1bz86dw.js → job-5c4hm403.js} +3 -3
- package/dist/chunks/{skill-919msr8d.js → job-5cyrhyve.js} +3 -3
- package/dist/chunks/{skill-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-883n20bv.js → job-5fesm737.js} +144 -144
- package/dist/chunks/{skill-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-kr6kak67.js → job-61k5jphj.js} +15 -15
- package/dist/chunks/{skill-arqxcxm1.js → job-61mnds12.js} +5 -5
- package/dist/chunks/{skill-38y19f1h.js → job-62kn995j.js} +9 -9
- package/dist/chunks/{skill-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{skill-e6qsebz3.js → job-6dpf0sr6.js} +11 -11
- package/dist/chunks/{skill-2402vzrj.js → job-6h73sxmp.js} +5 -5
- package/dist/chunks/{skill-xfyp60zs.js → job-6ksr27c4.js} +3 -3
- package/dist/chunks/{skill-ct2p638d.js → job-6m8cgtnn.js} +56 -56
- package/dist/chunks/{skill-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-6b1znt97.js → job-6z4emzs5.js} +39 -39
- package/dist/chunks/{skill-71q4at8m.js → job-71q4at8m.js} +1 -1
- package/dist/chunks/{skill-eq1pz5kg.js → job-73tb2d7t.js} +3 -3
- package/dist/chunks/{skill-bwvxp9j2.js → job-77ry477k.js} +30 -30
- package/dist/chunks/{skill-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-1aqyasd7.js → job-7msm4rwz.js} +11 -11
- package/dist/chunks/{skill-vnc5pt4r.js → job-7w0m1cr7.js} +11 -11
- package/dist/chunks/{skill-ep6z9mt6.js → job-818pfwc9.js} +8 -8
- package/dist/chunks/{skill-9pv0dm11.js → job-81swgkk7.js} +9 -9
- package/dist/chunks/{skill-5xtgfte3.js → job-844ef7ks.js} +8 -8
- package/dist/chunks/{skill-tfews2vg.js → job-85wb28z4.js} +4 -4
- package/dist/chunks/{skill-j7htyv80.js → job-89wjbkgr.js} +28 -28
- package/dist/chunks/{skill-5eb1ygc3.js → job-89yh578v.js} +7 -7
- package/dist/chunks/{skill-tcezcvh9.js → job-89znhe33.js} +4 -4
- package/dist/chunks/{skill-g9rdf1fa.js → job-8awsthtr.js} +5 -5
- package/dist/chunks/{skill-bg967zfn.js → job-8ctqdr62.js} +20 -20
- package/dist/chunks/{skill-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-9edcvf27.js → job-8pccszvy.js} +3 -3
- package/dist/chunks/{skill-p9a278h7.js → job-8tq8zswb.js} +30 -30
- package/dist/chunks/{skill-5w5ra95s.js → job-8xr8aj9a.js} +9 -9
- package/dist/chunks/{skill-7da7ws9f.js → job-990ev2kv.js} +1 -1
- package/dist/chunks/{skill-axy1mzxr.js → job-9edb9jbp.js} +22 -22
- package/dist/chunks/{skill-zdbs7c1t.js → job-9f8x733p.js} +8 -8
- package/dist/chunks/{skill-jen1yc7y.js → job-9mrxmr8h.js} +20 -20
- package/dist/chunks/{skill-vxx2xayy.js → job-9rw2238w.js} +28 -28
- package/dist/chunks/{skill-0m4cr050.js → job-9ywjwkc3.js} +33 -33
- package/dist/chunks/{skill-7v4g7keg.js → job-a28srp6z.js} +15 -15
- package/dist/chunks/{skill-7m3hdjns.js → job-a80mwyht.js} +17 -17
- package/dist/chunks/{skill-7vzs0hkr.js → job-a880hm1k.js} +80 -80
- package/dist/chunks/{skill-7razwkap.js → job-a8hcp5ng.js} +11 -11
- package/dist/chunks/{skill-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-dvmk7p7f.js → job-af0peg3t.js} +21 -21
- package/dist/chunks/{skill-32t3848n.js → job-agy1jr6g.js} +27 -27
- package/dist/chunks/{skill-w774r1ds.js → job-ajchncqw.js} +8 -8
- package/dist/chunks/{skill-97c46kt4.js → job-arjbbgf8.js} +6 -6
- package/dist/chunks/{skill-eaj1djv9.js → job-athype10.js} +4 -4
- package/dist/chunks/{skill-mv5nbet3.js → job-b5hzpkv8.js} +25 -25
- package/dist/chunks/{skill-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-dtqg9ce1.js → job-b7v4cx43.js} +5 -5
- package/dist/chunks/{skill-jwtb4t4a.js → job-bbqjtvjt.js} +84 -84
- package/dist/chunks/{skill-sxcn38x5.js → job-bcxexh6n.js} +24 -24
- package/dist/chunks/{skill-fed859vy.js → job-bra6p34v.js} +32 -32
- package/dist/chunks/{skill-6zz0jjar.js → job-bscb95cy.js} +4 -4
- package/dist/chunks/{skill-b88gjvr8.js → job-bxw8ngxp.js} +5 -5
- package/dist/chunks/{skill-amzwa14p.js → job-byn59v6m.js} +1 -1
- package/dist/chunks/{skill-2wj3k3x9.js → job-c649dwfa.js} +18 -18
- package/dist/chunks/{skill-074w1zm6.js → job-cfx5nnhv.js} +13 -13
- package/dist/chunks/{skill-2kggpb2f.js → job-ckw6gep2.js} +11 -11
- package/dist/chunks/{skill-xg9t41r3.js → job-d16qd7aj.js} +2 -2
- package/dist/chunks/{skill-tq5dcq5k.js → job-d4dr9rb7.js} +6 -6
- package/dist/chunks/{skill-bmw4j1xk.js → job-dfdvek0b.js} +26 -26
- package/dist/chunks/{skill-8b5swp6f.js → job-dgvf7yhf.js} +12 -12
- package/dist/chunks/{skill-q5asdkn4.js → job-dhmh7aw6.js} +4 -4
- package/dist/chunks/{skill-8p4f9s12.js → job-dj2t23y0.js} +2 -2
- package/dist/chunks/{skill-k9vmqmea.js → job-dw9ftjz0.js} +3 -3
- package/dist/chunks/{skill-x8g8za75.js → job-dwv6k166.js} +24 -24
- package/dist/chunks/{skill-t97t2t7r.js → job-e23dc7d8.js} +12 -12
- package/dist/chunks/{skill-mdm24dv9.js → job-e2535fdq.js} +8 -8
- package/dist/chunks/{skill-e6hmchc5.js → job-e6hmchc5.js} +2 -2
- package/dist/chunks/{skill-00tet6pb.js → job-e99y237x.js} +9 -9
- package/dist/chunks/{skill-jp8yda5b.js → job-e9gb6pdy.js} +6 -6
- package/dist/chunks/{skill-0t3mp40g.js → job-ebrpajgw.js} +5 -5
- package/dist/chunks/{skill-jcw1jwjq.js → job-efs7hy0y.js} +6 -6
- package/dist/chunks/{skill-pfjd8r4w.js → job-eg1ta683.js} +28 -28
- package/dist/chunks/{skill-bfxeb1xx.js → job-ejsrqr7m.js} +4 -4
- package/dist/chunks/{skill-hhpyv4p0.js → job-ek00w5t7.js} +24 -24
- package/dist/chunks/{skill-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-w38dz18n.js → job-eza9v3bf.js} +19 -19
- package/dist/chunks/{skill-t2fc4mz5.js → job-fdv30zvt.js} +7 -7
- package/dist/chunks/{skill-z0h2zfz4.js → job-fe1tayzh.js} +20 -20
- package/dist/chunks/{skill-kcdqxvh5.js → job-fegsmc0t.js} +17 -17
- package/dist/chunks/{skill-254av4a6.js → job-fgzdzk1h.js} +31 -31
- package/dist/chunks/{skill-fjmrr6sh.js → job-fjmrr6sh.js} +2 -2
- package/dist/chunks/{skill-fc3thhkm.js → job-fqtw9snj.js} +7 -7
- package/dist/chunks/{skill-6kav77kw.js → job-fteascj8.js} +4 -4
- package/dist/chunks/{skill-3b4k6mgn.js → job-fwr4kp6g.js} +11 -11
- package/dist/chunks/{skill-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{skill-magykp64.js → job-g190xswt.js} +4 -4
- package/dist/chunks/{skill-5z4f5exs.js → job-g5bqepvr.js} +9 -9
- package/dist/chunks/{skill-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-9n0ce3z8.js → job-gd7fndfc.js} +39 -39
- package/dist/chunks/{skill-9xk09gab.js → job-gjjtys5r.js} +28 -28
- package/dist/chunks/{skill-m86bnw2c.js → job-gsx0ryk4.js} +9 -9
- package/dist/chunks/{skill-th5km1p3.js → job-gv6a8nnw.js} +5 -5
- package/dist/chunks/{skill-1ycwnpgc.js → job-gx6t3jfd.js} +38 -38
- package/dist/chunks/{skill-h03wrkyp.js → job-h03wrkyp.js} +2 -2
- package/dist/chunks/{skill-wk1rtvag.js → job-h1frrkv0.js} +22 -22
- package/dist/chunks/{skill-1t3hpfqc.js → job-h3376zec.js} +5 -5
- package/dist/chunks/{skill-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-f828m53h.js → job-hdnk95c8.js} +2 -2
- package/dist/chunks/{skill-dfnfv2ja.js → job-hezdnza5.js} +10 -10
- package/dist/chunks/{skill-s8zy8myc.js → job-hkfg6fzm.js} +5 -5
- package/dist/chunks/{skill-thaqkx7r.js → job-htveh2m9.js} +1 -1
- package/dist/chunks/{skill-3fa44pnr.js → job-hwbs7xck.js} +41 -41
- package/dist/chunks/{skill-rb56vfdz.js → job-j1ydb14k.js} +32 -32
- package/dist/chunks/{skill-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-g8fdg9p1.js → job-j9eftr55.js} +4 -4
- package/dist/chunks/{skill-c197rr27.js → job-jc02vnth.js} +24 -24
- package/dist/chunks/{skill-w1g50z32.js → job-jce26jfm.js} +18 -18
- package/dist/chunks/{skill-hq3rzvmw.js → job-jf27y05g.js} +16 -16
- package/dist/chunks/{skill-8seekddy.js → job-jgd9689z.js} +6 -6
- package/dist/chunks/{skill-k79tzb9n.js → job-jwx4y25k.js} +9 -9
- package/dist/chunks/{skill-qwkytnft.js → job-jzy4mkh2.js} +6 -6
- package/dist/chunks/{skill-nskewhca.js → job-k070sa49.js} +271 -271
- package/dist/chunks/{skill-gna7rjh2.js → job-k5nz7jxc.js} +21 -21
- package/dist/chunks/{skill-7b1tpp8n.js → job-k9h3bn14.js} +18 -18
- package/dist/chunks/{skill-esbcw9x0.js → job-kb49dwdy.js} +9 -9
- package/dist/chunks/{skill-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{skill-cqam0280.js → job-kwn7s3xs.js} +21 -21
- package/dist/chunks/{skill-cfpkc3c9.js → job-m0jqrx5p.js} +2 -2
- package/dist/chunks/{skill-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-paegk39x.js → job-msq0jde0.js} +4 -4
- package/dist/chunks/{skill-bk89yz0d.js → job-mth96381.js} +1 -1
- package/dist/chunks/{skill-5cscdp3x.js → job-mty3s5k3.js} +8 -8
- package/dist/chunks/{skill-yck05sv3.js → job-n5pt8tbc.js} +8 -8
- package/dist/chunks/{skill-1mgvftkm.js → job-nep8tjkt.js} +10 -10
- package/dist/chunks/{skill-nhy5jxhy.js → job-nhy5jxhy.js} +1 -1
- package/dist/chunks/{skill-7rra99b0.js → job-njffw8q5.js} +14 -14
- package/dist/chunks/{skill-p676kgcj.js → job-nmbjd050.js} +31 -31
- package/dist/chunks/{skill-gx0k0zre.js → job-nsnkpgmw.js} +29 -29
- package/dist/chunks/{skill-nv5vn7qx.js → job-nv5vn7qx.js} +2 -2
- package/dist/chunks/{skill-bha4atvq.js → job-nvn8ehym.js} +4 -4
- package/dist/chunks/{skill-w79zsp0s.js → job-p33ejz0k.js} +1 -1
- package/dist/chunks/{skill-y1003ch2.js → job-p69wsv11.js} +13 -13
- package/dist/chunks/{skill-zhycqm5t.js → job-pa9n1am2.js} +10 -10
- package/dist/chunks/{skill-zrrcc1kw.js → job-pe5bkq7z.js} +25 -25
- package/dist/chunks/{skill-x6ge6azq.js → job-pe61x464.js} +7 -7
- package/dist/chunks/{skill-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{skill-b1mg7fsy.js → job-q1wsye3c.js} +2 -2
- package/dist/chunks/{skill-q2b1ymqp.js → job-q2b1ymqp.js} +1 -1
- package/dist/chunks/{skill-wy0wfk9c.js → job-qbds1c0x.js} +3 -3
- package/dist/chunks/{skill-jhsj1t1n.js → job-qcqr6c42.js} +4 -4
- package/dist/chunks/{skill-qm220myb.js → job-qjgw82pv.js} +21 -21
- package/dist/chunks/{skill-48atfkft.js → job-qjnctwjf.js} +8 -8
- package/dist/chunks/{skill-wamnvq9v.js → job-qjqwssjd.js} +5 -5
- package/dist/chunks/{skill-7sv8prhs.js → job-qk5tp4kc.js} +36 -36
- package/dist/chunks/{skill-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-86e0kwwr.js → job-qzb9gbxh.js} +38 -38
- package/dist/chunks/{skill-ccfhzdp3.js → job-r56v5vzb.js} +20 -20
- package/dist/chunks/{skill-42xdtmyh.js → job-r7yyze0b.js} +35 -35
- package/dist/chunks/{skill-tb969tae.js → job-r863235s.js} +17 -17
- package/dist/chunks/{skill-r9mregkx.js → job-r9mregkx.js} +2 -2
- package/dist/chunks/{skill-bq5fxdyt.js → job-rasx6tva.js} +8 -8
- package/dist/chunks/{skill-64mbz47k.js → job-rbr1ba9y.js} +6 -6
- package/dist/chunks/{skill-yr02nea7.js → job-rhx683sy.js} +6 -6
- package/dist/chunks/{skill-2h5vgx9d.js → job-rnp9kzat.js} +6 -6
- package/dist/chunks/{skill-0acgwxx9.js → job-rs5tj728.js} +13 -13
- package/dist/chunks/{skill-z1n4a1q7.js → job-rs9dtcm6.js} +18 -18
- package/dist/chunks/{skill-g1p53x2d.js → job-s3287qar.js} +35 -35
- package/dist/chunks/{skill-epqpx351.js → job-s673h22a.js} +16 -16
- package/dist/chunks/{skill-rggqqsgv.js → job-s8afmmt2.js} +17 -17
- package/dist/chunks/{skill-913ve1tm.js → job-sbvbgwj3.js} +29 -29
- package/dist/chunks/{skill-1kr8ppnb.js → job-t0wy8e3x.js} +23 -23
- package/dist/chunks/{skill-4ky8t7n6.js → job-t2k8w6x7.js} +6 -6
- package/dist/chunks/{skill-22hdgqw1.js → job-t3g6f9dq.js} +11 -11
- package/dist/chunks/{skill-jcj7vnbk.js → job-t7wpzaak.js} +15 -15
- package/dist/chunks/{skill-7ps6gmn4.js → job-t96gcqea.js} +4 -4
- package/dist/chunks/{skill-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{skill-ggkj9wzv.js → job-tm3xrft6.js} +12 -12
- package/dist/chunks/{skill-26hn7a7s.js → job-tpj9kemf.js} +6 -6
- package/dist/chunks/{skill-cwhba9p2.js → job-tqjwy6mf.js} +12 -12
- package/dist/chunks/{skill-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{skill-c78bbtc9.js → job-tz2bjj40.js} +5 -5
- package/dist/chunks/{skill-8sghyhzw.js → job-v5w9803s.js} +8 -8
- package/dist/chunks/{skill-8q9myf25.js → job-v8jfbz3g.js} +6 -6
- package/dist/chunks/{skill-g3v9gr2d.js → job-v8s8zax1.js} +28 -28
- package/dist/chunks/{skill-grc1sz1y.js → job-va3rkdfa.js} +34 -34
- package/dist/chunks/{skill-1tvywgny.js → job-vbj8td05.js} +55 -55
- package/dist/chunks/{skill-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-y6eqv9kx.js → job-vgd8tbfn.js} +72 -72
- package/dist/chunks/{skill-zsr9rk31.js → job-vm7fznsz.js} +27 -27
- package/dist/chunks/{skill-kj2a27ba.js → job-vtzwx9w7.js} +39 -39
- package/dist/chunks/{skill-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-gwydwvmj.js → job-w1ad28wa.js} +8 -8
- package/dist/chunks/{skill-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-zpc6dyj7.js → job-w4dt659t.js} +1 -1
- package/dist/chunks/{skill-7q2nyqgm.js → job-w5rgr3ed.js} +9 -9
- package/dist/chunks/{skill-5qbtxqe3.js → job-w63wt874.js} +47 -47
- package/dist/chunks/{skill-69jddtm0.js → job-wbe59x29.js} +16 -16
- package/dist/chunks/{skill-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{skill-pgk8m4ch.js → job-wh2dv1v9.js} +33 -33
- package/dist/chunks/{skill-29z9s3bq.js → job-wpqm8tgx.js} +11 -11
- package/dist/chunks/{skill-cwxby6pr.js → job-ws5qfxv9.js} +9 -9
- package/dist/chunks/{skill-tbbq327f.js → job-wvdszsq1.js} +42 -42
- package/dist/chunks/{skill-7v41m4wd.js → job-wycsdkc3.js} +11 -11
- package/dist/chunks/{skill-8j63s4bj.js → job-x09ggfgh.js} +13 -13
- package/dist/chunks/{skill-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-rjhzcsxj.js → job-x2xn2ag0.js} +12 -12
- package/dist/chunks/{skill-t936qp6f.js → job-x3nm3630.js} +17 -17
- package/dist/chunks/{skill-rmdyxgmk.js → job-xdw78xdg.js} +8 -8
- package/dist/chunks/{skill-6gazz9vr.js → job-xgte56ee.js} +24 -24
- package/dist/chunks/{skill-nmgb8pzc.js → job-xs8d25ev.js} +8 -8
- package/dist/chunks/{skill-d4pyqmad.js → job-xwdfg3dx.js} +5 -5
- package/dist/chunks/{skill-h0n6thkm.js → job-y0j58446.js} +13 -13
- package/dist/chunks/{skill-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-dpkg50ah.js → job-y71avatq.js} +4 -4
- package/dist/chunks/{skill-r9th2xkr.js → job-y8p3zjbc.js} +6 -6
- package/dist/chunks/{skill-hnyfn2cj.js → job-ykw20yhg.js} +14 -14
- package/dist/chunks/{skill-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{skill-ez35fva7.js → job-yxjbx3ws.js} +15 -15
- package/dist/chunks/{skill-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-qy11zpxb.js → job-z5tggqpm.js} +3 -3
- package/dist/chunks/{skill-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{skill-e78h5qty.js → job-z75d3rsp.js} +4 -4
- package/dist/chunks/{skill-bzjkhwme.js → job-z8pb3dnf.js} +5 -5
- package/dist/chunks/{skill-kvmz424q.js → job-z9mc2c5r.js} +15 -15
- package/dist/chunks/{skill-qbvvtgq5.js → job-zc07dx4z.js} +7 -7
- package/dist/chunks/{skill-axpq6a1e.js → job-zecnhp4y.js} +47 -47
- package/dist/chunks/{skill-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{skill-ewmr8yev.js → job-zmwpq63m.js} +18 -18
- package/dist/chunks/{skill-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-rc43ka8n.js → job-zsh8a2sh.js} +20 -20
- package/dist/chunks/{skill-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- 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 +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- 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 +115 -115
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- 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 +112 -112
- 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 +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +79 -79
- 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 +7 -7
- 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 +83 -83
- 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 +79 -79
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- 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 +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- 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 +116 -116
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +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 +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- 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 +80 -80
- 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 +89 -89
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- 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 +147 -147
- 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 +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +89 -89
- package/dist/session/message-updater.js +4 -4
- 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 +3 -3
- 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 +214 -214
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- 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 +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- 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 +116 -116
- package/dist/tool/read-filesystem.js +93 -93
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- 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/skill-gyce5qg1.js +0 -18
- /package/dist/chunks/{skill-0mesazry.js → job-0mesazry.js} +0 -0
- /package/dist/chunks/{skill-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-hrnqkpcd.js → job-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-paphc93g.js → job-paphc93g.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-rasx6tva.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID11
|
|
8
|
+
} from "./job-nep8tjkt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./job-wbe59x29.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event14
|
|
15
|
+
} from "./job-wh2dv1v9.js";
|
|
16
16
|
import {
|
|
17
17
|
ID7,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-53f31axm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service51
|
|
22
|
+
} from "./job-dwv6k166.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get3
|
|
25
|
+
} from "./job-z9mc2c5r.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-e2535fdq.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service51;
|
|
159
|
+
const bus = yield* Service78;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID13.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID13.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID13.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID11.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID11.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID13.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID13.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-8pccszvy.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical2
|
|
7
|
+
} from "./job-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make15
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make15 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service77;
|
|
24
24
|
return {
|
|
@@ -28,7 +28,7 @@ var make20 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical2(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,9 +41,9 @@ var make20 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical2(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, exports_git2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./job-wbe59x29.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./job-fegsmc0t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./job-b5hzpkv8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service80
|
|
12
|
+
} from "./job-tqjwy6mf.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-jzy4mkh2.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-fteascj8.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-tpj9kemf.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service42;
|
|
58
|
+
const toolOutput = yield* Service80;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make7 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-e2535fdq.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./job-wh2dv1v9.js";
|
|
8
8
|
import {
|
|
9
9
|
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-53f31axm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID13
|
|
14
|
+
} from "./job-rasx6tva.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID13.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -68,7 +68,7 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
71
|
+
const credentials = yield* Service54;
|
|
72
72
|
yield* Effect.forEach(yield* credentials.list(ID7.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./job-7w0m1cr7.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID10,
|
|
17
|
+
Info: () => Info22,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service57,
|
|
21
|
+
node: () => node60
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID10 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service57 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service79).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID10.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service57.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [node84] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID10, Info22, ListInput4, AddInput2, Service57, node60, exports_saved };
|
|
@@ -1,32 +1,32 @@
|
|
|
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
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-6m8cgtnn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service34,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event5 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service34 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service78;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service34.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node38 = makeLocationNode({
|
|
112
|
+
service: Service34,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node83]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available2, toModelOutput3, prepare3, Service34, node38, exports_skill5, Event5 };
|