@opencode/core 0.0.0-beta-19283 → 0.0.0-beta-19289
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-mutation-e1r2x6f9.js → rpc-04b36cpa.js} +31 -31
- package/dist/chunks/{file-mutation-67ta7bkj.js → rpc-05hyq7v6.js} +29 -29
- package/dist/chunks/{file-mutation-kj8eeftq.js → rpc-0c1xkqdk.js} +18 -18
- package/dist/chunks/{file-mutation-8s1fj8xg.js → rpc-0h54jqbs.js} +8 -8
- package/dist/chunks/{file-mutation-3a14va3x.js → rpc-0h7m7rve.js} +11 -11
- package/dist/chunks/{file-mutation-0hpxrkyb.js → rpc-0hpxrkyb.js} +2 -2
- package/dist/chunks/rpc-0mesazry.js +4 -0
- package/dist/chunks/{file-mutation-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-beahn02f.js → rpc-0q73gbaw.js} +27 -27
- package/dist/chunks/{file-mutation-186z8ksc.js → rpc-15v2jbpx.js} +10 -10
- package/dist/chunks/{file-mutation-q7eqe2cf.js → rpc-160bp6er.js} +28 -28
- package/dist/chunks/{file-mutation-c4xf5pcw.js → rpc-1acwhj11.js} +20 -20
- package/dist/chunks/{file-mutation-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-6p3xbzsx.js → rpc-1hc11dc4.js} +4 -4
- package/dist/chunks/{file-mutation-0vyd0s5c.js → rpc-1p9hnvwm.js} +9 -9
- package/dist/chunks/rpc-1x11rq2a.js +18 -0
- package/dist/chunks/{file-mutation-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2402vzrj.js → rpc-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-jxhw35st.js → rpc-25yddx8d.js} +11 -11
- package/dist/chunks/{file-mutation-jbpw8vb5.js → rpc-28ysey72.js} +7 -7
- package/dist/chunks/{file-mutation-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-rqg3gf8y.js → rpc-2agmps7v.js} +14 -14
- package/dist/chunks/{file-mutation-9jq9dwvq.js → rpc-2gzv1x1z.js} +16 -16
- package/dist/chunks/{file-mutation-ptrg1k2p.js → rpc-2n7n6h49.js} +11 -11
- package/dist/chunks/{file-mutation-s9abe6v6.js → rpc-32ybvsf8.js} +20 -20
- package/dist/chunks/{file-mutation-h2gyv3sg.js → rpc-380vjcmd.js} +1 -1
- package/dist/chunks/{file-mutation-hhc8hmsq.js → rpc-392203pj.js} +57 -57
- package/dist/chunks/{file-mutation-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-09bre2bs.js → rpc-3g2tz5tg.js} +27 -27
- package/dist/chunks/{file-mutation-0p6seckt.js → rpc-3gf7mgb6.js} +22 -22
- package/dist/chunks/{file-mutation-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-gb3cfaes.js → rpc-3p5z01cg.js} +15 -15
- package/dist/chunks/{file-mutation-kjcr15p7.js → rpc-3q1jyqhd.js} +1 -1
- package/dist/chunks/{file-mutation-p5c89f54.js → rpc-3qdjr5ym.js} +6 -6
- package/dist/chunks/{file-mutation-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-es821efa.js → rpc-3vfpksxc.js} +8 -8
- package/dist/chunks/{file-mutation-tw7brqvw.js → rpc-46ea3zw7.js} +23 -23
- package/dist/chunks/{file-mutation-3trbxeqx.js → rpc-4b6bntqd.js} +1 -1
- package/dist/chunks/{file-mutation-1q5awywt.js → rpc-4drgpw32.js} +5 -5
- package/dist/chunks/{file-mutation-3tkzazqm.js → rpc-4dw97hmp.js} +25 -25
- package/dist/chunks/{file-mutation-s5zy3det.js → rpc-4hxqvqxk.js} +11 -11
- package/dist/chunks/{file-mutation-dakvsad3.js → rpc-4nfkbmq5.js} +25 -25
- package/dist/chunks/{file-mutation-82mcaj86.js → rpc-4v4y0ay6.js} +10 -10
- package/dist/chunks/rpc-4ya6vrc4.js +22 -0
- package/dist/chunks/{file-mutation-pvfgf3c8.js → rpc-4zxzqmp0.js} +23 -23
- package/dist/chunks/{file-mutation-q1a91n7k.js → rpc-51e3a5p7.js} +2 -2
- package/dist/chunks/{file-mutation-6x0tkb6y.js → rpc-5a0ch1qz.js} +25 -25
- package/dist/chunks/{file-mutation-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-pqhj6ddm.js → rpc-5dqwwgx5.js} +43 -43
- package/dist/chunks/{file-mutation-a5gt7g2r.js → rpc-5kptn8c0.js} +9 -9
- package/dist/chunks/{file-mutation-8rndkrc9.js → rpc-5qta70ca.js} +20 -20
- package/dist/chunks/{file-mutation-55fsb9kg.js → rpc-5r1r91je.js} +24 -24
- package/dist/chunks/{file-mutation-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-06e9b0r5.js → rpc-5vs4yzkb.js} +4 -4
- package/dist/chunks/{file-mutation-pq4st5kv.js → rpc-63bt3mag.js} +2 -2
- package/dist/chunks/{file-mutation-d19y6w96.js → rpc-6680k98e.js} +42 -42
- package/dist/chunks/{file-mutation-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-40snepyt.js → rpc-6dgk4twc.js} +30 -30
- package/dist/chunks/{file-mutation-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-vzm76b3t.js → rpc-6sth7kcr.js} +6 -6
- package/dist/chunks/{file-mutation-ftnkmamc.js → rpc-71hg3n7c.js} +20 -20
- package/dist/chunks/{file-mutation-71q4at8m.js → rpc-71q4at8m.js} +1 -1
- package/dist/chunks/{file-mutation-y6xnddjk.js → rpc-78hqr335.js} +4 -4
- package/dist/chunks/{file-mutation-5xtgfte3.js → rpc-7b15y959.js} +8 -8
- package/dist/chunks/{file-mutation-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-fcrkznn8.js → rpc-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-93qrahcj.js → rpc-7etk2hzb.js} +9 -9
- package/dist/chunks/{file-mutation-gm1k8myf.js → rpc-7g61tyhv.js} +11 -11
- package/dist/chunks/{file-mutation-bcvv562x.js → rpc-7mqmxrx0.js} +15 -15
- package/dist/chunks/{file-mutation-3qm34taf.js → rpc-7rvtqatg.js} +11 -11
- package/dist/chunks/{file-mutation-t8ksxzma.js → rpc-7ryxtne2.js} +18 -18
- package/dist/chunks/{file-mutation-fq1h1v14.js → rpc-7ybwwvvx.js} +3 -3
- package/dist/chunks/{file-mutation-994yq7gs.js → rpc-812pdnj9.js} +15 -15
- package/dist/chunks/{file-mutation-f58s2wyk.js → rpc-81k39a0h.js} +11 -11
- package/dist/chunks/{file-mutation-9ctpkay6.js → rpc-82mbhkby.js} +24 -24
- package/dist/chunks/{file-mutation-8m0rbw91.js → rpc-848g7kq8.js} +6 -6
- package/dist/chunks/{file-mutation-gnbcfc85.js → rpc-86azpgyb.js} +36 -36
- package/dist/chunks/{file-mutation-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-0kmn1fe5.js → rpc-8eafbdk1.js} +9 -9
- package/dist/chunks/{file-mutation-sd8x8c65.js → rpc-8kfkccvf.js} +28 -28
- package/dist/chunks/{file-mutation-kx5d5bhr.js → rpc-8kndfjmn.js} +11 -11
- package/dist/chunks/{file-mutation-8p4f9s12.js → rpc-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-rvv37x7m.js → rpc-8qexswn4.js} +49 -49
- package/dist/chunks/{file-mutation-mv0zd19e.js → rpc-8rmy5ya5.js} +6 -6
- package/dist/chunks/{file-mutation-2s50d4an.js → rpc-8sghyhzw.js} +8 -8
- package/dist/chunks/{file-mutation-nvbnysz2.js → rpc-8tjfcq3e.js} +12 -12
- package/dist/chunks/{file-mutation-n7gchs3r.js → rpc-9ej4f3gs.js} +42 -42
- package/dist/chunks/{file-mutation-8d8kddd4.js → rpc-9ezh3pre.js} +14 -14
- package/dist/chunks/{file-mutation-whqd4cg2.js → rpc-9kgmhgf7.js} +18 -18
- package/dist/chunks/{file-mutation-81swgkk7.js → rpc-9pv0dm11.js} +9 -9
- package/dist/chunks/{file-mutation-a1bz86dw.js → rpc-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-806j49yq.js → rpc-a2ew8a62.js} +4 -4
- package/dist/chunks/{file-mutation-y9dm3m96.js → rpc-a5hqaec8.js} +5 -5
- package/dist/chunks/{file-mutation-t51qk8jz.js → rpc-a8bn8zg0.js} +21 -21
- package/dist/chunks/{file-mutation-49w8mb30.js → rpc-a8zr1srk.js} +11 -11
- package/dist/chunks/{file-mutation-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-3xq6eagg.js → rpc-ad8rjs1d.js} +57 -57
- package/dist/chunks/{file-mutation-hnz0zg2g.js → rpc-aeget6rx.js} +16 -16
- package/dist/chunks/{file-mutation-hh8z4pbg.js → rpc-ajzgx9s2.js} +6 -6
- package/dist/chunks/{file-mutation-nchh3q1h.js → rpc-at0srrj9.js} +17 -17
- package/dist/chunks/{file-mutation-rcwb6wwf.js → rpc-ave7p2tf.js} +43 -43
- package/dist/chunks/{file-mutation-88adr1q9.js → rpc-ay95kvxt.js} +12 -12
- package/dist/chunks/{file-mutation-zhsgacjb.js → rpc-aydj3jpn.js} +5 -5
- package/dist/chunks/{file-mutation-p4rfye9r.js → rpc-aykm855c.js} +16 -16
- package/dist/chunks/{file-mutation-9k2v62xn.js → rpc-b2jx7zxs.js} +1 -1
- package/dist/chunks/{file-mutation-r365bz61.js → rpc-b452245p.js} +18 -18
- package/dist/chunks/{file-mutation-5qczcnpy.js → rpc-b4jtvy14.js} +22 -22
- package/dist/chunks/{file-mutation-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-n0hfs6vw.js → rpc-bets30rh.js} +35 -35
- package/dist/chunks/{file-mutation-bve5mb3t.js → rpc-bhm0wwej.js} +9 -9
- package/dist/chunks/{file-mutation-9jwfms7w.js → rpc-bnvsd47h.js} +28 -28
- package/dist/chunks/{file-mutation-2y04n8jz.js → rpc-bvx334ga.js} +5 -5
- package/dist/chunks/{file-mutation-cfpkc3c9.js → rpc-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-t4pq13ck.js → rpc-cknngr8n.js} +7 -7
- package/dist/chunks/{file-mutation-j2kgjx3g.js → rpc-cqyppt87.js} +5 -5
- package/dist/chunks/{file-mutation-mbfhs0cg.js → rpc-cv3pfd1g.js} +32 -32
- package/dist/chunks/{file-mutation-gyt4xc7p.js → rpc-cy023x00.js} +11 -11
- package/dist/chunks/{file-mutation-rsqw0z3c.js → rpc-d1gmhgze.js} +3 -3
- package/dist/chunks/rpc-d3edv76n.js +247 -0
- package/dist/chunks/{file-mutation-c95cvesc.js → rpc-d9sn21bc.js} +2 -2
- package/dist/chunks/{file-mutation-he7r1j7z.js → rpc-dmky53ph.js} +13 -13
- package/dist/chunks/{file-mutation-g2emr326.js → rpc-drf46963.js} +27 -27
- package/dist/chunks/{file-mutation-prg0vcqa.js → rpc-dyy3hg9v.js} +27 -27
- package/dist/chunks/{file-mutation-vxg24fff.js → rpc-e10pngcb.js} +7 -7
- package/dist/chunks/{file-mutation-ca7w653e.js → rpc-e2hjzebn.js} +4 -4
- package/dist/chunks/{file-mutation-2wyjv582.js → rpc-e6jkap1f.js} +4 -4
- package/dist/chunks/{file-mutation-pgg8zxmg.js → rpc-efmeagt0.js} +16 -16
- package/dist/chunks/{file-mutation-ze2evx92.js → rpc-ehz7tvfk.js} +42 -42
- package/dist/chunks/{file-mutation-bj38exev.js → rpc-enjqvhhk.js} +4 -4
- package/dist/chunks/{file-mutation-e3qr8qh7.js → rpc-ermacy2g.js} +11 -11
- package/dist/chunks/{file-mutation-0atcf9qv.js → rpc-escwhzbq.js} +21 -21
- package/dist/chunks/{file-mutation-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-2qp6y8xf.js → rpc-evbgk2k8.js} +5 -5
- package/dist/chunks/{file-mutation-8hzg5heq.js → rpc-f1qr80xv.js} +10 -10
- package/dist/chunks/{file-mutation-f828m53h.js → rpc-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-3hf7z3yq.js → rpc-fd4fwae4.js} +11 -11
- package/dist/chunks/{file-mutation-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-m1yhe7vf.js → rpc-fypygjtf.js} +7 -7
- package/dist/chunks/{file-mutation-4fjbcyqb.js → rpc-g0xjywn0.js} +24 -24
- package/dist/chunks/{file-mutation-actbqwdw.js → rpc-ga3kzjxn.js} +3 -3
- package/dist/chunks/{file-mutation-dwmg9hrb.js → rpc-gaqsv9vz.js} +80 -80
- package/dist/chunks/{file-mutation-b28dsp24.js → rpc-gcbhdhgt.js} +35 -35
- package/dist/chunks/{file-mutation-5vn17cm2.js → rpc-gd1x23dm.js} +18 -18
- package/dist/chunks/{file-mutation-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-45hw2ke2.js → rpc-gkk129yf.js} +8 -8
- package/dist/chunks/{file-mutation-xryrtgfh.js → rpc-gpjchng5.js} +4 -4
- package/dist/chunks/{file-mutation-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-h03wrkyp.js → rpc-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-6hvfbh91.js → rpc-h0ddxr27.js} +13 -13
- package/dist/chunks/{file-mutation-hxmjvm96.js → rpc-h196em3s.js} +41 -41
- package/dist/chunks/{file-mutation-jw70sp16.js → rpc-h1n238ac.js} +4 -4
- package/dist/chunks/{file-mutation-tjxznqzk.js → rpc-h2t2tw2n.js} +11 -11
- package/dist/chunks/{file-mutation-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-6ydb37tg.js → rpc-h8f3xwjj.js} +284 -284
- package/dist/chunks/{file-mutation-8x19mfpd.js → rpc-hav6ns8c.js} +13 -13
- package/dist/chunks/{file-mutation-38q3t4w4.js → rpc-hemec0th.js} +39 -39
- package/dist/chunks/{file-mutation-vkxpz7g2.js → rpc-hfdr1yjj.js} +4 -4
- package/dist/chunks/{file-mutation-2vcmvr51.js → rpc-hjhqf936.js} +4 -4
- package/dist/chunks/{file-mutation-fa129hwe.js → rpc-hn6ar8tx.js} +26 -26
- package/dist/chunks/{file-mutation-f3bk3ss6.js → rpc-hpwz0gyy.js} +6 -6
- package/dist/chunks/{file-mutation-80738sq9.js → rpc-j0ewz58p.js} +74 -74
- package/dist/chunks/{file-mutation-c1nn02ak.js → rpc-j36g4ek5.js} +39 -39
- package/dist/chunks/{file-mutation-1zgrek1b.js → rpc-j3xb24h1.js} +18 -18
- package/dist/chunks/{file-mutation-ym15bmrz.js → rpc-j5208yae.js} +7 -7
- package/dist/chunks/{file-mutation-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-bwshncvd.js → rpc-j7wq2tw5.js} +3 -3
- package/dist/chunks/{file-mutation-c48kwzew.js → rpc-jh9q333t.js} +6 -6
- package/dist/chunks/{file-mutation-1v9ym5jr.js → rpc-jt8wkmq3.js} +20 -20
- package/dist/chunks/{file-mutation-84tssp1s.js → rpc-jtp7wgq3.js} +8 -8
- package/dist/chunks/{file-mutation-ryfyd5fe.js → rpc-jvhgncaf.js} +11 -11
- package/dist/chunks/{file-mutation-py90b8jm.js → rpc-jwx4y25k.js} +9 -9
- package/dist/chunks/{file-mutation-g6ww450v.js → rpc-k4ggf7wz.js} +6 -6
- package/dist/chunks/{file-mutation-vypqtakx.js → rpc-kcwf74x3.js} +1 -1
- package/dist/chunks/{file-mutation-shh6fz4q.js → rpc-keat3kjn.js} +4 -4
- package/dist/chunks/{file-mutation-kg06axw8.js → rpc-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-qz2vwnt8.js → rpc-knpgx9zf.js} +13 -13
- package/dist/chunks/{file-mutation-5f3v4jqn.js → rpc-kvvjzsre.js} +13 -13
- package/dist/chunks/{file-mutation-0kmr7qxb.js → rpc-kyf09390.js} +28 -28
- package/dist/chunks/{file-mutation-3sxqrh4h.js → rpc-m2shnn4e.js} +31 -31
- package/dist/chunks/{file-mutation-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-1ygqh575.js → rpc-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-mutation-mkcjrzeh.js → rpc-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-mutation-1bbkgx8g.js → rpc-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-mutation-d8dqhcx6.js → rpc-mwaq9hpm.js} +19 -19
- package/dist/chunks/{file-mutation-drfdf3ak.js → rpc-mzvapydn.js} +11 -11
- package/dist/chunks/{file-mutation-rt6kd21k.js → rpc-n8w2n8mt.js} +13 -13
- package/dist/chunks/{file-mutation-y2vrj84a.js → rpc-nbddwgy7.js} +6 -6
- package/dist/chunks/{file-mutation-mgaz471z.js → rpc-nh2r5jdq.js} +1 -1
- package/dist/chunks/{file-mutation-hjt4xg1x.js → rpc-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-mutation-t599r0en.js → rpc-nngsh4zc.js} +8 -8
- package/dist/chunks/{file-mutation-bb3j3psa.js → rpc-ntefk5q2.js} +6 -6
- package/dist/chunks/{file-mutation-9phvn7ns.js → rpc-nzwv9chv.js} +3 -3
- package/dist/chunks/{file-mutation-3cz8rj72.js → rpc-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-mutation-j935v87r.js → rpc-paphc93g.js} +2 -2
- package/dist/chunks/{file-mutation-h9sh19qw.js → rpc-pe8twcp1.js} +8 -8
- package/dist/chunks/{file-mutation-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-c4wn80s8.js → rpc-pk8pw837.js} +17 -17
- package/dist/chunks/{file-mutation-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-zt5c7qyf.js → rpc-pqd1mzxt.js} +9 -9
- package/dist/chunks/{file-mutation-vabb23s0.js → rpc-q1c4k7jk.js} +1 -1
- package/dist/chunks/{file-mutation-2336b01z.js → rpc-q6d53jre.js} +8 -8
- package/dist/chunks/{file-mutation-c5c317t5.js → rpc-q98kh21b.js} +8 -8
- package/dist/chunks/{file-mutation-vwntjgrk.js → rpc-qn236mkj.js} +26 -26
- package/dist/chunks/{file-mutation-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-1tq060df.js → rpc-r33ff4dw.js} +4 -4
- package/dist/chunks/{file-mutation-8vkd33e4.js → rpc-r4qn2xe9.js} +161 -161
- package/dist/chunks/{file-mutation-ve4pfa0n.js → rpc-r98e92ep.js} +4 -4
- package/dist/chunks/{file-mutation-6j4ag5pz.js → rpc-rd1v4kcy.js} +35 -35
- package/dist/chunks/{file-mutation-yp2x3t23.js → rpc-rhraev7y.js} +4 -4
- package/dist/chunks/{file-mutation-esdnemd6.js → rpc-rstnkd3y.js} +1 -1
- package/dist/chunks/{file-mutation-m9q90vtq.js → rpc-s0b2yntt.js} +9 -9
- package/dist/chunks/{file-mutation-cd746zc3.js → rpc-s2v4v98g.js} +27 -27
- package/dist/chunks/{file-mutation-0gdmqesm.js → rpc-s8d7rejh.js} +4 -4
- package/dist/chunks/{file-mutation-pqeratpj.js → rpc-s8rzfbyd.js} +11 -11
- package/dist/chunks/{file-mutation-h0gknw34.js → rpc-sa0a5p27.js} +26 -26
- package/dist/chunks/{file-mutation-bmgez2f1.js → rpc-sf7x1fj7.js} +17 -17
- package/dist/chunks/{file-mutation-jps1ny4p.js → rpc-sn0jzx2p.js} +46 -46
- package/dist/chunks/{file-mutation-y62rmnsx.js → rpc-st700yg7.js} +11 -11
- package/dist/chunks/{file-mutation-dbkk30e5.js → rpc-sw4fypgs.js} +31 -31
- package/dist/chunks/{file-mutation-rk2ahbr8.js → rpc-t3de4bw4.js} +13 -13
- package/dist/chunks/{file-mutation-5qzxerzy.js → rpc-t4g30a11.js} +63 -63
- package/dist/chunks/{file-mutation-n763yaxc.js → rpc-t4yvbv2m.js} +8 -8
- package/dist/chunks/{file-mutation-2s407pyf.js → rpc-t5n4sn49.js} +10 -10
- package/dist/chunks/{file-mutation-mrw4weg4.js → rpc-t8r3ep1g.js} +5 -5
- package/dist/chunks/{file-mutation-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-nw1kez4j.js → rpc-tf05515k.js} +37 -37
- package/dist/chunks/{file-mutation-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-b6tpec7v.js → rpc-twxs2vfq.js} +27 -27
- package/dist/chunks/{file-mutation-rt3pmekg.js → rpc-tz3f8yzd.js} +33 -33
- package/dist/chunks/{file-mutation-ks65mm2v.js → rpc-v3a8d439.js} +21 -21
- package/dist/chunks/{file-mutation-qwqr3n23.js → rpc-v5wzvjc3.js} +7 -7
- package/dist/chunks/{file-mutation-zqgpk263.js → rpc-vazxcjns.js} +20 -20
- package/dist/chunks/{file-mutation-tz7np2q7.js → rpc-vczw2nmh.js} +17 -17
- package/dist/chunks/{file-mutation-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-vhqk6wt7.js → rpc-vj8a64wy.js} +11 -11
- package/dist/chunks/{file-mutation-hyt7xt3b.js → rpc-vj8jh5p3.js} +32 -32
- package/dist/chunks/{file-mutation-kf6yd70a.js → rpc-vjcp5cnv.js} +9 -9
- package/dist/chunks/{file-mutation-t171jc14.js → rpc-vpzh5kyk.js} +10 -10
- package/dist/chunks/{file-mutation-s2dewncd.js → rpc-vwhnhdwa.js} +19 -19
- package/dist/chunks/{file-mutation-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-zedst77g.js → rpc-w07mqhec.js} +33 -33
- package/dist/chunks/{file-mutation-w21xwbmq.js → rpc-w12rp218.js} +9 -9
- package/dist/chunks/{file-mutation-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-3ea0hr43.js → rpc-w7jvtf3d.js} +28 -28
- package/dist/chunks/{file-mutation-6hb1nw02.js → rpc-w8gexp6v.js} +32 -32
- package/dist/chunks/{file-mutation-510m7gjw.js → rpc-wbkyxrgf.js} +5 -5
- package/dist/chunks/{file-mutation-z7k8rsga.js → rpc-wcc6gayv.js} +12 -12
- package/dist/chunks/{file-mutation-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-e3pe5yny.js → rpc-wgktjw56.js} +3 -3
- package/dist/chunks/{file-mutation-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-x43y2vfs.js → rpc-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-mutation-m0jtk5b3.js → rpc-x8jcsx7d.js} +19 -19
- package/dist/chunks/{file-mutation-fhs97t90.js → rpc-xekzrwwc.js} +8 -8
- package/dist/chunks/{file-mutation-nsfhb685.js → rpc-xhfcg5z5.js} +26 -26
- package/dist/chunks/{file-mutation-m5shh40j.js → rpc-xp7stfgp.js} +2 -2
- package/dist/chunks/{file-mutation-rs226bz6.js → rpc-xsdh20fb.js} +5 -5
- package/dist/chunks/{file-mutation-8trxq8gn.js → rpc-xzda1vkx.js} +13 -13
- package/dist/chunks/{file-mutation-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-feeq33m8.js → rpc-y4ze8nqa.js} +14 -14
- package/dist/chunks/{file-mutation-h1fkweye.js → rpc-y53bff5k.js} +17 -17
- package/dist/chunks/{file-mutation-jwcy2c2z.js → rpc-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-m3w486dh.js → rpc-yk9e0cpf.js} +4 -4
- package/dist/chunks/{file-mutation-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-s4enseaf.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-ttr98dqn.js → rpc-z03wer5m.js} +26 -26
- package/dist/chunks/{file-mutation-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-1vnghje2.js → rpc-z152v5gf.js} +15 -15
- package/dist/chunks/{file-mutation-29x78va6.js → rpc-z63w68vq.js} +6 -6
- package/dist/chunks/{file-mutation-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-4k8h272a.js → rpc-zej54b25.js} +7 -7
- package/dist/chunks/{file-mutation-c1k9yc14.js → rpc-zfytcyng.js} +16 -16
- package/dist/chunks/{file-mutation-j7rdq0sg.js → rpc-zg0hmsgg.js} +6 -6
- package/dist/chunks/{file-mutation-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-ka2e7rey.js → rpc-zr9h837b.js} +22 -22
- package/dist/chunks/{file-mutation-3x45ad37.js → rpc-zvrat7w3.js} +22 -22
- package/dist/chunks/{file-mutation-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-wdnn29qe.js → rpc-zymgq775.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- package/dist/git.js +5 -5
- 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 +7 -7
- 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/id/id.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 +352 -352
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +115 -115
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-mutation-53555yf5.js +0 -247
- package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
- package/dist/chunks/file-mutation-j71snt67.js +0 -22
- package/dist/chunks/file-mutation-qdyb70sk.js +0 -18
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → rpc-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-hrnqkpcd.js → rpc-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → rpc-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service75
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-7etk2hzb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service47
|
|
11
|
+
} from "./rpc-b4jtvy14.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service36
|
|
14
|
+
} from "./rpc-aeget6rx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service14,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-kvvjzsre.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./rpc-392203pj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service69,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-2gzv1x1z.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin40,
|
|
42
|
+
name: () => name9,
|
|
43
43
|
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name9 = "patch";
|
|
89
|
+
var Input9 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output6 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent3 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin40 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service47;
|
|
112
|
+
const access = yield* Service69;
|
|
113
|
+
const fileMutation = yield* Service14;
|
|
114
|
+
const formatter = yield* Service36;
|
|
115
115
|
const location = yield* Service75;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service70;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name9, Input9, Applied2, Output6, toModelContent3, Plugin40, exports_patch };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service77,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
node82
|
|
10
|
+
} from "./rpc-nbddwgy7.js";
|
|
11
11
|
import {
|
|
12
12
|
Service75,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node80
|
|
14
|
+
} from "./rpc-7etk2hzb.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service30,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node34,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service30 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service77;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service30.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node34 = makeLocationNode({
|
|
139
|
+
service: Service30,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node82, Global.node, node80]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service30, Service30.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service72, Service72.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error2({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID5, Error2, Service30, node34, noopLayer2, exports_snapshot2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service75
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-7etk2hzb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./rpc-2gzv1x1z.js";
|
|
10
10
|
import {
|
|
11
11
|
Service11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-t3de4bw4.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-8kndfjmn.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input11,
|
|
36
|
+
Plugin: () => Plugin43,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name11,
|
|
39
39
|
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name11 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin43 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service12;
|
|
62
|
-
const access = yield*
|
|
62
|
+
const access = yield* Service69;
|
|
63
63
|
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service75;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name11,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name11, Input11, Plugin43, toModelContent5, exports_read };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service40,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service40 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service40, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service40.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service61, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node44 = makeGlobalNode({ service: Service40, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service40, node44, exports_environment };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./rpc-ehz7tvfk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./rpc-5kptn8c0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
16
16
|
__export(exports_location_watcher, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin17
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin17 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service52;
|
|
26
|
+
const policy = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin15 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin17, exports_location_watcher };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./rpc-zfytcyng.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service32,
|
|
17
|
+
node36
|
|
18
|
+
} from "./rpc-b452245p.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info5,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service31,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node35
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event5 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info5 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service31 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service79;
|
|
53
|
+
const cache = yield* Service32;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info5.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info5.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service31.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node35 = makeLocationNode({
|
|
116
|
+
service: Service31,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node84, node36]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info5, Service31, node35, exports_reference2, Event5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./rpc-jtp7wgq3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,8 +12,8 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID10,
|
|
16
|
+
Info: () => Info23,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
19
|
Ref: () => Ref3,
|
|
@@ -22,7 +22,7 @@ __export(exports_model2, {
|
|
|
22
22
|
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID10 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -30,7 +30,7 @@ var Compatibility2 = Model.Compatibility;
|
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
32
|
var Ref3 = Model.Ref;
|
|
33
|
-
var
|
|
33
|
+
var Info23 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -41,9 +41,9 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info23, compatibility2, parse5, exports_model2 };
|