@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,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info22,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info22 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info22, Status3, key2, exports_connection };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-dttpjcwk.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service84,
|
|
8
8
|
node88
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-xbteeacz.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-h7s7r6s9.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-rj3eygr5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-c1fqxshp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-pe1d7mzy.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./app-d3y6n0b6.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./app-3v6e4e7t.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./app-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./app-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node27
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node27 = makeGlobalNode({ name: "session-projector", layer, deps: [node88, node89] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node27, exports_projector };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./app-n8gzxa90.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service14 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service14.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service14,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service14, node16, exports_formatter2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./app-1n3m9rgy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service80,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node84,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service80 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node84 = LayerNode.unbound(Service80, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service81;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service80.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service80,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node85]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info27, Ref4, response2,
|
|
43
|
+
export { Info27, Ref4, response2, Service80, node84, boundNode2, exports_location };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./app-agxmfjyz.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service82;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-hcy8yy3p.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-48kw51zw.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-63ctvwnc.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-d3y6n0b6.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-4z58m4b4.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-dttpjcwk.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service84,
|
|
10
10
|
node88
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-xbteeacz.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-48kw51zw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-c1fqxshp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info8,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service40,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node42,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info8,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service40 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service85;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service84;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info8.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer16 = Layer.effect(Service40, make16());
|
|
231
|
+
var node42 = makeGlobalNode({ service: Service40, layer: layer16, deps: [node89, node88] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service40, make16, layer16, node42, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./app-awxny801.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./app-n8gzxa90.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service78
|
|
12
|
+
} from "./app-t89z56g6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service77
|
|
15
|
+
} from "./app-v3f8fc8n.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-drksenfd.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service57
|
|
24
|
+
} from "./app-8ffn8j2f.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service56
|
|
27
|
+
} from "./app-7zmnq52c.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input12,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin15,
|
|
39
|
+
name: () => name12,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name12 = "glob";
|
|
46
|
+
var Input12 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin15 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service78;
|
|
70
|
+
const ripgrep = yield* Service77;
|
|
71
|
+
const location = yield* Service80;
|
|
72
|
+
const access = yield* Service56;
|
|
73
|
+
const permission = yield* Service57;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin24 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name12, Input12, Output8, toModelContent6, Plugin15, exports_glob };
|