@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,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-retention-qyc89c7d.js";
|
|
5
5
|
import {
|
|
6
6
|
Service74,
|
|
7
7
|
node79
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-yfw68w0d.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID18,
|
|
11
|
+
Service77,
|
|
12
|
+
node82
|
|
13
|
+
} from "./file-retention-sb3f9prf.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./file-retention-qwkytnft.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node78
|
|
20
|
+
} from "./file-retention-as0z8btd.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service72,
|
|
26
|
+
node77
|
|
27
|
+
} from "./file-retention-2xd4yy55.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service80,
|
|
30
|
+
node85
|
|
31
|
+
} from "./file-retention-jdh6s7jq.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event18,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service71,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node76
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
78
|
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID18.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID13,
|
|
86
86
|
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service71 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
130
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service78;
|
|
132
132
|
const location = yield* Service74;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service77;
|
|
134
|
+
const sessions = yield* Service73;
|
|
135
|
+
const saved = yield* Service72;
|
|
136
|
+
const hooks = yield* Service80;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError9({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID13.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service71.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node76 = makeLocationNode({
|
|
289
|
+
service: Service71,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node83, node79, node82, node78, node77, node85]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service71, node76, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./file-retention-64jggb9x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service27
|
|
6
|
+
} from "./file-retention-hd0nvtm3.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make9
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make9 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service27;
|
|
24
|
+
const jobs = yield* Service61;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make9, exports_subagent_job };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service74,
|
|
7
7
|
node79
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-yfw68w0d.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service17,
|
|
11
|
+
node21
|
|
12
|
+
} from "./file-retention-q6c7we53.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
19
19
|
__export(exports_filesystem, {
|
|
20
|
-
Content: () =>
|
|
20
|
+
Content: () => Content2,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event6,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service16,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node20
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -42,14 +42,14 @@ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@openco
|
|
|
42
42
|
var ReadInput2 = Schema.Struct({
|
|
43
43
|
path: RelativePath2
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Content2 = Schema.Struct({
|
|
46
46
|
uri: Schema.String,
|
|
47
47
|
name: Schema.String.pipe(Schema.optional),
|
|
48
48
|
content: Schema.String,
|
|
49
49
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
50
50
|
mime: Schema.String
|
|
51
51
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
52
|
-
var
|
|
52
|
+
var ListInput2 = Schema.Struct({
|
|
53
53
|
path: Schema.String.pipe(Schema.optional)
|
|
54
54
|
});
|
|
55
55
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event6 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
81
|
const location = yield* Service74;
|
|
82
|
-
const search = yield*
|
|
82
|
+
const search = yield* Service17;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service16.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node20 = makeLocationNode({
|
|
126
|
+
service: Service16,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node, node79,
|
|
128
|
+
deps: [FSUtil.node, node79, node21]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service16, node20, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-retention-2zw7ecjk.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./file-retention-qyc89c7d.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-1eyaby9q.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-retention-8p4f9s12.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-a1bz86dw.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-t5e54489.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./file-retention-bha4atvq.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./file-retention-t93xqn98.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-retention-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node33
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -275,8 +275,8 @@ function projectIdle(db, event) {
|
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
278
|
-
const bus = yield*
|
|
279
|
-
const db = (yield*
|
|
278
|
+
const bus = yield* Service78;
|
|
279
|
+
const db = (yield* Service79).db;
|
|
280
280
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
281
281
|
const stored = yield* db.insert(SessionTable2).values({
|
|
282
282
|
id: event.data.sessionID,
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node33 = makeGlobalNode({ name: "session-projector", layer, deps: [node83, node84] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node33, exports_projector };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-retention-2zw7ecjk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./file-retention-hwe7x4em.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-w1k39n5e.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-d6cvva1z.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-42932dp7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service29
|
|
21
|
+
} from "./file-retention-t58cf551.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service44;
|
|
36
|
+
const database = yield* Service79;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service29;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-mfqd8mcm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin26
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin26 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin26, exports_plan };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-retention-qyc89c7d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
Event15
|
|
7
|
+
} from "./file-retention-bs9f176v.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin44,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service78;
|
|
24
|
+
const wellknown = yield* Service64;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin32 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin44, exports_plugin };
|