@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
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-dttpjcwk.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service68,
|
|
17
|
+
node: () => node71
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service68 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service85).db;
|
|
26
|
-
return
|
|
26
|
+
return Service68.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node89] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service68, node71, exports_kv };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-dttpjcwk.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info12,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service59,
|
|
21
|
+
node: () => node62
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info12 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service59 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service59.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node62 = makeGlobalNode({ service: Service59, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info12, ListInput4, AddInput2, Service59, node62, exports_saved };
|
|
@@ -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
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service48,
|
|
17
|
+
node50
|
|
18
|
+
} from "./app-jq0h21b4.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event6,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service36,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node39
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event6 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service36 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service84;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service48;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service36.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node39 = makeLocationNode({
|
|
116
|
+
service: Service36,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node88,
|
|
118
|
+
deps: [Global.node, node88, node50]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service36, node39, exports_reference2, Event6 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions2 = {};
|
|
18
|
+
__export(exports_instructions2, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
20
20
|
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
@@ -109,11 +109,11 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
@@ -125,4 +125,4 @@ var make14 = (inventory) => {
|
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2, update3, make14,
|
|
128
|
+
export { render2, update3, make14, exports_instructions2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-xbteeacz.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-mxvxcxwy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./app-0h1t9hhx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID12
|
|
12
|
+
} from "./app-rdzyy7xj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
ID11,
|
|
15
15
|
Service70
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-awxny801.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./app-z0bx6qnm.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-agxmfjyz.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service85,
|
|
12
12
|
node89
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-dttpjcwk.js";
|
|
14
14
|
import {
|
|
15
15
|
Service84,
|
|
16
16
|
node88
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-xbteeacz.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-rj3eygr5.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-sa8ekw3f.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-1n3m9rgy.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-n8gzxa90.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service55,
|
|
33
|
+
node58
|
|
34
|
+
} from "./app-8fe5btdt.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./app-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service20
|
|
41
|
+
} from "./app-kf81pv8e.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./app-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
52
|
+
Event: () => Event4,
|
|
53
53
|
Info: () => Info4,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service19,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node22
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event4 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service19 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service85;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service84;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service55;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service20).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service19.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node22 = Node.makeGlobalNode({
|
|
260
|
+
service: Service19,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node88, node89, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node88, node89, AppProcess.node, node58]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service19, node22, exports_worktree2, OperationError2 };
|
|
@@ -2,20 +2,20 @@ 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
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./app-drksenfd.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service9,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node11,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service78;
|
|
335
|
+
return Service9.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [node81] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node11, exports_read_filesystem };
|