@opencode/core 0.0.0-dev-19501 → 0.0.0-dev-19503
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{job-r863235s.js → file-0gjrpm4q.js} +12 -12
- package/dist/chunks/{job-2j14t725.js → file-0gw11f53.js} +21 -21
- package/dist/chunks/{job-qk5tp4kc.js → file-0p2zh9q8.js} +34 -34
- package/dist/chunks/{job-jwx4y25k.js → file-0p4j4cv0.js} +9 -9
- package/dist/chunks/{job-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-8tq8zswb.js → file-0pnmq97r.js} +30 -30
- package/dist/chunks/{job-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-223d1qz3.js → file-0x6jhfyd.js} +32 -32
- package/dist/chunks/{job-eza9v3bf.js → file-14vdq9mv.js} +18 -18
- package/dist/chunks/{job-50bdtw13.js → file-1ac4bme3.js} +10 -10
- package/dist/chunks/{job-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-wh2dv1v9.js → file-1j7qs22q.js} +32 -32
- package/dist/chunks/{job-05znt9a9.js → file-1r0yq1wn.js} +15 -15
- package/dist/chunks/{job-fegsmc0t.js → file-1sxt24ag.js} +22 -22
- package/dist/chunks/{job-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{job-89yh578v.js → file-24a117tm.js} +9 -9
- package/dist/chunks/{job-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{job-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-4hc1kxpa.js → file-2hpfm54d.js} +10 -10
- package/dist/chunks/{job-jc02vnth.js → file-2kpnaqjr.js} +21 -21
- package/dist/chunks/{job-p69wsv11.js → file-2n6t0d3f.js} +11 -11
- package/dist/chunks/{job-6ksr27c4.js → file-2nv7jv6x.js} +15 -15
- package/dist/chunks/{job-wvdszsq1.js → file-2rnktxfb.js} +36 -36
- package/dist/chunks/{job-njffw8q5.js → file-2t17ewj5.js} +12 -12
- package/dist/chunks/{job-z8pb3dnf.js → file-2ve45fd6.js} +5 -5
- package/dist/chunks/{job-g5bqepvr.js → file-2zpcf09p.js} +9 -9
- package/dist/chunks/{job-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-gx6t3jfd.js → file-3fj0ehej.js} +43 -43
- package/dist/chunks/{job-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-8xr8aj9a.js → file-3kff94q5.js} +3 -3
- package/dist/chunks/{job-w5rgr3ed.js → file-3ra6k2ma.js} +9 -9
- package/dist/chunks/{job-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-9mrxmr8h.js → file-3tc3fw1n.js} +13 -13
- package/dist/chunks/{job-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-tz2bjj40.js → file-3w2b2yj4.js} +5 -5
- package/dist/chunks/{job-377tdzm5.js → file-3yjg5mh2.js} +3 -3
- package/dist/chunks/{job-t7wpzaak.js → file-3yknbgq7.js} +21 -21
- package/dist/chunks/{job-62kn995j.js → file-3yycxr83.js} +13 -13
- package/dist/chunks/{job-mth96381.js → file-4786se8r.js} +1 -1
- package/dist/chunks/{job-nmbjd050.js → file-4d8pxj8c.js} +29 -29
- package/dist/chunks/{job-8awsthtr.js → file-4j7j5868.js} +5 -5
- package/dist/chunks/{job-qcqr6c42.js → file-4nwkg5vr.js} +4 -4
- package/dist/chunks/{job-efs7hy0y.js → file-4p8799rk.js} +11 -11
- package/dist/chunks/{job-e99y237x.js → file-4sv526vh.js} +11 -11
- package/dist/chunks/{job-39s66enp.js → file-4t8p017q.js} +13 -13
- package/dist/chunks/{job-0ajdgxne.js → file-4y66k410.js} +5 -5
- package/dist/chunks/{job-eg1ta683.js → file-4zj9va87.js} +21 -21
- package/dist/chunks/{job-1ygqh575.js → file-56gdpj1q.js} +9 -9
- package/dist/chunks/{job-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{job-va3rkdfa.js → file-5dmv5s4a.js} +28 -28
- package/dist/chunks/{job-a28srp6z.js → file-5f2tz19k.js} +20 -20
- package/dist/chunks/{job-4yqpz7cw.js → file-5m8ed8y5.js} +22 -22
- package/dist/chunks/{job-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-v5w9803s.js → file-5trk58xb.js} +8 -8
- package/dist/chunks/{job-4w1yen7k.js → file-631z4xzt.js} +33 -33
- package/dist/chunks/{job-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{job-j9eftr55.js → file-6djd1gzm.js} +6 -6
- package/dist/chunks/{job-arjbbgf8.js → file-6fex6vem.js} +6 -6
- package/dist/chunks/{job-6h73sxmp.js → file-6h73sxmp.js} +1 -1
- package/dist/chunks/{job-gsx0ryk4.js → file-6jnybvqn.js} +9 -9
- package/dist/chunks/{job-qjgw82pv.js → file-6jyhw6dt.js} +21 -21
- package/dist/chunks/{job-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{job-2wyjv582.js → file-737983wq.js} +4 -4
- package/dist/chunks/{job-cfx5nnhv.js → file-79xwf2jn.js} +15 -15
- package/dist/chunks/{job-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-0jwsre1p.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{job-rhx683sy.js → file-7ebn0nc0.js} +6 -6
- package/dist/chunks/{job-5fesm737.js → file-7ek6x336.js} +165 -165
- package/dist/chunks/{job-n5pt8tbc.js → file-7hkvzewv.js} +13 -13
- package/dist/chunks/{job-zsh8a2sh.js → file-7j62yvdk.js} +21 -21
- package/dist/chunks/{job-483bcsj8.js → file-7r53ar6y.js} +9 -9
- package/dist/chunks/{job-ek00w5t7.js → file-7s83vr9a.js} +27 -27
- package/dist/chunks/{job-73tb2d7t.js → file-7yh4e7ss.js} +3 -3
- package/dist/chunks/{job-t3g6f9dq.js → file-7yzymgne.js} +17 -17
- package/dist/chunks/{job-81swgkk7.js → file-81swgkk7.js} +2 -2
- package/dist/chunks/{job-844ef7ks.js → file-844ef7ks.js} +1 -1
- package/dist/chunks/{job-ajchncqw.js → file-865r9qcv.js} +8 -8
- package/dist/chunks/{job-y8p3zjbc.js → file-87deq66t.js} +6 -6
- package/dist/chunks/{job-msq0jde0.js → file-88sz8qcd.js} +4 -4
- package/dist/chunks/{job-byn59v6m.js → file-8cbmhaq5.js} +1 -1
- package/dist/chunks/{job-e9gb6pdy.js → file-8cypfrbh.js} +6 -6
- package/dist/chunks/{job-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-s673h22a.js → file-8n54f2ta.js} +18 -18
- package/dist/chunks/{job-dj2t23y0.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{job-vm7fznsz.js → file-8trdseqr.js} +28 -28
- package/dist/chunks/{job-fdv30zvt.js → file-8x96bj0m.js} +4 -4
- package/dist/chunks/{job-xdw78xdg.js → file-91p1v22t.js} +8 -8
- package/dist/chunks/{job-jgd9689z.js → file-9524tstc.js} +6 -6
- package/dist/chunks/{job-ws5qfxv9.js → file-9bj2cvf7.js} +9 -9
- package/dist/chunks/{job-xs8d25ev.js → file-9fvpfb58.js} +11 -11
- package/dist/chunks/{job-vbj8td05.js → file-9gy04t1n.js} +52 -52
- package/dist/chunks/{job-09wpk6vq.js → file-9m3d1h1h.js} +4 -4
- package/dist/chunks/{job-4z62xtfw.js → file-9p11ca5c.js} +17 -17
- package/dist/chunks/{job-z9mc2c5r.js → file-9pgc3c9f.js} +17 -17
- package/dist/chunks/{job-5c4hm403.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{job-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{job-kb49dwdy.js → file-ah6b56rd.js} +9 -9
- package/dist/chunks/{job-ckw6gep2.js → file-akadabsh.js} +17 -17
- package/dist/chunks/{job-a8hcp5ng.js → file-aksfce1s.js} +14 -14
- package/dist/chunks/{job-0rkcyjmh.js → file-amkbtr58.js} +15 -15
- package/dist/chunks/{job-q2b1ymqp.js → file-an7cqtb7.js} +4 -4
- package/dist/chunks/{job-x09ggfgh.js → file-aq71ck84.js} +13 -13
- package/dist/chunks/{job-tm3xrft6.js → file-ax4359t5.js} +17 -17
- package/dist/chunks/{job-fe1tayzh.js → file-axvk3tbf.js} +20 -20
- package/dist/chunks/{job-p33ejz0k.js → file-b3wkxfg9.js} +1 -1
- package/dist/chunks/{job-jzy4mkh2.js → file-b4ssmz4r.js} +9 -9
- package/dist/chunks/{job-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-6dpf0sr6.js → file-bd7brtc3.js} +11 -11
- package/dist/chunks/{job-w1ad28wa.js → file-bw0vgseb.js} +5 -5
- package/dist/chunks/{job-61mnds12.js → file-c4a2d4g2.js} +5 -5
- package/dist/chunks/{job-26x13ny0.js → file-c9n252bm.js} +5 -5
- package/dist/chunks/{job-qzb9gbxh.js → file-cf9snega.js} +30 -30
- package/dist/chunks/{job-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{job-4jegdd7h.js → file-cn0yhb7k.js} +11 -11
- package/dist/chunks/{job-2ye9hrzq.js → file-cvfevwhc.js} +11 -11
- package/dist/chunks/{job-rs9dtcm6.js → file-cwq9bbm8.js} +25 -25
- package/dist/chunks/{job-jce26jfm.js → file-cyf7cx3n.js} +13 -13
- package/dist/chunks/{job-53d4v5pk.js → file-cza9j1er.js} +1 -1
- package/dist/chunks/{job-pe5bkq7z.js → file-d4jn0akt.js} +28 -28
- package/dist/chunks/{job-yxjbx3ws.js → file-d678zc2k.js} +18 -18
- package/dist/chunks/{job-s8afmmt2.js → file-da2mbxce.js} +17 -17
- package/dist/chunks/{job-9edb9jbp.js → file-dc8d22k9.js} +13 -13
- package/dist/chunks/{job-7msm4rwz.js → file-dcbb9xhy.js} +14 -14
- package/dist/chunks/{job-tpj9kemf.js → file-drjkjrg9.js} +6 -6
- package/dist/chunks/{job-xwdfg3dx.js → file-dw1fjyb0.js} +5 -5
- package/dist/chunks/{job-k070sa49.js → file-dxpt5v4a.js} +284 -284
- package/dist/chunks/{job-990ev2kv.js → file-e17bkqjz.js} +1 -1
- package/dist/chunks/{job-fqtw9snj.js → file-e3z6xmzm.js} +9 -9
- package/dist/chunks/{job-85wb28z4.js → file-ea0j55ct.js} +4 -4
- package/dist/chunks/{job-q1wsye3c.js → file-ea8nv0r7.js} +2 -2
- package/dist/chunks/{job-2evyaa68.js → file-ec8389mk.js} +4 -4
- package/dist/chunks/{job-wpqm8tgx.js → file-egqavg4q.js} +15 -15
- package/dist/chunks/{job-e23dc7d8.js → file-egqspz5t.js} +14 -14
- package/dist/chunks/{job-dhmh7aw6.js → file-embw8kgh.js} +4 -4
- package/dist/chunks/{job-6m8cgtnn.js → file-epq9ds0r.js} +41 -41
- package/dist/chunks/{job-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-x3nm3630.js → file-f4d4r4a6.js} +16 -16
- package/dist/chunks/{job-hdnk95c8.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{job-dw9ftjz0.js → file-f8vm562w.js} +5 -5
- package/dist/chunks/{job-39s00pmn.js → file-fbm4qtpf.js} +20 -20
- package/dist/chunks/{job-89wjbkgr.js → file-fcnjngqh.js} +27 -27
- package/dist/chunks/{job-57spzpgt.js → file-fepbzpny.js} +23 -23
- package/dist/chunks/{job-ebrpajgw.js → file-fschw3aw.js} +7 -7
- package/dist/chunks/{job-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-dwv6k166.js → file-fxtthhfd.js} +26 -26
- package/dist/chunks/{job-4dmhzvqh.js → file-fzsrmebp.js} +24 -24
- package/dist/chunks/{job-vtzwx9w7.js → file-fzxbqhyn.js} +37 -37
- package/dist/chunks/{job-8ctqdr62.js → file-g0m6rrr1.js} +21 -21
- package/dist/chunks/{job-rasx6tva.js → file-g14zqp48.js} +6 -6
- package/dist/chunks/{job-fjmrr6sh.js → file-g3n6es57.js} +9 -9
- package/dist/chunks/{job-d4dr9rb7.js → file-g4adkwgc.js} +4 -4
- package/dist/chunks/{job-qjqwssjd.js → file-g6nh8byg.js} +7 -7
- package/dist/chunks/{job-0b3ppf0m.js → file-gbe8bvty.js} +6 -6
- package/dist/chunks/{job-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-t0wy8e3x.js → file-gptjq5xf.js} +22 -22
- package/dist/chunks/{job-bra6p34v.js → file-gt8btckc.js} +32 -32
- package/dist/chunks/{job-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-bscb95cy.js → file-gzbkpp9m.js} +4 -4
- package/dist/chunks/{job-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{job-2d79k4yp.js → file-h591h6nq.js} +135 -135
- package/dist/chunks/{job-t96gcqea.js → file-h60zwq4m.js} +4 -4
- package/dist/chunks/{job-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-a80mwyht.js → file-hbakxq5y.js} +17 -17
- package/dist/chunks/{job-ykw20yhg.js → file-hnjcq03z.js} +21 -21
- package/dist/chunks/{job-nep8tjkt.js → file-hp075dpy.js} +12 -12
- package/dist/chunks/{job-fgzdzk1h.js → file-hp277x20.js} +27 -27
- package/dist/chunks/{job-v8jfbz3g.js → file-hq8zt1th.js} +6 -6
- package/dist/chunks/file-ht5y0zrb.js +18 -0
- package/dist/chunks/{job-dfdvek0b.js → file-j3ktvrzf.js} +26 -26
- package/dist/chunks/{job-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{job-bxw8ngxp.js → file-j6frhm8p.js} +5 -5
- package/dist/chunks/{job-c649dwfa.js → file-j7w4f3hr.js} +27 -27
- package/dist/chunks/{job-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{job-61k5jphj.js → file-j9n5fxav.js} +9 -9
- package/dist/chunks/{job-w4dt659t.js → file-jeanpfns.js} +1 -1
- package/dist/chunks/{job-5cyrhyve.js → file-jfqp9qt8.js} +9 -9
- package/dist/chunks/{job-zc07dx4z.js → file-jjcqt8zt.js} +7 -7
- package/dist/chunks/{job-k5nz7jxc.js → file-jtq2znwy.js} +24 -24
- package/dist/chunks/{job-y71avatq.js → file-jwcy2c2z.js} +4 -4
- package/dist/chunks/{job-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{job-gd7fndfc.js → file-km5917gx.js} +48 -48
- package/dist/chunks/{job-j1ydb14k.js → file-ktw3pdy7.js} +15 -15
- package/dist/chunks/{job-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-b7v4cx43.js → file-ma15yhyh.js} +5 -5
- package/dist/chunks/{job-fteascj8.js → file-map7vc9e.js} +4 -4
- package/dist/chunks/{job-tqjwy6mf.js → file-n3ehebhz.js} +4 -4
- package/dist/chunks/{job-h1frrkv0.js → file-nd9hg1xj.js} +24 -24
- package/dist/chunks/{job-qjnctwjf.js → file-neb913ap.js} +5 -5
- package/dist/chunks/{job-nhy5jxhy.js → file-nhy5jxhy.js} +1 -1
- package/dist/chunks/{job-nv5vn7qx.js → file-nv5vn7qx.js} +2 -2
- package/dist/chunks/{job-9ywjwkc3.js → file-nze65y9n.js} +15 -15
- package/dist/chunks/{job-e6hmchc5.js → file-p1nm93x7.js} +5 -5
- package/dist/chunks/{job-4vda8ndh.js → file-pfjv880m.js} +46 -46
- package/dist/chunks/{job-x2xn2ag0.js → file-pg0dvyvk.js} +10 -10
- package/dist/chunks/{job-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{job-6z4emzs5.js → file-pndtw5qe.js} +39 -39
- package/dist/chunks/{job-rnp9kzat.js → file-pnfpsavj.js} +5 -5
- package/dist/chunks/{job-bcxexh6n.js → file-pp59n8pp.js} +20 -20
- package/dist/chunks/{job-e2535fdq.js → file-q043d12m.js} +11 -11
- package/dist/chunks/{job-a880hm1k.js → file-q4jqhhxd.js} +78 -78
- package/dist/chunks/{job-gjjtys5r.js → file-qbejwr8p.js} +28 -28
- package/dist/chunks/{job-wycsdkc3.js → file-qefhz522.js} +11 -11
- package/dist/chunks/{job-htveh2m9.js → file-qmy7xtej.js} +1 -1
- package/dist/chunks/{job-y0j58446.js → file-qp9w0mn5.js} +11 -11
- package/dist/chunks/{job-vgd8tbfn.js → file-qpcnk2ce.js} +52 -52
- package/dist/chunks/{job-kwn7s3xs.js → file-qrdc2j4b.js} +26 -26
- package/dist/chunks/{job-s3287qar.js → file-qryaexwa.js} +33 -33
- package/dist/chunks/{job-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{job-xgte56ee.js → file-r12ptjs8.js} +20 -20
- package/dist/chunks/{job-jf27y05g.js → file-r1m6q3fm.js} +16 -16
- package/dist/chunks/{job-470v6bvq.js → file-r6x8jqph.js} +24 -24
- package/dist/chunks/{job-pe61x464.js → file-r9030hxj.js} +9 -9
- package/dist/chunks/{job-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{job-v8s8zax1.js → file-rq9x2xtg.js} +23 -23
- package/dist/chunks/{job-2hbyh6nn.js → file-rry1cpvn.js} +13 -13
- package/dist/chunks/{job-sbvbgwj3.js → file-rxe92ft5.js} +25 -25
- package/dist/chunks/{job-b5hzpkv8.js → file-s3h59be2.js} +25 -25
- package/dist/chunks/{job-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{job-af0peg3t.js → file-sp0cj90t.js} +21 -21
- package/dist/chunks/{job-d16qd7aj.js → file-svxygcjw.js} +2 -2
- package/dist/chunks/{job-53f31axm.js → file-szbdehq3.js} +29 -29
- package/dist/chunks/{job-nvn8ehym.js → file-szgy4byf.js} +4 -4
- package/dist/chunks/{job-athype10.js → file-t550f9t1.js} +8 -8
- package/dist/chunks/{job-42c662mh.js → file-t6xdqw2p.js} +9 -9
- package/dist/chunks/file-t83d2b0d.js +22 -0
- package/dist/chunks/{job-r7yyze0b.js → file-t8eheybj.js} +33 -33
- package/dist/chunks/{job-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-89znhe33.js → file-tcezcvh9.js} +4 -4
- package/dist/chunks/{job-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{job-z5tggqpm.js → file-tgqjfyja.js} +3 -3
- package/dist/chunks/{job-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{job-2jf2j74m.js → file-tw0jne9w.js} +19 -19
- package/dist/chunks/{job-qbds1c0x.js → file-v32yr9d8.js} +3 -3
- package/dist/chunks/{job-agy1jr6g.js → file-v4cav7rx.js} +32 -32
- package/dist/chunks/{job-fwr4kp6g.js → file-v65drjb8.js} +11 -11
- package/dist/chunks/{job-k9h3bn14.js → file-vczh7xgt.js} +20 -20
- package/dist/chunks/{job-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{job-z75d3rsp.js → file-verq85zk.js} +4 -4
- package/dist/chunks/{job-h3376zec.js → file-vj15hgm9.js} +10 -10
- package/dist/chunks/{job-w63wt874.js → file-vmtte7pc.js} +45 -45
- package/dist/chunks/{job-wbe59x29.js → file-vsctkjm2.js} +11 -11
- package/dist/chunks/{job-g190xswt.js → file-vsp1fds9.js} +21 -21
- package/dist/chunks/{job-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-hwbs7xck.js → file-w727stb0.js} +45 -45
- package/dist/chunks/{job-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{job-r56v5vzb.js → file-wgpg5g3d.js} +18 -18
- package/dist/chunks/{job-4v6fnmv6.js → file-wjtjjmd0.js} +9 -9
- package/dist/chunks/{job-rbr1ba9y.js → file-wpmxaqyc.js} +6 -6
- package/dist/chunks/{job-ejsrqr7m.js → file-wpqth83p.js} +4 -4
- package/dist/chunks/{job-bbqjtvjt.js → file-x060fdep.js} +79 -79
- package/dist/chunks/{job-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-77ry477k.js → file-x9vpcgg3.js} +30 -30
- package/dist/chunks/{job-zecnhp4y.js → file-xv4b1b4q.js} +47 -47
- package/dist/chunks/{job-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-8pccszvy.js → file-y2vrj84a.js} +6 -6
- package/dist/chunks/{job-hezdnza5.js → file-y4x12v72.js} +10 -10
- package/dist/chunks/{job-9rw2238w.js → file-y67y16g8.js} +20 -20
- package/dist/chunks/{job-t2k8w6x7.js → file-y9n3sh8b.js} +8 -8
- package/dist/chunks/{job-mty3s5k3.js → file-ydn3gg3r.js} +10 -10
- package/dist/chunks/{job-1acjjqhc.js → file-yp2x3t23.js} +4 -4
- package/dist/chunks/{job-1fjxzwkh.js → file-yq0x5dd5.js} +27 -27
- package/dist/chunks/{job-rs5tj728.js → file-yqfy31rq.js} +14 -14
- package/dist/chunks/{job-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-hkfg6fzm.js → file-yt0fqk68.js} +5 -5
- package/dist/chunks/{job-7w0m1cr7.js → file-yz3h3ntp.js} +11 -11
- package/dist/chunks/{job-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-2vtsxqdn.js → file-z51k40g3.js} +2 -2
- package/dist/chunks/{job-nsnkpgmw.js → file-z91f3yc5.js} +27 -27
- package/dist/chunks/{job-9f8x733p.js → file-z9qams9d.js} +11 -11
- package/dist/chunks/{job-zmwpq63m.js → file-zbqyvn6w.js} +14 -14
- package/dist/chunks/{job-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-2yhcctmw.js → file-zjsxw8xc.js} +18 -18
- package/dist/chunks/{job-dgvf7yhf.js → file-zpjvc3ac.js} +15 -15
- package/dist/chunks/{job-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-818pfwc9.js → file-zts5fb25.js} +11 -11
- package/dist/chunks/{job-zxq2ej10.js → file-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 +82 -82
- 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 +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 +116 -116
- 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 +84 -84
- package/dist/database/database.js +71 -71
- 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 +75 -75
- 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 +71 -71
- package/dist/file-access.js +96 -96
- 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 +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +5 -5
- 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 +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- 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 +127 -127
- package/dist/location-mutation.js +96 -96
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +98 -98
- 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 +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +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 +1 -1
- 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 +5 -5
- 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 +118 -118
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +78 -78
- package/dist/provider.js +5 -5
- 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 +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +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 +224 -224
- 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 +120 -120
- 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 +72 -72
- package/dist/session/store.js +82 -82
- 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 +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +83 -83
- 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 +118 -118
- 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 +118 -118
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- 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 +108 -108
- package/dist/tool/plugin/websearch.js +106 -106
- 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 +4 -4
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- 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 +80 -80
- 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 +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/job-45th5jwr.js +0 -18
- package/dist/chunks/job-pa9n1am2.js +0 -22
- /package/dist/chunks/{job-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{job-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{job-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service11 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service11.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node14 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service11, node14, exports_update };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-g14zqp48.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID15
|
|
8
|
+
} from "./file-hp075dpy.js";
|
|
9
9
|
import {
|
|
10
10
|
Service78
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-vsctkjm2.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event18
|
|
15
|
+
} from "./file-1j7qs22q.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID10,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-szbdehq3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service59
|
|
22
|
+
} from "./file-fxtthhfd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get2
|
|
25
|
+
} from "./file-9pgc3c9f.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-q043d12m.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID10.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ 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*
|
|
158
|
+
const catalog = yield* Service59;
|
|
159
159
|
const bus = yield* Service78;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -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(ID16.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get2(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(ID16.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(ID15.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(ID15.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID15.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(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.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 !== ID16.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 !== ID16.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: ID16.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID16.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: ID16.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID16.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);
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./file-1r0yq1wn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service69
|
|
11
|
+
} from "./file-jtq2znwy.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service40
|
|
14
|
+
} from "./file-2nv7jv6x.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-aq71ck84.js";
|
|
20
20
|
import {
|
|
21
21
|
Service55
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-epq9ds0r.js";
|
|
23
23
|
import {
|
|
24
24
|
Service41,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-j9n5fxav.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin29,
|
|
42
|
+
name: () => name10,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name10 = "patch";
|
|
89
|
+
var Input10 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin29 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
111
|
+
const environment = yield* Service69;
|
|
112
112
|
const access = yield* Service41;
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
113
|
+
const fileMutation = yield* Service15;
|
|
114
|
+
const formatter = yield* Service40;
|
|
115
|
+
const location = yield* Service72;
|
|
116
116
|
const permission = yield* Service55;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin41 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name10, Input10, Applied2, Output8, toModelContent6, Plugin29, exports_patch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-vsctkjm2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./file-g14zqp48.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID15
|
|
9
|
+
} from "./file-hp075dpy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event18
|
|
12
|
+
} from "./file-1j7qs22q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID10
|
|
15
|
+
} from "./file-szbdehq3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service59
|
|
18
|
+
} from "./file-fxtthhfd.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get3
|
|
21
|
+
} from "./file-d678zc2k.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID16.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
30
|
+
const catalog = yield* Service59;
|
|
31
31
|
const bus = yield* Service78;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get3(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID15.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./file-1r0yq1wn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["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* Service72;
|
|
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"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-yz3h3ntp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node82
|
|
8
|
+
} from "./file-vsctkjm2.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info28,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service79).db;
|
|
55
55
|
const bus = yield* Service78;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info28({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info28({
|
|
80
|
+
id: ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [node83, node82] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID14, OAuth3, Key4, Value2, Event18, Info28, Service74, node78, exports_credential };
|