@opencode/core 0.0.0-dev-20092 → 0.0.0-dev-20103
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 +81 -81
- 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/{form-jmjh0wq4.js → location-service-map-06ejv7nx.js} +20 -20
- package/dist/chunks/{form-d7vwcxj8.js → location-service-map-0bfzm7aa.js} +17 -17
- package/dist/chunks/{form-afed7ext.js → location-service-map-0c2xmx3r.js} +12 -12
- package/dist/chunks/{form-jrswvxaf.js → location-service-map-0cjbgter.js} +11 -11
- package/dist/chunks/{form-ckyd1krv.js → location-service-map-0e3tt2mf.js} +4 -4
- package/dist/chunks/{form-kxpygcw9.js → location-service-map-0ft9cg2j.js} +4 -4
- package/dist/chunks/{form-pvw8r2wg.js → location-service-map-0mttjrfr.js} +10 -10
- package/dist/chunks/{form-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-sx1n432n.js → location-service-map-0v53mg2y.js} +4 -4
- package/dist/chunks/{form-r5x6zcsm.js → location-service-map-1bbkgx8g.js} +3 -3
- package/dist/chunks/{form-y11rahcj.js → location-service-map-1d5e7fjz.js} +24 -24
- package/dist/chunks/{form-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-fqb2p7cx.js → location-service-map-1g7epwpd.js} +7 -7
- package/dist/chunks/{form-ekdnc1t3.js → location-service-map-1kw05xve.js} +27 -27
- package/dist/chunks/{form-hmtpe4q9.js → location-service-map-1kyxasan.js} +5 -5
- package/dist/chunks/{form-55c4derm.js → location-service-map-1v08eb6w.js} +20 -20
- package/dist/chunks/{form-e3kb8xnq.js → location-service-map-1yqzakes.js} +8 -8
- package/dist/chunks/{form-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{form-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
- package/dist/chunks/{form-fhs97t90.js → location-service-map-24dd53tp.js} +9 -9
- package/dist/chunks/{form-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-pf9yz9v2.js → location-service-map-2c0dm15m.js} +6 -6
- package/dist/chunks/{form-b40cgvj8.js → location-service-map-2gnwkpvd.js} +5 -5
- package/dist/chunks/{form-ex3azxtp.js → location-service-map-2h8zcfyj.js} +6 -6
- package/dist/chunks/{form-607tc6va.js → location-service-map-2k8khapm.js} +5 -5
- package/dist/chunks/{form-byssvj29.js → location-service-map-2v9qn293.js} +11 -11
- package/dist/chunks/{form-zq6stcrg.js → location-service-map-2w5dyyz8.js} +8 -8
- package/dist/chunks/{form-d9sgy5v4.js → location-service-map-30krspkn.js} +4 -4
- package/dist/chunks/{form-r94pzv5m.js → location-service-map-36cphf8b.js} +9 -9
- package/dist/chunks/{form-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-05drz63z.js → location-service-map-3hbctp76.js} +26 -26
- package/dist/chunks/{form-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-6hs0a2ea.js → location-service-map-3kh5ghz4.js} +18 -18
- package/dist/chunks/{form-818pfwc9.js → location-service-map-3pbjq009.js} +8 -8
- package/dist/chunks/{form-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-p87g5rtv.js → location-service-map-45r8z7s5.js} +41 -41
- package/dist/chunks/{form-4qpgmmah.js → location-service-map-495chtjc.js} +21 -21
- package/dist/chunks/{form-ng1k2tev.js → location-service-map-4acwr5gm.js} +22 -22
- package/dist/chunks/{form-ftf41wa5.js → location-service-map-4bvexzs9.js} +7 -7
- package/dist/chunks/{form-d20da8j9.js → location-service-map-4bx5mh4w.js} +20 -20
- package/dist/chunks/{form-q0f9bf0g.js → location-service-map-4bxhq5dc.js} +12 -12
- package/dist/chunks/{form-eeaf82dq.js → location-service-map-4c8bw516.js} +8 -8
- package/dist/chunks/{form-pv751y59.js → location-service-map-4t7rsg8e.js} +49 -49
- package/dist/chunks/{form-t0vhg212.js → location-service-map-4tgay3js.js} +15 -15
- package/dist/chunks/{form-s5qtarnf.js → location-service-map-4z91h2q2.js} +19 -19
- package/dist/chunks/{form-emn263y3.js → location-service-map-5153gk4s.js} +30 -30
- package/dist/chunks/{form-as6bcte4.js → location-service-map-55krd67x.js} +24 -24
- package/dist/chunks/{form-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{form-5ekn9679.js → location-service-map-5ekn9679.js} +1 -1
- package/dist/chunks/{form-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-2m0d8rb6.js → location-service-map-60djdr4t.js} +10 -10
- package/dist/chunks/{form-8xxyxnjg.js → location-service-map-61a3zr4c.js} +14 -14
- package/dist/chunks/{form-mgmaefw5.js → location-service-map-63kngrnd.js} +5 -5
- package/dist/chunks/{form-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{form-zjdabrpw.js → location-service-map-68dy1mx9.js} +28 -28
- package/dist/chunks/{form-1cn7k6zr.js → location-service-map-6a44wwkp.js} +6 -6
- package/dist/chunks/location-service-map-6enptsyn.js +507 -0
- package/dist/chunks/{form-xk7cfvv2.js → location-service-map-6k4ynzw8.js} +5 -5
- package/dist/chunks/{form-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-djszqvmq.js → location-service-map-79qaa2kf.js} +9 -9
- package/dist/chunks/{form-gm4kvx4x.js → location-service-map-7bgeh318.js} +12 -12
- package/dist/chunks/{form-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-r60dvb0d.js → location-service-map-7evypc3h.js} +3 -3
- package/dist/chunks/{form-m2sbdswz.js → location-service-map-7shq9dj0.js} +8 -8
- package/dist/chunks/{form-xxka3pjy.js → location-service-map-833tk66z.js} +11 -11
- package/dist/chunks/{form-dgnytp49.js → location-service-map-853pnbmg.js} +4 -4
- package/dist/chunks/{form-pjzg4rs2.js → location-service-map-88ncvmwj.js} +4 -4
- package/dist/chunks/{form-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-eq0p2d4m.js → location-service-map-8e9852ac.js} +11 -11
- package/dist/chunks/location-service-map-8gz0hh7m.js +252 -0
- package/dist/chunks/{form-51re7bcp.js → location-service-map-8hcfckj3.js} +8 -8
- package/dist/chunks/{form-yvtv9hrf.js → location-service-map-8r011ra3.js} +18 -18
- package/dist/chunks/{form-hfj9a1t1.js → location-service-map-8ssbnkm6.js} +30 -30
- package/dist/chunks/{form-b1vvvnp6.js → location-service-map-8yktps7k.js} +11 -11
- package/dist/chunks/{form-zrfbtdf7.js → location-service-map-939j0jr0.js} +14 -14
- package/dist/chunks/{form-gfvb90ym.js → location-service-map-94ek1h2f.js} +2 -2
- package/dist/chunks/{form-6av2z5d4.js → location-service-map-9n2ezk31.js} +19 -19
- package/dist/chunks/{form-fpxnyzjx.js → location-service-map-9qkckev2.js} +29 -29
- package/dist/chunks/{form-zvkxymqp.js → location-service-map-9ss103sy.js} +7 -7
- package/dist/chunks/{form-sxbp20vh.js → location-service-map-9x3kmp58.js} +9 -9
- package/dist/chunks/{form-jca4demv.js → location-service-map-a3r4dcrj.js} +2 -2
- package/dist/chunks/{form-5e81w77y.js → location-service-map-a79ds6nc.js} +16 -16
- package/dist/chunks/{form-n2srvep7.js → location-service-map-a89e0tac.js} +4 -4
- package/dist/chunks/{form-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{form-57ez7d0k.js → location-service-map-aamtrqep.js} +9 -9
- package/dist/chunks/{form-41b5e87c.js → location-service-map-apeh0v2n.js} +10 -10
- package/dist/chunks/{form-wq49c4yf.js → location-service-map-aq0amx4n.js} +23 -23
- package/dist/chunks/{form-e3gmrg4e.js → location-service-map-aq106s15.js} +9 -9
- package/dist/chunks/{form-258tza17.js → location-service-map-aq9v1yk8.js} +8 -8
- package/dist/chunks/{form-6g3qzat6.js → location-service-map-ardd2bsn.js} +5 -5
- package/dist/chunks/{form-4n4fn861.js → location-service-map-as62jwn8.js} +22 -22
- package/dist/chunks/{form-69syr1jf.js → location-service-map-asq856p3.js} +17 -17
- package/dist/chunks/{form-fqtvmpfq.js → location-service-map-at1kfnmk.js} +8 -8
- package/dist/chunks/{form-d48vtfkp.js → location-service-map-avae2qkj.js} +18 -18
- package/dist/chunks/{form-4jv7e9dq.js → location-service-map-awaee7qt.js} +7 -7
- package/dist/chunks/{form-pxe6gr54.js → location-service-map-awhka9ay.js} +21 -21
- package/dist/chunks/{form-ejtaj14a.js → location-service-map-axjpx4kj.js} +4 -4
- package/dist/chunks/{form-n3yv30fq.js → location-service-map-b24v4ebx.js} +26 -26
- package/dist/chunks/{form-qcyzmg46.js → location-service-map-b3s7ae97.js} +37 -37
- package/dist/chunks/{form-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-kxch5bmm.js → location-service-map-b87s103s.js} +24 -24
- package/dist/chunks/{form-78eghtzp.js → location-service-map-bdphn620.js} +55 -55
- package/dist/chunks/{form-fgepna9y.js → location-service-map-bf0cd63e.js} +5 -5
- package/dist/chunks/{form-vf1f92b8.js → location-service-map-bk0crrr6.js} +18 -18
- package/dist/chunks/{form-h4p652km.js → location-service-map-bq1hpwve.js} +3 -3
- package/dist/chunks/{form-96692np8.js → location-service-map-bthk55h6.js} +32 -32
- package/dist/chunks/{form-p2m0n0hn.js → location-service-map-bwdmmacb.js} +11 -11
- package/dist/chunks/{form-sbnznnja.js → location-service-map-c16s4pd0.js} +38 -38
- package/dist/chunks/{form-ba4w6g48.js → location-service-map-c1np9tvh.js} +12 -12
- package/dist/chunks/{form-r4yqrmdq.js → location-service-map-ce5fknq2.js} +5 -5
- package/dist/chunks/{form-bppvgyma.js → location-service-map-cfmv9c3d.js} +18 -18
- package/dist/chunks/{form-zgqasnrv.js → location-service-map-cgm666vp.js} +17 -17
- package/dist/chunks/{form-08tmt5c8.js → location-service-map-cgza1zmh.js} +14 -14
- package/dist/chunks/{form-54tcyq79.js → location-service-map-ckecvw8r.js} +2 -2
- package/dist/chunks/{form-dg66y715.js → location-service-map-ckh625m3.js} +33 -33
- package/dist/chunks/{form-3ktbe3hf.js → location-service-map-cmefedvg.js} +6 -6
- package/dist/chunks/{form-s2hgmt76.js → location-service-map-cn44awdn.js} +31 -31
- package/dist/chunks/{form-ng9vn86m.js → location-service-map-cnzxmjcj.js} +32 -32
- package/dist/chunks/{form-atbxxdgy.js → location-service-map-cphrfjpg.js} +3 -3
- package/dist/chunks/{form-epck1df4.js → location-service-map-cw6vaqhy.js} +11 -11
- package/dist/chunks/{form-f9rzce54.js → location-service-map-czvzv6fj.js} +6 -6
- package/dist/chunks/{form-25x24fm4.js → location-service-map-d40gq58t.js} +22 -22
- package/dist/chunks/{form-qedfkepq.js → location-service-map-d4vrvgq4.js} +11 -11
- package/dist/chunks/{form-cr7r8nac.js → location-service-map-d4w6k1nt.js} +13 -13
- package/dist/chunks/{form-sj7d9cqd.js → location-service-map-d5g0vem9.js} +24 -24
- package/dist/chunks/{form-vr6tcf4m.js → location-service-map-ddvvm6a9.js} +17 -17
- package/dist/chunks/{form-s9720vp0.js → location-service-map-dfq5ekm3.js} +5 -5
- package/dist/chunks/{form-vewbafv1.js → location-service-map-dkgjef6k.js} +15 -15
- package/dist/chunks/{form-xkntkrq7.js → location-service-map-dmqcgk4z.js} +5 -5
- package/dist/chunks/{form-51gpa1xv.js → location-service-map-dmx755zn.js} +11 -11
- package/dist/chunks/{form-g912tqdn.js → location-service-map-dp4kwseh.js} +16 -16
- package/dist/chunks/{form-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-e74wffys.js → location-service-map-e2k0bps6.js} +34 -34
- package/dist/chunks/{form-yrkv8vj7.js → location-service-map-e5wg673t.js} +23 -23
- package/dist/chunks/{form-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-pj28zw9r.js → location-service-map-efg2p63t.js} +34 -34
- package/dist/chunks/{form-d49yjp64.js → location-service-map-egx0h0k6.js} +24 -24
- package/dist/chunks/{form-m1de2ch9.js → location-service-map-eqqc0c45.js} +17 -17
- package/dist/chunks/{form-erw5rpbs.js → location-service-map-erw5rpbs.js} +2 -2
- package/dist/chunks/{form-m9r59bp6.js → location-service-map-esxc65j0.js} +20 -20
- package/dist/chunks/{form-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-c78bbtc9.js → location-service-map-evbgk2k8.js} +5 -5
- package/dist/chunks/{form-5xtgfte3.js → location-service-map-eys57y9b.js} +8 -8
- package/dist/chunks/{form-f9wy4a67.js → location-service-map-f13k8as2.js} +4 -4
- package/dist/chunks/{form-g190xswt.js → location-service-map-f3ngv102.js} +4 -4
- package/dist/chunks/{form-dhmh7aw6.js → location-service-map-f73rjn58.js} +4 -4
- package/dist/chunks/{form-r7wq386s.js → location-service-map-fanjy7dq.js} +27 -27
- package/dist/chunks/{form-5yh5b1zw.js → location-service-map-fh5hhkj6.js} +32 -32
- package/dist/chunks/{form-h7tbdw6f.js → location-service-map-fp4gar62.js} +20 -20
- package/dist/chunks/{form-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-m8eeppqn.js → location-service-map-gg0c0qt7.js} +24 -24
- package/dist/chunks/{form-zfe0ttmx.js → location-service-map-gk0e7dgm.js} +5 -5
- package/dist/chunks/{form-1ed2t66p.js → location-service-map-gp9g74ej.js} +4 -4
- package/dist/chunks/{form-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-tvkgnt5p.js → location-service-map-h4m0f94k.js} +5 -5
- package/dist/chunks/{form-ab603qg2.js → location-service-map-h5f6ggqy.js} +10 -10
- package/dist/chunks/{form-48wk2ymj.js → location-service-map-h66kq4ja.js} +10 -10
- package/dist/chunks/{form-44h5tttr.js → location-service-map-h6r3nrb9.js} +4 -4
- package/dist/chunks/{form-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-s8zy8myc.js → location-service-map-hkfg6fzm.js} +5 -5
- package/dist/chunks/{form-jw5517n6.js → location-service-map-j237fm2y.js} +24 -24
- package/dist/chunks/{form-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{form-sqy4ahhk.js → location-service-map-j9ty9cws.js} +1 -1
- package/dist/chunks/{form-q3t37ft6.js → location-service-map-jexxy024.js} +3 -3
- package/dist/chunks/{form-8jgpxt85.js → location-service-map-jqw5f6af.js} +22 -22
- package/dist/chunks/{form-k3c624dm.js → location-service-map-k3c624dm.js} +3 -3
- package/dist/chunks/{form-fq0xkp38.js → location-service-map-k5h5c7q1.js} +37 -37
- package/dist/chunks/{form-ch1weyeb.js → location-service-map-k8f6en75.js} +11 -11
- package/dist/chunks/{form-fknhp1f0.js → location-service-map-ket9r42f.js} +18 -18
- package/dist/chunks/location-service-map-m18qmtz2.js +18 -0
- package/dist/chunks/{form-8rt04me1.js → location-service-map-m1shccce.js} +32 -32
- package/dist/chunks/{form-n9en70f3.js → location-service-map-m24y9wwb.js} +17 -17
- package/dist/chunks/{form-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-nkshrmvn.js → location-service-map-m3z1x1h0.js} +11 -11
- package/dist/chunks/{form-k9d40v1y.js → location-service-map-m6nec9qq.js} +4 -4
- package/dist/chunks/{form-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-bt22nkjp.js → location-service-map-mfpnwtem.js} +7 -7
- package/dist/chunks/{form-mfqp6xfm.js → location-service-map-mfqp6xfm.js} +2 -2
- package/dist/chunks/{form-fjrjs8mz.js → location-service-map-mswzr7xn.js} +23 -23
- package/dist/chunks/{form-dq74agaf.js → location-service-map-mvav9bkw.js} +12 -12
- package/dist/chunks/{form-cmq39cwv.js → location-service-map-mvc34etw.js} +9 -9
- package/dist/chunks/{form-z4qtbdmm.js → location-service-map-myypamct.js} +33 -33
- package/dist/chunks/{form-12p30pv4.js → location-service-map-n2fjwnd6.js} +8 -8
- package/dist/chunks/{form-nxbft40j.js → location-service-map-n51zs5vf.js} +8 -8
- package/dist/chunks/{form-494w821z.js → location-service-map-npsqtpy7.js} +35 -35
- package/dist/chunks/{form-c4waf52n.js → location-service-map-nt81b04e.js} +20 -20
- package/dist/chunks/{form-5dj1xsep.js → location-service-map-ntx68rw5.js} +6 -6
- package/dist/chunks/{form-gsbffn1y.js → location-service-map-nwheqxjr.js} +30 -30
- package/dist/chunks/{form-zaancc48.js → location-service-map-ny2517wm.js} +21 -21
- package/dist/chunks/{form-mwez6v5w.js → location-service-map-ny2gagq3.js} +8 -8
- package/dist/chunks/location-service-map-p2zqjdg1.js +26 -0
- package/dist/chunks/{form-ennmqkeh.js → location-service-map-p8vkj1y5.js} +5 -5
- package/dist/chunks/{form-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{form-3aj4spyv.js → location-service-map-pkvp83aw.js} +18 -18
- package/dist/chunks/{form-qqbtwq91.js → location-service-map-pnd08bfh.js} +15 -15
- package/dist/chunks/{form-c2y24p2y.js → location-service-map-prgnye3a.js} +19 -19
- package/dist/chunks/{form-m7dsxs5s.js → location-service-map-psnz0b2m.js} +87 -87
- package/dist/chunks/{form-11pq52jb.js → location-service-map-pwqjnrnh.js} +3 -3
- package/dist/chunks/{form-w92k2e0p.js → location-service-map-py3kkmfq.js} +8 -8
- package/dist/chunks/{form-0gk8zhag.js → location-service-map-q0ez028y.js} +12 -12
- package/dist/chunks/{form-kskjmaqs.js → location-service-map-q9v0w4bd.js} +26 -26
- package/dist/chunks/{form-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{form-nyqx1cb3.js → location-service-map-qvreyy9g.js} +5 -5
- package/dist/chunks/{form-6aj1h6ge.js → location-service-map-r4k9ar4d.js} +9 -9
- package/dist/chunks/{form-yp2x3t23.js → location-service-map-r8xr0va3.js} +4 -4
- package/dist/chunks/{form-h71w788e.js → location-service-map-r9w3djhf.js} +9 -9
- package/dist/chunks/{form-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-d13kp6w9.js → location-service-map-rgm7mqtj.js} +17 -17
- package/dist/chunks/{form-f07zn61c.js → location-service-map-rh6g2sa8.js} +11 -11
- package/dist/chunks/{form-v8d44gfq.js → location-service-map-rhrfrnty.js} +43 -43
- package/dist/chunks/{form-za7gw4wk.js → location-service-map-s6m6nc9p.js} +6 -6
- package/dist/chunks/{form-x2awn7t1.js → location-service-map-s78dyy7j.js} +25 -25
- package/dist/chunks/{form-eaj1djv9.js → location-service-map-s8d7rejh.js} +6 -6
- package/dist/chunks/{form-38gc11f3.js → location-service-map-szeyyw6m.js} +33 -33
- package/dist/chunks/{form-wwaev9vd.js → location-service-map-t2kq1zb2.js} +70 -70
- package/dist/chunks/{form-14zkycxn.js → location-service-map-t30mswsp.js} +17 -17
- package/dist/chunks/{form-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{form-spbewqtm.js → location-service-map-te3fz92z.js} +9 -9
- package/dist/chunks/{form-m7eyfjrp.js → location-service-map-te77dbbn.js} +8 -8
- package/dist/chunks/{form-c8bydgjz.js → location-service-map-tegs1ycp.js} +6 -6
- package/dist/chunks/{form-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{form-v3zyw3t1.js → location-service-map-v7tjtnqr.js} +42 -42
- package/dist/chunks/{form-d3qk8e4k.js → location-service-map-vc0vj5dz.js} +18 -18
- package/dist/chunks/{form-8mhxxeg4.js → location-service-map-vcdwqy0t.js} +43 -43
- package/dist/chunks/{form-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{form-btbmdjwj.js → location-service-map-vfjhn2wd.js} +4 -4
- package/dist/chunks/{form-13bngj7t.js → location-service-map-vg14phsn.js} +26 -26
- package/dist/chunks/{form-rqcygfwd.js → location-service-map-vgkexb79.js} +8 -8
- package/dist/chunks/{form-3kj2denn.js → location-service-map-vhycsadx.js} +43 -43
- package/dist/chunks/{form-ma6xfzer.js → location-service-map-vp8cnahr.js} +18 -18
- package/dist/chunks/{form-qap0fdgx.js → location-service-map-vrp7sfj8.js} +28 -24
- package/dist/chunks/{form-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-fnf8k50s.js → location-service-map-w1rn1h1h.js} +10 -10
- package/dist/chunks/{form-gvke2z1d.js → location-service-map-w2qrtdv7.js} +22 -22
- package/dist/chunks/{form-trz9crgd.js → location-service-map-w3m67914.js} +44 -44
- package/dist/chunks/{form-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-a881zpfh.js → location-service-map-w8djw5a7.js} +9 -9
- package/dist/chunks/{form-p0m4nb5f.js → location-service-map-wb86x3ay.js} +1 -1
- package/dist/chunks/{form-psazpmmj.js → location-service-map-wd3x2cqz.js} +2 -2
- package/dist/chunks/{form-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{form-08p0mrxa.js → location-service-map-wk1rrwe6.js} +13 -13
- package/dist/chunks/{form-mbma4yh7.js → location-service-map-wn3c38y7.js} +13 -13
- package/dist/chunks/{form-140rqsbt.js → location-service-map-wnxpvc6c.js} +2 -2
- package/dist/chunks/{form-dntrgzg4.js → location-service-map-wt3nx885.js} +13 -13
- package/dist/chunks/{form-3e35s4mq.js → location-service-map-wxp0jyf7.js} +20 -20
- package/dist/chunks/{form-r9n1h5e1.js → location-service-map-wzrg2q53.js} +48 -48
- package/dist/chunks/{form-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-ywdjejdj.js → location-service-map-x1vt8hry.js} +10 -10
- package/dist/chunks/{form-rgy4pp43.js → location-service-map-x3v6tvna.js} +13 -13
- package/dist/chunks/{form-gdkt1bct.js → location-service-map-x5spkhqe.js} +25 -25
- package/dist/chunks/{form-19tft2ya.js → location-service-map-x7xg137b.js} +4 -4
- package/dist/chunks/{form-vaabtg8n.js → location-service-map-xdhfzwgn.js} +6 -6
- package/dist/chunks/{form-57b9ws8p.js → location-service-map-xfkkasph.js} +7 -7
- package/dist/chunks/{form-c0c64v71.js → location-service-map-xgjvnsnz.js} +10 -10
- package/dist/chunks/{form-kmmhwf5p.js → location-service-map-xmznkxks.js} +1 -1
- package/dist/chunks/{form-nmyrfs22.js → location-service-map-xqngxfdt.js} +176 -176
- package/dist/chunks/{form-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-r1659vap.js → location-service-map-y6bc7ytb.js} +18 -18
- package/dist/chunks/{form-0hdrvdsw.js → location-service-map-y6n8wcsw.js} +13 -13
- package/dist/chunks/{form-aeycry7f.js → location-service-map-y7d70cjs.js} +12 -12
- package/dist/chunks/{form-1vyzjnq9.js → location-service-map-yf10kn3d.js} +8 -8
- package/dist/chunks/{form-bm0j3psj.js → location-service-map-yffarvam.js} +16 -16
- package/dist/chunks/{form-qn4ba14w.js → location-service-map-yjptyezs.js} +5 -5
- package/dist/chunks/{form-tae84zs9.js → location-service-map-ykwb97px.js} +7 -7
- package/dist/chunks/{form-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{form-15znadw3.js → location-service-map-yvybj0e9.js} +91 -91
- package/dist/chunks/{form-kykdcbq0.js → location-service-map-yx96bawg.js} +56 -56
- package/dist/chunks/{form-bjtzbw4r.js → location-service-map-z07pqspn.js} +3 -3
- package/dist/chunks/{form-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-347vaxex.js → location-service-map-z4vn3wja.js} +9 -9
- package/dist/chunks/{form-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
- package/dist/chunks/{form-0gtbcy6a.js → location-service-map-z6k93gbd.js} +26 -26
- package/dist/chunks/{form-k89d419f.js → location-service-map-z8tmpf1c.js} +3 -3
- package/dist/chunks/{form-z8xsvp2p.js → location-service-map-z8tr7vps.js} +41 -41
- package/dist/chunks/{form-ymvhzfzq.js → location-service-map-z9m63e6h.js} +11 -11
- package/dist/chunks/{form-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- 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 +85 -85
- 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 +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- 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 +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- 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 +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- 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 +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +91 -91
- 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 +83 -83
- 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 +88 -88
- 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 +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +124 -124
- 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 +91 -91
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- 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-defaults.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 +122 -122
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +87 -87
- 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 +156 -156
- 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 +216 -216
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- 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 +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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/types/tool/read-filesystem.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/form-54qy129q.js +0 -26
- package/dist/chunks/form-9zdhvgqs.js +0 -18
- package/dist/chunks/form-a59zsbk6.js +0 -507
- package/dist/chunks/form-ftpkz8yb.js +0 -252
- /package/dist/chunks/{form-0mesazry.js → location-service-map-0mesazry.js} +0 -0
- /package/dist/chunks/{form-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service49,
|
|
8
|
+
node52
|
|
9
|
+
} from "./location-service-map-1d5e7fjz.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-q9v0w4bd.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service9,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -69,9 +69,9 @@ class MediaIngestLimitError2 extends Schema.TaggedError()("ReadTool.MediaIngestL
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
class OffsetOutOfRangeError2 extends Schema.TaggedError()("ReadTool.OffsetOutOfRangeError", { offset: Schema.Number }) {
|
|
72
|
+
class OffsetOutOfRangeError2 extends Schema.TaggedError()("ReadTool.OffsetOutOfRangeError", { offset: Schema.Number, lines: Schema.Number }) {
|
|
73
73
|
get message() {
|
|
74
|
-
return `Offset ${this.offset} is out of range`;
|
|
74
|
+
return `Offset ${this.offset} is out of range for this file (${this.lines} ${this.lines === 1 ? "line" : "lines"})`;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -85,7 +85,7 @@ class PathKindError2 extends Schema.TaggedError()("ReadTool.PathKindError", {
|
|
|
85
85
|
}
|
|
86
86
|
var PageInput2 = Schema.Struct({
|
|
87
87
|
offset: Schema.optionalKey(NonNegativeInt2),
|
|
88
|
-
limit: Schema.optionalKey(NonNegativeInt2
|
|
88
|
+
limit: Schema.optionalKey(NonNegativeInt2)
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -147,7 +147,9 @@ var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page =
|
|
|
147
147
|
type: "file",
|
|
148
148
|
uri: pathToFileURL(input).href,
|
|
149
149
|
name: path.basename(input),
|
|
150
|
-
content: new TextDecoder().decode(first.bytes)
|
|
150
|
+
content: new TextDecoder().decode(first.bytes).split(`
|
|
151
|
+
`).map(clampLine).join(`
|
|
152
|
+
`),
|
|
151
153
|
encoding: "utf8",
|
|
152
154
|
mime: mimeType(input)
|
|
153
155
|
};
|
|
@@ -156,7 +158,7 @@ var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page =
|
|
|
156
158
|
const result = textPage(first.bytes, true, page);
|
|
157
159
|
if (result === undefined)
|
|
158
160
|
return yield* Effect.die("Read page did not settle for a complete first chunk");
|
|
159
|
-
return yield* makeTextPage(input, resource, result, first.bytes.subarray(0, result.consumed).includes(0));
|
|
161
|
+
return yield* makeTextPage(input, resource, result, first.bytes.subarray(0, result.consumed).includes(0), lineCount(textLeaf(first.bytes).summary.lines, first.bytes.at(-1)));
|
|
160
162
|
}
|
|
161
163
|
const offset = page.offset || 1;
|
|
162
164
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
@@ -191,7 +193,7 @@ var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page =
|
|
|
191
193
|
checked += leaf.summary.bytes;
|
|
192
194
|
return length > 0 && leaf.bytes.subarray(0, length).includes(0);
|
|
193
195
|
});
|
|
194
|
-
return yield* makeTextPage(input, resource, translated, binary);
|
|
196
|
+
return yield* makeTextPage(input, resource, translated, binary, lineCount(lines, leaves.at(-1)?.bytes.at(-1)));
|
|
195
197
|
}
|
|
196
198
|
}
|
|
197
199
|
const next = yield* readFile(files, input, resource, { offset: bytes, length: FIRST_CHUNK });
|
|
@@ -206,11 +208,11 @@ var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page =
|
|
|
206
208
|
}
|
|
207
209
|
});
|
|
208
210
|
var readFile = (files, input, resource, range) => files.read(input, range).pipe(Effect.catchTag("Environment.WrongKind", () => Effect.fail(new PathKindError2({ resource, expected: "a file" }))));
|
|
209
|
-
var makeTextPage = Effect.fnUntraced(function* (input, resource, result, binary) {
|
|
211
|
+
var makeTextPage = Effect.fnUntraced(function* (input, resource, result, binary, lines) {
|
|
210
212
|
if (binary)
|
|
211
213
|
return yield* new BinaryFileError2({ resource });
|
|
212
214
|
if (result.entries.length === 0 && result.offset !== 1)
|
|
213
|
-
return yield* new OffsetOutOfRangeError2({ offset: result.offset });
|
|
215
|
+
return yield* new OffsetOutOfRangeError2({ offset: result.offset, lines });
|
|
214
216
|
return new TextPage2({
|
|
215
217
|
type: "text-page",
|
|
216
218
|
content: result.entries.join(`
|
|
@@ -256,7 +258,7 @@ var textPage = (bytes, eof, page) => {
|
|
|
256
258
|
next = line;
|
|
257
259
|
break;
|
|
258
260
|
}
|
|
259
|
-
const text = value
|
|
261
|
+
const text = clampLine(value);
|
|
260
262
|
const lineSize = Buffer.byteLength(text, "utf-8") + (entries.length > 0 ? 1 : 0);
|
|
261
263
|
if (size + lineSize > MAX_READ_BYTES2) {
|
|
262
264
|
next = line;
|
|
@@ -273,6 +275,8 @@ var textPage = (bytes, eof, page) => {
|
|
|
273
275
|
const consumed = consumedLines === 0 ? 0 : nthNewline(bytes, consumedLines) ?? bytes.length;
|
|
274
276
|
return { entries, offset, next, consumed };
|
|
275
277
|
};
|
|
278
|
+
var clampLine = (line) => line.length > MAX_LINE_LENGTH ? line.slice(0, MAX_LINE_LENGTH) + MAX_LINE_SUFFIX : line;
|
|
279
|
+
var lineCount = (newlines, last) => newlines + (last === undefined || last === 10 ? 0 : 1);
|
|
276
280
|
var textLeaf = (bytes) => {
|
|
277
281
|
let lines = 0;
|
|
278
282
|
for (const byte of bytes)
|
|
@@ -326,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
330
|
return index + 1;
|
|
327
331
|
}
|
|
328
332
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service49;
|
|
335
|
+
return Service9.of({
|
|
332
336
|
list: environment.files.list,
|
|
333
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
338
|
});
|
|
335
339
|
}));
|
|
336
|
-
var
|
|
340
|
+
var node10 = makeLocationNode({ service: Service9, layer, deps: [node52] });
|
|
337
341
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node10, exports_read_filesystem };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-x7xg137b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./location-service-map-nt81b04e.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin49,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin49 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service54;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin5 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin49, exports_plugin };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
node66
|
|
7
|
+
} from "./location-service-map-w3m67914.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service23,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node26
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service62;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service23.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node26 = makeLocationNode({
|
|
69
|
+
service: Service23,
|
|
70
|
+
layer: layer10,
|
|
71
|
+
deps: [node66, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service23, layer10, node26, exports_generate };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service80,
|
|
4
|
+
node84
|
|
5
|
+
} from "./location-service-map-cn44awdn.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service76,
|
|
16
|
+
node80
|
|
17
|
+
} from "./location-service-map-m1shccce.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node79
|
|
21
|
+
} from "./location-service-map-dmx755zn.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID7,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service64,
|
|
27
|
+
node68
|
|
28
|
+
} from "./location-service-map-5153gk4s.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service62,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer23,
|
|
48
|
+
node: () => node66,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID13,
|
|
59
|
+
modelID: ID7,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID13,
|
|
69
|
+
modelID: ID7,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID13,
|
|
80
|
+
modelID: ID7,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID13,
|
|
91
|
+
modelID: ID7,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID13,
|
|
103
|
+
modelID: ID7,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID13,
|
|
113
|
+
modelID: ID7,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service62 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer23 = Layer.effect(Service62, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service76;
|
|
263
|
+
const models = yield* Service64;
|
|
264
|
+
const integrations = yield* Service80;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service75;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service62.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node66 = makeLocationNode({
|
|
314
|
+
service: Service62,
|
|
315
|
+
layer: layer23,
|
|
316
|
+
deps: [node80, node68, node84, Npm.node, node79]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service62, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node66, exports_model_resolver };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service73,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node77
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service73 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service73.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service73, node77, exports_image2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./location-service-map-ddvvm6a9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./location-service-map-vcdwqy0t.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-gg0c0qt7.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin9
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin9 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service52;
|
|
35
|
+
const location = yield* Service77;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin9, exports_reference };
|