@opencode/core 0.0.0-dev-20085 → 0.0.0-dev-20086
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-ya2d1jd1.js → state-02cj0pc8.js} +16 -16
- package/dist/chunks/{location-pnpk2aj1.js → state-07rdd209.js} +15 -15
- package/dist/chunks/{location-r42cf70c.js → state-0erg9wwv.js} +22 -22
- package/dist/chunks/{location-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-patgj9rf.js → state-0tmgye68.js} +9 -9
- package/dist/chunks/{location-q9sjfa10.js → state-0wey50z9.js} +18 -18
- package/dist/chunks/{location-hsw8f0yd.js → state-103sd08j.js} +30 -30
- package/dist/chunks/{location-j5208yae.js → state-10jtetaj.js} +4 -4
- package/dist/chunks/{location-cppnyjvh.js → state-12as4csw.js} +4 -4
- package/dist/chunks/{location-pf25tzn7.js → state-12p4qwq0.js} +14 -14
- package/dist/chunks/{location-ztyqrv9d.js → state-14qvxy67.js} +4 -4
- package/dist/chunks/{location-15t8dppg.js → state-1bmsx0zf.js} +5 -5
- package/dist/chunks/{location-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-t7w8r238.js → state-1em0vfhe.js} +10 -10
- package/dist/chunks/{location-b97tvfr3.js → state-1px9a8xa.js} +30 -30
- package/dist/chunks/{location-5ncth405.js → state-1s1ztnqh.js} +14 -14
- package/dist/chunks/{location-5ej7x3ry.js → state-1vtry6ap.js} +11 -11
- package/dist/chunks/{location-56gdpj1q.js → state-1ygqh575.js} +9 -9
- package/dist/chunks/{location-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{location-wq6ect1f.js → state-22r3fh08.js} +10 -10
- package/dist/chunks/{location-entyswmt.js → state-271vm2mc.js} +141 -141
- package/dist/chunks/{location-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-h50xqkc8.js → state-2akz4pff.js} +20 -20
- package/dist/chunks/{location-j87tpa1r.js → state-2cdppye1.js} +9 -9
- package/dist/chunks/{location-d47kqq9a.js → state-2gsn04w3.js} +33 -33
- package/dist/chunks/{location-sjghecny.js → state-2r4f9961.js} +20 -20
- package/dist/chunks/{location-ct98n74x.js → state-2wh0tznn.js} +28 -28
- package/dist/chunks/{location-w4z3ay81.js → state-331q5pgp.js} +24 -24
- package/dist/chunks/{location-nneme6j2.js → state-37pjvmwd.js} +9 -9
- package/dist/chunks/{location-tr6856ra.js → state-384gf1m7.js} +24 -24
- package/dist/chunks/{location-fsfa9jkm.js → state-38zhvv5q.js} +9 -9
- package/dist/chunks/{location-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-5xpznt2d.js → state-3fmtxraa.js} +4 -4
- package/dist/chunks/{location-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-m4xgzfwx.js → state-3pt3xjye.js} +3 -3
- package/dist/chunks/{location-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-5cpn9dpm.js → state-3tza3sf4.js} +54 -54
- package/dist/chunks/{location-xtjem3bf.js → state-3xe0jx7r.js} +5 -5
- package/dist/chunks/{location-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-vmfra14x.js → state-3ztzj39p.js} +15 -15
- package/dist/chunks/{location-823tjzjk.js → state-40e94ye7.js} +26 -26
- package/dist/chunks/{location-n34v5czf.js → state-44849632.js} +13 -13
- package/dist/chunks/{location-zd30eb5w.js → state-4n607a2z.js} +5 -5
- package/dist/chunks/{location-1ezynbde.js → state-4ncjv8c3.js} +32 -32
- package/dist/chunks/{location-4eq8w0dz.js → state-4nzwy074.js} +4 -4
- package/dist/chunks/{location-20td3mps.js → state-4qv3yyzg.js} +10 -10
- package/dist/chunks/{location-kh1y2j6w.js → state-527n1w5n.js} +7 -7
- package/dist/chunks/{location-3ppptnan.js → state-52hb404k.js} +6 -6
- package/dist/chunks/{location-81swgkk7.js → state-57ez7d0k.js} +7 -7
- package/dist/chunks/{location-8adg00cn.js → state-580xtat9.js} +12 -12
- package/dist/chunks/{location-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{location-5ekn9679.js → state-5ekn9679.js} +1 -1
- package/dist/chunks/{location-ek0wagzw.js → state-5gftdx11.js} +39 -39
- package/dist/chunks/{location-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-3jycfehx.js → state-5vmwkxe9.js} +22 -22
- package/dist/chunks/{location-5wdb16a6.js → state-637kffsg.js} +24 -24
- package/dist/chunks/{location-ex35gdgj.js → state-63cq5ear.js} +11 -11
- package/dist/chunks/{location-agbx9p6n.js → state-64dtqc3f.js} +3 -3
- package/dist/chunks/{location-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{location-qfc6rmg7.js → state-6f09tcf1.js} +33 -33
- package/dist/chunks/{location-2402vzrj.js → state-6h73sxmp.js} +5 -5
- package/dist/chunks/state-6mkgf16q.js +252 -0
- package/dist/chunks/{location-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-w4605gqt.js → state-6n2eehmw.js} +18 -18
- package/dist/chunks/{location-7fkffz83.js → state-6pc27hjz.js} +8 -8
- package/dist/chunks/{location-fhqkm81b.js → state-6q87yf47.js} +13 -13
- package/dist/chunks/{location-65k8mysp.js → state-6qsj15fd.js} +9 -9
- package/dist/chunks/{location-fxpcrhf7.js → state-6s8wj2t2.js} +4 -4
- package/dist/chunks/{location-c4yydncf.js → state-6w1rts7e.js} +4 -4
- package/dist/chunks/{location-t3fjjczq.js → state-6xjd4qpp.js} +87 -87
- package/dist/chunks/{location-p01c8egr.js → state-6xxehmv1.js} +16 -16
- package/dist/chunks/{location-4vt3p759.js → state-72c7x5rd.js} +3 -3
- package/dist/chunks/{location-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-2k8khapm.js → state-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-q8wm0n5k.js → state-7wrqfeey.js} +43 -43
- package/dist/chunks/{location-nw2nz702.js → state-7z7az0f5.js} +4 -4
- package/dist/chunks/{location-z38r829x.js → state-7z9wgydg.js} +7 -7
- package/dist/chunks/{location-ajv0zg1h.js → state-821ss22x.js} +48 -48
- package/dist/chunks/{location-exq908em.js → state-86dam8yv.js} +15 -15
- package/dist/chunks/{location-0be1sdj9.js → state-87df55d3.js} +13 -13
- package/dist/chunks/{location-gd27z9a0.js → state-87qk2fb2.js} +13 -13
- package/dist/chunks/{location-7qzds7mm.js → state-892zz8qj.js} +2 -2
- package/dist/chunks/{location-299n82gd.js → state-8d0p2m37.js} +8 -8
- package/dist/chunks/{location-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-sr7rg3r5.js → state-8hm487hb.js} +17 -17
- package/dist/chunks/{location-e98q8pr4.js → state-8tt36ewb.js} +24 -24
- package/dist/chunks/{location-0xx80p0r.js → state-8w6y8kk9.js} +18 -18
- package/dist/chunks/{location-7ksxvdee.js → state-8zz3fhf5.js} +30 -30
- package/dist/chunks/{location-94ek1h2f.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-jz0a01nb.js → state-96frkt8z.js} +7 -7
- package/dist/chunks/{location-6mmgh4xg.js → state-9aq5295b.js} +5 -5
- package/dist/chunks/{location-j68tbxz2.js → state-9g7qqvsb.js} +69 -69
- package/dist/chunks/{location-czfptnv9.js → state-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-x3b624sb.js → state-9smb885v.js} +25 -25
- package/dist/chunks/{location-m7p8stnt.js → state-9zch71dn.js} +24 -24
- package/dist/chunks/{location-b09hzw3k.js → state-a3r4dcrj.js} +2 -2
- package/dist/chunks/{location-jw80jp6b.js → state-a8bn8zg0.js} +4 -4
- package/dist/chunks/{location-nhacqrek.js → state-a8tm1nmv.js} +11 -11
- package/dist/chunks/{location-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{location-10tgmh5f.js → state-ab3q5qw2.js} +30 -30
- package/dist/chunks/{location-jhczez2b.js → state-addr2z3b.js} +12 -12
- package/dist/chunks/{location-jvm2qc0w.js → state-aesvhg1d.js} +43 -43
- package/dist/chunks/{location-pe51w29c.js → state-ahze9mkv.js} +10 -10
- package/dist/chunks/{location-dq5m8eys.js → state-ash9qzxk.js} +8 -8
- package/dist/chunks/{location-za0666pm.js → state-b2rczs3a.js} +1 -1
- package/dist/chunks/{location-prtkmv61.js → state-b4xx7p0v.js} +8 -8
- package/dist/chunks/{location-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-0v53mg2y.js → state-bct739vz.js} +4 -4
- package/dist/chunks/{location-9b00c1fb.js → state-bgs9y14h.js} +5 -5
- package/dist/chunks/{location-gymhtc5c.js → state-bgte5q86.js} +6 -6
- package/dist/chunks/{location-jax2wzap.js → state-bhnryp6n.js} +26 -26
- package/dist/chunks/{location-wt2q29jj.js → state-bswpvtym.js} +8 -8
- package/dist/chunks/{location-bt20w6w8.js → state-bwgpf6kh.js} +21 -21
- package/dist/chunks/{location-b11dy6b6.js → state-bxxr9cq6.js} +17 -17
- package/dist/chunks/{location-m92eggrv.js → state-cbm7rw8j.js} +24 -24
- package/dist/chunks/{location-e3x56sfv.js → state-cfm9g534.js} +8 -8
- package/dist/chunks/{location-dt3dk03m.js → state-chjpp9jv.js} +22 -22
- package/dist/chunks/{location-hvga15ca.js → state-cjagda2z.js} +25 -25
- package/dist/chunks/{location-ckecvw8r.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-gst7axd9.js → state-ckf8nxjz.js} +4 -4
- package/dist/chunks/{location-7gdmqp75.js → state-d2jcr80b.js} +9 -9
- package/dist/chunks/{location-4bm5ja14.js → state-d858xzj7.js} +4 -4
- package/dist/chunks/{location-hsk8na3b.js → state-dbs1cfk5.js} +17 -17
- package/dist/chunks/{location-56dkfrzf.js → state-dg2cj1yd.js} +4 -4
- package/dist/chunks/{location-3bsjcbdv.js → state-dhw6r217.js} +20 -20
- package/dist/chunks/{location-dj9sq318.js → state-dj9sq318.js} +2 -2
- package/dist/chunks/{location-cwa6csj7.js → state-djszqvmq.js} +9 -9
- package/dist/chunks/{location-k5f5svak.js → state-dmcwwrzf.js} +41 -41
- package/dist/chunks/{location-07vz9eek.js → state-dnndpd67.js} +18 -18
- package/dist/chunks/{location-t6s2bers.js → state-dnrkp1py.js} +33 -33
- package/dist/chunks/{location-y5df08dr.js → state-dq0v80fr.js} +12 -12
- package/dist/chunks/{location-663rft7j.js → state-dq47ydgj.js} +11 -11
- package/dist/chunks/{location-p2wnajn4.js → state-dqpqvfc1.js} +22 -22
- package/dist/chunks/{location-qqeeq2t9.js → state-drwq78ky.js} +7 -7
- package/dist/chunks/{location-ymyrvvg4.js → state-dsdkcqh1.js} +10 -10
- package/dist/chunks/{location-kqyggb01.js → state-dxs7zpw7.js} +22 -22
- package/dist/chunks/{location-0r7yqxbf.js → state-e6hmchc5.js} +5 -5
- package/dist/chunks/{location-qekrwnkg.js → state-eef7h5va.js} +8 -8
- package/dist/chunks/{location-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-mfwxmvth.js → state-en8wy5tc.js} +6 -6
- package/dist/chunks/{location-a7s3m6jr.js → state-epb60yey.js} +26 -26
- package/dist/chunks/{location-zn9tdbcz.js → state-eqrfgmgr.js} +38 -38
- package/dist/chunks/{location-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-1fbwpdat.js → state-es9xe94t.js} +6 -6
- package/dist/chunks/{location-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-y6an656x.js → state-ezbzr521.js} +29 -29
- package/dist/chunks/{location-kp8q1t60.js → state-fdms3n6w.js} +9 -9
- package/dist/chunks/{location-mtq6xxnx.js → state-fdv30zvt.js} +4 -4
- package/dist/chunks/{location-3pe7sts8.js → state-fhs97t90.js} +9 -9
- package/dist/chunks/{location-z1hg6mkq.js → state-ftffmgpp.js} +25 -25
- package/dist/chunks/{location-2415p9az.js → state-fv5cfh7k.js} +11 -11
- package/dist/chunks/{location-e4nckkcb.js → state-g4w6jwnj.js} +3 -3
- package/dist/chunks/{location-xf3q38nz.js → state-g5vp43hv.js} +4 -4
- package/dist/chunks/{location-yy0073zb.js → state-g6h7bsxt.js} +14 -14
- package/dist/chunks/{location-4pcxhhnw.js → state-g9a672k8.js} +8 -8
- package/dist/chunks/{location-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-7e14ztgh.js → state-ggydwk5a.js} +29 -29
- package/dist/chunks/{location-3q97q53x.js → state-gj2fds2z.js} +12 -12
- package/dist/chunks/{location-6yvxz189.js → state-gpk600j1.js} +15 -15
- package/dist/chunks/{location-n5ege220.js → state-gv189fdt.js} +4 -4
- package/dist/chunks/{location-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-e6v038b2.js → state-gvz217w8.js} +14 -14
- package/dist/chunks/{location-4dgbcxzg.js → state-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{location-y6f0p4jw.js → state-jexxy024.js} +3 -3
- package/dist/chunks/{location-5tv5qkzz.js → state-jmx7yt6q.js} +3 -3
- package/dist/chunks/{location-yxdrajt4.js → state-jrfdjycb.js} +14 -14
- package/dist/chunks/{location-acwcyef3.js → state-jtjd9btn.js} +15 -15
- package/dist/chunks/{location-r8s9jegn.js → state-k1jc7js8.js} +28 -28
- package/dist/chunks/{location-nzks3jc8.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{location-sfntmzm9.js → state-k53npxr2.js} +1 -1
- package/dist/chunks/{location-zkqfv669.js → state-k7hn9ts1.js} +11 -11
- package/dist/chunks/{location-fet78f29.js → state-kbhz4k7s.js} +6 -6
- package/dist/chunks/{location-0cggee6v.js → state-khz59kc2.js} +17 -17
- package/dist/chunks/{location-kfkc9c0x.js → state-ksg5ge3c.js} +11 -11
- package/dist/chunks/{location-veq8ynv9.js → state-kv8zgwe7.js} +1 -1
- package/dist/chunks/{location-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-rykbncrs.js → state-m46seram.js} +20 -20
- package/dist/chunks/{location-s41xhwbz.js → state-m5qjvym0.js} +16 -16
- package/dist/chunks/{location-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-j028xdjb.js → state-mhkvc446.js} +3 -3
- package/dist/chunks/{location-jzpaswe0.js → state-mp6axp2d.js} +17 -17
- package/dist/chunks/{location-ekx4vqp6.js → state-mpsr4xxv.js} +8 -8
- package/dist/chunks/{location-bn158v02.js → state-my5aw7sa.js} +8 -8
- package/dist/chunks/{location-8v644s20.js → state-n436yt00.js} +33 -33
- package/dist/chunks/{location-ncbbtkwf.js → state-n45qbav7.js} +2 -2
- package/dist/chunks/{location-80fr4qvs.js → state-n98mt2bs.js} +1 -1
- package/dist/chunks/{location-69ksqbae.js → state-ngxakx5z.js} +29 -29
- package/dist/chunks/{location-fbst5knr.js → state-nh5efkqv.js} +9 -9
- package/dist/chunks/{location-8nv3jfj1.js → state-nj1j17x6.js} +8 -8
- package/dist/chunks/{location-j7bc97tj.js → state-nj4z6qgz.js} +3 -3
- package/dist/chunks/{location-v8d91504.js → state-njbb07ax.js} +15 -15
- package/dist/chunks/{location-yt9ppsef.js → state-nkf0pzw4.js} +13 -13
- package/dist/chunks/{location-g8fhvq2m.js → state-nrx107y4.js} +19 -19
- package/dist/chunks/{location-hkfg6fzm.js → state-nxhqveyz.js} +5 -5
- package/dist/chunks/{location-425trzk5.js → state-nybzzdwf.js} +26 -26
- package/dist/chunks/{location-3tbrhkpf.js → state-p1m5akjg.js} +10 -10
- package/dist/chunks/{location-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{location-g4k2agg3.js → state-prk02b1h.js} +21 -21
- package/dist/chunks/{location-39jngy68.js → state-q0jqcs2e.js} +27 -27
- package/dist/chunks/{location-exwd0g1v.js → state-q994nwkr.js} +6 -6
- package/dist/chunks/state-qc068m1q.js +18 -0
- package/dist/chunks/{location-510j4sx9.js → state-qkrrfaax.js} +27 -27
- package/dist/chunks/{location-et0rkxxj.js → state-qp3v07n2.js} +8 -8
- package/dist/chunks/{location-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{location-qwjmgwmn.js → state-qwjmgwmn.js} +1 -1
- package/dist/chunks/{location-p0b4ytnr.js → state-r33ff4dw.js} +4 -4
- package/dist/chunks/{location-8n0e00gn.js → state-r860wnh4.js} +1 -1
- package/dist/chunks/{location-f2n192rq.js → state-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-ccgajyj8.js → state-r9tfwnqk.js} +1 -1
- package/dist/chunks/{location-d5abmdrp.js → state-rdve76c1.js} +11 -11
- package/dist/chunks/{location-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-qk71rcx1.js → state-rhg03jha.js} +18 -18
- package/dist/chunks/{location-s8d7rejh.js → state-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-ank4y774.js → state-rxp8vwqb.js} +14 -14
- package/dist/chunks/{location-dvyep1m7.js → state-rycbktba.js} +3 -3
- package/dist/chunks/{location-9dpjnxjc.js → state-s0gvgf44.js} +21 -21
- package/dist/chunks/{location-j91rrrky.js → state-s2zjj5p9.js} +16 -16
- package/dist/chunks/{location-6wxnkzs8.js → state-sc9th92v.js} +16 -16
- package/dist/chunks/{location-mr00fy69.js → state-scad059f.js} +47 -47
- package/dist/chunks/{location-gn490qph.js → state-sfr5ve0q.js} +15 -15
- package/dist/chunks/{location-1442abdc.js → state-smmy5npd.js} +24 -24
- package/dist/chunks/{location-6s1xemfg.js → state-t15fh6tg.js} +9 -9
- package/dist/chunks/{location-z6m55pwm.js → state-t3dtk66s.js} +20 -20
- package/dist/chunks/{location-t4fafjp8.js → state-t6msp11s.js} +6 -6
- package/dist/chunks/{location-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{location-knmp4th1.js → state-tmgek03n.js} +37 -37
- package/dist/chunks/state-tp76zfa1.js +26 -0
- package/dist/chunks/{location-5e5hg0r6.js → state-tr7ttk42.js} +23 -23
- package/dist/chunks/{location-yfgdvjxw.js → state-trg234vc.js} +27 -27
- package/dist/chunks/{location-hqqgzrh2.js → state-ttkne1yr.js} +28 -28
- package/dist/chunks/{location-ed9cmwbs.js → state-tvqfr44j.js} +20 -20
- package/dist/chunks/{location-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{location-0gzrs4vr.js → state-vchqcv40.js} +10 -10
- package/dist/chunks/{location-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{location-xp52apj9.js → state-vgbaqptb.js} +3 -3
- package/dist/chunks/{location-knw98kde.js → state-vpwpbydj.js} +12 -12
- package/dist/chunks/{location-82rbf7r8.js → state-vssbqz3f.js} +6 -6
- package/dist/chunks/{location-vtxr0yy2.js → state-vtxr0yy2.js} +2 -2
- package/dist/chunks/{location-ah5h6pvz.js → state-vyj7e0dj.js} +38 -38
- package/dist/chunks/{location-tyekajp6.js → state-vyxryegc.js} +35 -35
- package/dist/chunks/{location-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-hnqy8at0.js → state-w2fbgn6w.js} +21 -21
- package/dist/chunks/{location-1ej0zjcx.js → state-w2gpeyga.js} +10 -10
- package/dist/chunks/{location-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-6j0vxgq2.js → state-w5mngq82.js} +1 -1
- package/dist/chunks/{location-jfte3fvh.js → state-w6wc4w52.js} +327 -327
- package/dist/chunks/{location-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{location-8d139r9t.js → state-wgzsnxjh.js} +14 -14
- package/dist/chunks/{location-34wh1aps.js → state-wm0kxxzy.js} +11 -11
- package/dist/chunks/{location-p73bmswt.js → state-ws3tx48n.js} +89 -89
- package/dist/chunks/{location-bk9jcfvp.js → state-ww31mshw.js} +23 -23
- package/dist/chunks/{location-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-6a3k1kcn.js → state-x46s54wc.js} +3 -3
- package/dist/chunks/{location-m4ekmekt.js → state-x69hm2n9.js} +20 -20
- package/dist/chunks/{location-v9e0t7pe.js → state-x7gyst7m.js} +11 -11
- package/dist/chunks/{location-106msdn7.js → state-x9ftw283.js} +44 -44
- package/dist/chunks/{location-psfkb9dc.js → state-xcfbfb3r.js} +24 -24
- package/dist/chunks/{location-nyyym469.js → state-xhvbz364.js} +16 -16
- package/dist/chunks/{location-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-y71avatq.js → state-y71avatq.js} +1 -1
- package/dist/chunks/{location-vhvgae7m.js → state-y7x142mt.js} +8 -8
- package/dist/chunks/{location-e5xpd6yj.js → state-ybhbtxjg.js} +6 -6
- package/dist/chunks/{location-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{location-2hr5nhwa.js → state-yvvvp4gn.js} +8 -8
- package/dist/chunks/{location-z07pqspn.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{location-nnfr3pzh.js → state-za95q0ey.js} +15 -15
- package/dist/chunks/{location-yz9t4t24.js → state-zaxbaxp3.js} +13 -13
- package/dist/chunks/{location-knwdp628.js → state-zdnfnbnt.js} +32 -32
- package/dist/chunks/{location-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-5tpf5zh9.js → state-zhfw9w26.js} +28 -28
- package/dist/chunks/{location-g5v68nd6.js → state-zpx8x5b1.js} +15 -15
- package/dist/chunks/{location-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-n4watymm.js → state-zw06ysnm.js} +9 -9
- package/dist/chunks/{location-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- 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 +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-8mqjhp6w.js +0 -252
- package/dist/chunks/location-gyce5qg1.js +0 -18
- package/dist/chunks/location-n5t9rnsg.js +0 -26
- /package/dist/chunks/{location-0mesazry.js → state-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-12as4csw.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./state-xhvbz364.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./state-bhnryp6n.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,24 +30,24 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
35
|
ID: () => ID12,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node79,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
50
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
51
|
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service75 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service76;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service75.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,7 +225,7 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
231
|
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
@@ -233,4 +233,4 @@ function parse5(input) {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2,
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service75, node79, compatibility2, parse4, exports_model2, Event16 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-12as4csw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service65,
|
|
17
|
+
node69
|
|
18
|
+
} from "./state-tr7ttk42.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event11,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info19,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service64,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node68
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event11 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info19 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service64 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service65;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info19.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info19.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service64.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node68 = makeLocationNode({
|
|
116
|
+
service: Service64,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node69]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info19, Service64, node68, exports_reference2, Event11 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-12as4csw.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./state-4qv3yyzg.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node58,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service53 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service74;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service53.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node58 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node78, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event10, inspect2, resolve3, node58, exports_wellknown };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-fv5cfh7k.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-12as4csw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./state-384gf1m7.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-0erg9wwv.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-bhnryp6n.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service83;
|
|
@@ -227,7 +227,7 @@ var OpenAIPlugin2 = define({
|
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
228
|
}), { providerID: ID13.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -318,4 +318,4 @@ function claim(token) {
|
|
|
318
318
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-bhnryp6n.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-trg234vc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-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: () => Service61,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node65
|
|
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 Service61 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(Service61, 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(Service56, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service61.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 node65 = makeLocationNode({
|
|
143
|
+
service: Service61,
|
|
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, Service61, node65, exports_tool_output2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-12as4csw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service13,
|
|
6
|
+
Event2
|
|
7
|
+
} from "./state-k1jc7js8.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service13;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|