@opencode/core 0.0.0-dev-19395 → 0.0.0-dev-19399
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 +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -81
- package/dist/chunks/{vcs-zad871sr.js → file-retention-00mqm9kf.js} +1 -1
- package/dist/chunks/{vcs-fz7dfd1z.js → file-retention-0c7cgf78.js} +15 -15
- package/dist/chunks/{vcs-xgjyy6vg.js → file-retention-0hrcbwcb.js} +5 -5
- package/dist/chunks/{vcs-hx1qbxx1.js → file-retention-0ngeez3a.js} +10 -10
- package/dist/chunks/{vcs-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-a8w3hdn7.js → file-retention-0t7z760j.js} +46 -46
- package/dist/chunks/{vcs-xf2jv3bw.js → file-retention-119b7byg.js} +4 -4
- package/dist/chunks/{vcs-jn9204f0.js → file-retention-134j3eet.js} +7 -7
- package/dist/chunks/{vcs-9bmf6k32.js → file-retention-1827chwd.js} +20 -20
- package/dist/chunks/{vcs-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-7whssrnc.js → file-retention-1e9w7pgh.js} +3 -3
- package/dist/chunks/{vcs-1eyaby9q.js → file-retention-1eyaby9q.js} +2 -2
- package/dist/chunks/{vcs-mmpwdc4q.js → file-retention-1k2tnacp.js} +11 -11
- package/dist/chunks/file-retention-1tmdjs9t.js +462 -0
- package/dist/chunks/{vcs-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-t55ej7gz.js → file-retention-21ryf78v.js} +21 -21
- package/dist/chunks/{vcs-nd6113q8.js → file-retention-28135z1y.js} +31 -31
- package/dist/chunks/{vcs-xwztew67.js → file-retention-28wz5byj.js} +23 -23
- package/dist/chunks/{vcs-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-9n8fbr8d.js → file-retention-2ccb660r.js} +28 -28
- package/dist/chunks/{vcs-q9j8w608.js → file-retention-2f9a9pt2.js} +7 -7
- package/dist/chunks/{vcs-c5db1mkp.js → file-retention-2sc17e8p.js} +22 -22
- package/dist/chunks/{vcs-344p1nha.js → file-retention-2xd4yy55.js} +18 -18
- package/dist/chunks/{vcs-6hxy2spn.js → file-retention-2xdev6fn.js} +18 -18
- package/dist/chunks/{vcs-6e42fpps.js → file-retention-2zw7ecjk.js} +11 -11
- package/dist/chunks/{vcs-v8fmfjc0.js → file-retention-3473k6gv.js} +41 -41
- package/dist/chunks/{vcs-0xjckwsk.js → file-retention-3bs74w5s.js} +11 -11
- package/dist/chunks/{vcs-2syw43ez.js → file-retention-3fqa324q.js} +17 -17
- package/dist/chunks/{vcs-dvha2n0q.js → file-retention-3gfm5d6h.js} +41 -41
- package/dist/chunks/{vcs-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-whd1ca54.js → file-retention-3n0zfn8x.js} +30 -30
- package/dist/chunks/{vcs-49w8mb30.js → file-retention-3pbjq009.js} +11 -11
- package/dist/chunks/{vcs-r8jh6khz.js → file-retention-3q5jhvr0.js} +13 -13
- package/dist/chunks/{vcs-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-qjnn74v4.js → file-retention-3szmpfme.js} +9 -9
- package/dist/chunks/{vcs-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-fpmq6gma.js → file-retention-3w0fmcng.js} +5 -5
- package/dist/chunks/{vcs-t5kxb07c.js → file-retention-3xgpxwfp.js} +36 -36
- package/dist/chunks/{vcs-vxqb7ghs.js → file-retention-3zqhk2eq.js} +23 -23
- package/dist/chunks/{vcs-z1pfg6df.js → file-retention-4066mr2m.js} +1 -1
- package/dist/chunks/{vcs-zgdqzk0q.js → file-retention-42932dp7.js} +30 -30
- package/dist/chunks/{vcs-9y8v17r0.js → file-retention-45jzk59f.js} +34 -34
- package/dist/chunks/{vcs-11tcp5y8.js → file-retention-46x4mgr1.js} +4 -4
- package/dist/chunks/{vcs-hjt4xg1x.js → file-retention-47gsdddb.js} +7 -7
- package/dist/chunks/{vcs-61hb1ky7.js → file-retention-48dytv8w.js} +9 -9
- package/dist/chunks/{vcs-yxmjadg6.js → file-retention-49cgsf1b.js} +8 -8
- package/dist/chunks/{vcs-g89yqc5t.js → file-retention-4a5dcn9p.js} +8 -8
- package/dist/chunks/{vcs-2skxfxks.js → file-retention-4b4nd6ae.js} +29 -29
- package/dist/chunks/{vcs-56y38jfj.js → file-retention-4t6k5kna.js} +6 -6
- package/dist/chunks/file-retention-5ame8c7x.js +247 -0
- package/dist/chunks/{vcs-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-y7qr3th8.js → file-retention-5rg25712.js} +4 -4
- package/dist/chunks/{vcs-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-1tj8392q.js → file-retention-5we933ec.js} +16 -16
- package/dist/chunks/{vcs-q1668d7a.js → file-retention-5yes1xn6.js} +64 -64
- package/dist/chunks/{vcs-9vp0n2tv.js → file-retention-64fks2yw.js} +7 -7
- package/dist/chunks/{vcs-saj784mb.js → file-retention-64jggb9x.js} +17 -17
- package/dist/chunks/{vcs-yvgq7aaq.js → file-retention-668fh7ad.js} +11 -11
- package/dist/chunks/{vcs-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{vcs-zhxtcv69.js → file-retention-68q29sss.js} +6 -6
- package/dist/chunks/{vcs-2402vzrj.js → file-retention-6h73sxmp.js} +5 -5
- package/dist/chunks/{vcs-xekzrwwc.js → file-retention-6jnybvqn.js} +9 -9
- package/dist/chunks/{vcs-42kdhqse.js → file-retention-6jpkznw2.js} +3 -3
- package/dist/chunks/{vcs-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-qae1j65a.js → file-retention-6pn6hsyv.js} +43 -43
- package/dist/chunks/{vcs-vd7hjsen.js → file-retention-6q28cnrn.js} +21 -21
- package/dist/chunks/{vcs-y2wxp8w3.js → file-retention-6q7bn63r.js} +11 -11
- package/dist/chunks/{vcs-c0cn7p0d.js → file-retention-6z5pzs7n.js} +22 -22
- package/dist/chunks/{vcs-zemh05ww.js → file-retention-6zb5z6tv.js} +50 -50
- package/dist/chunks/{vcs-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
- package/dist/chunks/{vcs-73tb2d7t.js → file-retention-73tb2d7t.js} +1 -1
- package/dist/chunks/{vcs-q2027nw7.js → file-retention-79r1wrqa.js} +1 -1
- package/dist/chunks/{vcs-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-b7v6em5m.js → file-retention-7cgw87zy.js} +28 -28
- package/dist/chunks/{vcs-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-9c53s05g.js → file-retention-7qf46qjz.js} +18 -18
- package/dist/chunks/{vcs-7dpj1ap7.js → file-retention-7wqh3n39.js} +8 -8
- package/dist/chunks/{vcs-2r3j351s.js → file-retention-80kybxvs.js} +29 -29
- package/dist/chunks/{vcs-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-yvevv6gs.js → file-retention-8d7y8amr.js} +8 -8
- package/dist/chunks/{vcs-zw18ytwa.js → file-retention-8fyn7nbd.js} +16 -16
- package/dist/chunks/{vcs-p2b45462.js → file-retention-8g9sv97x.js} +25 -25
- package/dist/chunks/{vcs-r7nsrefv.js → file-retention-8hbfdwcy.js} +8 -8
- package/dist/chunks/{vcs-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{vcs-y8r358t9.js → file-retention-8xy1c3m6.js} +34 -34
- package/dist/chunks/{vcs-dkxyp88y.js → file-retention-8zpsgj2b.js} +12 -12
- package/dist/chunks/{vcs-wj2xme94.js → file-retention-92fdtcd2.js} +19 -19
- package/dist/chunks/{vcs-tcwy5cxa.js → file-retention-93nrt0m8.js} +18 -18
- package/dist/chunks/{vcs-zr0gh2ck.js → file-retention-9ea8tgpj.js} +7 -7
- package/dist/chunks/{vcs-6a0dvt1c.js → file-retention-9j3xz1zz.js} +26 -26
- package/dist/chunks/{vcs-rsym84ch.js → file-retention-9pv0dm11.js} +5 -5
- package/dist/chunks/{vcs-fb8ft78w.js → file-retention-9w51vf9e.js} +13 -13
- package/dist/chunks/{vcs-2314za0f.js → file-retention-9y2tr22s.js} +17 -17
- package/dist/chunks/{vcs-x5qh4ear.js → file-retention-9zswys26.js} +9 -9
- package/dist/chunks/{vcs-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/{vcs-cb6xbnd9.js → file-retention-a5axy371.js} +2 -2
- package/dist/chunks/{vcs-8e9n6h7v.js → file-retention-a9x5dmer.js} +40 -40
- package/dist/chunks/{vcs-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-n223nzpv.js → file-retention-as0z8btd.js} +19 -19
- package/dist/chunks/{vcs-2hyh68ab.js → file-retention-asmz7wyz.js} +8 -8
- package/dist/chunks/{vcs-9f01nfyh.js → file-retention-avhah0e4.js} +33 -33
- package/dist/chunks/{vcs-xdmmnt8a.js → file-retention-azbeba8p.js} +19 -19
- package/dist/chunks/{vcs-zqjyx7nf.js → file-retention-b40gkt47.js} +3 -3
- package/dist/chunks/{vcs-7rh6a6ws.js → file-retention-b527npp7.js} +3 -3
- package/dist/chunks/{vcs-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-7j156qnj.js → file-retention-b9qrp43n.js} +7 -7
- package/dist/chunks/{vcs-szgy4byf.js → file-retention-bha4atvq.js} +4 -4
- package/dist/chunks/{vcs-s9t88532.js → file-retention-bjgxqrgx.js} +20 -20
- package/dist/chunks/{vcs-zwtw7q3h.js → file-retention-bkew1va1.js} +21 -21
- package/dist/chunks/{vcs-hpsfqm6t.js → file-retention-bq1qrpc4.js} +33 -33
- package/dist/chunks/{vcs-xenp1w2e.js → file-retention-bqe02a37.js} +24 -24
- package/dist/chunks/{vcs-t1mpdz97.js → file-retention-bs9f176v.js} +23 -23
- package/dist/chunks/{vcs-0q8bjg63.js → file-retention-c3703spx.js} +17 -17
- package/dist/chunks/{vcs-e8ge1rnk.js → file-retention-c3kepfq8.js} +1 -1
- package/dist/chunks/{vcs-sn3frxay.js → file-retention-c89xx54h.js} +21 -21
- package/dist/chunks/{vcs-38adaqc0.js → file-retention-ce5fknq2.js} +5 -5
- package/dist/chunks/{vcs-n0z3pqra.js → file-retention-cffkaee3.js} +16 -16
- package/dist/chunks/{vcs-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/{vcs-97yt6tz7.js → file-retention-cqbh4pdx.js} +9 -9
- package/dist/chunks/{vcs-ncde1vfm.js → file-retention-crejgqmn.js} +29 -29
- package/dist/chunks/{vcs-322cebek.js → file-retention-ct6nrw4p.js} +22 -22
- package/dist/chunks/{vcs-sez905kk.js → file-retention-cvktwkpw.js} +13 -13
- package/dist/chunks/{vcs-bm0fk12v.js → file-retention-cyhq2t1m.js} +6 -6
- package/dist/chunks/{vcs-b5x0fzgx.js → file-retention-czg3njfj.js} +5 -5
- package/dist/chunks/{vcs-2bdr22tc.js → file-retention-d6cvva1z.js} +11 -11
- package/dist/chunks/{vcs-xnqpewkq.js → file-retention-d892y9cf.js} +19 -19
- package/dist/chunks/{vcs-tregh9zc.js → file-retention-d9sn21bc.js} +2 -2
- package/dist/chunks/{vcs-0xawnack.js → file-retention-dafzyq9v.js} +9 -9
- package/dist/chunks/{vcs-p85zvgpp.js → file-retention-dagpktc6.js} +19 -19
- package/dist/chunks/{vcs-7f3sjtrh.js → file-retention-dcj77ap2.js} +1 -1
- package/dist/chunks/{vcs-y11s4dzy.js → file-retention-dezkjabv.js} +47 -47
- package/dist/chunks/{vcs-dbnmvbfz.js → file-retention-dh5w6jnr.js} +17 -17
- package/dist/chunks/{vcs-9d5kbc3f.js → file-retention-dqw4nh5k.js} +13 -13
- package/dist/chunks/{vcs-18e56dsp.js → file-retention-dy6apmh8.js} +4 -4
- package/dist/chunks/{vcs-ny7d19mm.js → file-retention-dycay7z3.js} +11 -11
- package/dist/chunks/{vcs-t550f9t1.js → file-retention-eaj1djv9.js} +8 -8
- package/dist/chunks/{vcs-ejan8dcj.js → file-retention-eaymd3ha.js} +31 -31
- package/dist/chunks/{vcs-r345bmqf.js → file-retention-epk4gxbx.js} +8 -8
- package/dist/chunks/{vcs-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-293305v0.js → file-retention-f20n632k.js} +1 -1
- package/dist/chunks/{vcs-jm4wzrpc.js → file-retention-f26rrdg0.js} +18 -18
- package/dist/chunks/{vcs-t51qk8jz.js → file-retention-f3ngv102.js} +21 -21
- package/dist/chunks/{vcs-f828m53h.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{vcs-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-q0a87n6s.js → file-retention-fzbpccza.js} +157 -157
- package/dist/chunks/{vcs-a8pwa1qy.js → file-retention-gb71afdr.js} +7 -7
- package/dist/chunks/{vcs-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-3fc6dm20.js → file-retention-gdvy8fx6.js} +4 -4
- package/dist/chunks/{vcs-ekf56pyh.js → file-retention-gq3znaq8.js} +6 -6
- package/dist/chunks/{vcs-xbxfp9fr.js → file-retention-gv5ht3x9.js} +20 -20
- package/dist/chunks/{vcs-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-tnw3z0r3.js → file-retention-gw4m2xfm.js} +9 -9
- package/dist/chunks/{vcs-39etbsth.js → file-retention-gzdzd9hw.js} +5 -3
- package/dist/chunks/{vcs-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{vcs-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-8025tcnx.js → file-retention-h6w9c8ra.js} +10 -10
- package/dist/chunks/{vcs-6n9s5ar1.js → file-retention-h85c66kh.js} +24 -24
- package/dist/chunks/{vcs-dvfmgnty.js → file-retention-hd0nvtm3.js} +86 -86
- package/dist/chunks/{vcs-hcz3zddy.js → file-retention-hnr5yq9h.js} +5 -5
- package/dist/chunks/{vcs-asn1qnte.js → file-retention-hwe7x4em.js} +6 -6
- package/dist/chunks/{vcs-m32k5ewn.js → file-retention-hxsmq6gn.js} +9 -9
- package/dist/chunks/{vcs-3v6f0sxy.js → file-retention-hzbc4891.js} +11 -11
- package/dist/chunks/{vcs-724n6vts.js → file-retention-j0bxb4ah.js} +3 -3
- package/dist/chunks/{vcs-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-7wdjtyr9.js → file-retention-j7wq2tw5.js} +3 -3
- package/dist/chunks/{vcs-5trk58xb.js → file-retention-jdh6s7jq.js} +8 -8
- package/dist/chunks/{vcs-806j49yq.js → file-retention-jfqtm2ew.js} +4 -4
- package/dist/chunks/{vcs-dyan1gdj.js → file-retention-jgn25pc6.js} +13 -13
- package/dist/chunks/file-retention-jqh9b0xq.js +18 -0
- package/dist/chunks/{vcs-jc4dg6w1.js → file-retention-jwd32b9n.js} +28 -28
- package/dist/chunks/{vcs-0j7ejgpp.js → file-retention-kdde0hy3.js} +31 -31
- package/dist/chunks/{vcs-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{vcs-cny5rd43.js → file-retention-kh9sx4kg.js} +8 -8
- package/dist/chunks/{vcs-ejnvpq0e.js → file-retention-khze3a3k.js} +23 -23
- package/dist/chunks/{vcs-g5zf0djh.js → file-retention-kmv022h3.js} +1 -1
- package/dist/chunks/{vcs-whkfspvt.js → file-retention-kpxhgmm5.js} +9 -9
- package/dist/chunks/{vcs-javtnfvt.js → file-retention-kvx48ts1.js} +4 -4
- package/dist/chunks/{vcs-9qewa294.js → file-retention-kyk1sghh.js} +4 -4
- package/dist/chunks/{vcs-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-p0xz0qw3.js → file-retention-mfqd8mcm.js} +58 -58
- package/dist/chunks/{vcs-56gdpj1q.js → file-retention-mfqp6xfm.js} +6 -6
- package/dist/chunks/{vcs-42af65r7.js → file-retention-mggny1x7.js} +11 -11
- package/dist/chunks/{vcs-3gja20hk.js → file-retention-mjbqgqxy.js} +22 -22
- package/dist/chunks/{vcs-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
- package/dist/chunks/{vcs-pbrn5f3v.js → file-retention-mtbzr4rz.js} +22 -22
- package/dist/chunks/{vcs-zbj8enqw.js → file-retention-n0d0h331.js} +14 -14
- package/dist/chunks/{vcs-qaqx0ctg.js → file-retention-n5er4yqr.js} +5 -5
- package/dist/chunks/{vcs-5bqf1j7p.js → file-retention-n5mjs6e9.js} +12 -12
- package/dist/chunks/{vcs-qq8x5mwt.js → file-retention-n8c291r7.js} +4 -4
- package/dist/chunks/{vcs-42sz070e.js → file-retention-nqs1mevv.js} +13 -13
- package/dist/chunks/{vcs-f2mnfn4e.js → file-retention-nywecryx.js} +24 -24
- package/dist/chunks/{vcs-0j2ryfn1.js → file-retention-p3ev5vff.js} +15 -15
- package/dist/chunks/{vcs-j935v87r.js → file-retention-paphc93g.js} +2 -2
- package/dist/chunks/{vcs-b72zs1k5.js → file-retention-pfn03z7w.js} +15 -15
- package/dist/chunks/{vcs-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-tsrg9y4k.js → file-retention-q0bhfncr.js} +11 -11
- package/dist/chunks/{vcs-cwxby6pr.js → file-retention-q2t36530.js} +9 -9
- package/dist/chunks/{vcs-td6dvqbq.js → file-retention-q3tktawz.js} +23 -23
- package/dist/chunks/{vcs-xvaxs8h7.js → file-retention-q6c7we53.js} +25 -25
- package/dist/chunks/{vcs-ywhnyrnh.js → file-retention-qcfsefxz.js} +5 -5
- package/dist/chunks/{vcs-2d57kztd.js → file-retention-qqtwvk4z.js} +4 -4
- package/dist/chunks/{vcs-j61fmw0q.js → file-retention-qr8hg4qd.js} +39 -39
- package/dist/chunks/{vcs-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-hf061nqs.js → file-retention-qtkc3jn9.js} +30 -30
- package/dist/chunks/{vcs-a81jtvwz.js → file-retention-qwkytnft.js} +9 -9
- package/dist/chunks/{vcs-e2b6ma0f.js → file-retention-qyc89c7d.js} +16 -16
- package/dist/chunks/{vcs-0z1gmn2q.js → file-retention-r920brwh.js} +6 -6
- package/dist/chunks/{vcs-3jp54z3r.js → file-retention-rfnzy394.js} +1 -1
- package/dist/chunks/{vcs-2mnagb0e.js → file-retention-rz0qknjf.js} +5 -5
- package/dist/chunks/{vcs-2jscqjee.js → file-retention-s62ct2st.js} +23 -23
- package/dist/chunks/{vcs-g4q3msrz.js → file-retention-s6t0rwsm.js} +43 -43
- package/dist/chunks/{vcs-c90y15gp.js → file-retention-sb3f9prf.js} +27 -27
- package/dist/chunks/{vcs-vxwhkv8n.js → file-retention-sbbkemrk.js} +58 -58
- package/dist/chunks/{vcs-p7x6y357.js → file-retention-sgvet7nx.js} +32 -32
- package/dist/chunks/{vcs-p84dsdfh.js → file-retention-sgwh5nyn.js} +8 -8
- package/dist/chunks/{vcs-y4dgkp79.js → file-retention-sr2tjpn6.js} +4 -4
- package/dist/chunks/{vcs-d2aac7k2.js → file-retention-sra9araw.js} +5 -5
- package/dist/chunks/{vcs-az46815d.js → file-retention-sxjpata1.js} +11 -11
- package/dist/chunks/{vcs-3pjbzg35.js → file-retention-sxpd662g.js} +24 -24
- package/dist/chunks/{vcs-gc97qf6g.js → file-retention-sxvk7k3m.js} +14 -14
- package/dist/chunks/{vcs-3ac5ktn8.js → file-retention-t24p7ex1.js} +6 -6
- package/dist/chunks/{vcs-za6src2z.js → file-retention-t399q2xj.js} +14 -14
- package/dist/chunks/{vcs-7tnykybm.js → file-retention-t58cf551.js} +84 -84
- package/dist/chunks/{vcs-pgvfezyn.js → file-retention-t5e54489.js} +24 -24
- package/dist/chunks/{vcs-jfpzywp2.js → file-retention-t69nnh3p.js} +8 -8
- package/dist/chunks/{vcs-fktegx2y.js → file-retention-t8scngtx.js} +9 -9
- package/dist/chunks/{vcs-yx42xrh5.js → file-retention-t93xqn98.js} +20 -20
- package/dist/chunks/{vcs-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-dn8d2kn3.js → file-retention-tng3m0ce.js} +14 -14
- package/dist/chunks/{vcs-g4fhj9j9.js → file-retention-tnhmpjvz.js} +3 -3
- package/dist/chunks/{vcs-7nhg9xj1.js → file-retention-tqn298vm.js} +25 -8
- package/dist/chunks/{vcs-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-t0x5rdq8.js → file-retention-twy35tz0.js} +9 -9
- package/dist/chunks/{vcs-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-xwd9pbjm.js → file-retention-vmb5wq5w.js} +17 -17
- package/dist/chunks/file-retention-vmv0g9k6.js +22 -0
- package/dist/chunks/{vcs-qq11w61w.js → file-retention-vncycja5.js} +4 -4
- package/dist/chunks/{vcs-na7956ft.js → file-retention-vx5ha92z.js} +20 -20
- package/dist/chunks/{vcs-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-csf2jhsg.js → file-retention-w1k39n5e.js} +4 -4
- package/dist/chunks/{vcs-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-ccts7nrv.js → file-retention-w620p5yr.js} +13 -13
- package/dist/chunks/{vcs-bv56xrks.js → file-retention-wa9n8nyq.js} +4 -4
- package/dist/chunks/{vcs-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-231222c6.js → file-retention-wgczap0h.js} +4 -4
- package/dist/chunks/{vcs-4peq52f2.js → file-retention-wk8t53d4.js} +10 -10
- package/dist/chunks/{vcs-ryrzn0hq.js → file-retention-wsp1wrmp.js} +22 -22
- package/dist/chunks/{vcs-4x8h2e2v.js → file-retention-wvcagc7b.js} +8 -8
- package/dist/chunks/{vcs-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
- package/dist/chunks/{vcs-f6t691bq.js → file-retention-xen8hk45.js} +34 -34
- package/dist/chunks/{vcs-ktpjzrp6.js → file-retention-xfk4x188.js} +32 -32
- package/dist/chunks/{vcs-hsndfndq.js → file-retention-xfr3vftw.js} +30 -30
- package/dist/chunks/{vcs-s1tsa559.js → file-retention-xn49a5qb.js} +28 -28
- package/dist/chunks/{vcs-h5bkeg2y.js → file-retention-xwy71eq2.js} +12 -12
- package/dist/chunks/{vcs-kmzfa87h.js → file-retention-y0sfg4mt.js} +11 -11
- package/dist/chunks/{vcs-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-jwcy2c2z.js → file-retention-y71avatq.js} +4 -4
- package/dist/chunks/{vcs-0nkq71gm.js → file-retention-y7vx5bzy.js} +8 -8
- package/dist/chunks/{vcs-67j1j2dm.js → file-retention-yc76z00v.js} +39 -39
- package/dist/chunks/{vcs-z1ehnq90.js → file-retention-yfw68w0d.js} +2 -2
- package/dist/chunks/{vcs-xpapdg7w.js → file-retention-yj7xg7hy.js} +12 -12
- package/dist/chunks/{vcs-a2wdfrx5.js → file-retention-ymqytbem.js} +12 -12
- package/dist/chunks/{vcs-yp2x3t23.js → file-retention-yp2x3t23.js} +1 -1
- package/dist/chunks/{vcs-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-s4enseaf.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-2gfstk4p.js → file-retention-ys9khkza.js} +4 -4
- package/dist/chunks/{vcs-ae723g5c.js → file-retention-ywc1rzzj.js} +14 -14
- package/dist/chunks/{vcs-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-29x78va6.js → file-retention-z63w68vq.js} +6 -6
- package/dist/chunks/{vcs-br0bxb5z.js → file-retention-z7xj2rat.js} +4 -28
- package/dist/chunks/{vcs-m70sbz6t.js → file-retention-zcrspsvn.js} +4 -4
- package/dist/chunks/{vcs-hfjfxhhs.js → file-retention-zds35jxt.js} +22 -22
- package/dist/chunks/{vcs-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-9cmt1x0q.js → file-retention-zv9rb9jf.js} +7 -7
- package/dist/chunks/{vcs-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- 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 +115 -115
- package/dist/config/plugin/command.js +207 -207
- 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 +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- 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 +114 -114
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- 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 +83 -83
- package/dist/database/database.js +68 -68
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +222 -222
- 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 +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +78 -78
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- 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 +350 -350
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- 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 +8 -8
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- 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 +324 -324
- 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 +3 -5
- 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 +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- 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 +341 -341
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +127 -127
- package/dist/session/context.js +147 -147
- 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 +218 -218
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +92 -92
- 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 +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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +82 -82
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- 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 +15 -15
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +0 -1
- 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 +3 -3
- 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 +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- 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 +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/vcs-4qn8k3dd.js +0 -22
- package/dist/chunks/vcs-bp3y7pxe.js +0 -462
- package/dist/chunks/vcs-dxj72tfx.js +0 -18
- package/dist/chunks/vcs-fjywsyk5.js +0 -247
- /package/dist/chunks/{vcs-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qapv375x.js → file-retention-qapv375x.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./file-retention-21ryf78v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service24,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-nqs1mevv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service19
|
|
11
|
+
} from "./file-retention-y0sfg4mt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./file-retention-mfqd8mcm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./file-retention-0c7cgf78.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin32,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin32 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service26;
|
|
56
|
+
const fileMutation = yield* Service24;
|
|
57
|
+
const environment = yield* Service57;
|
|
58
|
+
const formatter = yield* Service19;
|
|
59
|
+
const permission = yield* Service71;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input2,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin32, exports_write };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-mfqp6xfm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin21 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin37 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin21, exports_exa };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-92fdtcd2.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info21,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info21 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info21, exports_mcp5 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service74
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-yfw68w0d.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./file-retention-3gfm5d6h.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-kdde0hy3.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin18
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin18 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service62;
|
|
35
35
|
const location = yield* Service74;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin18, exports_reference };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-f3ngv102.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./file-retention-3pbjq009.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info15
|
|
12
|
+
} from "./file-retention-3w0fmcng.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info19
|
|
15
|
+
} from "./file-retention-jfqtm2ew.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info21
|
|
18
|
+
} from "./file-retention-sra9araw.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
Info20
|
|
24
|
-
} from "./vcs-hcz3zddy.js";
|
|
21
|
+
} from "./file-retention-7dqw4kz8.js";
|
|
25
22
|
import {
|
|
26
23
|
Info16
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./file-retention-hnr5yq9h.js";
|
|
25
|
+
import {
|
|
26
|
+
Info13
|
|
27
|
+
} from "./file-retention-6pn6hsyv.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-5rg25712.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info19, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info21, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info16, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-retention-qyc89c7d.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service74,
|
|
12
12
|
node79
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-yfw68w0d.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node26
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service22 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,8 +39,8 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
42
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service78;
|
|
44
44
|
const location = yield* Service74;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service22.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node26 = makeLocationNode({ service: Service22, layer, deps: [node83, node79] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service22, node26, exports_rpc, define2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-epk4gxbx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID11
|
|
6
|
+
} from "./file-retention-t69nnh3p.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-134j3eet.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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-retention-qyc89c7d.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event16
|
|
7
|
+
} from "./file-retention-3xgpxwfp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID6,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-4b4nd6ae.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID11,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-t69nnh3p.js";
|
|
17
17
|
import {
|
|
18
18
|
ID4,
|
|
19
19
|
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-c89xx54h.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID6.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service78;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID6.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID11.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|