@opencode/core 0.0.0-dev-19887 → 0.0.0-dev-19894
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{variant-5hrxhm7r.js → location-lifecycle-00b8gsc2.js} +32 -32
- package/dist/chunks/{variant-1hc11dc4.js → location-lifecycle-06dxphr1.js} +4 -4
- package/dist/chunks/{variant-27qaaqv4.js → location-lifecycle-06pedn7m.js} +30 -30
- package/dist/chunks/{variant-9cgekm8q.js → location-lifecycle-08cxtdw8.js} +32 -32
- package/dist/chunks/{variant-a6mn06rp.js → location-lifecycle-0b2jrrme.js} +13 -13
- package/dist/chunks/{variant-vvhhcha4.js → location-lifecycle-0ct2ft9s.js} +23 -23
- package/dist/chunks/{variant-9vw53jv9.js → location-lifecycle-0g5kjbpy.js} +33 -33
- package/dist/chunks/{variant-02nrjc1r.js → location-lifecycle-0gdmqesm.js} +8 -8
- package/dist/chunks/{variant-ekqy63t1.js → location-lifecycle-0gz940bd.js} +9 -9
- package/dist/chunks/{variant-9jzp6rtr.js → location-lifecycle-0jq9fyba.js} +9 -9
- package/dist/chunks/{variant-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-aa6hsmkn.js → location-lifecycle-0pq4d6yy.js} +10 -10
- package/dist/chunks/{variant-0q0f95c6.js → location-lifecycle-0q0f95c6.js} +1 -1
- package/dist/chunks/{variant-mz35w27a.js → location-lifecycle-14a3xf5h.js} +17 -17
- package/dist/chunks/{variant-c73kwvag.js → location-lifecycle-1ah0ee7v.js} +6 -6
- package/dist/chunks/{variant-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-ehrsfzb1.js → location-lifecycle-1e8jm6ep.js} +20 -20
- package/dist/chunks/{variant-cftckq0s.js → location-lifecycle-1krxbagm.js} +36 -36
- package/dist/chunks/{variant-fqwnfb02.js → location-lifecycle-1m851fz5.js} +15 -15
- package/dist/chunks/{variant-pdbczg48.js → location-lifecycle-1mer2z42.js} +17 -17
- package/dist/chunks/{variant-wq301bav.js → location-lifecycle-1tj20jfk.js} +26 -26
- package/dist/chunks/{variant-tgqfcp4w.js → location-lifecycle-1vmxbjpt.js} +6 -6
- package/dist/chunks/{variant-kkavjeyb.js → location-lifecycle-1w0pc04v.js} +15 -15
- package/dist/chunks/{variant-amg8rfa2.js → location-lifecycle-1zsecf4k.js} +11 -11
- package/dist/chunks/{variant-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
- package/dist/chunks/{variant-1kzy0zmf.js → location-lifecycle-21r66r60.js} +32 -32
- package/dist/chunks/{variant-2402vzrj.js → location-lifecycle-2402vzrj.js} +1 -1
- package/dist/chunks/{variant-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-mqp0p4ed.js → location-lifecycle-2axye2ft.js} +3 -3
- package/dist/chunks/{variant-fr6qf1zc.js → location-lifecycle-2c293f3h.js} +8 -8
- package/dist/chunks/{variant-41jardw5.js → location-lifecycle-2cfefjf7.js} +42 -42
- package/dist/chunks/{variant-28mf290z.js → location-lifecycle-2cmdkyhw.js} +3 -3
- package/dist/chunks/{variant-qgn6gcr1.js → location-lifecycle-2k8khapm.js} +5 -5
- package/dist/chunks/{variant-yqtmxgrc.js → location-lifecycle-2q3ccgdz.js} +22 -22
- package/dist/chunks/{variant-mx58xnyt.js → location-lifecycle-2r3zh37g.js} +9 -9
- package/dist/chunks/{variant-mzsct20j.js → location-lifecycle-2w3b2ebc.js} +7 -7
- package/dist/chunks/{variant-x62bxqam.js → location-lifecycle-2w7gr4k3.js} +24 -24
- package/dist/chunks/{variant-b552dcrd.js → location-lifecycle-318dhbth.js} +18 -18
- package/dist/chunks/{variant-cpy6gm2a.js → location-lifecycle-35agz59w.js} +6 -6
- package/dist/chunks/{variant-v30pefx0.js → location-lifecycle-36b1949e.js} +13 -13
- package/dist/chunks/{variant-c78bbtc9.js → location-lifecycle-3cfzdc8e.js} +5 -5
- package/dist/chunks/{variant-097skfh9.js → location-lifecycle-3cq1aq8e.js} +11 -11
- package/dist/chunks/{variant-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-qwkytnft.js → location-lifecycle-3fn9vj2a.js} +6 -6
- package/dist/chunks/{variant-9m0akj9h.js → location-lifecycle-3gybahgz.js} +17 -17
- package/dist/chunks/{variant-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-m9rt4wgq.js → location-lifecycle-3qkj39pp.js} +6 -6
- package/dist/chunks/{variant-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-yzx8t958.js → location-lifecycle-3vfjkkqt.js} +4 -4
- package/dist/chunks/{variant-ms2v0qr0.js → location-lifecycle-3ykewcag.js} +20 -20
- package/dist/chunks/{variant-8ank75fn.js → location-lifecycle-428ep8fh.js} +8 -8
- package/dist/chunks/{variant-j6g6334x.js → location-lifecycle-4efcx757.js} +11 -11
- package/dist/chunks/{variant-w4axh9wz.js → location-lifecycle-4ns3h2re.js} +4 -4
- package/dist/chunks/{variant-a3dggatn.js → location-lifecycle-4rapdxbm.js} +8 -8
- package/dist/chunks/{variant-1hr2mhh3.js → location-lifecycle-4vn8gs9z.js} +10 -10
- package/dist/chunks/location-lifecycle-4x0xy3ak.js +492 -0
- package/dist/chunks/{variant-mfqp6xfm.js → location-lifecycle-56gdpj1q.js} +6 -6
- package/dist/chunks/{variant-x3aw69dw.js → location-lifecycle-58jf2b5n.js} +24 -24
- package/dist/chunks/{variant-jb9mn43j.js → location-lifecycle-5cgvgbkt.js} +19 -19
- package/dist/chunks/{variant-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-kpzqpbrb.js → location-lifecycle-5feghaxz.js} +39 -39
- package/dist/chunks/{variant-cpj0znwe.js → location-lifecycle-5mtzsd3b.js} +4 -4
- package/dist/chunks/{variant-9vfjrq5h.js → location-lifecycle-5n6s9hm6.js} +10 -10
- package/dist/chunks/{variant-cfaphf43.js → location-lifecycle-5s2p338g.js} +5 -5
- package/dist/chunks/{variant-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-sr4j9exx.js → location-lifecycle-5vcjqd34.js} +13 -13
- package/dist/chunks/{variant-xy0kj34c.js → location-lifecycle-5ygjede2.js} +8 -8
- package/dist/chunks/{variant-t36nynp6.js → location-lifecycle-600vrq00.js} +21 -21
- package/dist/chunks/{variant-yz0zb41s.js → location-lifecycle-62qat4sn.js} +4 -4
- package/dist/chunks/{variant-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/{variant-62y7kwp4.js → location-lifecycle-66baz8ka.js} +9 -9
- package/dist/chunks/{variant-v4ke4x03.js → location-lifecycle-6eyfberv.js} +24 -24
- package/dist/chunks/{variant-5v7tkgjc.js → location-lifecycle-6g52q5q2.js} +6 -6
- package/dist/chunks/{variant-g8d3gcyj.js → location-lifecycle-6hh8tjw2.js} +7 -7
- package/dist/chunks/{variant-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-jtazzn7t.js → location-lifecycle-6q7a50ek.js} +12 -12
- package/dist/chunks/{variant-48wt5vck.js → location-lifecycle-76782hfa.js} +11 -11
- package/dist/chunks/{variant-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-rnjj76x0.js → location-lifecycle-7dseyta3.js} +29 -29
- package/dist/chunks/{variant-39bnkv12.js → location-lifecycle-7hvhjnef.js} +20 -20
- package/dist/chunks/{variant-5sm13ap8.js → location-lifecycle-7j8v41s3.js} +38 -38
- package/dist/chunks/{variant-90cg2g8q.js → location-lifecycle-7t48jg8f.js} +3 -3
- package/dist/chunks/{variant-k6eqzays.js → location-lifecycle-89s9kgby.js} +18 -18
- package/dist/chunks/{variant-tcezcvh9.js → location-lifecycle-89znhe33.js} +4 -4
- package/dist/chunks/{variant-kq76qga6.js → location-lifecycle-8cptxgqr.js} +8 -8
- package/dist/chunks/{variant-ffe81100.js → location-lifecycle-8d6xnbxe.js} +7 -7
- package/dist/chunks/{variant-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-516vmk6c.js → location-lifecycle-8kb38tbd.js} +24 -24
- package/dist/chunks/{variant-fka5stg3.js → location-lifecycle-8m81rpck.js} +26 -26
- package/dist/chunks/{variant-15nepkqg.js → location-lifecycle-8n69n882.js} +8 -8
- package/dist/chunks/{variant-k3kfa9gp.js → location-lifecycle-8n7ya8jg.js} +3 -3
- package/dist/chunks/{variant-nad2v9ex.js → location-lifecycle-8nfn27r0.js} +23 -23
- package/dist/chunks/{variant-8p4f9s12.js → location-lifecycle-8p4f9s12.js} +2 -2
- package/dist/chunks/{variant-tfsfntr4.js → location-lifecycle-8t7cv3nq.js} +17 -17
- package/dist/chunks/{variant-swskkvne.js → location-lifecycle-92ayrrn7.js} +16 -16
- package/dist/chunks/{variant-gg31f38h.js → location-lifecycle-92r5vq45.js} +184 -184
- package/dist/chunks/{variant-xg9t41r3.js → location-lifecycle-96rw58h8.js} +2 -2
- package/dist/chunks/{variant-0gz9grtj.js → location-lifecycle-9a30k7dn.js} +11 -11
- package/dist/chunks/{variant-9r15s34d.js → location-lifecycle-9ae44cfy.js} +6 -6
- package/dist/chunks/{variant-915gmmzb.js → location-lifecycle-9cy2qm6f.js} +9 -9
- package/dist/chunks/{variant-8eg5n7pr.js → location-lifecycle-9gew6ke4.js} +3 -3
- package/dist/chunks/{variant-6skrka6j.js → location-lifecycle-9vjfyag7.js} +19 -19
- package/dist/chunks/location-lifecycle-9x5t835t.js +252 -0
- package/dist/chunks/{variant-g3dn61zq.js → location-lifecycle-9xrddee8.js} +17 -17
- package/dist/chunks/{variant-a1bz86dw.js → location-lifecycle-a1bz86dw.js} +3 -3
- package/dist/chunks/{variant-z4n4vdj7.js → location-lifecycle-a79avww4.js} +30 -30
- package/dist/chunks/{variant-xdrba4jw.js → location-lifecycle-a881zpfh.js} +9 -9
- package/dist/chunks/{variant-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-t6zx2q9y.js → location-lifecycle-ag38rq08.js} +17 -17
- package/dist/chunks/{variant-4qd323fw.js → location-lifecycle-agdtkq8n.js} +23 -23
- package/dist/chunks/{variant-s0nvp0g4.js → location-lifecycle-aght5zda.js} +87 -87
- package/dist/chunks/{variant-e6qgb6k4.js → location-lifecycle-ah45zszs.js} +41 -41
- package/dist/chunks/{variant-jsxtg3j8.js → location-lifecycle-aj2gph7f.js} +40 -40
- package/dist/chunks/{variant-htdv981f.js → location-lifecycle-aja1kpp3.js} +14 -14
- package/dist/chunks/{variant-ayn9mra6.js → location-lifecycle-ajcqkwnf.js} +10 -10
- package/dist/chunks/{variant-81swgkk7.js → location-lifecycle-atcatw0c.js} +9 -9
- package/dist/chunks/{variant-brn88sfy.js → location-lifecycle-atmhrajx.js} +15 -15
- package/dist/chunks/{variant-1gd24jtv.js → location-lifecycle-azbd23ze.js} +11 -11
- package/dist/chunks/{variant-t54f161w.js → location-lifecycle-b3td3swv.js} +1 -1
- package/dist/chunks/{variant-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-150yg2gd.js → location-lifecycle-b7b4ctej.js} +5 -5
- package/dist/chunks/{variant-1t1pnz9z.js → location-lifecycle-b7skvr2w.js} +12 -12
- package/dist/chunks/{variant-9dd9xg2p.js → location-lifecycle-bcsq46nn.js} +20 -20
- package/dist/chunks/{variant-h5wsamaq.js → location-lifecycle-begp2na7.js} +20 -20
- package/dist/chunks/{variant-1gd09dgh.js → location-lifecycle-bfwjxbj5.js} +26 -26
- package/dist/chunks/{variant-0x8f21sw.js → location-lifecycle-bjc8ma1j.js} +17 -17
- package/dist/chunks/{variant-mr2zf1rc.js → location-lifecycle-bneryqg7.js} +8 -8
- package/dist/chunks/{variant-hnx7q02n.js → location-lifecycle-bwz7508e.js} +15 -15
- package/dist/chunks/{variant-2jz473v5.js → location-lifecycle-bz85s9hh.js} +1 -1
- package/dist/chunks/{variant-a3gwct9m.js → location-lifecycle-c8kta4n6.js} +15 -15
- package/dist/chunks/{variant-cfpkc3c9.js → location-lifecycle-cfpkc3c9.js} +2 -2
- package/dist/chunks/{variant-93dczpz5.js → location-lifecycle-ch9rpgww.js} +11 -11
- package/dist/chunks/{variant-c765mh8b.js → location-lifecycle-cpneeje0.js} +8 -8
- package/dist/chunks/{variant-pfjwdz76.js → location-lifecycle-crahewxf.js} +7 -7
- package/dist/chunks/{variant-rzfvqdtr.js → location-lifecycle-cygrf01w.js} +32 -32
- package/dist/chunks/{variant-6a52w1rv.js → location-lifecycle-d24axzz0.js} +7 -7
- package/dist/chunks/{variant-c8mrws9h.js → location-lifecycle-d2sxwqa1.js} +11 -11
- package/dist/chunks/{variant-q10etjjv.js → location-lifecycle-d6w1d759.js} +5 -5
- package/dist/chunks/{variant-9g8a7bky.js → location-lifecycle-dhc7fjat.js} +18 -18
- package/dist/chunks/{variant-z8jac80z.js → location-lifecycle-dqdee38h.js} +22 -22
- package/dist/chunks/{variant-57b9ws8p.js → location-lifecycle-drwq78ky.js} +5 -5
- package/dist/chunks/{variant-qhcyyzn5.js → location-lifecycle-dv1b5hnc.js} +4 -4
- package/dist/chunks/{variant-ehewexsg.js → location-lifecycle-dx7cz548.js} +11 -11
- package/dist/chunks/{variant-ycs2q99w.js → location-lifecycle-e4gx0yxa.js} +27 -27
- package/dist/chunks/{variant-cpa7r820.js → location-lifecycle-e5kr9kgh.js} +8 -8
- package/dist/chunks/{variant-dvsy15m8.js → location-lifecycle-eb9hbpar.js} +20 -20
- package/dist/chunks/{variant-7f3ctpdg.js → location-lifecycle-ees997fz.js} +20 -20
- package/dist/chunks/{variant-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-07dehahr.js → location-lifecycle-ejnxb373.js} +47 -47
- package/dist/chunks/{variant-27d62n88.js → location-lifecycle-em2jr9mj.js} +13 -13
- package/dist/chunks/{variant-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-94q2vb6w.js → location-lifecycle-es6ymm0f.js} +9 -9
- package/dist/chunks/{variant-dy8yawtr.js → location-lifecycle-etn8yy9q.js} +55 -55
- package/dist/chunks/{variant-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-xbzbcj9a.js → location-lifecycle-f3r43bhh.js} +4 -4
- package/dist/chunks/{variant-f828m53h.js → location-lifecycle-f828m53h.js} +2 -2
- package/dist/chunks/{variant-7qvbcjd2.js → location-lifecycle-fbpmdm9b.js} +24 -24
- package/dist/chunks/{variant-cx02vxsr.js → location-lifecycle-fdd9a936.js} +5 -5
- package/dist/chunks/{variant-k8fevvw5.js → location-lifecycle-fddp59hc.js} +22 -22
- package/dist/chunks/{variant-cg8ytmw3.js → location-lifecycle-fde1cms4.js} +9 -9
- package/dist/chunks/{variant-xfdrc2qg.js → location-lifecycle-fkjmw100.js} +8 -8
- package/dist/chunks/{variant-g9k4x51g.js → location-lifecycle-frvteen9.js} +15 -15
- package/dist/chunks/{variant-gb29kbhr.js → location-lifecycle-ftp936sg.js} +13 -13
- package/dist/chunks/{variant-3pkp6ed2.js → location-lifecycle-fvzswx9a.js} +6 -6
- package/dist/chunks/{variant-fxbjtjnd.js → location-lifecycle-fxbjtjnd.js} +1 -1
- package/dist/chunks/{variant-cmwkp3r5.js → location-lifecycle-g0445xdp.js} +4 -4
- package/dist/chunks/{variant-epcvb57q.js → location-lifecycle-g3xf870q.js} +84 -84
- package/dist/chunks/{variant-20d59fy3.js → location-lifecycle-gd0h8cq1.js} +28 -28
- package/dist/chunks/{variant-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-y6dnbhqf.js → location-lifecycle-gg245rpa.js} +39 -39
- package/dist/chunks/{variant-vg2pwr63.js → location-lifecycle-gg7mxwnh.js} +25 -25
- package/dist/chunks/{variant-vf1cc59j.js → location-lifecycle-ggs1y8br.js} +31 -31
- package/dist/chunks/{variant-1fv74gqc.js → location-lifecycle-gs88pkvr.js} +6 -6
- package/dist/chunks/{variant-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-jap74bcr.js → location-lifecycle-h040sa7w.js} +22 -22
- package/dist/chunks/{variant-bxqmztkz.js → location-lifecycle-h2h79dva.js} +16 -16
- package/dist/chunks/{variant-8wxt10s7.js → location-lifecycle-h36cdnfm.js} +12 -12
- package/dist/chunks/{variant-zj09a0ew.js → location-lifecycle-h6jr292a.js} +4 -4
- package/dist/chunks/{variant-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-j4sd9pby.js → location-lifecycle-hb1m031k.js} +37 -37
- package/dist/chunks/{variant-hs5kqjts.js → location-lifecycle-hh5sdbys.js} +5 -5
- package/dist/chunks/{variant-b7p55gh1.js → location-lifecycle-hk6farcs.js} +4 -4
- package/dist/chunks/{variant-572jzhdq.js → location-lifecycle-hmpcbkgd.js} +70 -70
- package/dist/chunks/location-lifecycle-ht5y0zrb.js +18 -0
- package/dist/chunks/{variant-x9mtwtp0.js → location-lifecycle-hwvyndb6.js} +4 -4
- package/dist/chunks/{variant-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-xf4yhzac.js → location-lifecycle-jc1e48xp.js} +26 -26
- package/dist/chunks/{variant-tfzngn12.js → location-lifecycle-jewzahs7.js} +4 -4
- package/dist/chunks/location-lifecycle-jqaz7hb4.js +26 -0
- package/dist/chunks/{variant-tkfgnrzv.js → location-lifecycle-jtexvcen.js} +23 -23
- package/dist/chunks/{variant-c3t2bp3a.js → location-lifecycle-jz8czyh7.js} +21 -21
- package/dist/chunks/{variant-sbnsh8k5.js → location-lifecycle-k0gdq8ga.js} +8 -8
- package/dist/chunks/{variant-88405f1d.js → location-lifecycle-k2nq7ztr.js} +11 -11
- package/dist/chunks/{variant-v0aj06hd.js → location-lifecycle-k9bmr3a1.js} +20 -20
- package/dist/chunks/{variant-hj7e2epa.js → location-lifecycle-kd541efj.js} +16 -16
- package/dist/chunks/{variant-dvqvac0p.js → location-lifecycle-kq8bx7xq.js} +38 -38
- package/dist/chunks/{variant-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-8pccpkv9.js → location-lifecycle-m549exyf.js} +12 -12
- package/dist/chunks/{variant-9wzaqa2h.js → location-lifecycle-m6q5faa9.js} +11 -11
- package/dist/chunks/{variant-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-6ztqgmqc.js → location-lifecycle-mh5cgvr5.js} +32 -32
- package/dist/chunks/{variant-ttyd8st6.js → location-lifecycle-mqdmt1va.js} +5 -5
- package/dist/chunks/{variant-43epg6g5.js → location-lifecycle-mtjt07v8.js} +11 -11
- package/dist/chunks/{variant-mhkvc446.js → location-lifecycle-mvfsc1pv.js} +3 -3
- package/dist/chunks/{variant-085d9kjp.js → location-lifecycle-nfyg7my7.js} +6 -6
- package/dist/chunks/{variant-m145exmz.js → location-lifecycle-nxw9x78p.js} +11 -11
- package/dist/chunks/{variant-nzks3jc8.js → location-lifecycle-nzks3jc8.js} +3 -3
- package/dist/chunks/{variant-x8reb4st.js → location-lifecycle-p0bbwx7d.js} +17 -17
- package/dist/chunks/{variant-j7wq2tw5.js → location-lifecycle-pb07aktf.js} +3 -3
- package/dist/chunks/{variant-d0x602ma.js → location-lifecycle-pbv0yjjw.js} +11 -11
- package/dist/chunks/{variant-d212tg40.js → location-lifecycle-pgsazkxm.js} +5 -5
- package/dist/chunks/{variant-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{variant-kpc0mqwz.js → location-lifecycle-pr20cmdv.js} +14 -14
- package/dist/chunks/{variant-2y34zzjz.js → location-lifecycle-q5nw5m1n.js} +6 -6
- package/dist/chunks/location-lifecycle-qapv375x.js +4 -0
- package/dist/chunks/{variant-5w4ft1qc.js → location-lifecycle-qbd2ms54.js} +30 -30
- package/dist/chunks/{variant-jw80jp6b.js → location-lifecycle-qj8eh1ht.js} +4 -4
- package/dist/chunks/{variant-94yyaa2b.js → location-lifecycle-qmxwecnf.js} +12 -12
- package/dist/chunks/{variant-jdjqvkac.js → location-lifecycle-qnz5ymak.js} +25 -25
- package/dist/chunks/{variant-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-ecmqvc26.js → location-lifecycle-qwyffd8f.js} +10 -10
- package/dist/chunks/{variant-3cc71383.js → location-lifecycle-qxhyk1pg.js} +26 -26
- package/dist/chunks/{variant-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-3g2czk59.js → location-lifecycle-rk5jd2b3.js} +28 -28
- package/dist/chunks/{variant-jdwv10rw.js → location-lifecycle-sa53s2va.js} +8 -8
- package/dist/chunks/{variant-f5pacdp8.js → location-lifecycle-sc1q6wgr.js} +4 -4
- package/dist/chunks/{variant-jgv4nkbw.js → location-lifecycle-sgvsg5c7.js} +20 -20
- package/dist/chunks/{variant-mtmgf2mp.js → location-lifecycle-snq071ae.js} +3 -3
- package/dist/chunks/{variant-93c7gg90.js → location-lifecycle-sntz0pcz.js} +54 -54
- package/dist/chunks/{variant-66cq7m8j.js → location-lifecycle-ssdf6eb6.js} +17 -17
- package/dist/chunks/{variant-ttqh24zm.js → location-lifecycle-t2az9yje.js} +4 -4
- package/dist/chunks/{variant-jsghq5te.js → location-lifecycle-t7ac428t.js} +11 -11
- package/dist/chunks/{variant-00z3vp5f.js → location-lifecycle-t9zs3egg.js} +4 -4
- package/dist/chunks/{variant-f4cxmw91.js → location-lifecycle-taw5yzha.js} +7 -7
- package/dist/chunks/{variant-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-p28j5sbe.js → location-lifecycle-tbz0fdvh.js} +5 -5
- package/dist/chunks/{variant-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{variant-31vzqgg6.js → location-lifecycle-ttjk2wdc.js} +18 -18
- package/dist/chunks/{variant-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-6dtxgrp9.js → location-lifecycle-tzbte7z6.js} +9 -9
- package/dist/chunks/{variant-4mszv00j.js → location-lifecycle-v52rr7b3.js} +32 -32
- package/dist/chunks/{variant-jdng17b1.js → location-lifecycle-vdtc3ka7.js} +37 -37
- package/dist/chunks/{variant-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-fxqygnfa.js → location-lifecycle-vkxpz7g2.js} +4 -4
- package/dist/chunks/{variant-3mvav4ey.js → location-lifecycle-vs79q017.js} +43 -43
- package/dist/chunks/{variant-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-6jd4s47c.js → location-lifecycle-w9kyydez.js} +50 -50
- package/dist/chunks/{variant-yjptyezs.js → location-lifecycle-wbkyxrgf.js} +5 -5
- package/dist/chunks/{variant-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{variant-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-r80zjrs5.js → location-lifecycle-x27mk1f7.js} +2 -2
- package/dist/chunks/{variant-etkqpky2.js → location-lifecycle-xdc3mw17.js} +25 -25
- package/dist/chunks/{variant-8svftxcg.js → location-lifecycle-xgw5arqg.js} +38 -38
- package/dist/chunks/{variant-qg0jgkcp.js → location-lifecycle-xk747vep.js} +9 -9
- package/dist/chunks/{variant-a1nrrezy.js → location-lifecycle-xnftke6g.js} +44 -44
- package/dist/chunks/{variant-sh8m3jxd.js → location-lifecycle-xse2s150.js} +32 -32
- package/dist/chunks/{variant-6tt6f4cv.js → location-lifecycle-xz20991e.js} +5 -5
- package/dist/chunks/{variant-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-y71avatq.js → location-lifecycle-y71avatq.js} +1 -1
- package/dist/chunks/{variant-64gzdevb.js → location-lifecycle-yc7a5kvr.js} +42 -42
- package/dist/chunks/{variant-1acjjqhc.js → location-lifecycle-yp2x3t23.js} +4 -4
- package/dist/chunks/{variant-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/location-lifecycle-yrsab33h.js +65 -0
- package/dist/chunks/{variant-yrznvahk.js → location-lifecycle-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-hkfg6fzm.js → location-lifecycle-yt0fqk68.js} +5 -5
- package/dist/chunks/{variant-nrg4g80p.js → location-lifecycle-z07d95xm.js} +8 -8
- package/dist/chunks/{variant-9rfbr6hz.js → location-lifecycle-z0868ay8.js} +10 -10
- package/dist/chunks/{variant-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-s857ash9.js → location-lifecycle-z2qbjhyn.js} +5 -5
- package/dist/chunks/{variant-z63w68vq.js → location-lifecycle-z63w68vq.js} +2 -2
- package/dist/chunks/{variant-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-yg6nt6v4.js → location-lifecycle-zex37ywk.js} +5 -5
- package/dist/chunks/{variant-278hf439.js → location-lifecycle-zjbv19xv.js} +1 -1
- package/dist/chunks/{variant-khnj79zv.js → location-lifecycle-zm4vrf7k.js} +3 -3
- package/dist/chunks/{variant-p8cqx264.js → location-lifecycle-zmv6dkz3.js} +7 -7
- package/dist/chunks/{variant-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-0wjn3002.js → location-lifecycle-zvfsx9q6.js} +4 -4
- package/dist/chunks/{variant-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/chunks/{variant-eeycyz4a.js → location-lifecycle-zysgr26p.js} +19 -19
- package/dist/chunks/{variant-rx7r49gh.js → location-lifecycle-zz4e6p7j.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +120 -120
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +120 -120
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- 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 +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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/id/id.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 +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/variant-0mesazry.js +0 -4
- package/dist/chunks/variant-313b5xwg.js +0 -26
- package/dist/chunks/variant-4v7qdvcn.js +0 -18
- package/dist/chunks/variant-7p374f9a.js +0 -65
- package/dist/chunks/variant-t8sg433j.js +0 -252
- package/dist/chunks/variant-zs17qpra.js +0 -492
- /package/dist/chunks/{variant-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5qd3pb7m.js → location-lifecycle-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-twg0f83k.js → location-lifecycle-twg0f83k.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service68,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node71
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service68 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service68.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node71 = makeLocationNode({
|
|
143
|
+
service: Service68,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service68, node71, exports_tool_output2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./location-lifecycle-2cfefjf7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./location-lifecycle-5cgvgbkt.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service51;
|
|
27
|
+
const shell = yield* Service47;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin15 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin19, exports_shell };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
node82
|
|
7
|
-
} from "./variant-x8reb4st.js";
|
|
8
|
-
import {
|
|
9
|
-
Service75,
|
|
5
|
+
Service74,
|
|
10
6
|
node78
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-p0bbwx7d.js";
|
|
8
|
+
import {
|
|
9
|
+
Service71,
|
|
10
|
+
node74
|
|
11
|
+
} from "./location-lifecycle-aja1kpp3.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./location-lifecycle-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options10,
|
|
25
|
+
Service: () => Service70,
|
|
26
|
+
configured: () => configured10,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node73,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options10 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service70 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service70, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const ripgrep = yield* Service71;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service70.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service70, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service74;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service70.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service70.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer24 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service74;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured10(options) {
|
|
186
|
+
return makeLocationNode({ service: Service70, layer: layer24(options), deps: [node78, node74] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node73 = configured10();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options10, Service70, ripgrepLayer2, fffLayer2, layer24, configured10, node73, exports_search };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-etn8yy9q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin42
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin42 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin42, exports_plan };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-v52rr7b3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info24
|
|
11
|
+
} from "./location-lifecycle-a79avww4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID9.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info24.make({
|
|
122
|
+
...Info24.default(ID10.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID9.make(remote.id),
|
|
125
|
+
providerID: ID10.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make4(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make4 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-dv1b5hnc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
99
99
|
return true;
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
103
103
|
const decide = yield* policy2(sessionID);
|
|
104
104
|
const wait = (input) => Effect.gen(function* () {
|
|
105
105
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -116,4 +116,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
116
116
|
return { decide, wait };
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export { isRetryable2, policy2, transient2,
|
|
119
|
+
export { isRetryable2, policy2, transient2, make9, exports_retry };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service49
|
|
7
|
+
} from "./location-lifecycle-qnz5ymak.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-pb07aktf.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-3fn9vj2a.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service49;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node79
|
|
4
|
+
} from "./location-lifecycle-xgw5arqg.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info29,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref3,
|
|
15
|
+
Service: () => Service74,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node78,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info29, Ref as Ref3, 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 Service74 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node78 = LayerNode.unbound(Service74, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service75;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service74.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, options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service74,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node79]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info29, Ref3, response2, Service74, node78, boundNode2, exports_location };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
|
+
var Info27 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info27, SessionSchema2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-2axye2ft.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -61,8 +61,8 @@ class Service25 extends Context.Service()("@opencode/InstructionEntry") {
|
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make18({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -112,4 +112,4 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
112
112
|
}));
|
|
113
113
|
var node29 = makeLocationNode({ service: Service25, layer, deps: [node87] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node29, exports_instruction_entry };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./location-lifecycle-ggs1y8br.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service77;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID15.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|