@opencode/core 0.0.0-dev-21784 → 0.0.0-dev-21788
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 -84
- package/dist/aisdk-native.js +94 -93
- package/dist/aisdk.js +100 -99
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -72
- package/dist/chunks/{agent-h5dbejmd.js → location-activity-01hr45d4.js} +16 -16
- package/dist/chunks/{agent-0fc55j4y.js → location-activity-02tt61ab.js} +181 -181
- package/dist/chunks/{agent-033a0jkt.js → location-activity-033a0jkt.js} +1 -1
- package/dist/chunks/{agent-f7n6kqew.js → location-activity-067f1caq.js} +42 -42
- package/dist/chunks/{agent-36ea6r34.js → location-activity-06myerbs.js} +11 -11
- package/dist/chunks/{agent-zn7c0t9d.js → location-activity-07mr9ttq.js} +7 -7
- package/dist/chunks/{agent-eyvhq8ft.js → location-activity-0b08jztn.js} +26 -26
- package/dist/chunks/{agent-02yzdc13.js → location-activity-0qkv8zzt.js} +2 -2
- package/dist/chunks/{agent-38ndmwz0.js → location-activity-0vrf0jak.js} +13 -13
- package/dist/chunks/{agent-8thk20xz.js → location-activity-12szekg3.js} +5 -5
- package/dist/chunks/{agent-g41gmtrh.js → location-activity-14e26z3b.js} +14 -14
- package/dist/chunks/{agent-8rqhnwg1.js → location-activity-16qrkqa4.js} +5 -5
- package/dist/chunks/{agent-aw7ajr0a.js → location-activity-17khjaea.js} +19 -19
- package/dist/chunks/{agent-1hetrfzc.js → location-activity-1fcw6zrz.js} +7 -7
- package/dist/chunks/{agent-m0w0zyj2.js → location-activity-1fhqa2jj.js} +25 -25
- package/dist/chunks/{agent-hjnk4nsf.js → location-activity-1gm74v6v.js} +11 -11
- package/dist/chunks/{agent-7an283zs.js → location-activity-1kne0mqx.js} +7 -7
- package/dist/chunks/{agent-dvswds2a.js → location-activity-1r6rmb28.js} +2 -2
- package/dist/chunks/{agent-zdm2n275.js → location-activity-1t3cgkkb.js} +21 -21
- package/dist/chunks/{agent-1x2knyw4.js → location-activity-1x2knyw4.js} +1 -1
- package/dist/chunks/{agent-173t91w5.js → location-activity-1y0wdj51.js} +4 -4
- package/dist/chunks/{agent-p7vhpwh8.js → location-activity-1yq9hg58.js} +5 -5
- package/dist/chunks/{agent-8swrpak5.js → location-activity-22fqff69.js} +9 -9
- package/dist/chunks/{agent-1ep2p91f.js → location-activity-27w5k9zf.js} +2 -2
- package/dist/chunks/{agent-9fkdxkka.js → location-activity-2chjpfn4.js} +10 -10
- package/dist/chunks/{agent-g5axxp69.js → location-activity-2eqcn54e.js} +6 -6
- package/dist/chunks/{agent-pczvdmnh.js → location-activity-2mvzdbqk.js} +21 -21
- package/dist/chunks/{agent-5kbev7nh.js → location-activity-2nwxwjsv.js} +3 -3
- package/dist/chunks/{agent-0k1t71fg.js → location-activity-2wwyctdd.js} +4 -4
- package/dist/chunks/{agent-n60440x5.js → location-activity-2y0qb0mc.js} +6 -6
- package/dist/chunks/{agent-2z1j29yd.js → location-activity-2z1j29yd.js} +1 -1
- package/dist/chunks/{agent-meat84st.js → location-activity-30tj3gky.js} +11 -11
- package/dist/chunks/{agent-a7xdavkk.js → location-activity-30trf87e.js} +9 -9
- package/dist/chunks/{agent-6c5cd6ez.js → location-activity-32s59e8p.js} +9 -9
- package/dist/chunks/{agent-d1e4gt8e.js → location-activity-336qz4d8.js} +79 -79
- package/dist/chunks/{agent-mr8zc4t8.js → location-activity-33sp77q7.js} +7 -7
- package/dist/chunks/{agent-36qx82yz.js → location-activity-36qx82yz.js} +2 -2
- package/dist/chunks/{agent-6kms46fw.js → location-activity-3btq0h72.js} +5 -5
- package/dist/chunks/{agent-ayjs7tqn.js → location-activity-3cbjf1nt.js} +2 -2
- package/dist/chunks/{agent-cjse11k8.js → location-activity-3d1kj4yr.js} +24 -24
- package/dist/chunks/{agent-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-tfxvfanj.js → location-activity-3mgy2h0d.js} +4 -4
- package/dist/chunks/{agent-3nnrz6f6.js → location-activity-3nnrz6f6.js} +1 -1
- package/dist/chunks/location-activity-3szgxn6c.js +517 -0
- package/dist/chunks/{agent-qy3evx35.js → location-activity-3ypypw84.js} +27 -27
- package/dist/chunks/{agent-t8n195hz.js → location-activity-40df05qx.js} +14 -14
- package/dist/chunks/{agent-97r8yvgs.js → location-activity-41syewzg.js} +37 -37
- package/dist/chunks/{agent-61ennm6n.js → location-activity-42jd4697.js} +4 -4
- package/dist/chunks/{agent-j11v2g1t.js → location-activity-47n9jgyg.js} +40 -40
- package/dist/chunks/{agent-jseav4p7.js → location-activity-4ev7fjb1.js} +16 -16
- package/dist/chunks/{agent-800wwg03.js → location-activity-4n8hgrhh.js} +11 -11
- package/dist/chunks/{agent-q43qcq83.js → location-activity-4qkv6r56.js} +5 -5
- package/dist/chunks/{agent-jdw580xe.js → location-activity-4rmr3zkt.js} +16 -16
- package/dist/chunks/{agent-4v008n1t.js → location-activity-4v008n1t.js} +1 -1
- package/dist/chunks/{agent-4xvmh7wp.js → location-activity-4xvmh7wp.js} +3 -3
- package/dist/chunks/{agent-26ebgyg0.js → location-activity-4y9437cn.js} +45 -45
- package/dist/chunks/{agent-rc4jd66d.js → location-activity-4yte20eq.js} +7 -7
- package/dist/chunks/{agent-tfbgmxwt.js → location-activity-55y28bj0.js} +4 -4
- package/dist/chunks/{agent-wqa97sqm.js → location-activity-5a2n849v.js} +6 -6
- package/dist/chunks/{agent-as8v2p6n.js → location-activity-5c21z366.js} +23 -23
- package/dist/chunks/{agent-qk0m1vv0.js → location-activity-5e8bacmk.js} +4 -4
- package/dist/chunks/{agent-5m9w47nd.js → location-activity-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-01x633r0.js → location-activity-5wjahd8j.js} +18 -18
- package/dist/chunks/{agent-m256pbh3.js → location-activity-68d59r98.js} +12 -12
- package/dist/chunks/{agent-6esdw8yj.js → location-activity-6esdw8yj.js} +1 -1
- package/dist/chunks/{agent-ze8957am.js → location-activity-6ksmve61.js} +20 -20
- package/dist/chunks/{agent-ek3fsnwj.js → location-activity-6mmcqg4x.js} +5 -5
- package/dist/chunks/{agent-6pjqjmy2.js → location-activity-6pjqjmy2.js} +1 -1
- package/dist/chunks/{agent-7nydw5h0.js → location-activity-6rmc0cg0.js} +39 -39
- package/dist/chunks/{agent-rnbw0hp3.js → location-activity-6swrj65x.js} +1 -1
- package/dist/chunks/{agent-jxd053np.js → location-activity-6tvssnq4.js} +12 -12
- package/dist/chunks/{agent-139mbqx8.js → location-activity-6vsfrkfj.js} +10 -10
- package/dist/chunks/{agent-ahef7j8f.js → location-activity-6x23shm0.js} +6 -6
- package/dist/chunks/{agent-dcjmpepk.js → location-activity-701px5gb.js} +19 -19
- package/dist/chunks/{agent-7mztthz3.js → location-activity-73bs6dwh.js} +19 -19
- package/dist/chunks/{agent-76cb1hcw.js → location-activity-76cb1hcw.js} +1 -1
- package/dist/chunks/{agent-nah043kf.js → location-activity-770pw0s1.js} +4 -4
- package/dist/chunks/{agent-r0nyd7pf.js → location-activity-79kbxvtk.js} +21 -21
- package/dist/chunks/{agent-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-rbg54dp1.js → location-activity-7h09t6vy.js} +4 -4
- package/dist/chunks/{agent-jkatrbtb.js → location-activity-7k2fg3vq.js} +15 -15
- package/dist/chunks/{agent-7f9y6rh0.js → location-activity-7kv1c21d.js} +17 -17
- package/dist/chunks/{agent-7qmwdxq4.js → location-activity-7px6qfbd.js} +11 -11
- package/dist/chunks/{agent-x46b6f4j.js → location-activity-7rx58ed3.js} +14 -14
- package/dist/chunks/{agent-jj1zxfb4.js → location-activity-7ty17bm8.js} +80 -80
- package/dist/chunks/{agent-7dg2g5n4.js → location-activity-7tyjvdb7.js} +13 -13
- package/dist/chunks/{agent-4773t8et.js → location-activity-7v98qr4z.js} +19 -19
- package/dist/chunks/{agent-2km5wy4y.js → location-activity-7vvk2bxp.js} +32 -32
- package/dist/chunks/{agent-7w2ypzdf.js → location-activity-7w2ypzdf.js} +1 -1
- package/dist/chunks/{agent-31yhp6h2.js → location-activity-8bx675xd.js} +7 -7
- package/dist/chunks/{agent-1tfrxqx8.js → location-activity-8ekgv4sx.js} +9 -9
- package/dist/chunks/{agent-hsrc9p37.js → location-activity-8jejpbev.js} +13 -13
- package/dist/chunks/{agent-qjgzc4b4.js → location-activity-8jztxfpf.js} +4 -4
- package/dist/chunks/{agent-n6v2b7cw.js → location-activity-8wc2fpae.js} +5 -5
- package/dist/chunks/{agent-vpm8vpz0.js → location-activity-8whp40kv.js} +3 -3
- package/dist/chunks/{agent-8wtp7s3z.js → location-activity-8wtp7s3z.js} +1 -1
- package/dist/chunks/{agent-91rj84md.js → location-activity-91rj84md.js} +1 -1
- package/dist/chunks/{agent-8e6m80hw.js → location-activity-96vydxfm.js} +1 -1
- package/dist/chunks/{agent-m1f7zknv.js → location-activity-98zdt0yh.js} +14 -14
- package/dist/chunks/{agent-faewc6h3.js → location-activity-9b28cy4d.js} +5 -5
- package/dist/chunks/{agent-r0yf9dk1.js → location-activity-9jpv2rkm.js} +19 -19
- package/dist/chunks/{agent-jneg3k74.js → location-activity-9p9xqj3m.js} +6 -6
- package/dist/chunks/{agent-eqkb58k1.js → location-activity-9qthnb7h.js} +8 -8
- package/dist/chunks/{agent-mzyv1r8q.js → location-activity-a7hcemwv.js} +8 -8
- package/dist/chunks/{agent-ekkan3t7.js → location-activity-af8vyvhb.js} +17 -17
- package/dist/chunks/{agent-6dnbbrkg.js → location-activity-agptt57b.js} +30 -30
- package/dist/chunks/{agent-034tev2y.js → location-activity-aj7mw0zk.js} +2 -2
- package/dist/chunks/{agent-kntq21p3.js → location-activity-anmk350e.js} +9 -9
- package/dist/chunks/{agent-new4gq93.js → location-activity-aqh37b2q.js} +3 -3
- package/dist/chunks/{agent-vthbx4vr.js → location-activity-aqrx9dx0.js} +32 -32
- package/dist/chunks/{agent-ja2p8ata.js → location-activity-av02mrfn.js} +26 -26
- package/dist/chunks/{agent-syfs4wve.js → location-activity-az971z8m.js} +14 -14
- package/dist/chunks/{agent-x2w8jbjz.js → location-activity-b014wc4w.js} +17 -17
- package/dist/chunks/{agent-b0mv4wxm.js → location-activity-b0mv4wxm.js} +2 -2
- package/dist/chunks/{agent-75jp0z26.js → location-activity-b1nmkhtn.js} +15 -15
- package/dist/chunks/{agent-prazahgm.js → location-activity-b6vsg801.js} +2 -4
- package/dist/chunks/{agent-43ttkgpw.js → location-activity-bhejg4xz.js} +18 -21
- package/dist/chunks/{agent-ccga0n09.js → location-activity-bnxfrj2k.js} +8 -8
- package/dist/chunks/{agent-pch94jad.js → location-activity-bpn1w030.js} +14 -14
- package/dist/chunks/{agent-e8m7b3pk.js → location-activity-bps2drsf.js} +11 -11
- package/dist/chunks/{agent-bstexjd6.js → location-activity-bstexjd6.js} +1 -1
- package/dist/chunks/{agent-w1xh8xrk.js → location-activity-c3pk09j5.js} +24 -24
- package/dist/chunks/{agent-mgbtrrwc.js → location-activity-c671bvsm.js} +3 -3
- package/dist/chunks/{agent-ewexpb9k.js → location-activity-catjr96x.js} +6 -6
- package/dist/chunks/{agent-as9ge7gr.js → location-activity-cd2k1xnt.js} +45 -45
- package/dist/chunks/{agent-xn94rwwj.js → location-activity-cfabegcm.js} +13 -13
- package/dist/chunks/{agent-ynyk2n84.js → location-activity-cje3xj0g.js} +17 -17
- package/dist/chunks/{agent-13ge0zq5.js → location-activity-csnmakm3.js} +17 -17
- package/dist/chunks/{agent-wgr7v8zv.js → location-activity-cz1d3gs1.js} +11 -11
- package/dist/chunks/{agent-d4v9tmah.js → location-activity-d4v9tmah.js} +2 -2
- package/dist/chunks/{agent-vwy7wwgg.js → location-activity-d6xhnq8s.js} +4 -4
- package/dist/chunks/{agent-85qf60df.js → location-activity-d7np8nc9.js} +12 -12
- package/dist/chunks/{agent-8d2bz6m6.js → location-activity-ddvn7d3w.js} +8 -8
- package/dist/chunks/location-activity-deeg0pgw.js +26 -0
- package/dist/chunks/{agent-j241wm9d.js → location-activity-denqp0gf.js} +1 -1
- package/dist/chunks/{agent-gjktm9p0.js → location-activity-df0pv1r5.js} +11 -11
- package/dist/chunks/{agent-zr7bpxke.js → location-activity-dhgmmzd7.js} +22 -22
- package/dist/chunks/{agent-k5aja770.js → location-activity-dpgr420w.js} +8 -8
- package/dist/chunks/{agent-g7x514gg.js → location-activity-dqnt9zwg.js} +4 -4
- package/dist/chunks/{agent-q4xvtkzf.js → location-activity-dvdrwbj5.js} +19 -19
- package/dist/chunks/{agent-fnrac0zs.js → location-activity-dvj9ct8m.js} +3 -4
- package/dist/chunks/{agent-y3mrdmj2.js → location-activity-e0habjmx.js} +18 -18
- package/dist/chunks/{agent-e834z07m.js → location-activity-e834z07m.js} +1 -1
- package/dist/chunks/{agent-v76m31v0.js → location-activity-epwqaf6g.js} +38 -38
- package/dist/chunks/{agent-aeczztyf.js → location-activity-exx3m7p4.js} +4 -4
- package/dist/chunks/{agent-mfyzpdtn.js → location-activity-f1jczfs9.js} +2 -2
- package/dist/chunks/{agent-mgma89zk.js → location-activity-f45gjzva.js} +4 -4
- package/dist/chunks/location-activity-f8ma18fn.js +18 -0
- package/dist/chunks/{agent-fffv3p7h.js → location-activity-fffv3p7h.js} +1 -1
- package/dist/chunks/{agent-f81xf9jd.js → location-activity-fjxbecjf.js} +21 -21
- package/dist/chunks/{agent-03qvnrpn.js → location-activity-frn2fm02.js} +33 -33
- package/dist/chunks/{agent-kj8ms8x1.js → location-activity-frrtdq1q.js} +5 -5
- package/dist/chunks/{agent-wh6wybx0.js → location-activity-fsnkzj02.js} +17 -17
- package/dist/chunks/{agent-z4k2sts1.js → location-activity-g06tszjg.js} +63 -63
- package/dist/chunks/{agent-g5h9c0rr.js → location-activity-g5h9c0rr.js} +2 -2
- package/dist/chunks/{agent-n6k6tv08.js → location-activity-g7hs11pn.js} +29 -29
- package/dist/chunks/{agent-j8xhq8v2.js → location-activity-g8jqzkk7.js} +5 -5
- package/dist/chunks/{agent-xvy21fdd.js → location-activity-g8k9qds5.js} +25 -25
- package/dist/chunks/{agent-mak9ftkg.js → location-activity-gdp0vkf7.js} +22 -22
- package/dist/chunks/{agent-k9hbvn9k.js → location-activity-gfvcz5wa.js} +45 -45
- package/dist/chunks/{agent-z1889dz1.js → location-activity-gvbwd73c.js} +11 -11
- package/dist/chunks/{agent-c6syegq7.js → location-activity-gy65pr6w.js} +26 -26
- package/dist/chunks/{agent-r6e28z23.js → location-activity-h1zj8b8q.js} +14 -14
- package/dist/chunks/{agent-kae2ksf8.js → location-activity-h3hh0399.js} +31 -31
- package/dist/chunks/{agent-hdfrs5mg.js → location-activity-hdfrs5mg.js} +2 -2
- package/dist/chunks/{agent-fxjbdvfm.js → location-activity-hj29fcar.js} +28 -28
- package/dist/chunks/{agent-gk2p2r2p.js → location-activity-hj952v97.js} +14 -14
- package/dist/chunks/{agent-v1xj14h7.js → location-activity-hkfkkryx.js} +5 -5
- package/dist/chunks/{agent-9x8q2m03.js → location-activity-hnrbc1x5.js} +19 -19
- package/dist/chunks/{agent-trjayejy.js → location-activity-j02adr0e.js} +11 -11
- package/dist/chunks/{agent-j113cymg.js → location-activity-j113cymg.js} +1 -1
- package/dist/chunks/{agent-36faspmy.js → location-activity-j73f5h72.js} +3 -3
- package/dist/chunks/location-activity-jwr30sdr.js +13 -0
- package/dist/chunks/{agent-6cjpnrq2.js → location-activity-k22zxr54.js} +27 -27
- package/dist/chunks/{agent-4kmz7hka.js → location-activity-k5pxjz9y.js} +18 -18
- package/dist/chunks/{agent-k814nvkf.js → location-activity-k814nvkf.js} +1 -1
- package/dist/chunks/{agent-7bbsac65.js → location-activity-kq1p7daa.js} +13 -13
- package/dist/chunks/{agent-kt3bjfbg.js → location-activity-kt3bjfbg.js} +1 -1
- package/dist/chunks/{agent-czx0mg6z.js → location-activity-kw1j96pn.js} +28 -28
- package/dist/chunks/{agent-bwk3ddh5.js → location-activity-kx5ztbyk.js} +9 -9
- package/dist/chunks/{agent-m1714858.js → location-activity-m1714858.js} +1 -1
- package/dist/chunks/{agent-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-maspj1v3.js → location-activity-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-2ytwxhv1.js → location-activity-mcmahwn4.js} +23 -23
- package/dist/chunks/{agent-89n72xaa.js → location-activity-merrw6gr.js} +28 -28
- package/dist/chunks/{agent-rbh56fzy.js → location-activity-mf1qqwmn.js} +47 -47
- package/dist/chunks/{agent-x68edsfb.js → location-activity-mherk3tq.js} +3 -3
- package/dist/chunks/{agent-gy38441g.js → location-activity-mmq2d74y.js} +15 -15
- package/dist/chunks/{agent-s904a6sg.js → location-activity-mqg3azes.js} +5 -5
- package/dist/chunks/{agent-7m634182.js → location-activity-mr2e5mch.js} +24 -24
- package/dist/chunks/{agent-7t5b4ngt.js → location-activity-msycsjna.js} +48 -48
- package/dist/chunks/{agent-cmchtp0v.js → location-activity-mytpcbzr.js} +11 -11
- package/dist/chunks/{agent-yr8jvaqb.js → location-activity-mzn9r2j2.js} +37 -37
- package/dist/chunks/{agent-n0p0277s.js → location-activity-n0p0277s.js} +1 -1
- package/dist/chunks/{agent-mjhk8a0e.js → location-activity-n4zn4mrv.js} +19 -19
- package/dist/chunks/{agent-0nfr0cf2.js → location-activity-nnfwqq4b.js} +3 -3
- package/dist/chunks/{agent-zdsd1y55.js → location-activity-nwpg3n5j.js} +9 -9
- package/dist/chunks/{agent-p015t6z3.js → location-activity-p015t6z3.js} +2 -2
- package/dist/chunks/{agent-ges56kck.js → location-activity-p3qy5t07.js} +15 -15
- package/dist/chunks/{agent-njvrd8jy.js → location-activity-p3xjka00.js} +7 -7
- package/dist/chunks/{agent-q9ajhnek.js → location-activity-p40wsfh4.js} +30 -30
- package/dist/chunks/{agent-jfyr8syn.js → location-activity-pa7bjyn8.js} +11 -11
- package/dist/chunks/{agent-wbfvqgnf.js → location-activity-pdgmbm3p.js} +31 -31
- package/dist/chunks/{agent-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{agent-dbztejgq.js → location-activity-pkyv6v7h.js} +0 -1
- package/dist/chunks/{agent-nkk0r47z.js → location-activity-pvz3ha5p.js} +8 -8
- package/dist/chunks/{agent-5kbc8wm3.js → location-activity-q76mn20p.js} +33 -33
- package/dist/chunks/{agent-za9sakwv.js → location-activity-qpndkz4h.js} +19 -19
- package/dist/chunks/{agent-3ryz99p0.js → location-activity-qqg9c0kv.js} +4 -4
- package/dist/chunks/{agent-b2g4rpf0.js → location-activity-qrnyk1ap.js} +36 -36
- package/dist/chunks/{agent-0nervf8r.js → location-activity-qteg3tgt.js} +8 -8
- package/dist/chunks/{agent-r0yr0wbs.js → location-activity-r0yr0wbs.js} +1 -1
- package/dist/chunks/{agent-q4fmv0xv.js → location-activity-r2jew814.js} +5 -5
- package/dist/chunks/{agent-40za9wsf.js → location-activity-r41sfy63.js} +6 -6
- package/dist/chunks/{agent-8r6n0qax.js → location-activity-r542h3bh.js} +2 -4
- package/dist/chunks/{agent-w82799bh.js → location-activity-r88f64d0.js} +29 -29
- package/dist/chunks/{agent-rb9dy4dg.js → location-activity-rb9dy4dg.js} +1 -1
- package/dist/chunks/{agent-xb4h8bm0.js → location-activity-rjc4qjf2.js} +4 -4
- package/dist/chunks/{agent-vrcsa8qx.js → location-activity-rjnacbrz.js} +9 -9
- package/dist/chunks/{agent-rt5dr6hb.js → location-activity-rt5dr6hb.js} +1 -1
- package/dist/chunks/{agent-fykkvtjp.js → location-activity-rxy7yh4n.js} +14 -14
- package/dist/chunks/{agent-v6h5bgwd.js → location-activity-s12jh10e.js} +8 -8
- package/dist/chunks/{agent-ddwaa558.js → location-activity-s4f8ct6t.js} +4 -4
- package/dist/chunks/{agent-6mejnpem.js → location-activity-s78fym6c.js} +11 -11
- package/dist/chunks/{agent-sa3fpqfw.js → location-activity-sa3fpqfw.js} +2 -2
- package/dist/chunks/{agent-7q4ggvk7.js → location-activity-sadb7q59.js} +44 -44
- package/dist/chunks/{agent-sqwztq39.js → location-activity-sctk4379.js} +56 -52
- package/dist/chunks/{agent-81c7e9ra.js → location-activity-sfvyh7df.js} +3 -3
- package/dist/chunks/{agent-ffd6fwxk.js → location-activity-sn2n44nz.js} +20 -20
- package/dist/chunks/{agent-66qzw14e.js → location-activity-snssezjg.js} +12 -12
- package/dist/chunks/{agent-sqjzf8x2.js → location-activity-sqjzf8x2.js} +1 -1
- package/dist/chunks/{agent-d2887f8n.js → location-activity-ssfehs1z.js} +4 -4
- package/dist/chunks/{agent-h6h54wtq.js → location-activity-stnh6bq5.js} +15 -15
- package/dist/chunks/{agent-x4w6jmkv.js → location-activity-sw94b9fh.js} +29 -29
- package/dist/chunks/{agent-ag49k9fp.js → location-activity-t5jye66g.js} +18 -18
- package/dist/chunks/{agent-tasvem1v.js → location-activity-tasvem1v.js} +3 -3
- package/dist/chunks/{agent-tczq8hjw.js → location-activity-tczq8hjw.js} +1 -1
- package/dist/chunks/{agent-q32ndhrq.js → location-activity-tn5gxkrv.js} +6 -6
- package/dist/chunks/{agent-sydzkpmk.js → location-activity-tqqxd6qs.js} +16 -16
- package/dist/chunks/{agent-zvc54kz4.js → location-activity-tvs8x7qj.js} +30 -30
- package/dist/chunks/{agent-twv2r8f4.js → location-activity-twv2r8f4.js} +2 -2
- package/dist/chunks/{agent-f993jxvg.js → location-activity-tze371p3.js} +16 -16
- package/dist/chunks/{agent-en6q6hb7.js → location-activity-v20098x6.js} +10 -10
- package/dist/chunks/{agent-4rwxs393.js → location-activity-v28rpjkp.js} +13 -13
- package/dist/chunks/{agent-v2r1d0zg.js → location-activity-v2r1d0zg.js} +1 -1
- package/dist/chunks/{agent-ypkjhwqx.js → location-activity-v7aaee86.js} +21 -21
- package/dist/chunks/{agent-vd3b3yk9.js → location-activity-vd3b3yk9.js} +1 -1
- package/dist/chunks/{agent-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-njmawajr.js → location-activity-vhn01q1d.js} +24 -24
- package/dist/chunks/{agent-61g7nd3s.js → location-activity-vm0wcjea.js} +9 -9
- package/dist/chunks/location-activity-vmbvcdd4.js +261 -0
- package/dist/chunks/{agent-vmfhgzt5.js → location-activity-vmfhgzt5.js} +1 -1
- package/dist/chunks/{agent-1vzks4bn.js → location-activity-vvvztmfk.js} +23 -23
- package/dist/chunks/{agent-81k9hmnn.js → location-activity-vw76ys03.js} +8 -8
- package/dist/chunks/{agent-r5kq5vn2.js → location-activity-vwvg46tm.js} +2 -3
- package/dist/chunks/{agent-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-w687dnns.js → location-activity-w687dnns.js} +1 -1
- package/dist/chunks/{agent-wakvkjy4.js → location-activity-wakvkjy4.js} +1 -1
- package/dist/chunks/{agent-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{agent-4ebqk1fd.js → location-activity-we3hhw3n.js} +18 -18
- package/dist/chunks/{agent-8hn9g0m8.js → location-activity-ws47dh3e.js} +28 -28
- package/dist/chunks/{agent-476ebpw1.js → location-activity-wxw2jpx7.js} +30 -30
- package/dist/chunks/{agent-vxe4wh26.js → location-activity-x02s2ayd.js} +27 -27
- package/dist/chunks/{agent-8x6kkqy5.js → location-activity-x22rmg1t.js} +24 -24
- package/dist/chunks/{agent-qqdpdbrj.js → location-activity-x7hc0esa.js} +8 -8
- package/dist/chunks/{agent-7x19yq7v.js → location-activity-x879tvrg.js} +9 -9
- package/dist/chunks/{agent-5qzx1yz8.js → location-activity-x99ztgmm.js} +17 -17
- package/dist/chunks/{agent-bk817c17.js → location-activity-xe8sskqa.js} +33 -33
- package/dist/chunks/{agent-8swnnve6.js → location-activity-xhgqx98d.js} +4 -4
- package/dist/chunks/{agent-4ffhv9d7.js → location-activity-xrc3640n.js} +8 -8
- package/dist/chunks/{agent-n07jd3kn.js → location-activity-xyh4ynjt.js} +13 -13
- package/dist/chunks/{agent-cvek0x6e.js → location-activity-y76yskcs.js} +11 -11
- package/dist/chunks/{agent-yb20nhc3.js → location-activity-yb20nhc3.js} +1 -1
- package/dist/chunks/{agent-kh1mannr.js → location-activity-ye09f13n.js} +24 -24
- package/dist/chunks/{agent-kqtnvzmd.js → location-activity-yy3455r6.js} +23 -23
- package/dist/chunks/{agent-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-11k6s8k8.js → location-activity-z0qd3mgb.js} +11 -11
- package/dist/chunks/{agent-cmxajbhr.js → location-activity-z226nxt7.js} +5 -5
- package/dist/chunks/{agent-z38nccrw.js → location-activity-z38nccrw.js} +1 -1
- package/dist/chunks/{agent-bh84v676.js → location-activity-z4j115y5.js} +9 -9
- package/dist/chunks/{agent-s2hjff0a.js → location-activity-zb2m7c4e.js} +11 -11
- package/dist/chunks/{agent-zkg84ctx.js → location-activity-zkg84ctx.js} +1 -1
- package/dist/chunks/{agent-g5rmwvhf.js → location-activity-zmrengzf.js} +17 -17
- package/dist/chunks/{agent-dhr7th0q.js → location-activity-zv8nd4fr.js} +5 -5
- package/dist/chunks/{agent-w22yp63b.js → location-activity-zx29snpc.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -86
- package/dist/config/discovery.js +87 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -103
- package/dist/config/plugin/agent.js +118 -117
- package/dist/config/plugin/command.js +214 -213
- package/dist/config/plugin/compaction.js +157 -156
- package/dist/config/plugin/compatibility.js +137 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -118
- package/dist/config/plugin/image.js +118 -117
- package/dist/config/plugin/instruction.js +118 -117
- package/dist/config/plugin/location-watcher.js +118 -117
- package/dist/config/plugin/mcp.js +125 -124
- package/dist/config/plugin/policy.js +119 -118
- package/dist/config/plugin/provider.js +118 -117
- package/dist/config/plugin/reference.js +120 -119
- package/dist/config/plugin/shell.js +120 -119
- package/dist/config/plugin/skill-file.js +107 -106
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -139
- package/dist/config/plugin/snapshot.js +118 -117
- package/dist/config/plugin/source.js +119 -118
- package/dist/config/plugin/tool-output.js +119 -118
- package/dist/config/plugin/websearch.js +119 -118
- package/dist/config/plugin/worktree.js +120 -119
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -88
- package/dist/database/database.js +70 -69
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +6 -0
- package/dist/database/migration.gen.js +53 -52
- package/dist/database/migration.js +55 -54
- 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 +90 -89
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -373
- 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 +98 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -99
- 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 +74 -73
- package/dist/file-access.js +109 -108
- package/dist/file-mutation.js +99 -98
- 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 +227 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -102
- package/dist/form.js +88 -87
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +92 -91
- package/dist/generate.js +108 -107
- package/dist/git.js +7 -7
- 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 +104 -103
- 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 +365 -364
- package/dist/instruction-discovery.js +84 -83
- package/dist/instructions/builtins.js +92 -91
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -90
- package/dist/job.js +82 -81
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -76
- package/dist/location-activity.js +158 -157
- package/dist/location-lifecycle.js +112 -111
- package/dist/location-service-map.js +91 -90
- package/dist/location-services.js +362 -361
- package/dist/location.js +86 -85
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +96 -95
- package/dist/mcp/index.js +110 -109
- package/dist/mcp/instructions.js +143 -142
- package/dist/mcp/oauth.js +82 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -94
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -103
- package/dist/model-resolver.js +104 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -104
- package/dist/models-dev.js +112 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -85
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -78
- package/dist/plugin/agent.js +78 -77
- package/dist/plugin/command.js +105 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -219
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -100
- package/dist/plugin/module.js +119 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -106
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -94
- package/dist/plugin/provider/azure.js +118 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -117
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -97
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -99
- package/dist/plugin/provider/gitlab.js +98 -97
- package/dist/plugin/provider/google-vertex.js +115 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -81
- package/dist/plugin/provider/lmstudio.js +127 -126
- package/dist/plugin/provider/local.js +124 -123
- package/dist/plugin/provider/modal.js +97 -96
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -124
- package/dist/plugin/provider/openai-context-caps.js +95 -94
- package/dist/plugin/provider/openai.js +118 -117
- package/dist/plugin/provider/opencode.js +104 -103
- package/dist/plugin/provider/openrouter.js +96 -95
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -82
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -95
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -116
- package/dist/plugin/provider/vercel.js +95 -94
- package/dist/plugin/provider/vllm.js +127 -126
- package/dist/plugin/provider/xai.js +96 -95
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -170
- package/dist/plugin/sdk.js +78 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -90
- package/dist/plugin/vcs/hg.js +91 -90
- package/dist/plugin/verbosity.js +98 -97
- package/dist/plugin/warming.js +116 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -84
- package/dist/provider.js +106 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -94
- package/dist/reference/instructions.js +92 -91
- package/dist/reference.js +96 -95
- package/dist/repository-cache.js +86 -85
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -99
- package/dist/rpc.js +91 -90
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -77
- package/dist/session/compaction.js +139 -138
- package/dist/session/context.js +167 -166
- package/dist/session/diff.js +93 -92
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -222
- package/dist/session/execution.js +133 -132
- package/dist/session/generate.js +167 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -96
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -101
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -124
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -134
- package/dist/session/projector.js +93 -92
- package/dist/session/prompt.js +110 -109
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -98
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -104
- package/dist/session/runner/publish-llm-event.js +118 -117
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +129 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -164
- package/dist/session/shell.js +132 -131
- package/dist/session/skill.js +108 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -76
- package/dist/session/store.js +89 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -213
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +169 -168
- package/dist/session/to-session-error.js +117 -116
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -217
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -109
- package/dist/skill.js +117 -116
- package/dist/snapshot.js +98 -97
- 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 +140 -139
- package/dist/tool/plugin/edit.js +121 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -128
- package/dist/tool/plugin/grep.js +127 -126
- package/dist/tool/plugin/mcp-resource.js +129 -128
- package/dist/tool/plugin/opencode.js +114 -113
- package/dist/tool/plugin/patch.js +125 -124
- package/dist/tool/plugin/question.js +106 -105
- package/dist/tool/plugin/read.js +130 -129
- package/dist/tool/plugin/shell.js +219 -218
- package/dist/tool/plugin/skill.js +118 -117
- package/dist/tool/plugin/subagent.js +217 -216
- package/dist/tool/plugin/todo.js +136 -135
- package/dist/tool/plugin/webfetch.js +118 -117
- package/dist/tool/plugin/websearch.js +119 -118
- package/dist/tool/plugin/write.js +127 -126
- package/dist/tool/read-filesystem.js +105 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/database/migration/20261024175301_drop_session_allowance.d.ts +3 -0
- package/dist/types/session/history.d.ts +0 -2
- package/dist/types/session/runner/publish-llm-event.d.ts +0 -1
- package/dist/types/session/schema.d.ts +0 -5
- package/dist/types/session/sql.d.ts +0 -16
- package/dist/types/session/transfer.d.ts +0 -10
- package/dist/types/session/usage.d.ts +0 -2
- package/dist/usage-limits.js +93 -92
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -96
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +98 -97
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -93
- package/dist/voice.js +92 -91
- package/dist/websearch.js +86 -85
- package/dist/wellknown/plugin.js +80 -79
- package/dist/wellknown.js +81 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -85
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -93
- package/dist/worktree.js +101 -100
- package/package.json +8 -8
- package/dist/chunks/agent-76mf46np.js +0 -26
- package/dist/chunks/agent-j0h8eemx.js +0 -261
- package/dist/chunks/agent-k62y2wy8.js +0 -18
- package/dist/chunks/agent-t5c3j88j.js +0 -517
- /package/dist/chunks/{agent-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → location-activity-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5fjb7ams.js → location-activity-5fjb7ams.js} +0 -0
- /package/dist/chunks/{agent-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → location-activity-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → location-activity-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a058387c.js → location-activity-a058387c.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cqv5kn06.js → location-activity-cqv5kn06.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → location-activity-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → location-activity-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → location-activity-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → location-activity-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → location-activity-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-1r6rmb28.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./location-activity-epwqaf6g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./location-activity-h1zj8b8q.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-6pjqjmy2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin41
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin41 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service63;
|
|
34
34
|
const location = yield* Service83;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service46;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin23 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin41, exports_worktree };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-1r6rmb28.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service49,
|
|
10
|
+
node52
|
|
11
|
+
} from "./location-activity-rxy7yh4n.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service39,
|
|
25
25
|
configured: () => configured4,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node42
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import path from "path";
|
|
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
32
32
|
import { Fff } from "#fff";
|
|
33
33
|
import fuzzysort from "fuzzysort";
|
|
34
34
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
35
|
-
class
|
|
35
|
+
class Service39 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
36
36
|
}
|
|
37
37
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
38
38
|
function emptyIndex() {
|
|
@@ -51,9 +51,9 @@ function search(index, input) {
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
var ripgrepLayer = Layer.effect(
|
|
54
|
+
var ripgrepLayer = Layer.effect(Service39, Effect.gen(function* () {
|
|
55
55
|
const location = yield* Service83;
|
|
56
|
-
const ripgrep = yield*
|
|
56
|
+
const ripgrep = yield* Service49;
|
|
57
57
|
const scope = yield* Scope.Scope;
|
|
58
58
|
const clock = yield* Clock.Clock;
|
|
59
59
|
const home = isHome2(location.directory);
|
|
@@ -98,14 +98,14 @@ var ripgrepLayer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
98
98
|
Deferred.doneUnsafe(attempt, exit);
|
|
99
99
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service39.of({
|
|
102
102
|
find: (input) => Effect.gen(function* () {
|
|
103
103
|
yield* refresh;
|
|
104
104
|
return search(index, input);
|
|
105
105
|
})
|
|
106
106
|
});
|
|
107
107
|
}));
|
|
108
|
-
var fffLayer2 = Layer.effect(
|
|
108
|
+
var fffLayer2 = Layer.effect(Service39, Effect.gen(function* () {
|
|
109
109
|
const location = yield* Service83;
|
|
110
110
|
const result = yield* Effect.try({
|
|
111
111
|
try: () => Fff.create({
|
|
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
119
119
|
if (!result?.ok) {
|
|
120
120
|
if (result)
|
|
121
121
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
122
|
-
return
|
|
122
|
+
return Service39.of({
|
|
123
123
|
find: () => Effect.succeed([])
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
127
|
-
return
|
|
127
|
+
return Service39.of({
|
|
128
128
|
find: (input) => Effect.sync(() => {
|
|
129
129
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
130
130
|
const items = (() => {
|
|
@@ -176,8 +176,8 @@ var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
176
176
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
177
177
|
}));
|
|
178
178
|
function configured4(options) {
|
|
179
|
-
return makeLocationNode({ service:
|
|
179
|
+
return makeLocationNode({ service: Service39, layer: layer(options), deps: [node87, node52] });
|
|
180
180
|
}
|
|
181
|
-
var
|
|
181
|
+
var node42 = configured4();
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Service39, fffLayer2, configured4, node42, exports_search };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./location-activity-1t3cgkkb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-8jejpbev.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service16
|
|
11
|
+
} from "./location-activity-pa7bjyn8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service78
|
|
14
|
+
} from "./location-activity-sadb7q59.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./location-activity-mmq2d74y.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output9,
|
|
30
|
+
Plugin: () => Plugin15,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output9 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin15 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service50;
|
|
58
|
+
const formatter = yield* Service16;
|
|
59
|
+
const permission = yield* Service78;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output9,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output9, toModelContent5, Plugin15, exports_write };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./location-activity-1fhqa2jj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-activity-sadb7q59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service76;
|
|
57
|
+
const permission = yield* Service78;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z0qd3mgb.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-r41sfy63.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin19,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin19 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin6 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin6 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin19, exports_firecrawl };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-8jztxfpf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service50,
|
|
6
|
+
node53
|
|
7
|
+
} from "./location-activity-1t3cgkkb.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node15,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service50;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node53] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info14 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info26 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info26, SessionSchema2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./location-activity-epwqaf6g.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./location-activity-17khjaea.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin36
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin36 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service63;
|
|
27
|
+
const shell = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin31 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin36, exports_shell2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
|