@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
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./rpc-zfytcyng.js";
|
|
5
5
|
import {
|
|
6
6
|
Service75,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node80
|
|
8
|
+
} from "./rpc-7etk2hzb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./rpc-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service43,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node47
|
|
16
|
+
} from "./rpc-y53bff5k.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./rpc-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node16
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
60
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service79;
|
|
62
62
|
const location = yield* Service75;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service43;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node16 = makeLocationNode({
|
|
274
|
+
service: Service13,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node84, node80, node47]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node16, exports_pty, Event2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make19
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make19 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make19, exports_run_coordinator };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./rpc-ehz7tvfk.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-y1fvbwt7.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/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin15
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin15 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service52;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin15, exports_policy };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./rpc-zfytcyng.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event18,
|
|
18
|
+
ID: () => ID14,
|
|
19
|
+
Info: () => Info28,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service73,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node78
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event18 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID14 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID14.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info28 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service73 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info28.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID14.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service73.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID14.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID14.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node78 = makeLocationNode({ service: Service73, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID14, Name3, defaultID2, Color2, Info28, Service73, node78, exports_agent4, Event18 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-848g7kq8.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-wgktjw56.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -14,11 +14,11 @@ __export(exports_database, {
|
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
16
|
Service: () => Service80,
|
|
17
|
-
configured: () =>
|
|
17
|
+
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
|
-
layer: () =>
|
|
19
|
+
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node85
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -56,7 +56,7 @@ function lockFor(filename) {
|
|
|
56
56
|
locks.set(filename, lock);
|
|
57
57
|
return lock;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function layer26(options = { path: ":memory:" }) {
|
|
60
60
|
return Layer.unwrap(Effect.gen(function* () {
|
|
61
61
|
const provide = (filename) => databaseLayer(filename === ":memory:" ? Semaphore.make(1) : Effect.succeed(lockFor(filename))).pipe(Layer.provide(sqliteLayer({ filename })));
|
|
62
62
|
const filename = options.path ?? ":memory:";
|
|
@@ -67,8 +67,8 @@ function layer25(options = { path: ":memory:" }) {
|
|
|
67
67
|
}));
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
|
-
function
|
|
71
|
-
return makeGlobalNode({ service: Service80, layer:
|
|
70
|
+
function configured13(options) {
|
|
71
|
+
return makeGlobalNode({ service: Service80, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
@@ -77,6 +77,6 @@ function configuredClient2(client) {
|
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node85 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11, Service80,
|
|
82
|
+
export { Options11, Service80, layer26, layerFromClient2, configured13, configuredClient2, node85, exports_database };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./rpc-zfytcyng.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
29
|
+
Options: () => Options3,
|
|
30
|
+
Service: () => Service37,
|
|
31
|
+
configured: () => configured3,
|
|
32
32
|
layer: () => layer15,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node41
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options3 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service37 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer15 = (options) => Layer.effect(
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service37.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured3(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service37,
|
|
110
110
|
layer: layer15(options),
|
|
111
|
-
deps: [
|
|
111
|
+
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node41 = configured3();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event8, Options3, Service37, layer15, configured3, node41, exports_instruction_discovery };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./rpc-s8rzfbyd.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load3
|
|
12
|
+
} from "./rpc-h2t2tw2n.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-d9sn21bc.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
|
+
Service: () => Service71,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node76
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service71 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service80;
|
|
59
|
-
return
|
|
59
|
+
return Service71.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
99
99
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
100
100
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
101
101
|
}),
|
|
102
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
102
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID, "latest")),
|
|
103
103
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
104
104
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
105
105
|
return row ? {
|
|
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
126
126
|
})
|
|
127
127
|
});
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node76 = makeGlobalNode({ service: Service71, layer, deps: [node85] });
|
|
130
130
|
|
|
131
|
-
export {
|
|
131
|
+
export { ListInput4, Service71, node76, exports_store };
|