@opencode/core 0.0.0-dev-20865 → 0.0.0-dev-20869
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{models-dev-xsrwpwr1.js → app-0274hr8t.js} +22 -22
- package/dist/chunks/{models-dev-njr6j307.js → app-05e2b5zz.js} +3 -3
- package/dist/chunks/{models-dev-ckf8nxjz.js → app-06x8he3q.js} +4 -4
- package/dist/chunks/{models-dev-5dn4fjfa.js → app-0cwwqbbc.js} +13 -13
- package/dist/chunks/{models-dev-az0s1ab0.js → app-0h1t9hhx.js} +24 -24
- package/dist/chunks/{models-dev-q0xm7vwc.js → app-0j77ygfz.js} +6 -6
- package/dist/chunks/{models-dev-5rb28c55.js → app-0psha3gp.js} +14 -14
- package/dist/chunks/{models-dev-0vbcp93d.js → app-0vbcp93d.js} +2 -2
- package/dist/chunks/{models-dev-ts9abvhb.js → app-11zcdp55.js} +30 -30
- package/dist/chunks/{models-dev-cfdgyghc.js → app-126ak2wx.js} +22 -22
- package/dist/chunks/{models-dev-0ef4xx30.js → app-19yveewj.js} +9 -9
- package/dist/chunks/{models-dev-yp2x3t23.js → app-1acjjqhc.js} +4 -4
- package/dist/chunks/{models-dev-zyq7fnpt.js → app-1csqsn22.js} +15 -13
- package/dist/chunks/{models-dev-8jwn2r34.js → app-1n3m9rgy.js} +22 -22
- package/dist/chunks/{models-dev-7j2crns3.js → app-22bc55e1.js} +11 -11
- package/dist/chunks/{models-dev-xfmbje2f.js → app-266brs4d.js} +4 -4
- package/dist/chunks/{models-dev-4ts7tf6z.js → app-2ccvkpx1.js} +2 -2
- package/dist/chunks/{models-dev-qa0fzn5w.js → app-2cg1s41s.js} +47 -47
- package/dist/chunks/{models-dev-bky1yqwv.js → app-2n22hbhk.js} +24 -24
- package/dist/chunks/{models-dev-0c77cqtw.js → app-2qtbaqat.js} +9 -9
- package/dist/chunks/{models-dev-gjwgx2c5.js → app-2sejkfem.js} +9 -9
- package/dist/chunks/{models-dev-2vvh33eb.js → app-2vvh33eb.js} +2 -2
- package/dist/chunks/{models-dev-3kdapj6e.js → app-39hpvgmm.js} +3 -3
- package/dist/chunks/{models-dev-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{models-dev-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-3hwn7j4h.js → app-3hwn7j4h.js} +2 -2
- package/dist/chunks/{models-dev-f2wtk041.js → app-3nsqmd1a.js} +53 -53
- package/dist/chunks/{models-dev-hakjpm15.js → app-3rzxewf5.js} +14 -14
- package/dist/chunks/{models-dev-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{models-dev-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{models-dev-qbqawk7j.js → app-3v6e4e7t.js} +17 -17
- package/dist/chunks/{models-dev-v1aj2m8y.js → app-3znbxrpv.js} +8 -8
- package/dist/chunks/{models-dev-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{models-dev-sqp85fkz.js → app-40pp8vcy.js} +41 -41
- package/dist/chunks/{models-dev-g74jm693.js → app-40w0xx72.js} +8 -8
- package/dist/chunks/{models-dev-dk2prtcf.js → app-42x0fzkc.js} +4 -4
- package/dist/chunks/{models-dev-rx0anvt2.js → app-43w88rtf.js} +24 -24
- package/dist/chunks/{models-dev-b250jdey.js → app-49e6sacj.js} +15 -15
- package/dist/chunks/{models-dev-zmzf6gpz.js → app-4a82xx0b.js} +11 -11
- package/dist/chunks/{models-dev-kbrj9m31.js → app-4hbe72yg.js} +25 -25
- package/dist/chunks/{models-dev-76qnrnma.js → app-4j7c152f.js} +6 -6
- package/dist/chunks/{models-dev-41ha1pse.js → app-4r2daqkg.js} +18 -18
- package/dist/chunks/{models-dev-8krkc3yk.js → app-4sc2w5gh.js} +3 -3
- package/dist/chunks/{models-dev-gw7cjrad.js → app-4z58m4b4.js} +4 -4
- package/dist/chunks/{models-dev-3h8e7zd4.js → app-5063kx6z.js} +19 -19
- package/dist/chunks/{models-dev-54ma36ye.js → app-54ma36ye.js} +1 -1
- package/dist/chunks/{models-dev-3pe8x8yc.js → app-55m7546p.js} +34 -34
- package/dist/chunks/{models-dev-1pxz8ven.js → app-57myy5jh.js} +5 -5
- package/dist/chunks/{models-dev-ab4qm1k1.js → app-5gx2dqw2.js} +27 -27
- package/dist/chunks/{models-dev-56zrnamb.js → app-5jasy4zy.js} +9 -9
- package/dist/chunks/{models-dev-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{models-dev-ktzky0j0.js → app-5mybcs4y.js} +9 -9
- package/dist/chunks/{models-dev-vd2q3was.js → app-5pb7hz8n.js} +23 -23
- package/dist/chunks/{models-dev-f1f91z08.js → app-5pg768wk.js} +20 -20
- package/dist/chunks/{models-dev-nma959mg.js → app-5rzwp8tz.js} +3 -3
- package/dist/chunks/{models-dev-nk6ny5be.js → app-5y92amgg.js} +9 -9
- package/dist/chunks/{models-dev-fg3tm49t.js → app-62ryt339.js} +29 -29
- package/dist/chunks/{models-dev-twwzjqdf.js → app-63ctvwnc.js} +9 -9
- package/dist/chunks/{models-dev-pj8gj9vn.js → app-63rtzcv5.js} +13 -13
- package/dist/chunks/{models-dev-38qn8yeh.js → app-63wnj9j6.js} +24 -24
- package/dist/chunks/{models-dev-1zran81s.js → app-645432n5.js} +40 -40
- package/dist/chunks/{models-dev-s0wmvqbr.js → app-654srqjb.js} +26 -26
- package/dist/chunks/{models-dev-gvmpqvya.js → app-68ewgcbh.js} +14 -14
- package/dist/chunks/{models-dev-6631xwdh.js → app-6b3pt9n1.js} +20 -20
- package/dist/chunks/{models-dev-fxjftaq6.js → app-6hn9w2zf.js} +13 -13
- package/dist/chunks/{models-dev-tzza62aq.js → app-6kgcptny.js} +18 -18
- package/dist/chunks/{models-dev-4c9nws0q.js → app-6mtgj6n4.js} +45 -45
- package/dist/chunks/{models-dev-3rf335s5.js → app-6st13dsz.js} +43 -43
- package/dist/chunks/{models-dev-6xb47vfp.js → app-6xb47vfp.js} +1 -1
- package/dist/chunks/{models-dev-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-2k8khapm.js → app-7dqw4kz8.js} +5 -5
- package/dist/chunks/{models-dev-0xb1ev3y.js → app-7g1f461v.js} +16 -16
- package/dist/chunks/{models-dev-n0dhg24y.js → app-7gkhcjt3.js} +5 -5
- package/dist/chunks/{models-dev-yvvvp4gn.js → app-7s2tn799.js} +8 -8
- package/dist/chunks/{models-dev-xjg855ze.js → app-7x0vz439.js} +24 -24
- package/dist/chunks/{models-dev-rc1kv93m.js → app-7y0epqa2.js} +13 -13
- package/dist/chunks/{models-dev-3711sgqg.js → app-7zmnq52c.js} +18 -18
- package/dist/chunks/{models-dev-3gkd5a8g.js → app-80n2q3k2.js} +11 -11
- package/dist/chunks/{models-dev-db8bgabc.js → app-813reag3.js} +16 -16
- package/dist/chunks/{models-dev-fdms3n6w.js → app-82rhge12.js} +9 -9
- package/dist/chunks/{models-dev-84txncab.js → app-84txncab.js} +1 -1
- package/dist/chunks/{models-dev-tcezcvh9.js → app-89znhe33.js} +4 -4
- package/dist/chunks/{models-dev-a2qe2ev9.js → app-8ank75fn.js} +8 -8
- package/dist/chunks/{models-dev-6m68mxhc.js → app-8fe5btdt.js} +9 -9
- package/dist/chunks/{models-dev-1zzep20k.js → app-8ffn8j2f.js} +59 -59
- package/dist/chunks/{models-dev-3zkyqq39.js → app-8h6tmd6x.js} +32 -32
- package/dist/chunks/{models-dev-hpf1ew30.js → app-8ket6zmy.js} +30 -30
- package/dist/chunks/{models-dev-8m6m0r52.js → app-8m6m0r52.js} +1 -1
- package/dist/chunks/{models-dev-3tt1qkhr.js → app-8ryk0bb9.js} +5 -5
- package/dist/chunks/{models-dev-8sze2n9a.js → app-8sze2n9a.js} +2 -2
- package/dist/chunks/{models-dev-w8yyf988.js → app-8tbbejhz.js} +67 -67
- package/dist/chunks/{models-dev-eahhehpg.js → app-8tsdq50x.js} +4 -4
- package/dist/chunks/{models-dev-j09zfasm.js → app-91qna3x0.js} +3 -3
- package/dist/chunks/{models-dev-27jjh9qb.js → app-92y9xj1k.js} +8 -8
- package/dist/chunks/{models-dev-fan8xm03.js → app-967benbv.js} +11 -11
- package/dist/chunks/{models-dev-xfbgawb1.js → app-9k4a3bw7.js} +2 -2
- package/dist/chunks/{models-dev-b9tgwt06.js → app-9s8t2v1x.js} +28 -28
- package/dist/chunks/{models-dev-xcqtwf8k.js → app-9w4afe7t.js} +14 -14
- package/dist/chunks/{models-dev-rj9375zf.js → app-a4mvceq8.js} +39 -39
- package/dist/chunks/{models-dev-p0acjafb.js → app-aakd6xvv.js} +19 -19
- package/dist/chunks/{models-dev-6nndasc1.js → app-aen32wra.js} +16 -16
- package/dist/chunks/{models-dev-svcw9x3w.js → app-agxmfjyz.js} +12 -12
- package/dist/chunks/app-ah9hg7x6.js +26 -0
- package/dist/chunks/{models-dev-1kzng4v9.js → app-awxny801.js} +24 -24
- package/dist/chunks/{models-dev-9j9hzet3.js → app-aydw6pj6.js} +18 -18
- package/dist/chunks/{models-dev-fqb2p7cx.js → app-b27vhd2z.js} +4 -4
- package/dist/chunks/{models-dev-4vs05w9v.js → app-b7158qe7.js} +84 -84
- package/dist/chunks/{models-dev-wbta6961.js → app-bfwe4mek.js} +10 -10
- package/dist/chunks/{models-dev-5jebg124.js → app-bn0cwgt9.js} +4 -4
- package/dist/chunks/{models-dev-1xbam7mh.js → app-bvbe45be.js} +24 -24
- package/dist/chunks/{models-dev-2fah77kf.js → app-byvmm8xf.js} +24 -24
- package/dist/chunks/{models-dev-es1vcfrp.js → app-c1fqxshp.js} +3 -3
- package/dist/chunks/{models-dev-ke4s2br1.js → app-c1wxnnkw.js} +25 -25
- package/dist/chunks/{models-dev-5fxerghj.js → app-c2sezbny.js} +26 -26
- package/dist/chunks/{models-dev-3svptyzd.js → app-c6w70q5q.js} +9 -9
- package/dist/chunks/{models-dev-yjqf8yma.js → app-ca8ch1kx.js} +25 -25
- package/dist/chunks/{models-dev-rek66y3z.js → app-ccbzs5ke.js} +8 -8
- package/dist/chunks/{models-dev-p37cw4rj.js → app-cmwkp3r5.js} +8 -8
- package/dist/chunks/{models-dev-nex57z9h.js → app-cmywtj0r.js} +30 -30
- package/dist/chunks/{models-dev-gaagjm2t.js → app-cw1b37ck.js} +9 -9
- package/dist/chunks/{models-dev-qm5jr2ty.js → app-d0n9y4ak.js} +13 -13
- package/dist/chunks/{models-dev-c6bnrspk.js → app-d3y6n0b6.js} +4 -4
- package/dist/chunks/{models-dev-09dj6j0c.js → app-dbt2w9wc.js} +32 -32
- package/dist/chunks/{models-dev-w2ad8e9p.js → app-dkam6wfd.js} +25 -25
- package/dist/chunks/{models-dev-h0q4qrbw.js → app-drksenfd.js} +34 -34
- package/dist/chunks/{models-dev-6f60r94z.js → app-dttpjcwk.js} +3 -3
- package/dist/chunks/{models-dev-g8ytx0e6.js → app-dx0ahrbs.js} +11 -11
- package/dist/chunks/app-dxj72tfx.js +18 -0
- package/dist/chunks/{models-dev-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
- package/dist/chunks/{models-dev-98str5rv.js → app-e85fmvyr.js} +1 -1
- package/dist/chunks/{models-dev-eej6y6fw.js → app-eej6y6fw.js} +2 -2
- package/dist/chunks/{models-dev-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{models-dev-8e54dvz2.js → app-ehpc8g6x.js} +16 -16
- package/dist/chunks/{models-dev-3066s64a.js → app-ew9hd8vc.js} +10 -10
- package/dist/chunks/{models-dev-r9bvg2me.js → app-ex5k5847.js} +20 -20
- package/dist/chunks/{models-dev-w6082x2g.js → app-f32z929x.js} +50 -50
- package/dist/chunks/{models-dev-g0ma4c6w.js → app-f7qp41vh.js} +23 -23
- package/dist/chunks/{models-dev-m1pp26ww.js → app-fgy1h6a8.js} +15 -15
- package/dist/chunks/{models-dev-hgbphaw8.js → app-fk66q6s2.js} +32 -32
- package/dist/chunks/{models-dev-k7myrtme.js → app-fmcqyzhx.js} +9 -9
- package/dist/chunks/{models-dev-cm1qnfez.js → app-fry405sg.js} +11 -11
- package/dist/chunks/{models-dev-v4r7zn86.js → app-fw93gc87.js} +18 -18
- package/dist/chunks/{models-dev-wh5jxp3t.js → app-fxy8vhnv.js} +17 -17
- package/dist/chunks/{models-dev-82148vs9.js → app-g1y8dykg.js} +7 -7
- package/dist/chunks/{models-dev-ra67jj04.js → app-g686f6pq.js} +9 -9
- package/dist/chunks/{models-dev-7zt5x37y.js → app-gd0tnyjc.js} +1 -1
- package/dist/chunks/{models-dev-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{models-dev-awppbkr6.js → app-ggh5vxa4.js} +19 -19
- package/dist/chunks/{models-dev-fdkb9ec3.js → app-gn06jdvv.js} +27 -27
- package/dist/chunks/{models-dev-y9s9xvs6.js → app-h0vknvkg.js} +8 -8
- package/dist/chunks/{models-dev-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{models-dev-h7s7r6s9.js → app-h7s7r6s9.js} +2 -2
- package/dist/chunks/{models-dev-9p0xfm4a.js → app-hcy8yy3p.js} +22 -22
- package/dist/chunks/{models-dev-hgz4x7wa.js → app-hgz4x7wa.js} +1 -1
- package/dist/chunks/{models-dev-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{models-dev-4v7ngy20.js → app-j8m1p4p1.js} +4 -4
- package/dist/chunks/{models-dev-ky2vbgv2.js → app-jbgsxe89.js} +13 -13
- package/dist/chunks/{models-dev-20y73wgn.js → app-jjns9wqe.js} +83 -83
- package/dist/chunks/{models-dev-fbwp6pwa.js → app-jk5m7wtj.js} +4 -4
- package/dist/chunks/{models-dev-977z57ma.js → app-jnq4k1mk.js} +10 -10
- package/dist/chunks/{models-dev-w0k2ty99.js → app-jp84zbjv.js} +4 -4
- package/dist/chunks/{models-dev-tdr9jbt8.js → app-jq0h21b4.js} +20 -20
- package/dist/chunks/{models-dev-n59g9vmt.js → app-jsfacqh7.js} +15 -15
- package/dist/chunks/{models-dev-z0mn02tj.js → app-jvradgpg.js} +19 -19
- package/dist/chunks/{models-dev-d9jtx293.js → app-jwv7ab79.js} +6 -6
- package/dist/chunks/{models-dev-ajxsk1x2.js → app-k0w1apbg.js} +5 -5
- package/dist/chunks/{models-dev-62wenpza.js → app-k2ce0czk.js} +10 -10
- package/dist/chunks/{models-dev-rqd2zw5t.js → app-k3ryqzxm.js} +15 -15
- package/dist/chunks/{models-dev-h4k3px47.js → app-k6d78qqe.js} +9 -9
- package/dist/chunks/{models-dev-wwzpy5az.js → app-k91gc0jy.js} +27 -27
- package/dist/chunks/{models-dev-m8yn9wqd.js → app-kf81pv8e.js} +19 -19
- package/dist/chunks/{models-dev-hq3c8me3.js → app-khmqacep.js} +4 -4
- package/dist/chunks/{models-dev-bmr56wjg.js → app-kqv3x6rj.js} +9 -9
- package/dist/chunks/{models-dev-8a2c1kbr.js → app-kr262pew.js} +20 -20
- package/dist/chunks/{models-dev-bty79xpe.js → app-kva3jtqv.js} +4 -4
- package/dist/chunks/{models-dev-pxgkna3x.js → app-kxm6gfc0.js} +11 -11
- package/dist/chunks/{models-dev-ce0wjd2x.js → app-kxscsbxh.js} +6 -6
- package/dist/chunks/{models-dev-7mjqmdtc.js → app-m6y0zvmj.js} +43 -43
- package/dist/chunks/{models-dev-k6n6e38h.js → app-m9df4mwj.js} +1 -1
- package/dist/chunks/{models-dev-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-6nvb4mge.js → app-map07x52.js} +3 -3
- package/dist/chunks/{models-dev-maspj1v3.js → app-maspj1v3.js} +1 -1
- package/dist/chunks/{models-dev-t77ee9tw.js → app-mcgqzvd9.js} +20 -20
- package/dist/chunks/{models-dev-b41xg0sk.js → app-mk5csem8.js} +11 -11
- package/dist/chunks/{models-dev-n8brk52a.js → app-mwwt3j53.js} +12 -12
- package/dist/chunks/{models-dev-zw2hpfmh.js → app-mxvxcxwy.js} +4 -4
- package/dist/chunks/{models-dev-9n90zg10.js → app-n14sntt5.js} +16 -16
- package/dist/chunks/{models-dev-9v3ssj07.js → app-n4k3ngcx.js} +15 -15
- package/dist/chunks/{models-dev-hzphjpmd.js → app-n8gzxa90.js} +14 -14
- package/dist/chunks/{models-dev-pck7vvdx.js → app-nmbenmzd.js} +5 -5
- package/dist/chunks/{models-dev-93m7ndqx.js → app-nse7bvmp.js} +4 -4
- package/dist/chunks/{models-dev-38ae7j5t.js → app-p5habw4k.js} +11 -11
- package/dist/chunks/{models-dev-4297re2w.js → app-pe1d7mzy.js} +24 -24
- package/dist/chunks/{models-dev-ts5gehh4.js → app-pgp3z5ww.js} +5 -5
- package/dist/chunks/{models-dev-0cwy3bsm.js → app-pj70c9t1.js} +35 -35
- package/dist/chunks/{models-dev-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{models-dev-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-z1bdek5p.js → app-pp7vqexr.js} +11 -11
- package/dist/chunks/{models-dev-7z5rppbg.js → app-ptcv67a8.js} +21 -21
- package/dist/chunks/{models-dev-3qsb6rdp.js → app-pvnbzk4g.js} +11 -11
- package/dist/chunks/{models-dev-y4n4c0dd.js → app-q6etbxd8.js} +32 -32
- package/dist/chunks/{models-dev-dwbvz6j3.js → app-qekfhsw8.js} +321 -321
- package/dist/chunks/{models-dev-qnc92qwc.js → app-qnc92qwc.js} +1 -1
- package/dist/chunks/{models-dev-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{models-dev-gbmjry2n.js → app-qvy8pk9k.js} +8 -8
- package/dist/chunks/{models-dev-jcnpjjtr.js → app-r6cdn25y.js} +37 -37
- package/dist/chunks/{models-dev-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{models-dev-bvnvcshr.js → app-rdzyy7xj.js} +19 -19
- package/dist/chunks/{models-dev-tkb22qbm.js → app-rert0e01.js} +2 -2
- package/dist/chunks/{models-dev-eaj1djv9.js → app-rhjbct0v.js} +8 -8
- package/dist/chunks/{models-dev-c41wscbt.js → app-rj3eygr5.js} +2 -2
- package/dist/chunks/{models-dev-rqa1jxse.js → app-rqa1jxse.js} +2 -2
- package/dist/chunks/{models-dev-z9b11dw0.js → app-rwqjqqt5.js} +5 -5
- package/dist/chunks/{models-dev-k6ysx7ta.js → app-s1yb0y3m.js} +24 -24
- package/dist/chunks/{models-dev-rg0zttgc.js → app-s5nxcym9.js} +4 -4
- package/dist/chunks/{models-dev-c8ax2afj.js → app-sa8ekw3f.js} +2 -2
- package/dist/chunks/{models-dev-nasydrcy.js → app-scw5nn1f.js} +11 -11
- package/dist/chunks/{models-dev-wg0er8g6.js → app-sh464p2a.js} +13 -13
- package/dist/chunks/{models-dev-acd4vkpt.js → app-sxzvkvgj.js} +6 -6
- package/dist/chunks/{models-dev-syv4x271.js → app-syv4x271.js} +1 -1
- package/dist/chunks/{models-dev-cedw1as4.js → app-t7tdbr53.js} +32 -32
- package/dist/chunks/{models-dev-e8tkc3qk.js → app-t89z56g6.js} +24 -24
- package/dist/chunks/{models-dev-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{models-dev-50jefmw0.js → app-tce9zrn2.js} +26 -26
- package/dist/chunks/{models-dev-5cr9rfmm.js → app-tch7tvez.js} +29 -29
- package/dist/chunks/{models-dev-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{models-dev-tm0kqsz3.js → app-tm0kqsz3.js} +1 -1
- package/dist/chunks/{models-dev-q3986erm.js → app-tmgwhk11.js} +5 -5
- package/dist/chunks/{models-dev-bggdt6jp.js → app-tvx3ze46.js} +7 -7
- package/dist/chunks/{models-dev-tyytaxap.js → app-tyytaxap.js} +1 -1
- package/dist/chunks/{models-dev-v0es1rhs.js → app-v0es1rhs.js} +2 -2
- package/dist/chunks/{models-dev-3af8jha9.js → app-v3f8fc8n.js} +18 -18
- package/dist/chunks/{models-dev-v7p4zvkq.js → app-v7p4zvkq.js} +2 -2
- package/dist/chunks/{models-dev-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{models-dev-v05n4cdg.js → app-vg5cwhw4.js} +10 -10
- package/dist/chunks/{models-dev-ednkbcah.js → app-vngf8d3m.js} +15 -15
- package/dist/chunks/{models-dev-w0dkdy3z.js → app-vnmmwy3f.js} +24 -24
- package/dist/chunks/{models-dev-1813d5zh.js → app-vtt0yr3x.js} +11 -11
- package/dist/chunks/{models-dev-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{models-dev-02vpj3qc.js → app-w3k8bph0.js} +15 -15
- package/dist/chunks/{models-dev-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-pw0wjf5b.js → app-wavet3za.js} +30 -30
- package/dist/chunks/{models-dev-gm86nbja.js → app-wb904358.js} +17 -17
- package/dist/chunks/{models-dev-3xh5mtw1.js → app-wd4kg7y4.js} +20 -19
- package/dist/chunks/{models-dev-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-zpywvqex.js → app-we8yz6k6.js} +13 -13
- package/dist/chunks/{models-dev-q3jzg8ra.js → app-wh06bkxb.js} +171 -171
- package/dist/chunks/{models-dev-0sakkys5.js → app-wh6pa4pr.js} +9 -9
- package/dist/chunks/{models-dev-bw78ga2c.js → app-wjj7prxr.js} +9 -0
- package/dist/chunks/{models-dev-bmzae5ya.js → app-wnqd2x0z.js} +22 -22
- package/dist/chunks/{models-dev-9c6cajnv.js → app-wzwc2bjk.js} +14 -14
- package/dist/chunks/{models-dev-w2zfgxdh.js → app-x3ge2z6w.js} +5 -5
- package/dist/chunks/{models-dev-27k0aesg.js → app-x9h7wam8.js} +33 -33
- package/dist/chunks/{models-dev-hpa38nzs.js → app-xbteeacz.js} +4 -4
- package/dist/chunks/{models-dev-xfkkasph.js → app-xfkkasph.js} +1 -1
- package/dist/chunks/{models-dev-mjx5rav7.js → app-xgwyrrdn.js} +42 -42
- package/dist/chunks/{models-dev-mbqxj1ec.js → app-xr7qpqw1.js} +3 -3
- package/dist/chunks/{models-dev-18ged8s4.js → app-xrz9xsm0.js} +5 -5
- package/dist/chunks/app-xz435p25.js +253 -0
- package/dist/chunks/{models-dev-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{models-dev-6893qs62.js → app-y5xf72q8.js} +4 -4
- package/dist/chunks/{models-dev-91ywsamh.js → app-y62vgzb6.js} +21 -21
- package/dist/chunks/{models-dev-k64wxf8y.js → app-y6pqxfrx.js} +3 -3
- package/dist/chunks/{models-dev-y71avatq.js → app-y71avatq.js} +1 -1
- package/dist/chunks/{models-dev-jk72hbrr.js → app-ycwc8r1q.js} +19 -19
- package/dist/chunks/{models-dev-r7nsrefv.js → app-ydgy0jv4.js} +6 -6
- package/dist/chunks/{models-dev-v1rcz1aj.js → app-yp6wf8a8.js} +36 -36
- package/dist/chunks/{models-dev-bjx1sjef.js → app-ywt8jp22.js} +9 -9
- package/dist/chunks/{models-dev-8dthkasz.js → app-yy1n54gt.js} +34 -34
- package/dist/chunks/{models-dev-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{models-dev-m92ve9wx.js → app-z0bx6qnm.js} +23 -23
- package/dist/chunks/{models-dev-ym59rfmj.js → app-z51gv6m0.js} +7 -7
- package/dist/chunks/{models-dev-b674v2dg.js → app-z6c3x22d.js} +5 -5
- package/dist/chunks/{models-dev-j0zrtwtb.js → app-zed1drc7.js} +10 -10
- package/dist/chunks/{models-dev-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{models-dev-vqh374jc.js → app-zsve94pq.js} +26 -26
- package/dist/chunks/{models-dev-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{models-dev-b3f8fkhc.js → app-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/model.d.ts +3 -0
- package/dist/types/provider.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/models-dev-3ak9ykqq.js +0 -26
- package/dist/chunks/models-dev-4v7qdvcn.js +0 -18
- package/dist/chunks/models-dev-y4h261y3.js +0 -253
- /package/dist/chunks/{models-dev-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{models-dev-2bv980vf.js → app-2bv980vf.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{models-dev-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-48kw51zw.js → app-48kw51zw.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{models-dev-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{models-dev-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{models-dev-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{models-dev-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jze0r7bz.js → app-jze0r7bz.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-pkyv6v7h.js → app-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{models-dev-pyv0edze.js → app-pyv0edze.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{models-dev-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-mxvxcxwy.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-xbteeacz.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./app-0h1t9hhx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-rdzyy7xj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service70
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-awxny801.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./app-gn06jdvv.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./app-wnqd2x0z.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-ccbzs5ke.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./app-2n22hbhk.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID12.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID11.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID11.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID11.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID11.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-awxny801.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID10,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info19,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-gn06jdvv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID10.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info19.make({
|
|
98
|
+
...Info19.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID10.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./app-m6y0zvmj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin12 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin46, exports_warming };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info15 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info15, exports_provider2 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service80
|
|
14
|
+
} from "./app-n8gzxa90.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-ptcv67a8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin38,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin38 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service80;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin38, exports_git };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-xbteeacz.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-hcy8yy3p.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
NotFoundError: () => NotFoundError4,
|
|
20
|
-
Options: () =>
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service50,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured5,
|
|
26
|
+
layer: () => layer20,
|
|
27
|
+
node: () => node52
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,13 +35,13 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options5 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
@@ -51,9 +51,9 @@ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service50 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service50.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer20 = makeLayer();
|
|
263
|
+
var configured5 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service50,
|
|
265
|
+
layer: options === undefined ? layer20 : makeLayer(options),
|
|
266
266
|
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node52 = configured5();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options5, UnavailableError3, NotFoundError4, Service50, layer20, configured5, node52, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make5,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make5, exports_retry };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
render2,
|
|
3
3
|
update3,
|
|
4
4
|
make14,
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
5
|
+
exports_instructions2
|
|
6
|
+
} from "../chunks/app-vtt0yr3x.js";
|
|
7
|
+
import"../chunks/app-3fc6dm20.js";
|
|
8
|
+
import"../chunks/app-rhjbct0v.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
exports_instructions2 as CodeModeInstructions,
|
|
11
11
|
make14 as make,
|
|
12
12
|
render2 as render,
|
|
13
13
|
update3 as update
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/app-91qna3x0.js";
|
|
6
|
+
import"../chunks/app-syv4x271.js";
|
|
7
|
+
import"../chunks/app-pyv0edze.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|