@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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./file-retention-mfqd8mcm.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin41,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name10 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input10 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin41 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service71;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin22 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin41, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./file-retention-3gfm5d6h.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service57
|
|
13
|
+
} from "./file-retention-21ryf78v.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./file-retention-64jggb9x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service71
|
|
19
|
+
} from "./file-retention-mfqd8mcm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service26,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-0c7cgf78.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service56,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-92fdtcd2.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service48
|
|
37
|
+
} from "./file-retention-dezkjabv.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service27
|
|
40
|
+
} from "./file-retention-hd0nvtm3.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-retention-sr2tjpn6.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin33,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin33 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service27;
|
|
122
|
+
const jobs = yield* Service61;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service57;
|
|
125
|
+
const access = yield* Service26;
|
|
126
|
+
const shell = yield* Service48;
|
|
127
|
+
const shellSelect = yield* Service56;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service71;
|
|
130
|
+
const config = yield* Service62;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin30 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name3,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin30 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name3,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input3,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin30 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name3,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name3];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin33, exports_shell2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-retention-qyc89c7d.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID18,
|
|
19
|
+
Info: () => Info33,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service77,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node82
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID18 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID18.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info33 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service77 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service78;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info33.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID18.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service77.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID18.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID18.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node82 = makeLocationNode({ service: Service77, layer, deps: [node83, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID18, Name3, defaultID2, Color2, Info33, Service77, node82, exports_agent4, Event20 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-retention-2zw7ecjk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-retention-qyc89c7d.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service44,
|
|
11
|
+
node47
|
|
12
|
+
} from "./file-retention-hwe7x4em.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service75,
|
|
19
19
|
node80
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-2xdev6fn.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-yfw68w0d.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service45,
|
|
26
|
+
node48
|
|
27
|
+
} from "./file-retention-y7vx5bzy.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./file-retention-qwkytnft.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service41
|
|
39
|
+
} from "./file-retention-zcrspsvn.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service73,
|
|
42
|
+
node78
|
|
43
|
+
} from "./file-retention-as0z8btd.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service43,
|
|
48
|
+
node46,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./file-retention-t5e54489.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service40,
|
|
53
|
+
node44
|
|
54
|
+
} from "./file-retention-a9x5dmer.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node33
|
|
57
|
+
} from "./file-retention-mtbzr4rz.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service28,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node32
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service28 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service75;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
92
|
+
const locations = yield* Service45;
|
|
93
|
+
const store = yield* Service73;
|
|
94
|
+
const execution = yield* Service40;
|
|
95
|
+
const instances = yield* Service44;
|
|
96
|
+
const admission = yield* Service43;
|
|
97
|
+
const database = yield* Service79;
|
|
98
|
+
const bus = yield* Service78;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service28.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node32 = makeGlobalNode({
|
|
167
|
+
service: Service28,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node80,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
173
|
+
node48,
|
|
174
|
+
node78,
|
|
175
|
+
node44,
|
|
176
|
+
node47,
|
|
177
|
+
node46,
|
|
178
|
+
node84,
|
|
179
|
+
node83,
|
|
180
|
+
node33
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node32, exports_move };
|