@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,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node82
|
|
7
|
+
} from "./rpc-nbddwgy7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID17
|
|
10
|
+
} from "./rpc-9pv0dm11.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node85
|
|
17
|
+
} from "./rpc-s8rzfbyd.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node84
|
|
21
|
+
} from "./rpc-zfytcyng.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
29
|
Service75,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
node80
|
|
31
|
+
} from "./rpc-7etk2hzb.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./rpc-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make15
|
|
38
|
+
} from "./rpc-ajzgx9s2.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./rpc-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./rpc-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event9,
|
|
53
|
+
Info: () => Info8,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service38,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node42
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info8 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event9 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service38 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
113
|
const location = yield* Service75;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make15;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event9.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
259
259
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
260
260
|
return changes;
|
|
261
261
|
});
|
|
262
|
-
return
|
|
262
|
+
return Service38.of({
|
|
263
263
|
transform: state.transform,
|
|
264
264
|
reload: state.reload,
|
|
265
265
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
271
271
|
refresh
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
274
|
+
var node42 = makeLocationNode({
|
|
275
|
+
service: Service38,
|
|
276
276
|
layer,
|
|
277
|
-
deps: [FSUtil.node,
|
|
277
|
+
deps: [FSUtil.node, node82, node84, node85, AppProcess.node, node80, Global.node]
|
|
278
278
|
});
|
|
279
279
|
function operationError(strategy, operation, error) {
|
|
280
280
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
|
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
export { StrategyID2,
|
|
287
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event9, Service38, node42, exports_worktree2, OperationError2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-jtp7wgq3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info23,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-15v2jbpx.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
ModalModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID11.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get3(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID10.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info23.make({
|
|
92
|
+
...Info23.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID10.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get3, exports_models2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
6
|
+
var exports_formatter3 = {};
|
|
7
|
+
__export(exports_formatter3, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info16
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info16, exports_formatter3 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info29 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info29, SessionSchema2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-fd4fwae4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID11
|
|
6
|
+
} from "./rpc-jtp7wgq3.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-e10pngcb.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID11.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./rpc-zfytcyng.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID11
|
|
6
|
+
} from "./rpc-jtp7wgq3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID10
|
|
9
|
+
} from "./rpc-15v2jbpx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event20
|
|
12
|
+
} from "./rpc-w8gexp6v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID8
|
|
15
|
+
} from "./rpc-dyy3hg9v.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service64
|
|
18
|
+
} from "./rpc-w7jvtf3d.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get3
|
|
21
|
+
} from "./rpc-j3xb24h1.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID11.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
31
|
-
const bus = yield*
|
|
30
|
+
const catalog = yield* Service64;
|
|
31
|
+
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
34
34
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get3(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID10.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID11,
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
|
-
Request: () =>
|
|
13
|
+
Request: () => Request2,
|
|
14
14
|
Settings: () => Settings2,
|
|
15
15
|
aisdk: () => aisdk2,
|
|
16
16
|
isAISDK: () => isAISDK2,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID11 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -137,9 +137,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
137
137
|
return result;
|
|
138
138
|
}, new Map).values());
|
|
139
139
|
}
|
|
140
|
-
var
|
|
140
|
+
var Request2 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info24 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info24, exports_provider3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./rpc-drf46963.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./rpc-392203pj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service66;
|
|
57
|
+
const permission = yield* Service70;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name13, description6,
|
|
118
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node7, exports_update };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-z03wer5m.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID6.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin21
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin21 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin12 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin21, exports_mcp_codemode_exclusion };
|