@opencode/core 0.0.0-dev-21077 → 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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{credential-z6yj3edv.js → location-services-083303b5.js} +23 -23
- package/dist/chunks/{credential-kqx1b4hy.js → location-services-0b5g1ynf.js} +4 -4
- package/dist/chunks/{credential-ppyhr432.js → location-services-0m1m2yc2.js} +21 -21
- package/dist/chunks/{credential-xxb6073h.js → location-services-0mmkf94b.js} +24 -24
- package/dist/chunks/{credential-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{credential-ryqtne0v.js → location-services-0ypc52y8.js} +33 -33
- package/dist/chunks/{credential-pe6c81vb.js → location-services-14zmt7av.js} +30 -30
- package/dist/chunks/{credential-bej0st3k.js → location-services-1bagj0a9.js} +18 -18
- package/dist/chunks/{credential-rw0m67m7.js → location-services-1bbn3dkw.js} +3 -3
- package/dist/chunks/{credential-4yd5fbph.js → location-services-1xc3wfx9.js} +6 -6
- package/dist/chunks/{credential-8m7nreqb.js → location-services-23ep9gsy.js} +19 -19
- package/dist/chunks/{credential-ra6by5e5.js → location-services-23j7fmch.js} +22 -22
- package/dist/chunks/{credential-brt5an88.js → location-services-23xej63c.js} +6 -6
- package/dist/chunks/{credential-de0z98k1.js → location-services-244nw8ga.js} +13 -13
- package/dist/chunks/{credential-ja06zn37.js → location-services-245km8hw.js} +11 -11
- package/dist/chunks/{credential-q5resnhd.js → location-services-24pdmgsr.js} +5 -5
- package/dist/chunks/{credential-rqb4w7qy.js → location-services-2amj7w2e.js} +11 -11
- package/dist/chunks/{credential-cp1qs8w2.js → location-services-2kym22yv.js} +14 -14
- package/dist/chunks/{credential-4dg124c5.js → location-services-2vgzs72b.js} +5 -5
- package/dist/chunks/{credential-43fgj17e.js → location-services-2xzzkntk.js} +20 -20
- package/dist/chunks/{credential-1tyhtd58.js → location-services-302nrbc0.js} +20 -20
- package/dist/chunks/{credential-mb14aw74.js → location-services-35ja2k0w.js} +2 -2
- package/dist/chunks/{credential-nksjsfnd.js → location-services-362yhp9b.js} +11 -11
- package/dist/chunks/{credential-0yxc45d0.js → location-services-3a1csxgf.js} +38 -38
- package/dist/chunks/{credential-8pwe8y5v.js → location-services-3d60bhv0.js} +36 -36
- package/dist/chunks/{credential-2zv688p8.js → location-services-3f79bhw9.js} +3 -3
- package/dist/chunks/{credential-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-3hwn7j4h.js → location-services-3hwn7j4h.js} +2 -2
- package/dist/chunks/{credential-xemtnvmn.js → location-services-3mqv2hqz.js} +45 -45
- package/dist/chunks/{credential-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-as35ary9.js → location-services-3t6g7wkp.js} +22 -22
- package/dist/chunks/{credential-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-a5xd9ph1.js → location-services-3vk4e4ba.js} +19 -19
- package/dist/chunks/{credential-0q1x4t4y.js → location-services-3x67zv1q.js} +16 -16
- package/dist/chunks/{credential-7pkq4a6y.js → location-services-3xjjzvbe.js} +3 -3
- package/dist/chunks/{credential-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{credential-hshdsga2.js → location-services-42cfyv6e.js} +1 -1
- package/dist/chunks/{credential-cqxtxa12.js → location-services-44t855md.js} +4 -4
- package/dist/chunks/{credential-8bgb3vcd.js → location-services-4bg27fyf.js} +25 -25
- package/dist/chunks/{credential-zvxktrxk.js → location-services-4r1rf6x5.js} +25 -25
- package/dist/chunks/{credential-0xqyf95c.js → location-services-4v7ngy20.js} +4 -4
- package/dist/chunks/{credential-sy29epdy.js → location-services-4y7j986s.js} +9 -9
- package/dist/chunks/{credential-hnyywhnh.js → location-services-50phh09z.js} +30 -30
- package/dist/chunks/{credential-px73pbep.js → location-services-57kka029.js} +8 -8
- package/dist/chunks/{credential-s5fn7dhj.js → location-services-581vd47p.js} +29 -29
- package/dist/chunks/{credential-raf8x87w.js → location-services-59te2vk4.js} +7 -7
- package/dist/chunks/{credential-3sj8yt8v.js → location-services-5dkn69vz.js} +4 -4
- package/dist/chunks/{credential-waskdk5r.js → location-services-5fec3t3w.js} +9 -9
- package/dist/chunks/{credential-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-3vy9239c.js → location-services-65cdatea.js} +16 -16
- package/dist/chunks/{credential-hxpbrr1s.js → location-services-6bbwvj97.js} +22 -22
- package/dist/chunks/{credential-tqyhj4xt.js → location-services-6fw71bvh.js} +4 -4
- package/dist/chunks/{credential-gm80xqq7.js → location-services-6nwhtmce.js} +4 -4
- package/dist/chunks/{credential-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
- package/dist/chunks/{credential-4qhmckww.js → location-services-6zmhf5e4.js} +7 -7
- package/dist/chunks/{credential-43wrgcn8.js → location-services-75tmef9h.js} +46 -46
- package/dist/chunks/{credential-775gj3j1.js → location-services-775gj3j1.js} +2 -2
- package/dist/chunks/{credential-2sejkfem.js → location-services-79qaa2kf.js} +9 -9
- package/dist/chunks/{credential-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-fkcghbkc.js → location-services-7f1f8kt8.js} +15 -15
- package/dist/chunks/{credential-m6y60rje.js → location-services-7fbg3v2f.js} +39 -39
- package/dist/chunks/{credential-22j5gcem.js → location-services-7q9y922e.js} +29 -29
- package/dist/chunks/{credential-gkcjs2dn.js → location-services-7qcmfwcv.js} +11 -11
- package/dist/chunks/{credential-84txncab.js → location-services-84txncab.js} +1 -1
- package/dist/chunks/{credential-wg8a11j0.js → location-services-8a368wvm.js} +20 -20
- package/dist/chunks/{credential-b9pm5k8x.js → location-services-8dksh1ny.js} +25 -25
- package/dist/chunks/{credential-pj8a0a0d.js → location-services-8h4jg6v9.js} +5 -5
- package/dist/chunks/{credential-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
- package/dist/chunks/{credential-160c1116.js → location-services-8y47q2p9.js} +13 -13
- package/dist/chunks/{credential-0g1kkss8.js → location-services-8zfz6a2t.js} +12 -12
- package/dist/chunks/{credential-j09zfasm.js → location-services-91qna3x0.js} +3 -3
- package/dist/chunks/{credential-tpw6cwsb.js → location-services-9hn6k4tm.js} +8 -8
- package/dist/chunks/{credential-xkj02v8v.js → location-services-9k6k7fgf.js} +22 -22
- package/dist/chunks/{credential-49k8713w.js → location-services-9knbxg1b.js} +15 -15
- package/dist/chunks/{credential-9exzkq1k.js → location-services-9q4r2gvr.js} +5 -5
- package/dist/chunks/{credential-c6hx2ktf.js → location-services-9t6z5mty.js} +6 -6
- package/dist/chunks/{credential-q0bwcdvt.js → location-services-9ty8jwpv.js} +13 -13
- package/dist/chunks/{credential-wk82jgfm.js → location-services-9vp2dtmh.js} +11 -11
- package/dist/chunks/{credential-m1a48d5g.js → location-services-9w32cmye.js} +54 -54
- package/dist/chunks/{credential-sp975na0.js → location-services-9xf2f7x4.js} +11 -11
- package/dist/chunks/{credential-k9beb6wv.js → location-services-a4tbexpm.js} +11 -11
- package/dist/chunks/{credential-dtsxx5mv.js → location-services-aa674q4y.js} +11 -11
- package/dist/chunks/{credential-addxnjmp.js → location-services-addxnjmp.js} +1 -1
- package/dist/chunks/{credential-scgrse2b.js → location-services-b3f8fkhc.js} +5 -5
- package/dist/chunks/{credential-mq99xv2c.js → location-services-bfksx8rf.js} +24 -24
- package/dist/chunks/{credential-1ffvrpkg.js → location-services-bjx1sjef.js} +6 -6
- package/dist/chunks/{credential-rmjnct9g.js → location-services-bprq9w7g.js} +4 -4
- package/dist/chunks/{credential-cf1pjmre.js → location-services-bx9w2fqt.js} +45 -45
- package/dist/chunks/location-services-by5v678g.js +18 -0
- package/dist/chunks/{credential-gzsatz7t.js → location-services-c1944bpn.js} +3 -3
- package/dist/chunks/{credential-c1fqxshp.js → location-services-c1fqxshp.js} +3 -3
- package/dist/chunks/{credential-jzzy94zk.js → location-services-c227t32y.js} +9 -9
- package/dist/chunks/{credential-fnx95t7x.js → location-services-c2r9jrv3.js} +14 -14
- package/dist/chunks/{credential-995t9yvb.js → location-services-c49rsx5q.js} +24 -24
- package/dist/chunks/{credential-1n08wphv.js → location-services-c8kj68w8.js} +17 -17
- package/dist/chunks/{credential-65qs235e.js → location-services-cbt851ks.js} +20 -20
- package/dist/chunks/{credential-f1m169n2.js → location-services-cp7mdvjw.js} +8 -8
- package/dist/chunks/{credential-33864hhd.js → location-services-csx4qebp.js} +6 -6
- package/dist/chunks/location-services-d19ht2gs.js +253 -0
- package/dist/chunks/{credential-jfpc1vcc.js → location-services-dbfp1drv.js} +1 -1
- package/dist/chunks/{credential-039wv4dg.js → location-services-ddzg2jb5.js} +11 -11
- package/dist/chunks/{credential-a6mdarw6.js → location-services-dk81qchb.js} +18 -18
- package/dist/chunks/{credential-369pt44z.js → location-services-dkrhta5e.js} +26 -26
- package/dist/chunks/{credential-trex24va.js → location-services-dpvvrdx3.js} +11 -11
- package/dist/chunks/{credential-dqxsqydv.js → location-services-dqxsqydv.js} +1 -1
- package/dist/chunks/{credential-xfkkasph.js → location-services-drwq78ky.js} +4 -4
- package/dist/chunks/{credential-4ekscj25.js → location-services-e29c15sd.js} +5 -5
- package/dist/chunks/{credential-5qd3pb7m.js → location-services-e3qxr5gk.js} +2 -2
- package/dist/chunks/{credential-88t0gbbr.js → location-services-e4yed1xk.js} +11 -11
- package/dist/chunks/{credential-twzm0fh1.js → location-services-e59hp8e0.js} +6 -6
- package/dist/chunks/{credential-a7204kxa.js → location-services-e6h9sxh5.js} +3 -3
- package/dist/chunks/{credential-3r88wvpr.js → location-services-e7gvftdw.js} +26 -26
- package/dist/chunks/{credential-h4430by2.js → location-services-e8kf9jzb.js} +12 -12
- package/dist/chunks/{credential-4qfzbkvv.js → location-services-e9vjtg4n.js} +15 -15
- package/dist/chunks/{credential-4fsmsme8.js → location-services-ee9ke1cf.js} +10 -10
- package/dist/chunks/{credential-eej6y6fw.js → location-services-eej6y6fw.js} +2 -2
- package/dist/chunks/{credential-e56hn9bn.js → location-services-eemsj75p.js} +15 -15
- package/dist/chunks/{credential-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{credential-kvkt1qqd.js → location-services-ek0xqdc4.js} +56 -56
- package/dist/chunks/{credential-nr6ymt8h.js → location-services-eknn5gcm.js} +5 -5
- package/dist/chunks/{credential-dhmh7aw6.js → location-services-embw8kgh.js} +4 -4
- package/dist/chunks/{credential-84vpb2vm.js → location-services-ethqs1sx.js} +14 -14
- package/dist/chunks/{credential-39cardge.js → location-services-ewx5eb2n.js} +11 -11
- package/dist/chunks/{credential-7fv44pcf.js → location-services-f9m23keb.js} +15 -15
- package/dist/chunks/{credential-2k8khapm.js → location-services-fcrkznn8.js} +5 -5
- package/dist/chunks/{credential-nmmr4e9w.js → location-services-fwqtawms.js} +30 -30
- package/dist/chunks/{credential-zyk2e2x1.js → location-services-g3fnaecf.js} +26 -26
- package/dist/chunks/{credential-fepda2xk.js → location-services-g5m8facw.js} +33 -33
- package/dist/chunks/{credential-fknms47v.js → location-services-g5q88jq6.js} +14 -14
- package/dist/chunks/{credential-wt0qpxd3.js → location-services-g5vbb9hj.js} +21 -21
- package/dist/chunks/{credential-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-kpjne5yp.js → location-services-gfx22yfa.js} +9 -9
- package/dist/chunks/{credential-amfa1jkw.js → location-services-gnaysa6b.js} +10 -10
- package/dist/chunks/{credential-c7pf8635.js → location-services-h1z5k2t2.js} +9 -9
- package/dist/chunks/{credential-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-h7s7r6s9.js → location-services-h7s7r6s9.js} +2 -2
- package/dist/chunks/{credential-g6yfr6ja.js → location-services-h83xjv7f.js} +5 -5
- package/dist/chunks/{credential-6ez66tm6.js → location-services-hft03ywa.js} +18 -18
- package/dist/chunks/{credential-y0zxwc0w.js → location-services-hge6h9tw.js} +25 -25
- package/dist/chunks/{credential-87fbabfb.js → location-services-hgfjkg9n.js} +7 -7
- package/dist/chunks/{credential-hgz4x7wa.js → location-services-hgz4x7wa.js} +1 -1
- package/dist/chunks/{credential-bfzpxde3.js → location-services-hhyxa8w0.js} +27 -27
- package/dist/chunks/{credential-r373bcqv.js → location-services-hp1kev64.js} +4 -4
- package/dist/chunks/{credential-c8bydgjz.js → location-services-hq8zt1th.js} +6 -6
- package/dist/chunks/{credential-rqem1xsk.js → location-services-hste6tza.js} +8 -8
- package/dist/chunks/{credential-e41w5jk2.js → location-services-htvyff0e.js} +181 -181
- package/dist/chunks/{credential-qm3kde9e.js → location-services-j4jzdm2s.js} +35 -35
- package/dist/chunks/{credential-esad8vat.js → location-services-ja30wqx5.js} +50 -50
- package/dist/chunks/{credential-8h1a173j.js → location-services-je5s84sz.js} +18 -18
- package/dist/chunks/{credential-8yqhqj2c.js → location-services-jfk3bbrj.js} +2 -2
- package/dist/chunks/{credential-q6dxph2r.js → location-services-jgyvgpbp.js} +5 -5
- package/dist/chunks/{credential-rtaz8t0m.js → location-services-jhaj7dhp.js} +4 -4
- package/dist/chunks/{credential-5w9yjztw.js → location-services-jhdf29st.js} +1 -1
- package/dist/chunks/{credential-8w2qxdqt.js → location-services-jpjvyf3t.js} +17 -17
- package/dist/chunks/{credential-scp8fp47.js → location-services-jvqwkpfk.js} +30 -30
- package/dist/chunks/{credential-dpkg50ah.js → location-services-jwcy2c2z.js} +4 -4
- package/dist/chunks/{credential-jmt4g3es.js → location-services-jxr5ks98.js} +6 -6
- package/dist/chunks/{credential-kkd5n1wb.js → location-services-jyyk6gde.js} +46 -46
- package/dist/chunks/location-services-kbqjftap.js +26 -0
- package/dist/chunks/{credential-38w1dnvg.js → location-services-kg320fw9.js} +73 -73
- package/dist/chunks/{credential-fxaymqdw.js → location-services-khmqacep.js} +4 -4
- package/dist/chunks/{credential-vtvzzxkn.js → location-services-kkj9qksm.js} +10 -10
- package/dist/chunks/{credential-kwb1v3vj.js → location-services-kwb1v3vj.js} +1 -1
- package/dist/chunks/{credential-b6v341m9.js → location-services-kx8q5nyz.js} +11 -11
- package/dist/chunks/{credential-v3b64zrr.js → location-services-kxxk4g5v.js} +23 -23
- package/dist/chunks/{credential-1zr6mbgk.js → location-services-m3awrey6.js} +11 -11
- package/dist/chunks/{credential-mxag24mj.js → location-services-m7c14yt9.js} +46 -46
- package/dist/chunks/{credential-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-maspj1v3.js → location-services-maspj1v3.js} +1 -1
- package/dist/chunks/{credential-sjyepcmd.js → location-services-mctm3cx2.js} +5 -5
- package/dist/chunks/{credential-9ht0s32k.js → location-services-mg6xpf0r.js} +28 -28
- package/dist/chunks/{credential-t2fc4mz5.js → location-services-mtq6xxnx.js} +7 -7
- package/dist/chunks/{credential-q66y2r74.js → location-services-n306y6p7.js} +29 -29
- package/dist/chunks/{credential-6gasy1mn.js → location-services-n4e0gck4.js} +8 -8
- package/dist/chunks/{credential-e80seqcp.js → location-services-nma959mg.js} +3 -3
- package/dist/chunks/{credential-t4hrrcp4.js → location-services-npv8gbcr.js} +36 -36
- package/dist/chunks/{credential-h13qe09z.js → location-services-ntk6zd40.js} +4 -4
- package/dist/chunks/{credential-c2sed5cq.js → location-services-nvxqht09.js} +3 -3
- package/dist/chunks/{credential-6gzyn8h5.js → location-services-pew1wbm6.js} +9 -9
- package/dist/chunks/{credential-dj68pnee.js → location-services-ph842b28.js} +4 -4
- package/dist/chunks/{credential-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{credential-dbqdnwbh.js → location-services-ppnrbg7s.js} +11 -11
- package/dist/chunks/{credential-xa2wshx1.js → location-services-ppwx06gp.js} +20 -20
- package/dist/chunks/{credential-7f8046wn.js → location-services-q0g54yjn.js} +89 -89
- package/dist/chunks/{credential-nhv7p5wt.js → location-services-q1qecwxv.js} +11 -11
- package/dist/chunks/{credential-xncbfwxk.js → location-services-q3mk2dcw.js} +16 -16
- package/dist/chunks/{credential-4fnxzqcp.js → location-services-qeaed4rb.js} +10 -10
- package/dist/chunks/{credential-1j52r7da.js → location-services-qjg4je6d.js} +11 -11
- package/dist/chunks/{credential-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
- package/dist/chunks/{credential-b674v2dg.js → location-services-qne3fa44.js} +5 -5
- package/dist/chunks/{credential-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-qxmaq0sm.js → location-services-qvb3nf84.js} +8 -8
- package/dist/chunks/{credential-0dwp6g5k.js → location-services-r6ntqdat.js} +15 -15
- package/dist/chunks/{credential-54ma36ye.js → location-services-r94pvvab.js} +4 -4
- package/dist/chunks/{credential-bacj9t34.js → location-services-ra67jj04.js} +9 -9
- package/dist/chunks/{credential-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{credential-rert0e01.js → location-services-rert0e01.js} +2 -2
- package/dist/chunks/{credential-rj3eygr5.js → location-services-rj3eygr5.js} +2 -2
- package/dist/chunks/{credential-py3kkmfq.js → location-services-rkprpv83.js} +2 -2
- package/dist/chunks/{credential-pnfekgft.js → location-services-rzfqcm6c.js} +11 -11
- package/dist/chunks/{credential-my3a7ft8.js → location-services-s1mwhzrx.js} +7 -7
- package/dist/chunks/{credential-j7k70mt1.js → location-services-s3197e3j.js} +18 -18
- package/dist/chunks/{credential-sky29pjs.js → location-services-s4f49p0s.js} +3 -3
- package/dist/chunks/{credential-vcmdfh1f.js → location-services-s6cjjfc4.js} +13 -13
- package/dist/chunks/{credential-g0gbxkwa.js → location-services-s9sfj19z.js} +15 -15
- package/dist/chunks/{credential-sa8ekw3f.js → location-services-sa8ekw3f.js} +2 -2
- package/dist/chunks/{credential-k3bh1kct.js → location-services-sea3ty2w.js} +8 -8
- package/dist/chunks/{credential-0mjpgxaj.js → location-services-sf4bsm1d.js} +89 -89
- package/dist/chunks/{credential-rfg45hmd.js → location-services-sg05dgk5.js} +18 -18
- package/dist/chunks/{credential-txp0qwjb.js → location-services-snkznpnb.js} +17 -17
- package/dist/chunks/{credential-n45znrv4.js → location-services-stk88hg0.js} +41 -41
- package/dist/chunks/{credential-syv4x271.js → location-services-syv4x271.js} +1 -1
- package/dist/chunks/{credential-91wv4xtc.js → location-services-syx2fw03.js} +3 -3
- package/dist/chunks/{credential-raby7m75.js → location-services-t0j71e47.js} +5 -5
- package/dist/chunks/{credential-6gjk1srs.js → location-services-t2wzjc4q.js} +17 -17
- package/dist/chunks/{credential-rhjbct0v.js → location-services-t550f9t1.js} +4 -4
- package/dist/chunks/{credential-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-ab9cbtvh.js → location-services-tckyrjpr.js} +27 -27
- package/dist/chunks/{credential-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{credential-ndgw0f3v.js → location-services-tf8ptcfp.js} +23 -23
- package/dist/chunks/{credential-rh0kfk84.js → location-services-tf9w7cc4.js} +26 -26
- package/dist/chunks/{credential-6rtzx4km.js → location-services-tgz9kpfd.js} +19 -19
- package/dist/chunks/{credential-tm0kqsz3.js → location-services-tm0kqsz3.js} +1 -1
- package/dist/chunks/{credential-s3rnyz5s.js → location-services-tmp094y9.js} +32 -32
- package/dist/chunks/{credential-k5qw4hft.js → location-services-trya7axm.js} +5 -5
- package/dist/chunks/{credential-vsnex79p.js → location-services-tw6chp79.js} +25 -25
- package/dist/chunks/{credential-v4k5v7h4.js → location-services-twezr0mm.js} +14 -14
- package/dist/chunks/{credential-tyytaxap.js → location-services-tyytaxap.js} +1 -1
- package/dist/chunks/{credential-v0es1rhs.js → location-services-v0es1rhs.js} +2 -2
- package/dist/chunks/{credential-2ekmzeb3.js → location-services-v47csb3d.js} +24 -24
- package/dist/chunks/{credential-z9nwtdma.js → location-services-v72k71c1.js} +16 -16
- package/dist/chunks/{credential-v7p4zvkq.js → location-services-v7p4zvkq.js} +2 -2
- package/dist/chunks/{credential-1sgf0ss5.js → location-services-vd45c9sq.js} +14 -14
- package/dist/chunks/{credential-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-8s3zmv7m.js → location-services-vfr0kypj.js} +48 -48
- package/dist/chunks/{credential-zy0xyg00.js → location-services-vtvbcqc4.js} +31 -31
- package/dist/chunks/{credential-1gfgk62c.js → location-services-vwhbe72t.js} +8 -8
- package/dist/chunks/{credential-gepknegz.js → location-services-vx1y955m.js} +32 -32
- package/dist/chunks/{credential-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{credential-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-scxftpbw.js → location-services-w9e5drq7.js} +13 -13
- package/dist/chunks/{credential-yw0h1yf7.js → location-services-wby3r2te.js} +11 -11
- package/dist/chunks/{credential-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{credential-czvs99ad.js → location-services-wqqy3mvy.js} +11 -11
- package/dist/chunks/{credential-zbgekxe2.js → location-services-x3wbe70s.js} +4 -4
- package/dist/chunks/{credential-jfnkvmfm.js → location-services-x4sx43e2.js} +7 -7
- package/dist/chunks/{credential-37sfe3bm.js → location-services-x5h44zm2.js} +11 -11
- package/dist/chunks/{credential-ncvmk5m4.js → location-services-x8y695va.js} +11 -11
- package/dist/chunks/{credential-y0tnb4b3.js → location-services-xb1mmqz8.js} +10 -10
- package/dist/chunks/{credential-45vsmz9h.js → location-services-xdstf3nv.js} +9 -9
- package/dist/chunks/{credential-567qzpgd.js → location-services-xqtf9pe1.js} +18 -18
- package/dist/chunks/{credential-m0ghcn19.js → location-services-xt6z0133.js} +17 -17
- package/dist/chunks/{credential-q9qhhjv2.js → location-services-xwk1chxv.js} +29 -29
- package/dist/chunks/{credential-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-1gs191g7.js → location-services-y3p5qm6e.js} +5 -5
- package/dist/chunks/{credential-14d1mxc2.js → location-services-yajr5kvv.js} +34 -34
- package/dist/chunks/{credential-rpjwtdbq.js → location-services-yarctvhd.js} +45 -45
- package/dist/chunks/{credential-0k7vzhf9.js → location-services-ykj822me.js} +46 -46
- package/dist/chunks/{credential-dys7k0s0.js → location-services-ynmknp8q.js} +11 -11
- package/dist/chunks/{credential-1acjjqhc.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{credential-c9rae3wa.js → location-services-ytf73cw3.js} +11 -11
- package/dist/chunks/{credential-r2cwyjsv.js → location-services-ytj3bpmw.js} +16 -16
- package/dist/chunks/{credential-5rx060kx.js → location-services-yxehspbx.js} +10 -10
- package/dist/chunks/{credential-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-wez5dshc.js → location-services-z12nrmke.js} +14 -14
- package/dist/chunks/location-services-z4zjpn5f.js +513 -0
- package/dist/chunks/{credential-pezdzhns.js → location-services-z66fjwda.js} +30 -30
- package/dist/chunks/{credential-8twccqt2.js → location-services-z6h35bfa.js} +16 -16
- package/dist/chunks/{credential-nhdt10nm.js → location-services-zc62n2gn.js} +20 -20
- package/dist/chunks/{credential-fvg499qq.js → location-services-ze18r45x.js} +16 -16
- package/dist/chunks/{credential-bqanrybh.js → location-services-ze2nn8xv.js} +25 -25
- package/dist/chunks/{credential-7tfd94v8.js → location-services-zpw9hhj6.js} +15 -15
- package/dist/chunks/{credential-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- 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 +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +116 -116
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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 +78 -78
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- 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 +214 -214
- 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 +80 -80
- 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 +101 -101
- 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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- 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 +111 -111
- package/dist/mcp/instructions.js +129 -129
- 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 +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +117 -117
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +2 -2
- 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 +116 -116
- 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 +76 -76
- 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 +6 -6
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- 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 +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +215 -215
- 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 +164 -164
- 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 +75 -75
- 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 +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- 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 +124 -124
- 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 +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- 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 +89 -89
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- 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/credential-bdft46kr.js +0 -253
- package/dist/chunks/credential-ep8gns01.js +0 -513
- package/dist/chunks/credential-n95b3jav.js +0 -18
- package/dist/chunks/credential-qnwcn7at.js +0 -26
- /package/dist/chunks/{credential-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-pkyv6v7h.js → location-services-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{credential-pyv0edze.js → location-services-pyv0edze.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-dpvvrdx3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-a4tbexpm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./location-services-hq8zt1th.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-23xej63c.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service55
|
|
29
|
+
} from "./location-services-7f1f8kt8.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service48
|
|
34
|
+
} from "./location-services-e7gvftdw.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service46
|
|
37
|
+
} from "./location-services-7fbg3v2f.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-services-v72k71c1.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-services-2xzzkntk.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-services-pew1wbm6.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
get5
|
|
51
|
+
} from "./location-services-e8kf9jzb.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-services-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service55;
|
|
69
|
+
const instances = yield* Service50;
|
|
70
|
+
const execution = yield* Service46;
|
|
71
|
+
const admission = yield* Service48;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service50, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service50, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield*
|
|
183
|
+
const skill = yield* get5({ session, skill: input.skill }).pipe(Effect.provideService(Service50, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service84, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./location-services-4r1rf6x5.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service69
|
|
8
|
+
} from "./location-services-fwqtawms.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./location-services-jyyk6gde.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-nvxqht09.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service51
|
|
18
|
+
} from "./location-services-2kym22yv.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./location-services-ek0xqdc4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service24
|
|
25
|
+
} from "./location-services-sf4bsm1d.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service11
|
|
31
|
+
} from "./location-services-23ep9gsy.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input5 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin37 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service24;
|
|
93
|
+
const jobs = yield* Service51;
|
|
94
|
+
const agents = yield* Service57;
|
|
95
|
+
const config = yield* Service66;
|
|
96
|
+
const permission = yield* Service54;
|
|
97
|
+
const models = yield* Service69;
|
|
98
|
+
const subagents = yield* Service11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin6 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin6 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin6 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name2 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name2];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name2, Input2, Output2, description2, Plugin37, exports_subagent };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./location-services-jyyk6gde.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service43
|
|
13
|
+
} from "./location-services-23j7fmch.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./location-services-2kym22yv.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service54
|
|
19
|
+
} from "./location-services-ek0xqdc4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service17,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-ytj3bpmw.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service42,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-3t6g7wkp.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service40
|
|
37
|
+
} from "./location-services-75tmef9h.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./location-services-sf4bsm1d.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-services-44t855md.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-services-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin40,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name4 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input4 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin40 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service24;
|
|
124
|
+
const jobs = yield* Service51;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service43;
|
|
127
|
+
const access = yield* Service17;
|
|
128
|
+
const shell = yield* Service40;
|
|
129
|
+
const shellSelect = yield* Service42;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service54;
|
|
132
|
+
const config = yield* Service66;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin9 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name4,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin9 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name4,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input4,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin9 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name4,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name4];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin40, exports_shell2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info16
|
|
7
|
+
} from "./location-services-5fec3t3w.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent4,
|
|
16
|
+
Info: () => Info15
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info16)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info15, exports_agent4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./location-services-jyyk6gde.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service6
|
|
6
|
+
} from "./location-services-79qaa2kf.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin28
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service66;
|
|
26
|
+
const policy = yield* Service6;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin38 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin28, exports_location_watcher2 };
|