@opencode/core 0.0.0-dev-21079 → 0.0.0-dev-21080
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{job-tmf7ragz.js → location-services-083303b5.js} +12 -12
- package/dist/chunks/{job-hsjabct9.js → location-services-0b5g1ynf.js} +4 -4
- package/dist/chunks/{job-bqhxdahr.js → location-services-0m1m2yc2.js} +25 -25
- package/dist/chunks/{job-ryppr2g9.js → location-services-0mmkf94b.js} +22 -22
- package/dist/chunks/{job-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{job-9y0ac6nx.js → location-services-0ypc52y8.js} +35 -35
- package/dist/chunks/{job-x8s5s07e.js → location-services-14zmt7av.js} +33 -33
- package/dist/chunks/{job-3za7s95v.js → location-services-1bagj0a9.js} +21 -21
- package/dist/chunks/{job-wm2k908j.js → location-services-1bbn3dkw.js} +5 -5
- package/dist/chunks/{job-h818653d.js → location-services-1xc3wfx9.js} +6 -6
- package/dist/chunks/{job-eep7gb24.js → location-services-23ep9gsy.js} +19 -19
- package/dist/chunks/{job-3aa4b0fh.js → location-services-23j7fmch.js} +23 -23
- package/dist/chunks/{job-4e0q05wd.js → location-services-23xej63c.js} +6 -6
- package/dist/chunks/{job-m5vvttpn.js → location-services-244nw8ga.js} +13 -13
- package/dist/chunks/{job-r7m15gks.js → location-services-245km8hw.js} +11 -11
- package/dist/chunks/{job-c1mbdfvr.js → location-services-24pdmgsr.js} +5 -5
- package/dist/chunks/{job-6g8fsaqs.js → location-services-2amj7w2e.js} +11 -11
- package/dist/chunks/{job-n36d8n8x.js → location-services-2kym22yv.js} +16 -16
- package/dist/chunks/{job-pfq1ksym.js → location-services-2vgzs72b.js} +5 -5
- package/dist/chunks/{job-wxevmznr.js → location-services-2xzzkntk.js} +25 -25
- package/dist/chunks/{job-h7je5etx.js → location-services-302nrbc0.js} +17 -17
- package/dist/chunks/{job-127b9nq3.js → location-services-35ja2k0w.js} +2 -2
- package/dist/chunks/{job-j67yymgj.js → location-services-362yhp9b.js} +11 -11
- package/dist/chunks/{job-m1gwyh0e.js → location-services-3a1csxgf.js} +36 -36
- package/dist/chunks/{job-css2yt3j.js → location-services-3d60bhv0.js} +34 -34
- package/dist/chunks/{job-dm7t50gs.js → location-services-3f79bhw9.js} +6 -6
- package/dist/chunks/{job-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-3hwn7j4h.js → location-services-3hwn7j4h.js} +2 -2
- package/dist/chunks/{job-prrf0erm.js → location-services-3mqv2hqz.js} +47 -47
- package/dist/chunks/{job-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-gce79w0q.js → location-services-3t6g7wkp.js} +22 -22
- package/dist/chunks/{job-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-w084rf3c.js → location-services-3vk4e4ba.js} +20 -20
- package/dist/chunks/{job-vf2jwzcg.js → location-services-3x67zv1q.js} +24 -24
- package/dist/chunks/{job-dvdkkyt1.js → location-services-3xjjzvbe.js} +3 -3
- package/dist/chunks/{job-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-2vpzg4es.js → location-services-42cfyv6e.js} +1 -1
- package/dist/chunks/{job-j90fxacf.js → location-services-44t855md.js} +4 -4
- package/dist/chunks/{job-x97aaehj.js → location-services-4bg27fyf.js} +25 -25
- package/dist/chunks/{job-yd5rae36.js → location-services-4r1rf6x5.js} +25 -25
- package/dist/chunks/{job-rk7s9xkn.js → location-services-4v7ngy20.js} +4 -4
- package/dist/chunks/{job-ry6831an.js → location-services-4y7j986s.js} +9 -9
- package/dist/chunks/{job-7c1vnkcm.js → location-services-50phh09z.js} +34 -34
- package/dist/chunks/{job-gvcsr0yn.js → location-services-57kka029.js} +8 -8
- package/dist/chunks/{job-fdv7cw86.js → location-services-581vd47p.js} +30 -30
- package/dist/chunks/{job-vvnh5rp7.js → location-services-59te2vk4.js} +11 -11
- package/dist/chunks/{job-h9wp8z5w.js → location-services-5dkn69vz.js} +4 -4
- package/dist/chunks/{job-s2z0d44b.js → location-services-5fec3t3w.js} +9 -9
- package/dist/chunks/{job-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{job-jjq97kgt.js → location-services-65cdatea.js} +22 -22
- package/dist/chunks/{job-z2sc3gt3.js → location-services-6bbwvj97.js} +11 -11
- package/dist/chunks/{job-qtpmzfhp.js → location-services-6fw71bvh.js} +4 -4
- package/dist/chunks/{job-210s6np5.js → location-services-6nwhtmce.js} +4 -4
- package/dist/chunks/{job-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
- package/dist/chunks/{job-5re26fy0.js → location-services-6zmhf5e4.js} +9 -9
- package/dist/chunks/{job-tq8ecwgx.js → location-services-75tmef9h.js} +49 -49
- package/dist/chunks/{job-775gj3j1.js → location-services-775gj3j1.js} +2 -2
- package/dist/chunks/{job-ft3hqk2c.js → location-services-79qaa2kf.js} +9 -9
- package/dist/chunks/{job-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-qk3y40rv.js → location-services-7f1f8kt8.js} +16 -16
- package/dist/chunks/{job-83eavpp5.js → location-services-7fbg3v2f.js} +42 -42
- package/dist/chunks/{job-0fkfrjz2.js → location-services-7q9y922e.js} +30 -30
- package/dist/chunks/{job-t0pyhqcw.js → location-services-7qcmfwcv.js} +11 -11
- package/dist/chunks/{job-w1eejvng.js → location-services-84txncab.js} +5 -5
- package/dist/chunks/{job-457kk9gz.js → location-services-8a368wvm.js} +20 -20
- package/dist/chunks/{job-30xz5n9s.js → location-services-8dksh1ny.js} +24 -24
- package/dist/chunks/{job-4qcvfhpn.js → location-services-8h4jg6v9.js} +5 -5
- package/dist/chunks/{job-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
- package/dist/chunks/{job-hfjntkgv.js → location-services-8y47q2p9.js} +13 -13
- package/dist/chunks/{job-fyp3a0hm.js → location-services-8zfz6a2t.js} +14 -14
- package/dist/chunks/{job-91qna3x0.js → location-services-91qna3x0.js} +3 -3
- package/dist/chunks/{job-phstrbs2.js → location-services-9hn6k4tm.js} +8 -8
- package/dist/chunks/{job-mjdbxb13.js → location-services-9k6k7fgf.js} +25 -25
- package/dist/chunks/{job-wrce305w.js → location-services-9knbxg1b.js} +17 -17
- package/dist/chunks/{job-wqz0e28m.js → location-services-9q4r2gvr.js} +5 -5
- package/dist/chunks/{job-egeez3df.js → location-services-9t6z5mty.js} +6 -6
- package/dist/chunks/{job-acab3reh.js → location-services-9ty8jwpv.js} +17 -17
- package/dist/chunks/{job-eth2ss2a.js → location-services-9vp2dtmh.js} +11 -11
- package/dist/chunks/{job-cn8bj85j.js → location-services-9w32cmye.js} +58 -58
- package/dist/chunks/{job-vzqym90d.js → location-services-9xf2f7x4.js} +13 -13
- package/dist/chunks/{job-n0h8hcm5.js → location-services-a4tbexpm.js} +16 -16
- package/dist/chunks/{job-7bmnjcd1.js → location-services-aa674q4y.js} +11 -11
- package/dist/chunks/{job-gqtdsdt7.js → location-services-addxnjmp.js} +4 -4
- package/dist/chunks/{job-zyk1yjk8.js → location-services-b3f8fkhc.js} +5 -5
- package/dist/chunks/{job-25yqr4p3.js → location-services-bfksx8rf.js} +24 -24
- package/dist/chunks/{job-ywt8jp22.js → location-services-bjx1sjef.js} +9 -9
- package/dist/chunks/{job-1dgr7zp1.js → location-services-bprq9w7g.js} +4 -4
- package/dist/chunks/{job-x4aswrad.js → location-services-bx9w2fqt.js} +44 -44
- package/dist/chunks/location-services-by5v678g.js +18 -0
- package/dist/chunks/{job-brm2ejd9.js → location-services-c1944bpn.js} +5 -5
- package/dist/chunks/{job-c1fqxshp.js → location-services-c1fqxshp.js} +3 -3
- package/dist/chunks/{job-0996nyz8.js → location-services-c227t32y.js} +5 -5
- package/dist/chunks/{job-vfcwmzqw.js → location-services-c2r9jrv3.js} +24 -24
- package/dist/chunks/{job-xrvt9x77.js → location-services-c49rsx5q.js} +28 -28
- package/dist/chunks/{job-039tjp7x.js → location-services-c8kj68w8.js} +15 -15
- package/dist/chunks/{job-6m9ck4g8.js → location-services-cbt851ks.js} +23 -23
- package/dist/chunks/{job-5hdn0svx.js → location-services-cp7mdvjw.js} +10 -10
- package/dist/chunks/{job-xyxhkzpb.js → location-services-csx4qebp.js} +6 -6
- package/dist/chunks/location-services-d19ht2gs.js +253 -0
- package/dist/chunks/{job-7fyrzeqr.js → location-services-dbfp1drv.js} +1 -1
- package/dist/chunks/{job-9vphjyta.js → location-services-ddzg2jb5.js} +11 -11
- package/dist/chunks/{job-xtr9q6v2.js → location-services-dk81qchb.js} +21 -21
- package/dist/chunks/{job-8r8vn0wd.js → location-services-dkrhta5e.js} +26 -26
- package/dist/chunks/{job-hn9raw8n.js → location-services-dpvvrdx3.js} +14 -14
- package/dist/chunks/{job-dqxsqydv.js → location-services-dqxsqydv.js} +1 -1
- package/dist/chunks/{job-drwq78ky.js → location-services-drwq78ky.js} +1 -1
- package/dist/chunks/{job-ag1vmkq5.js → location-services-e29c15sd.js} +5 -5
- package/dist/chunks/{job-5qd3pb7m.js → location-services-e3qxr5gk.js} +2 -2
- package/dist/chunks/{job-92r62jsy.js → location-services-e4yed1xk.js} +7 -7
- package/dist/chunks/{job-cdwxwcm8.js → location-services-e59hp8e0.js} +6 -6
- package/dist/chunks/{job-hzqv7q0z.js → location-services-e6h9sxh5.js} +3 -3
- package/dist/chunks/{job-fjjrhmvw.js → location-services-e7gvftdw.js} +29 -29
- package/dist/chunks/{job-nf6m5d5f.js → location-services-e8kf9jzb.js} +12 -12
- package/dist/chunks/{job-ws9526b8.js → location-services-e9vjtg4n.js} +15 -15
- package/dist/chunks/{job-5njrfvwn.js → location-services-ee9ke1cf.js} +9 -9
- package/dist/chunks/{job-eej6y6fw.js → location-services-eej6y6fw.js} +2 -2
- package/dist/chunks/{job-aa1q6d6m.js → location-services-eemsj75p.js} +17 -17
- package/dist/chunks/{job-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-pqdnhc1j.js → location-services-ek0xqdc4.js} +57 -57
- package/dist/chunks/{job-t6sa502c.js → location-services-eknn5gcm.js} +5 -5
- package/dist/chunks/{job-jvf3yq6v.js → location-services-embw8kgh.js} +4 -4
- package/dist/chunks/{job-n9asgb54.js → location-services-ethqs1sx.js} +14 -14
- package/dist/chunks/{job-q1gw77h8.js → location-services-ewx5eb2n.js} +8 -8
- package/dist/chunks/{job-v1qs5gee.js → location-services-f9m23keb.js} +14 -14
- package/dist/chunks/{job-qgn6gcr1.js → location-services-fcrkznn8.js} +5 -5
- package/dist/chunks/{job-9sf2b1wk.js → location-services-fwqtawms.js} +35 -35
- package/dist/chunks/{job-9vdzy19e.js → location-services-g3fnaecf.js} +28 -28
- package/dist/chunks/{job-xbwbtnkh.js → location-services-g5m8facw.js} +36 -36
- package/dist/chunks/{job-xsy68a41.js → location-services-g5q88jq6.js} +14 -14
- package/dist/chunks/{job-me6ycs1a.js → location-services-g5vbb9hj.js} +23 -23
- package/dist/chunks/{job-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-jwmr3k2g.js → location-services-gfx22yfa.js} +9 -9
- package/dist/chunks/{job-jce1h2b8.js → location-services-gnaysa6b.js} +13 -13
- package/dist/chunks/{job-ezbmb5q1.js → location-services-h1z5k2t2.js} +6 -6
- package/dist/chunks/{job-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-h7s7r6s9.js → location-services-h7s7r6s9.js} +2 -2
- package/dist/chunks/{job-w39jehkq.js → location-services-h83xjv7f.js} +5 -5
- package/dist/chunks/{job-cmhswgf0.js → location-services-hft03ywa.js} +20 -20
- package/dist/chunks/{job-psbkntp0.js → location-services-hge6h9tw.js} +28 -28
- package/dist/chunks/{job-bbevnd6a.js → location-services-hgfjkg9n.js} +7 -7
- package/dist/chunks/{job-hgz4x7wa.js → location-services-hgz4x7wa.js} +1 -1
- package/dist/chunks/{job-sxf09kmx.js → location-services-hhyxa8w0.js} +31 -31
- package/dist/chunks/{job-3s2exhsp.js → location-services-hp1kev64.js} +4 -4
- package/dist/chunks/{job-mx9vqzsb.js → location-services-hq8zt1th.js} +6 -6
- package/dist/chunks/{job-b4e6r5jm.js → location-services-hste6tza.js} +8 -8
- package/dist/chunks/{job-qpbfapt8.js → location-services-htvyff0e.js} +185 -185
- package/dist/chunks/{job-qyyjyxch.js → location-services-j4jzdm2s.js} +31 -31
- package/dist/chunks/{job-ec4a430e.js → location-services-ja30wqx5.js} +50 -50
- package/dist/chunks/{job-tr7pah2h.js → location-services-je5s84sz.js} +20 -20
- package/dist/chunks/{job-d7kb6fh0.js → location-services-jfk3bbrj.js} +2 -2
- package/dist/chunks/{job-w9a2a3nz.js → location-services-jgyvgpbp.js} +5 -5
- package/dist/chunks/{job-g4s2gh9e.js → location-services-jhaj7dhp.js} +4 -4
- package/dist/chunks/{job-yqc6bamn.js → location-services-jhdf29st.js} +1 -1
- package/dist/chunks/{job-fe6hrmfe.js → location-services-jpjvyf3t.js} +23 -23
- package/dist/chunks/{job-gwhvz0y4.js → location-services-jvqwkpfk.js} +32 -32
- package/dist/chunks/{job-y71avatq.js → location-services-jwcy2c2z.js} +4 -4
- package/dist/chunks/{job-kdqxwgga.js → location-services-jxr5ks98.js} +6 -6
- package/dist/chunks/{job-a638f9xa.js → location-services-jyyk6gde.js} +48 -48
- package/dist/chunks/location-services-kbqjftap.js +26 -0
- package/dist/chunks/{job-882k9js2.js → location-services-kg320fw9.js} +75 -75
- package/dist/chunks/{job-khmqacep.js → location-services-khmqacep.js} +1 -1
- package/dist/chunks/{job-4t279dyc.js → location-services-kkj9qksm.js} +13 -13
- package/dist/chunks/{job-kwb1v3vj.js → location-services-kwb1v3vj.js} +1 -1
- package/dist/chunks/{job-f58wf4nq.js → location-services-kx8q5nyz.js} +11 -11
- package/dist/chunks/{job-pdgc5yq2.js → location-services-kxxk4g5v.js} +25 -25
- package/dist/chunks/{job-n241z3qa.js → location-services-m3awrey6.js} +11 -11
- package/dist/chunks/{job-8z1ayf6d.js → location-services-m7c14yt9.js} +49 -49
- package/dist/chunks/{job-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-maspj1v3.js → location-services-maspj1v3.js} +1 -1
- package/dist/chunks/{job-k9hyry2f.js → location-services-mctm3cx2.js} +5 -5
- package/dist/chunks/{job-n9xx8v2w.js → location-services-mg6xpf0r.js} +31 -31
- package/dist/chunks/{job-edrmdtr5.js → location-services-mtq6xxnx.js} +4 -4
- package/dist/chunks/{job-ty2796qv.js → location-services-n306y6p7.js} +26 -26
- package/dist/chunks/{job-8hbfdwcy.js → location-services-n4e0gck4.js} +8 -8
- package/dist/chunks/{job-sxcaecc0.js → location-services-nma959mg.js} +3 -3
- package/dist/chunks/{job-vy0ttj5r.js → location-services-npv8gbcr.js} +39 -39
- package/dist/chunks/{job-gxjtm5af.js → location-services-ntk6zd40.js} +4 -4
- package/dist/chunks/{job-mtpeagzc.js → location-services-nvxqht09.js} +3 -3
- package/dist/chunks/{job-ghkvfr8f.js → location-services-pew1wbm6.js} +9 -9
- package/dist/chunks/{job-kkp8zx71.js → location-services-ph842b28.js} +4 -4
- package/dist/chunks/{job-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{job-hpd6gqz6.js → location-services-ppnrbg7s.js} +14 -14
- package/dist/chunks/{job-j3zs6rt6.js → location-services-ppwx06gp.js} +20 -20
- package/dist/chunks/{job-aykdpe63.js → location-services-q0g54yjn.js} +85 -85
- package/dist/chunks/{job-3n57ya95.js → location-services-q1qecwxv.js} +11 -11
- package/dist/chunks/{job-19bd5fc5.js → location-services-q3mk2dcw.js} +17 -17
- package/dist/chunks/{job-fww2ha2b.js → location-services-qeaed4rb.js} +10 -10
- package/dist/chunks/{job-xdt9hfzq.js → location-services-qjg4je6d.js} +11 -11
- package/dist/chunks/{job-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
- package/dist/chunks/{job-9hwaqfsw.js → location-services-qne3fa44.js} +5 -5
- package/dist/chunks/{job-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{job-25cs5cen.js → location-services-qvb3nf84.js} +8 -8
- package/dist/chunks/{job-t959ne8k.js → location-services-r6ntqdat.js} +18 -18
- package/dist/chunks/{job-54ma36ye.js → location-services-r94pvvab.js} +4 -4
- package/dist/chunks/{job-d7x0sh0y.js → location-services-ra67jj04.js} +8 -8
- package/dist/chunks/{job-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-rert0e01.js → location-services-rert0e01.js} +2 -2
- package/dist/chunks/{job-rj3eygr5.js → location-services-rj3eygr5.js} +2 -2
- package/dist/chunks/{job-6pc27hjz.js → location-services-rkprpv83.js} +6 -6
- package/dist/chunks/{job-92sgck50.js → location-services-rzfqcm6c.js} +13 -13
- package/dist/chunks/{job-a47mbapt.js → location-services-s1mwhzrx.js} +7 -7
- package/dist/chunks/{job-28x0533s.js → location-services-s3197e3j.js} +18 -18
- package/dist/chunks/{job-cgxk1kc1.js → location-services-s4f49p0s.js} +3 -3
- package/dist/chunks/{job-64d5ccde.js → location-services-s6cjjfc4.js} +13 -13
- package/dist/chunks/{job-3h54fp5k.js → location-services-s9sfj19z.js} +15 -15
- package/dist/chunks/{job-sa8ekw3f.js → location-services-sa8ekw3f.js} +2 -2
- package/dist/chunks/{job-7gra0nqm.js → location-services-sea3ty2w.js} +8 -8
- package/dist/chunks/{job-3zrpsj7p.js → location-services-sf4bsm1d.js} +91 -91
- package/dist/chunks/{job-1t77s0vs.js → location-services-sg05dgk5.js} +21 -21
- package/dist/chunks/{job-c92bdz8k.js → location-services-snkznpnb.js} +20 -20
- package/dist/chunks/{job-ecpgw71p.js → location-services-stk88hg0.js} +45 -45
- package/dist/chunks/{job-syv4x271.js → location-services-syv4x271.js} +1 -1
- package/dist/chunks/{job-mb8r74b3.js → location-services-syx2fw03.js} +3 -3
- package/dist/chunks/{job-sn78md6r.js → location-services-t0j71e47.js} +8 -8
- package/dist/chunks/{job-0c1x1jpa.js → location-services-t2wzjc4q.js} +18 -18
- package/dist/chunks/{job-02a7j1yb.js → location-services-t550f9t1.js} +4 -4
- package/dist/chunks/{job-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-a276wvpv.js → location-services-tckyrjpr.js} +29 -29
- package/dist/chunks/{job-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{job-1w0az4rs.js → location-services-tf8ptcfp.js} +28 -28
- package/dist/chunks/{job-hph2fv3r.js → location-services-tf9w7cc4.js} +23 -23
- package/dist/chunks/{job-8f18n148.js → location-services-tgz9kpfd.js} +32 -32
- package/dist/chunks/{job-tm0kqsz3.js → location-services-tm0kqsz3.js} +1 -1
- package/dist/chunks/{job-6hckdz63.js → location-services-tmp094y9.js} +32 -32
- package/dist/chunks/{job-es4zr9pq.js → location-services-trya7axm.js} +8 -8
- package/dist/chunks/{job-g8be3rk7.js → location-services-tw6chp79.js} +24 -24
- package/dist/chunks/{job-en10vwq4.js → location-services-twezr0mm.js} +14 -14
- package/dist/chunks/{job-tyytaxap.js → location-services-tyytaxap.js} +1 -1
- package/dist/chunks/{job-v0es1rhs.js → location-services-v0es1rhs.js} +2 -2
- package/dist/chunks/{job-wrn1yqb7.js → location-services-v47csb3d.js} +26 -26
- package/dist/chunks/{job-fdkvcqsr.js → location-services-v72k71c1.js} +16 -16
- package/dist/chunks/{job-v7p4zvkq.js → location-services-v7p4zvkq.js} +2 -2
- package/dist/chunks/{job-fjkxn7w1.js → location-services-vd45c9sq.js} +15 -15
- package/dist/chunks/{job-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{job-td89qvvd.js → location-services-vfr0kypj.js} +50 -50
- package/dist/chunks/{job-4gate0yw.js → location-services-vtvbcqc4.js} +36 -36
- package/dist/chunks/{job-s5met55r.js → location-services-vwhbe72t.js} +8 -8
- package/dist/chunks/{job-qdx5nape.js → location-services-vx1y955m.js} +34 -34
- package/dist/chunks/{job-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-19bze07p.js → location-services-w9e5drq7.js} +13 -13
- package/dist/chunks/{job-cqpeec48.js → location-services-wby3r2te.js} +11 -11
- package/dist/chunks/{job-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{job-cq272wan.js → location-services-wqqy3mvy.js} +12 -12
- package/dist/chunks/{job-76192nxt.js → location-services-x3wbe70s.js} +4 -4
- package/dist/chunks/{job-nc7jj524.js → location-services-x4sx43e2.js} +9 -9
- package/dist/chunks/{job-d51195b0.js → location-services-x5h44zm2.js} +9 -9
- package/dist/chunks/{job-7rfyzhr4.js → location-services-x8y695va.js} +11 -11
- package/dist/chunks/{job-ft9c0akp.js → location-services-xb1mmqz8.js} +15 -15
- package/dist/chunks/{job-2m0qb85n.js → location-services-xdstf3nv.js} +16 -16
- package/dist/chunks/{job-9jvqya9k.js → location-services-xqtf9pe1.js} +21 -21
- package/dist/chunks/{job-q5swsrkg.js → location-services-xt6z0133.js} +19 -19
- package/dist/chunks/{job-3jtzdpaa.js → location-services-xwk1chxv.js} +32 -32
- package/dist/chunks/{job-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-qfrm95v6.js → location-services-y3p5qm6e.js} +5 -5
- package/dist/chunks/{job-vj9cy051.js → location-services-yajr5kvv.js} +35 -35
- package/dist/chunks/{job-ad0h1ekw.js → location-services-yarctvhd.js} +45 -45
- package/dist/chunks/{job-yvx9n9ae.js → location-services-ykj822me.js} +46 -46
- package/dist/chunks/{job-3cqwnyj9.js → location-services-ynmknp8q.js} +11 -11
- package/dist/chunks/{job-f2n192rq.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{job-kt58vk6w.js → location-services-ytf73cw3.js} +14 -14
- package/dist/chunks/{job-b54kpts0.js → location-services-ytj3bpmw.js} +17 -17
- package/dist/chunks/{job-mrf1a69w.js → location-services-yxehspbx.js} +10 -10
- package/dist/chunks/{job-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-0v67btzd.js → location-services-z12nrmke.js} +9 -9
- package/dist/chunks/location-services-z4zjpn5f.js +513 -0
- package/dist/chunks/{job-pwestg4g.js → location-services-z66fjwda.js} +35 -35
- package/dist/chunks/{job-tx5jbm57.js → location-services-z6h35bfa.js} +17 -17
- package/dist/chunks/{job-9w71hsye.js → location-services-zc62n2gn.js} +22 -22
- package/dist/chunks/{job-565my3fm.js → location-services-ze18r45x.js} +18 -18
- package/dist/chunks/{job-qxrmnm1s.js → location-services-ze2nn8xv.js} +25 -25
- package/dist/chunks/{job-5tbmh0qa.js → location-services-zpw9hhj6.js} +17 -17
- package/dist/chunks/{job-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +152 -152
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +74 -74
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -354
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +105 -105
- 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 +115 -115
- 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 +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- 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 +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/job-1vezyevr.js +0 -26
- package/dist/chunks/job-2c12xztv.js +0 -513
- package/dist/chunks/job-3h3jay6b.js +0 -253
- package/dist/chunks/job-qc068m1q.js +0 -18
- /package/dist/chunks/{job-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{job-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{job-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-pkyv6v7h.js → location-services-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{job-pyv0edze.js → location-services-pyv0edze.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-wby3r2te.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./location-services-a4tbexpm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./location-services-14zmt7av.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-tckyrjpr.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service60
|
|
21
|
+
} from "./location-services-qeaed4rb.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-xwk1chxv.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-fwqtawms.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-e6h9sxh5.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
ID10,
|
|
36
36
|
Input14,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-services-dkrhta5e.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
61
|
var RemoteResponse = Schema.Struct({
|
|
62
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
63
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
64
|
+
providerID: ID10
|
|
65
65
|
}).pipe(Schema.optional),
|
|
66
66
|
mcp: Schema.Struct({
|
|
67
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
112
|
}
|
|
113
113
|
function oauth(http) {
|
|
114
114
|
return {
|
|
115
|
-
integrationID:
|
|
115
|
+
integrationID: ID13.make("opencode"),
|
|
116
116
|
method: {
|
|
117
117
|
id: methodID,
|
|
118
118
|
type: "oauth",
|
|
@@ -176,10 +176,10 @@ function oauth(http) {
|
|
|
176
176
|
var OpencodePlugin2 = define({
|
|
177
177
|
id: "opencode.provider.opencode",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
|
-
const bus = yield*
|
|
179
|
+
const bus = yield* Service84;
|
|
180
180
|
const client = yield* HttpClient.HttpClient;
|
|
181
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service60;
|
|
183
183
|
const scope = yield* Scope.Scope;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
231
231
|
providers.update(providerID, (provider) => {
|
|
232
232
|
if (source && source.provider !== provider)
|
|
233
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID13.make("opencode");
|
|
235
235
|
if (item.canonical !== undefined)
|
|
236
236
|
provider.canonical = item.canonical;
|
|
237
237
|
if (item.name !== undefined)
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
sourceConnection: snapshot.connection
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
const item = providers.get(
|
|
306
|
+
const item = providers.get(ID12.opencode);
|
|
307
307
|
if (!item)
|
|
308
308
|
return;
|
|
309
309
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
317
|
yield* ctx.model.transform((models) => {
|
|
318
|
-
const item = models.provider.get(
|
|
318
|
+
const item = models.provider.get(ID12.opencode);
|
|
319
319
|
if (!item)
|
|
320
320
|
return;
|
|
321
321
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
|
|
|
404
404
|
});
|
|
405
405
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
406
406
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
407
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
407
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
408
408
|
});
|
|
409
409
|
yield* guard(snapshot);
|
|
410
|
-
yield* bus.subscribe(
|
|
410
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
411
411
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
412
412
|
})
|
|
413
413
|
});
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-services-a4tbexpm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
17
|
Event: () => Event9,
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info12,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service57,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node60
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
28
|
import { Event as Event9 } from "@opencode/schema/agent";
|
|
29
|
-
var
|
|
29
|
+
var ID8 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID8.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info12 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service57 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service84;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info12.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service57.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID8.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID8.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node60 = makeLocationNode({ service: Service57, layer, deps: [node87] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID8, Name3, defaultID2, Color2, Info12, Service57, node60, exports_agent3, Event9 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin14
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin14 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin43 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin14, exports_mcp_codemode_defaults };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-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: () => Service78,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node81
|
|
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 Service78 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service78.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node81 = makeLocationNode({ service: Service78, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service78, node81, exports_image2 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-services-a4tbexpm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node77
|
|
8
|
+
} from "./location-services-c2r9jrv3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service82,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-65cdatea.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
15
|
+
Service81,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-59te2vk4.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-gfx22yfa.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service54,
|
|
26
|
+
node57
|
|
27
|
+
} from "./location-services-ek0xqdc4.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service53,
|
|
30
|
+
node56
|
|
31
|
+
} from "./location-services-9ty8jwpv.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service22,
|
|
41
|
+
node: () => node24
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service22 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service84;
|
|
52
|
+
const location = yield* Service81;
|
|
53
|
+
const permission = yield* Service54;
|
|
54
|
+
const forms = yield* Service74;
|
|
55
|
+
const rpc = yield* Service53;
|
|
56
|
+
const project = yield* Service82;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service22.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node24 = makeLocationNode({
|
|
89
|
+
service: Service22,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [
|
|
91
|
+
deps: [node87, node84, node57, node85, node77, node56]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service22, node24, exports_location_lifecycle };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-xwk1chxv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./location-services-fwqtawms.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin9,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin9 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service69;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin9, exports_verbosity };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service85,
|
|
9
9
|
node88
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-dpvvrdx3.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-jwcy2c2z.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node48
|
|
18
|
+
} from "./location-services-n4e0gck4.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID4,
|
|
31
|
+
Info: () => Info7,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service44,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured7,
|
|
36
|
+
node: () => node47
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID4 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info7 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID4,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info15 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID4 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID4,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service44 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service44,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node88,
|
|
70
|
+
deps: [node88, node48]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service85).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info7({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service44.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID4.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node47 = configured7();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID4, Info7, NotFound2, CreateConflict2, Service44, configured7, node47, exports_workspace };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service82,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-65cdatea.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service81,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
17
|
node: () => node84,
|
|
18
18
|
response: () => response2
|
|
@@ -21,13 +21,13 @@ import { Context, Effect, Layer } from "effect";
|
|
|
21
21
|
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service81 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var node84 = LayerNode.unbound(
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node84 = LayerNode.unbound(Service81, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service82;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service81.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service81,
|
|
39
39
|
layer: layer(ref),
|
|
40
40
|
deps: [node85]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info27, Ref4, response2,
|
|
43
|
+
export { Info27, Ref4, response2, Service81, node84, boundNode2, exports_location };
|