@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-services-a4tbexpm.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-3t6g7wkp.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service39,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured5,
|
|
26
|
+
layer: () => layer16,
|
|
27
|
+
node: () => node42
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,7 +36,7 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options5 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,15 +46,15 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service39 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service39.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer16 = makeLayer();
|
|
263
|
+
var configured5 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service39,
|
|
265
|
+
layer: options === undefined ? layer16 : makeLayer(options),
|
|
266
|
+
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node42 = configured5();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options5, UnavailableError2, NotFoundError5, Service39, layer16, configured5, node42, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./location-services-4y7j986s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./location-services-hq8zt1th.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-by5v678g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service79
|
|
15
|
+
} from "./location-services-vwhbe72t.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-23xej63c.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service52
|
|
23
|
+
} from "./location-services-c49rsx5q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service50;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service79;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service52;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service78;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service81,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-59te2vk4.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make19,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-t550f9t1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service29,
|
|
19
|
+
node: () => node33
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service81;
|
|
29
|
+
return Service29.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make19({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make19({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service29, node33, exports_builtins };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node87
|
|
7
|
+
} from "./location-services-a4tbexpm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service73,
|
|
11
|
+
node76
|
|
12
|
+
} from "./location-services-14zmt7av.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service81,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-59te2vk4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service43,
|
|
19
|
+
node46
|
|
20
|
+
} from "./location-services-23j7fmch.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service74,
|
|
24
|
+
node77
|
|
25
|
+
} from "./location-services-c2r9jrv3.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service72,
|
|
34
|
+
node75
|
|
35
|
+
} from "./location-services-tckyrjpr.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-services-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service31,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer13,
|
|
57
|
+
node: () => node35
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service81;
|
|
116
|
+
const environment = yield* Service43;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
|
+
const forms = yield* Service74;
|
|
119
|
+
const integration = yield* Service72;
|
|
120
|
+
const credentials = yield* Service73;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID13.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID15.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service43, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service31.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [node84,
|
|
535
|
+
service: Service31,
|
|
536
|
+
layer: layer13(options),
|
|
537
|
+
deps: [node84, node46, node87, node77, node75, node76]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node35 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options4, layer13, configured4, node35, exports_mcp4 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service81
|
|
8
|
+
} from "./location-services-59te2vk4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service43
|
|
11
|
+
} from "./location-services-23j7fmch.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./location-services-s6cjjfc4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service21,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-244nw8ga.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./location-services-ek0xqdc4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service17,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-ytj3bpmw.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin46,
|
|
42
|
+
name: () => name9,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name9 = "patch";
|
|
89
|
+
var Input9 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output6 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin46 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service43;
|
|
112
|
+
const access = yield* Service17;
|
|
113
|
+
const fileMutation = yield* Service21;
|
|
114
|
+
const formatter = yield* Service14;
|
|
115
|
+
const location = yield* Service81;
|
|
116
|
+
const permission = yield* Service54;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin9 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name9, Input9, Applied2, Output6, toModelContent6, Plugin46, exports_patch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service79,
|
|
10
|
+
node: () => node82
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service79 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service79.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node82 = makeLocationNode({ service: Service79, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service79, node82, exports_hooks };
|