@opencode-ai/core 0.0.0-dev-19172 → 0.0.0-dev-19174
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{file-retention-1rm0drdm.js → shell-00aww1yf.js} +2 -2
- package/dist/chunks/{file-retention-dm4jmc1z.js → shell-02q19v1x.js} +4 -4
- package/dist/chunks/{file-retention-h0wh91yw.js → shell-0b65z5fp.js} +5 -5
- package/dist/chunks/{file-retention-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-retention-kq2xfdb5.js → shell-0h07sdbh.js} +23 -23
- package/dist/chunks/{file-retention-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-retention-aydeeq46.js → shell-0sdspkc1.js} +31 -31
- package/dist/chunks/{file-retention-104gr47b.js → shell-12t3v3je.js} +20 -20
- package/dist/chunks/{file-retention-2s1zz7jz.js → shell-18e1e1p1.js} +43 -43
- package/dist/chunks/{file-retention-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-retention-my560zn8.js → shell-1dh290mh.js} +11 -11
- package/dist/chunks/{file-retention-6c7c909b.js → shell-1h4a14by.js} +61 -61
- package/dist/chunks/{file-retention-prkc2mhz.js → shell-1nqpxsj1.js} +11 -11
- package/dist/chunks/{file-retention-2jmaghvr.js → shell-1tq060df.js} +6 -6
- package/dist/chunks/{file-retention-qm3e3s36.js → shell-20k6nhm9.js} +21 -21
- package/dist/chunks/{file-retention-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-2h2vdh1n.js → shell-220n1ymv.js} +161 -161
- package/dist/chunks/{file-retention-tw0mb86q.js → shell-22jc9t4j.js} +8 -8
- package/dist/chunks/{file-retention-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{file-retention-1wk28q4y.js → shell-292hg6qz.js} +7 -7
- package/dist/chunks/{file-retention-29x78va6.js → shell-29x78va6.js} +2 -2
- package/dist/chunks/{file-retention-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-hv0dr4wn.js → shell-2cnxy6r2.js} +10 -10
- package/dist/chunks/{file-retention-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-retention-rmhappp8.js → shell-2nz939r2.js} +11 -11
- package/dist/chunks/{file-retention-549wn4nn.js → shell-2pqs5rb6.js} +25 -25
- package/dist/chunks/{file-retention-1hy241bm.js → shell-2qrq5jg3.js} +3 -3
- package/dist/chunks/{file-retention-7b5mmf1f.js → shell-2qzq6ga3.js} +8 -8
- package/dist/chunks/{file-retention-8w931syc.js → shell-2xs5s17b.js} +4 -4
- package/dist/chunks/{file-retention-vbdwr9gf.js → shell-2xx188mn.js} +35 -35
- package/dist/chunks/{file-retention-9je5tgfh.js → shell-2yzeteq7.js} +11 -11
- package/dist/chunks/{file-retention-bbrq8e4h.js → shell-301db2e0.js} +25 -25
- package/dist/chunks/{file-retention-1c7r0953.js → shell-31nvjq2v.js} +8 -8
- package/dist/chunks/{file-retention-v5afwe7f.js → shell-344230wv.js} +6 -6
- package/dist/chunks/{file-retention-qcdx5q9z.js → shell-35r8yfzd.js} +19 -19
- package/dist/chunks/shell-3724gxzf.js +247 -0
- package/dist/chunks/{file-retention-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-48m75tza.js → shell-3jj6bjb6.js} +5 -5
- package/dist/chunks/{file-retention-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-retention-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-bzjv94tm.js → shell-3zzgc37f.js} +17 -17
- package/dist/chunks/{file-retention-qpfqqsnr.js → shell-41k9cz4z.js} +28 -28
- package/dist/chunks/{file-retention-454k5vzh.js → shell-454k5vzh.js} +1 -1
- package/dist/chunks/{file-retention-qs4avvkb.js → shell-45t9anda.js} +1 -1
- package/dist/chunks/{file-retention-eg4pr325.js → shell-46e97tr7.js} +10 -10
- package/dist/chunks/{file-retention-hq7cfhbs.js → shell-4n9v30zw.js} +21 -21
- package/dist/chunks/{file-retention-vg6xpb0x.js → shell-4pb24dhv.js} +15 -15
- package/dist/chunks/{file-retention-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
- package/dist/chunks/shell-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-retention-1wtypr3q.js → shell-4za3avwx.js} +9 -9
- package/dist/chunks/{file-retention-1epsx5vc.js → shell-58srr6fv.js} +26 -26
- package/dist/chunks/{file-retention-3qy3ajen.js → shell-5ctdmadx.js} +8 -8
- package/dist/chunks/{file-retention-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-gz64hf7x.js → shell-5fc6d9pe.js} +20 -20
- package/dist/chunks/{file-retention-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-retention-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-retention-cb4795z8.js → shell-5mm0tfy6.js} +8 -8
- package/dist/chunks/{file-retention-zajwd6at.js → shell-5nzbd5n0.js} +5 -5
- package/dist/chunks/{file-retention-4w149egh.js → shell-5pdbny0n.js} +13 -13
- package/dist/chunks/{file-retention-dyz4rdvp.js → shell-5qea4ewy.js} +37 -37
- package/dist/chunks/{file-retention-6z5bwd8g.js → shell-6abnk40k.js} +9 -9
- package/dist/chunks/{file-retention-7aq2fs8e.js → shell-6g84bqmx.js} +18 -18
- package/dist/chunks/{file-retention-8jng17b7.js → shell-6hq5c2qk.js} +27 -27
- package/dist/chunks/{file-retention-spqcpneg.js → shell-6kgc56n8.js} +6 -6
- package/dist/chunks/{file-retention-gzwcbpkz.js → shell-6rbe69zm.js} +13 -13
- package/dist/chunks/{file-retention-se7rt37b.js → shell-6smwwksd.js} +20 -20
- package/dist/chunks/{file-retention-1twmeren.js → shell-6w7g5p5h.js} +17 -17
- package/dist/chunks/{file-retention-vefwj8vq.js → shell-6wf5mw7w.js} +27 -27
- package/dist/chunks/{file-retention-711hfp6y.js → shell-711hfp6y.js} +2 -2
- package/dist/chunks/{file-retention-72nftnjy.js → shell-72nftnjy.js} +2 -2
- package/dist/chunks/{file-retention-eq1pz5kg.js → shell-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-retention-n1zgngz1.js → shell-74hfp9tv.js} +22 -22
- package/dist/chunks/{file-retention-768z0hjh.js → shell-74jy76yg.js} +1 -1
- package/dist/chunks/{file-retention-ajphwd6y.js → shell-759pz1a2.js} +6 -6
- package/dist/chunks/{file-retention-nv4hhw20.js → shell-75p0zbr9.js} +24 -24
- package/dist/chunks/{file-retention-a8135xa2.js → shell-76scvvk8.js} +32 -32
- package/dist/chunks/{file-retention-4x0nmcjx.js → shell-76wr4mq2.js} +9 -9
- package/dist/chunks/{file-retention-mcv9pgkp.js → shell-78h3c2ja.js} +6 -6
- package/dist/chunks/{file-retention-qwr8y3n7.js → shell-7bfdkh1t.js} +15 -15
- package/dist/chunks/{file-retention-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-yj3e99fm.js → shell-7haxhjsc.js} +1 -1
- package/dist/chunks/{file-retention-yq2htxd9.js → shell-7p203cgq.js} +24 -24
- package/dist/chunks/{file-retention-nf2cw6d6.js → shell-7w2wm759.js} +4 -4
- package/dist/chunks/{file-retention-a2ew8a62.js → shell-806j49yq.js} +4 -4
- package/dist/chunks/{file-retention-4c8rvwe6.js → shell-8309kjat.js} +10 -10
- package/dist/chunks/{file-retention-phazpyca.js → shell-83dvd1w2.js} +50 -50
- package/dist/chunks/{file-retention-kbj0c16s.js → shell-863jw130.js} +11 -11
- package/dist/chunks/shell-8b1vkr5h.js +460 -0
- package/dist/chunks/{file-retention-7zjtv6nt.js → shell-8g67dwbc.js} +8 -8
- package/dist/chunks/{file-retention-wsddr4d2.js → shell-95z3gcrg.js} +4 -4
- package/dist/chunks/{file-retention-hfwh170d.js → shell-998dat6d.js} +11 -11
- package/dist/chunks/{file-retention-ya7s7xtx.js → shell-9kksqv7m.js} +9 -9
- package/dist/chunks/{file-retention-jhg236cd.js → shell-9nb3r9db.js} +6 -6
- package/dist/chunks/{file-retention-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
- package/dist/chunks/{file-retention-2w6bfmvf.js → shell-9t99dw5q.js} +1 -1
- package/dist/chunks/{file-retention-he7mv26x.js → shell-9yq0qydf.js} +13 -13
- package/dist/chunks/{file-retention-vdgak15q.js → shell-a12tcaaf.js} +6 -6
- package/dist/chunks/{file-retention-s0n5ntn1.js → shell-a61ajdq9.js} +14 -14
- package/dist/chunks/{file-retention-vkfv6j0y.js → shell-a9c7wcwq.js} +12 -12
- package/dist/chunks/{file-retention-84b4417c.js → shell-a9detkdy.js} +30 -30
- package/dist/chunks/{file-retention-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
- package/dist/chunks/{file-retention-0kahwk4p.js → shell-avja4xez.js} +16 -16
- package/dist/chunks/{file-retention-wfkfyy92.js → shell-axh9mnjf.js} +18 -18
- package/dist/chunks/{file-retention-ptsfk80f.js → shell-az9b9mm6.js} +4 -4
- package/dist/chunks/{file-retention-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-bq1y9h9w.js → shell-b94fcmr9.js} +34 -34
- package/dist/chunks/{file-retention-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-retention-bphmvjfp.js → shell-bcezcar3.js} +5 -5
- package/dist/chunks/{file-retention-637933n9.js → shell-bdrwax0s.js} +19 -19
- package/dist/chunks/{file-retention-bf0ztrs3.js → shell-bf0ztrs3.js} +1 -1
- package/dist/chunks/{file-retention-8zfntaab.js → shell-bh35m6yh.js} +7 -7
- package/dist/chunks/{file-retention-ch1mbcxn.js → shell-bpcc17t3.js} +11 -11
- package/dist/chunks/{file-retention-hn0tf0a0.js → shell-bzsb4ygm.js} +24 -24
- package/dist/chunks/{file-retention-c7cvy1rv.js → shell-c50658qd.js} +41 -41
- package/dist/chunks/{file-retention-ek8k105k.js → shell-c6trbygj.js} +4 -4
- package/dist/chunks/{file-retention-re380472.js → shell-ca4j1r4e.js} +18 -18
- package/dist/chunks/{file-retention-024e4rjz.js → shell-cb182ger.js} +5 -5
- package/dist/chunks/{file-retention-42gstqmc.js → shell-cmwx9h7j.js} +4 -4
- package/dist/chunks/{file-retention-d72308c8.js → shell-d72308c8.js} +2 -2
- package/dist/chunks/{file-retention-z9rwsdjd.js → shell-d8bdgt1m.js} +10 -10
- package/dist/chunks/{file-retention-sw4p0vc7.js → shell-ddcwh8jf.js} +3 -3
- package/dist/chunks/{file-retention-qezejtch.js → shell-dpc689ym.js} +4 -4
- package/dist/chunks/{file-retention-2sjnsy3c.js → shell-drz01ptw.js} +20 -20
- package/dist/chunks/{file-retention-nw80mg4a.js → shell-dsf572e0.js} +4 -4
- package/dist/chunks/{file-retention-fx4s78ev.js → shell-dsfx0j74.js} +6 -6
- package/dist/chunks/{file-retention-3zec4kwx.js → shell-dvf4z69w.js} +27 -27
- package/dist/chunks/{file-retention-b729swae.js → shell-e83y27r5.js} +7 -7
- package/dist/chunks/{file-retention-f9jp4s2y.js → shell-ec2yajhv.js} +4 -4
- package/dist/chunks/{file-retention-bf4tcw57.js → shell-ef5f9nen.js} +8 -8
- package/dist/chunks/{file-retention-x2mj0xny.js → shell-eg1n48gj.js} +14 -14
- package/dist/chunks/{file-retention-jpg38yrs.js → shell-ep81hxt4.js} +6 -6
- package/dist/chunks/{file-retention-7x20s5dd.js → shell-esp3dmb3.js} +3 -3
- package/dist/chunks/{file-retention-2jp4bbqb.js → shell-et79eehw.js} +9 -9
- package/dist/chunks/{file-retention-6a2fap2g.js → shell-ewakhq0j.js} +16 -16
- package/dist/chunks/{file-retention-h0xakedw.js → shell-ex76qa1h.js} +15 -15
- package/dist/chunks/{file-retention-e63vekzn.js → shell-f77xc9wm.js} +16 -16
- package/dist/chunks/{file-retention-1mrma768.js → shell-famd3pv6.js} +5 -5
- package/dist/chunks/{file-retention-azy6xqf9.js → shell-ff1h9ct4.js} +22 -22
- package/dist/chunks/{file-retention-g0fndb66.js → shell-fg3wn8a9.js} +87 -87
- package/dist/chunks/{file-retention-zgrvrmg3.js → shell-fqt4fs5w.js} +11 -11
- package/dist/chunks/{file-retention-kpv66tzn.js → shell-ftabj2dg.js} +22 -22
- package/dist/chunks/{file-retention-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-fxypknc8.js → shell-fxypknc8.js} +1 -1
- package/dist/chunks/{file-retention-ch60wd2z.js → shell-g2fgb7sn.js} +4 -4
- package/dist/chunks/{file-retention-g585tkj2.js → shell-g7csxrs7.js} +4 -4
- package/dist/chunks/{file-retention-kdsxv0j6.js → shell-gd25jggd.js} +36 -36
- package/dist/chunks/{file-retention-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-gdvy8fx6.js → shell-gdvy8fx6.js} +1 -1
- package/dist/chunks/{file-retention-vx7tzmvz.js → shell-gfz2zenh.js} +20 -20
- package/dist/chunks/{file-retention-99vjr10t.js → shell-gfz9gwkx.js} +15 -15
- package/dist/chunks/{file-retention-m5n300jn.js → shell-ggysapes.js} +20 -20
- package/dist/chunks/{file-retention-6tp6t4rz.js → shell-gp4zh27s.js} +9 -9
- package/dist/chunks/{file-retention-jp48954f.js → shell-gvphy7jk.js} +8 -8
- package/dist/chunks/{file-retention-s4ph2d63.js → shell-h2sw8ea3.js} +15 -15
- package/dist/chunks/{file-retention-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-yhyk0etm.js → shell-h8p6xf2n.js} +22 -22
- package/dist/chunks/{file-retention-f4cf0bsx.js → shell-h9ygsckj.js} +43 -43
- package/dist/chunks/{file-retention-3kdc12ra.js → shell-hd4bzg4a.js} +18 -18
- package/dist/chunks/{file-retention-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-retention-amvr6g9m.js → shell-hjp2pbpf.js} +1 -1
- package/dist/chunks/{file-retention-f70g29mr.js → shell-hm2ca2ns.js} +13 -13
- package/dist/chunks/{file-retention-qwr8sv5a.js → shell-hn4sjpb5.js} +2 -2
- package/dist/chunks/{file-retention-frptnsh5.js → shell-hpbyysca.js} +18 -18
- package/dist/chunks/{file-retention-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
- package/dist/chunks/{file-retention-cc90a9w8.js → shell-htbxhgrz.js} +17 -17
- package/dist/chunks/{file-retention-jk2f9dpk.js → shell-j0h9s30t.js} +13 -13
- package/dist/chunks/{file-retention-48ev9q21.js → shell-jqrqy21d.js} +3 -3
- package/dist/chunks/{file-retention-byfshvwt.js → shell-jv6tbxxe.js} +8 -8
- package/dist/chunks/{file-retention-4w7zm36c.js → shell-jx283wc3.js} +11 -11
- package/dist/chunks/{file-retention-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-retention-tq75tfgs.js → shell-k6p8g4fk.js} +54 -54
- package/dist/chunks/{file-retention-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-t26mc4v5.js → shell-kja6ea6z.js} +11 -11
- package/dist/chunks/{file-retention-pz2n2jx2.js → shell-kjrs54vr.js} +16 -16
- package/dist/chunks/{file-retention-rsqwdw7v.js → shell-kthrd1n2.js} +22 -22
- package/dist/chunks/{file-retention-kvsjn1dr.js → shell-kvsjn1dr.js} +2 -2
- package/dist/chunks/{file-retention-y86ghdgz.js → shell-kyb951k0.js} +3 -3
- package/dist/chunks/{file-retention-yfpt1t1p.js → shell-m05jjnz9.js} +10 -10
- package/dist/chunks/{file-retention-rvb2zp0m.js → shell-m4bpwynw.js} +6 -6
- package/dist/chunks/{file-retention-xh36sb1y.js → shell-m9q8vvrp.js} +11 -11
- package/dist/chunks/{file-retention-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/shell-mb6dchx6.js +22 -0
- package/dist/chunks/shell-mf5kcrna.js +4 -0
- package/dist/chunks/{file-retention-4f8s46ta.js → shell-mjs0kabc.js} +24 -24
- package/dist/chunks/{file-retention-5m3fjy3v.js → shell-mn410wgw.js} +49 -49
- package/dist/chunks/{file-retention-g4wkbvr8.js → shell-mpcfbaan.js} +16 -16
- package/dist/chunks/{file-retention-28pcbh69.js → shell-mtcjf44p.js} +4 -4
- package/dist/chunks/{file-retention-qkq8j0kd.js → shell-mvhtz5js.js} +5 -5
- package/dist/chunks/{file-retention-376701a1.js → shell-n3m9wsvh.js} +25 -25
- package/dist/chunks/{file-retention-402r2v51.js → shell-n87qk14a.js} +26 -26
- package/dist/chunks/{file-retention-tppvcy65.js → shell-nag7dxjf.js} +5 -5
- package/dist/chunks/{file-retention-gxrht0qn.js → shell-ng39vjdn.js} +2 -2
- package/dist/chunks/{file-retention-ns4erenn.js → shell-nghta7n5.js} +35 -35
- package/dist/chunks/{file-retention-xgjy9czn.js → shell-nxrz604p.js} +9 -9
- package/dist/chunks/{file-retention-bqa77dn1.js → shell-nxz3kcv2.js} +30 -30
- package/dist/chunks/{file-retention-xd7hh38v.js → shell-nzfzr9h0.js} +41 -41
- package/dist/chunks/{file-retention-yh7xbh7w.js → shell-p563rwwf.js} +41 -41
- package/dist/chunks/{file-retention-637qq8n2.js → shell-pbhkjpds.js} +9 -9
- package/dist/chunks/{file-retention-n8c291r7.js → shell-pjedbq3k.js} +6 -6
- package/dist/chunks/{file-retention-hcdssky2.js → shell-pjjtcy2p.js} +10 -10
- package/dist/chunks/{file-retention-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-d1a1bt21.js → shell-pxednv00.js} +5 -5
- package/dist/chunks/{file-retention-8enene87.js → shell-pxz8xz7s.js} +9 -9
- package/dist/chunks/{file-retention-fcrkznn8.js → shell-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-retention-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-agwvegtk.js → shell-qy387ach.js} +11 -11
- package/dist/chunks/{file-retention-q5m5resc.js → shell-r56wj6jx.js} +14 -14
- package/dist/chunks/{file-retention-k0wp4d9t.js → shell-r7cz99r0.js} +14 -14
- package/dist/chunks/{file-retention-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-retention-tzmrq1hj.js → shell-rd7fx9p1.js} +16 -16
- package/dist/chunks/{file-retention-6h5vvsan.js → shell-rdq9thdd.js} +32 -32
- package/dist/chunks/{file-retention-pah7pk43.js → shell-rh6rd7ag.js} +4 -4
- package/dist/chunks/{file-retention-ss0qxjqq.js → shell-rh6wbg4w.js} +15 -15
- package/dist/chunks/{file-retention-rcbdex51.js → shell-rpqdjjqf.js} +12 -12
- package/dist/chunks/{file-retention-0b89de78.js → shell-rzejcw32.js} +5 -5
- package/dist/chunks/{file-retention-44z5w399.js → shell-rzq71d0k.js} +18 -18
- package/dist/chunks/{file-retention-jnmmvqjs.js → shell-rzyn4jtv.js} +1 -1
- package/dist/chunks/{file-retention-3m34twvx.js → shell-s09ja0ad.js} +25 -25
- package/dist/chunks/{file-retention-kqqnddrj.js → shell-s440spbv.js} +22 -22
- package/dist/chunks/{file-retention-ere7nfp9.js → shell-s9fwkeje.js} +15 -15
- package/dist/chunks/{file-retention-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-retention-2vmasjgj.js → shell-sq68wjyr.js} +9 -9
- package/dist/chunks/{file-retention-mqqcxy20.js → shell-t0z8h93t.js} +33 -33
- package/dist/chunks/{file-retention-q913b2bh.js → shell-t2cat712.js} +11 -11
- package/dist/chunks/{file-retention-zy2xxryr.js → shell-tabs974f.js} +15 -15
- package/dist/chunks/{file-retention-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-retention-34kkasa2.js → shell-tmq14ezd.js} +36 -36
- package/dist/chunks/{file-retention-yk6fpedc.js → shell-ttr1bger.js} +22 -22
- package/dist/chunks/{file-retention-xb5d9ad8.js → shell-v623p3vn.js} +8 -8
- package/dist/chunks/{file-retention-kce1rcej.js → shell-vdxzp0s5.js} +23 -23
- package/dist/chunks/{file-retention-em9v63s6.js → shell-vh6gf742.js} +10 -10
- package/dist/chunks/{file-retention-r82grff9.js → shell-vkh6dqf1.js} +3 -3
- package/dist/chunks/{file-retention-pjvnwgyc.js → shell-vnj6vh9c.js} +29 -29
- package/dist/chunks/{file-retention-zw4pk1bw.js → shell-vnwmzs4a.js} +5 -5
- package/dist/chunks/{file-retention-pt7wq7x0.js → shell-vqe9fq18.js} +1 -1
- package/dist/chunks/{file-retention-h3at1h9w.js → shell-w0nm8ced.js} +24 -24
- package/dist/chunks/{file-retention-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-v9p73nbe.js → shell-w6h9pbxs.js} +11 -11
- package/dist/chunks/{file-retention-8njmz93d.js → shell-w794bvtj.js} +32 -32
- package/dist/chunks/{file-retention-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-atz03w0q.js → shell-wdhc4zn8.js} +8 -8
- package/dist/chunks/{file-retention-r5k1hnjc.js → shell-wkjngxy5.js} +3 -3
- package/dist/chunks/{file-retention-8jq7hkfv.js → shell-wkqpxhsk.js} +7 -7
- package/dist/chunks/{file-retention-10dh1exf.js → shell-wn5mwez2.js} +82 -82
- package/dist/chunks/{file-retention-97ex6grt.js → shell-wsnh7t8r.js} +15 -15
- package/dist/chunks/{file-retention-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-aet6n25v.js → shell-xay8nyhx.js} +9 -9
- package/dist/chunks/{file-retention-wfpv7nq4.js → shell-xe4jdaw3.js} +5 -5
- package/dist/chunks/{file-retention-mawa6aat.js → shell-xgbmxshw.js} +10 -10
- package/dist/chunks/{file-retention-0p0zxxmq.js → shell-xnf7zpzd.js} +8 -8
- package/dist/chunks/{file-retention-qkqkrz6w.js → shell-xxtg5rsy.js} +23 -23
- package/dist/chunks/{file-retention-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-y2cqme3r.js → shell-y2cqme3r.js} +2 -2
- package/dist/chunks/{file-retention-y71avatq.js → shell-y71avatq.js} +1 -1
- package/dist/chunks/{file-retention-jjtcncep.js → shell-ycn3x014.js} +9 -9
- package/dist/chunks/{file-retention-dyy50z5j.js → shell-yew4gc92.js} +20 -20
- package/dist/chunks/{file-retention-yfbd16n1.js → shell-yfbd16n1.js} +2 -2
- package/dist/chunks/{file-retention-dsdh720h.js → shell-ygrnprnw.js} +12 -12
- package/dist/chunks/{file-retention-e1tm9aav.js → shell-ygtbksd3.js} +26 -26
- package/dist/chunks/{file-retention-fve27tvk.js → shell-ytpzjm8d.js} +26 -26
- package/dist/chunks/{file-retention-09ywgxwg.js → shell-yw9364ag.js} +4 -4
- package/dist/chunks/{file-retention-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-retention-z3xgatyd.js → shell-z3xgatyd.js} +1 -1
- package/dist/chunks/{file-retention-3rfnhdhv.js → shell-za9jakaj.js} +9 -9
- package/dist/chunks/{file-retention-83gby3am.js → shell-zg1tfnff.js} +32 -32
- package/dist/chunks/{file-retention-rntd5zhx.js → shell-zj4p2a1k.js} +8 -8
- package/dist/chunks/{file-retention-205rsrbm.js → shell-ztjnpbp4.js} +6 -6
- package/dist/chunks/{file-retention-wj5n32w8.js → shell-zvpejf85.js} +46 -46
- package/dist/chunks/{file-retention-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-zjwga192.js → shell-zzv1x10w.js} +28 -28
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +114 -114
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +68 -68
- 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 +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- 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 +349 -349
- package/dist/instruction-discovery.js +83 -83
- 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 +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +84 -84
- 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 +103 -103
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +320 -320
- 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/plan.js +96 -96
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- 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 +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +4 -4
- 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 +111 -111
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +214 -214
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- 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 +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +82 -82
- 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 +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- 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 +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +102 -102
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- 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 +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/file-retention-1bw6255h.js +0 -22
- package/dist/chunks/file-retention-619r8v3y.js +0 -18
- package/dist/chunks/file-retention-ge8qzb8n.js +0 -460
- package/dist/chunks/file-retention-rrnmj2kt.js +0 -247
- package/dist/chunks/file-retention-w3vb4krt.js +0 -4
- /package/dist/chunks/{file-retention-0fabt78z.js → shell-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-retention-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t738kvx.js → shell-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-41nvscxy.js → shell-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-982e01ww.js → shell-982e01ww.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-j935v87r.js → shell-j935v87r.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mntxs535.js → shell-mntxs535.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-retention-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./shell-9kksqv7m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./shell-ep81hxt4.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service64
|
|
15
|
+
} from "./shell-5ctdmadx.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-dsfx0j74.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service36
|
|
23
|
+
} from "./shell-ftabj2dg.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service30;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service64;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service36;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service71;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node79
|
|
10
|
+
} from "./shell-46e97tr7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node77
|
|
14
|
+
} from "./shell-a61ajdq9.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service32,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode-ai/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode-ai/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service32 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service74;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service72;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID3.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service32.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node35 = makeLocationNode({
|
|
139
|
+
service: Service32,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node79, Global.node, node77]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service32, Service32.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service62, Service62.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error2({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID3, Error2, Service32, node35, noopLayer3, exports_snapshot2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin13
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart, ToolFailure } from "@opencode-ai/ai";
|
|
13
13
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
@@ -20,7 +20,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
20
20
|
})
|
|
21
21
|
});
|
|
22
22
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
23
|
-
var
|
|
23
|
+
var Plugin13 = {
|
|
24
24
|
id: "opencode.tools",
|
|
25
25
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
26
26
|
yield* ctx.session.hook("context", (event) => Effect.sync(() => {
|
|
@@ -51,4 +51,4 @@ var Plugin17 = {
|
|
|
51
51
|
})
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
export { MoveInput2,
|
|
54
|
+
export { MoveInput2, Plugin13, exports_opencode };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./shell-ff1h9ct4.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-mtcjf44p.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-p8qxwesx.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service31
|
|
13
|
+
} from "./shell-mjs0kabc.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service72
|
|
16
|
+
} from "./shell-a61ajdq9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin21 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service31;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service72;
|
|
42
|
+
const watcher = yield* Service63;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin21, exports_instruction };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-m4bpwynw.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info26,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-pjjtcy2p.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode-ai/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID13.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -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(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID12.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 Info26.make({
|
|
92
|
+
...Info26.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID12.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info22
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info22 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info22, exports_attachment };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-dpc689ym.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./shell-rdq9thdd.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-s440spbv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./shell-a9c7wcwq.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-dsfx0j74.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-mntxs535.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-ec2yajhv.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-tjykrgmx.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-3qzbfqsy.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-bcezcar3.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make7
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make7 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service32;
|
|
58
|
+
const toolOutput = yield* Service66;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make7, exports_step };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-dpc689ym.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service22,
|
|
7
|
+
node25
|
|
8
|
+
} from "./shell-83dvd1w2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
node48
|
|
12
|
-
} from "./file-retention-5m3fjy3v.js";
|
|
13
|
-
import {
|
|
14
|
-
Service43,
|
|
10
|
+
Service42,
|
|
15
11
|
node46
|
|
16
|
-
} from "./
|
|
12
|
+
} from "./shell-mn410wgw.js";
|
|
13
|
+
import {
|
|
14
|
+
Service55,
|
|
15
|
+
node59
|
|
16
|
+
} from "./shell-s440spbv.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service21,
|
|
26
|
+
layer: () => layer10,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node24
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
32
32
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service21 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service22;
|
|
42
|
+
const tools = yield* Service55;
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service42;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service21.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node24 = makeLocationNode({
|
|
118
|
+
service: Service21,
|
|
119
|
+
layer: layer10,
|
|
120
|
+
deps: [node59, node25, node84, node46]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2, name13,
|
|
123
|
+
export { namespace2, name13, Service21, layer10, node24, exports_mcp3 };
|