@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
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service86,
|
|
4
4
|
node90
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-5e8bacmk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-9p9xqj3m.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-vd3b3yk9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event7,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
26
|
Options: () => Options4,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
configured: () => configured5,
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
layer: () => layer18,
|
|
30
|
+
node: () => node47
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -38,8 +38,8 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
|
-
var key =
|
|
42
|
-
var
|
|
41
|
+
var key = Key4.make("core/instructions");
|
|
42
|
+
var Event7 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
45
|
var Options4 = Schema.Struct({
|
|
@@ -47,9 +47,9 @@ var Options4 = Schema.Struct({
|
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service44 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service86;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
@@ -69,7 +69,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
74
|
const source = (value) => make21({
|
|
75
75
|
key,
|
|
@@ -87,7 +87,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service44.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -103,12 +103,12 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
103
103
|
}));
|
|
104
104
|
function configured5(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
106
|
+
service: Service44,
|
|
107
|
+
layer: layer18(options),
|
|
108
108
|
deps: [node90]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node47 = configured5();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event7, Options4, Service44, layer18, configured5, node47, exports_instruction_discovery };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service87,
|
|
6
6
|
node91
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-mherk3tq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service86,
|
|
10
10
|
node90
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-5e8bacmk.js";
|
|
12
12
|
import {
|
|
13
13
|
Service85,
|
|
14
14
|
node89
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-hkfkkryx.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-hdfrs5mg.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-activity-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-3cbjf1nt.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info14
|
|
7
|
+
} from "./location-activity-1y0wdj51.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent3 = {};
|
|
14
14
|
__export(exports_agent3, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent3,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info13
|
|
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(Info14)
|
|
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 Info13 = 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 { Info13, exports_agent3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-hkfkkryx.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service68,
|
|
16
|
+
node72
|
|
17
|
+
} from "./location-activity-v20098x6.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service42,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node45,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service42 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service85;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service68;
|
|
110
|
+
return Service42.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node45 = makeGlobalNode({
|
|
171
|
+
service: Service42,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node89, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node89, Global.node, node72]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service42, isError2, validateBranch2, node45, exports_repository_cache };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-5e8bacmk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node79
|
|
10
|
+
} from "./location-activity-wxw2jpx7.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-42jd4697.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-1fhqa2jj.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event14,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID9,
|
|
41
|
+
Info: () => Info20,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service74,
|
|
49
|
+
node: () => node78
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
72
|
+
var ID9 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info20 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID9,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service74 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service75;
|
|
117
117
|
const bus = yield* Service86;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info20.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service74.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node78 = makeLocationNode({
|
|
633
|
+
service: Service74,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node79, node90, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node78, exports_integration, Event14 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service86,
|
|
4
4
|
node90
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-5e8bacmk.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer5,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer5 = Layer.effect(
|
|
25
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service86;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node90] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer5, node7, exports_sdk };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-sctk4379.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|