@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,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info18,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule3
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info18 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info18, exports_permission2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service36,
|
|
3
|
+
node39
|
|
4
|
+
} from "./app-vnmmwy3f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service29,
|
|
20
|
+
node: () => node33
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service36;
|
|
64
|
+
return Service29.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make20({
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node39] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service29, node33, exports_instructions3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9w4afe7t.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make9 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make5 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make9();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make9, VLLMPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-awxny801.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service54,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node56
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID11,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service54 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service54.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node56 = makeLocationNode({ service: Service54, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service54, locationLayer2, node56, exports_aisdk };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-s1yb0y3m.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID6.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-xbteeacz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Event18,
|
|
7
7
|
Service72,
|
|
8
8
|
node75
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-0h1t9hhx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service66,
|
|
12
|
+
node69
|
|
13
|
+
} from "./app-7x0vz439.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./app-n8gzxa90.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-2ccvkpx1.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-6kgcptny.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-jnq4k1mk.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service67,
|
|
36
|
+
Event14,
|
|
37
|
+
node70
|
|
38
|
+
} from "./app-ex5k5847.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./app-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service65,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer24,
|
|
53
|
+
node: () => node68,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service65 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service66;
|
|
98
98
|
const bus = yield* Service84;
|
|
99
99
|
const credentials = yield* Service72;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service67;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore" };
|
|
@@ -163,7 +163,7 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
163
163
|
});
|
|
164
164
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
165
165
|
return [
|
|
166
|
-
...yield* Effect.forEach(
|
|
166
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
167
167
|
new Directory({ type: "directory", path: directory })
|
|
168
168
|
];
|
|
169
169
|
});
|
|
@@ -217,8 +217,8 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
217
217
|
}, (effect) => reloadLock.withPermit(effect));
|
|
218
218
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
219
219
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
yield* bus.subscribe(
|
|
221
|
-
yield* bus.subscribe(
|
|
220
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
221
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
222
222
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
223
223
|
if (!wellknown.snapshot().length)
|
|
224
224
|
return Effect.void;
|
|
@@ -231,7 +231,7 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
231
231
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
232
232
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
233
233
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
234
|
-
const candidates =
|
|
234
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
235
235
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
236
236
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
237
237
|
`;
|
|
@@ -246,7 +246,7 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
246
246
|
`);
|
|
247
247
|
yield* requestReload;
|
|
248
248
|
}, (effect) => updateLock.withPermit(effect));
|
|
249
|
-
return
|
|
249
|
+
return Service65.of({
|
|
250
250
|
entries: Effect.fnUntraced(function* () {
|
|
251
251
|
return configs;
|
|
252
252
|
}),
|
|
@@ -258,13 +258,13 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
258
258
|
update
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
function
|
|
261
|
+
function configured8(options) {
|
|
262
262
|
return makeLocationNode({
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
263
|
+
service: Service65,
|
|
264
|
+
layer: layer24(options),
|
|
265
|
+
deps: [node69, node88, FSUtil.node, Global.node, node84, node75, node70]
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
var
|
|
268
|
+
var node68 = configured8();
|
|
269
269
|
|
|
270
|
-
export { latest2,
|
|
270
|
+
export { latest2, Options7, Service65, Test2, testLayer2, layer24, configured8, node68, exports_config };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Service71
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-rdzyy7xj.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID12.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./app-2n22hbhk.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./app-967benbv.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-y5xf72q8.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./app-m6y0zvmj.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin23
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin23 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service65;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin48 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin23, exports_agent };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./app-m6y0zvmj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./app-fmcqyzhx.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
|
+
const image = yield* Service83;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin35 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin31, exports_image };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service73
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-0274hr8t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./app-8ffn8j2f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -54,12 +54,12 @@ var Plugin50 = {
|
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
56
|
const forms = yield* Service73;
|
|
57
|
-
const permission = yield*
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|