@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./app-agxmfjyz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./app-n8gzxa90.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service32,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service32 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service32.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node35 = makeLocationNode({
|
|
153
|
+
service: Service32,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service32, Service32.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error2({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID5, Error2, Service32, node35, noopLayer2, exports_snapshot2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service80,
|
|
18
|
+
node84
|
|
19
|
+
} from "./app-n8gzxa90.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service79,
|
|
22
|
+
node82
|
|
23
|
+
} from "./app-c2sezbny.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service78,
|
|
33
|
+
node: () => node81
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service78,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node81,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service78 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
|
+
const workspace = yield* Service79;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service78.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node81 = makeLocationNode({
|
|
71
|
+
service: Service78,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node82]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service78, node81, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service84,
|
|
4
4
|
node88
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-xbteeacz.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options3,
|
|
30
|
+
Service: () => Service43,
|
|
31
|
+
configured: () => configured3,
|
|
32
|
+
layer: () => layer17,
|
|
33
|
+
node: () => node45
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options3 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service84;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service43.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured3(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service43,
|
|
110
|
+
layer: layer17(options),
|
|
111
111
|
deps: [node88]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node45 = configured3();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event8, Options3, Service43, layer17, configured3, node45, exports_instruction_discovery };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node57
|
|
5
|
+
} from "./app-ccbzs5ke.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-4z58m4b4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node77
|
|
13
|
+
} from "./app-8ank75fn.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-8ffn8j2f.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-mwwt3j53.js";
|
|
20
20
|
import {
|
|
21
21
|
Error3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-byvmm8xf.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service28,
|
|
28
|
+
node32
|
|
29
|
+
} from "./app-fry405sg.js";
|
|
30
30
|
import {
|
|
31
31
|
make15
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./app-gd0tnyjc.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./app-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service27,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer10,
|
|
48
|
+
node: () => node31,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
class
|
|
158
|
+
class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
159
159
|
}
|
|
160
|
-
var
|
|
161
|
-
const hooks = yield*
|
|
162
|
-
const transport = yield*
|
|
160
|
+
var layer10 = Layer.effect(Service27, Effect.gen(function* () {
|
|
161
|
+
const hooks = yield* Service74;
|
|
162
|
+
const transport = yield* Service28;
|
|
163
163
|
const app = yield* Metadata2;
|
|
164
164
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
165
165
|
const session = input.session;
|
|
@@ -264,17 +264,17 @@ var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service27.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node31 = makeLocationNode({
|
|
275
|
+
service: Service27,
|
|
276
|
+
layer: layer10,
|
|
277
|
+
deps: [node77, node32, node57]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer10, node31, exports_model_request };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./app-awxny801.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID11.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID11.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID11.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./app-t89z56g6.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service77,
|
|
24
|
+
node: () => node80
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service77 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service78;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service77.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node80 = makeLocationNode({ service: Service77, layer, deps: [node81, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service77, node80, exports_ripgrep };
|