@opencode/core 0.0.0-dev-20316 → 0.0.0-dev-20317
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{project-dnxkq42g.js → file-mutation-068serwz.js} +4 -4
- package/dist/chunks/{project-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-8f78v9qy.js → file-mutation-0yt4n5hc.js} +1 -1
- package/dist/chunks/{project-1n2pc2hr.js → file-mutation-18pyqb3h.js} +12 -12
- package/dist/chunks/{project-7gfsvgty.js → file-mutation-1ce1gjkr.js} +7 -7
- package/dist/chunks/{project-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{project-j26sntzs.js → file-mutation-1fm7vbk4.js} +12 -12
- package/dist/chunks/{project-2v338a3n.js → file-mutation-1j3s8w22.js} +15 -15
- package/dist/chunks/{project-9qkx95r0.js → file-mutation-1qs5jxd8.js} +15 -15
- package/dist/chunks/{project-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{project-z63w68vq.js → file-mutation-29x78va6.js} +6 -6
- package/dist/chunks/{project-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-tzxknpb8.js → file-mutation-2atcfb4x.js} +7 -7
- package/dist/chunks/{project-9rybd2zw.js → file-mutation-2c4k1w8p.js} +14 -14
- package/dist/chunks/{project-25cs5cen.js → file-mutation-2hr5nhwa.js} +8 -8
- package/dist/chunks/{project-qgn6gcr1.js → file-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{project-v2gj3r6j.js → file-mutation-2pzcg6zy.js} +20 -20
- package/dist/chunks/{project-benezg7w.js → file-mutation-2qg4zkvz.js} +10 -10
- package/dist/chunks/{project-h8hwphbd.js → file-mutation-2yap4c42.js} +22 -22
- package/dist/chunks/{project-4tzsdqn7.js → file-mutation-37rhwr93.js} +43 -43
- package/dist/chunks/{project-d4fbvmpv.js → file-mutation-3arsr4w4.js} +8 -8
- package/dist/chunks/{project-9qvr998c.js → file-mutation-3b7qszte.js} +11 -11
- package/dist/chunks/{project-zc89qxvr.js → file-mutation-3c6wqyb6.js} +18 -18
- package/dist/chunks/{project-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{project-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-8p2pmgw9.js → file-mutation-3jxxch2v.js} +22 -22
- package/dist/chunks/{project-pv66basf.js → file-mutation-3m0rnywy.js} +3 -3
- package/dist/chunks/{project-xbk7y0ps.js → file-mutation-3nktdnhj.js} +17 -17
- package/dist/chunks/{project-57ez7d0k.js → file-mutation-3nxb9rvh.js} +9 -9
- package/dist/chunks/{project-884bfwk0.js → file-mutation-3qbaz8ss.js} +7 -7
- package/dist/chunks/{project-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{project-hnmy0hsy.js → file-mutation-40fw65m2.js} +46 -46
- package/dist/chunks/{project-jdtykp26.js → file-mutation-44k13xcn.js} +87 -87
- package/dist/chunks/{project-818pfwc9.js → file-mutation-49w8mb30.js} +11 -11
- package/dist/chunks/{project-xb50yt4b.js → file-mutation-4eq8w0dz.js} +4 -4
- package/dist/chunks/{project-s04yvqe9.js → file-mutation-4hm20dka.js} +44 -44
- package/dist/chunks/{project-9cw7v7t0.js → file-mutation-4hwjm9tk.js} +3 -3
- package/dist/chunks/{project-6wg8zrc8.js → file-mutation-4nk0fpy7.js} +30 -30
- package/dist/chunks/{project-dryza082.js → file-mutation-4p8gn76r.js} +20 -20
- package/dist/chunks/{project-0z5seett.js → file-mutation-4pd5ctp7.js} +17 -17
- package/dist/chunks/{project-a1by8739.js → file-mutation-4r0vv8rp.js} +18 -18
- package/dist/chunks/{project-7w0y71jc.js → file-mutation-4zt21fh0.js} +11 -11
- package/dist/chunks/{project-nmbqr5ec.js → file-mutation-53vsygtf.js} +24 -24
- package/dist/chunks/{project-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{project-ckecvw8r.js → file-mutation-54tcyq79.js} +2 -2
- package/dist/chunks/{project-56gdpj1q.js → file-mutation-56gdpj1q.js} +2 -2
- package/dist/chunks/{project-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{project-75mzgwkf.js → file-mutation-5kqae2td.js} +32 -32
- package/dist/chunks/{project-5ejns0m0.js → file-mutation-5mzagth7.js} +4 -4
- package/dist/chunks/{project-bn399aes.js → file-mutation-5nrv86h4.js} +32 -32
- package/dist/chunks/{project-2mzfjhd5.js → file-mutation-5rs2e4ae.js} +15 -15
- package/dist/chunks/{project-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{project-ve8aas4y.js → file-mutation-5yz7xas9.js} +10 -10
- package/dist/chunks/{project-3by8z3q7.js → file-mutation-61hacpwr.js} +31 -31
- package/dist/chunks/{project-b7t4d0bx.js → file-mutation-64mbz47k.js} +6 -6
- package/dist/chunks/{project-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{project-1hskrfnt.js → file-mutation-66pjjr98.js} +15 -15
- package/dist/chunks/{project-w893fnt1.js → file-mutation-67j3xgk5.js} +87 -87
- package/dist/chunks/{project-5yv68qc1.js → file-mutation-6e00a2ht.js} +15 -15
- package/dist/chunks/{project-8ezkp1w1.js → file-mutation-6edkmfn9.js} +24 -24
- package/dist/chunks/{project-8fqdsx23.js → file-mutation-6gepwcpk.js} +165 -165
- package/dist/chunks/{project-b227wj0j.js → file-mutation-6gg229te.js} +2 -2
- package/dist/chunks/{project-619t0cxh.js → file-mutation-6hd5cqs1.js} +37 -37
- package/dist/chunks/{project-tvyg9cvp.js → file-mutation-6hg3tsfm.js} +4 -4
- package/dist/chunks/{project-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{project-6zsmm6dr.js → file-mutation-6qh5a7cm.js} +46 -46
- package/dist/chunks/{project-607q5haz.js → file-mutation-6t298p2h.js} +12 -12
- package/dist/chunks/{project-kfewz56y.js → file-mutation-6tv02psk.js} +19 -19
- package/dist/chunks/{project-nykjhsrz.js → file-mutation-77j67fjn.js} +54 -54
- package/dist/chunks/{project-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-83nh47t2.js → file-mutation-7dbwzgk5.js} +13 -13
- package/dist/chunks/{project-s8zy8myc.js → file-mutation-7gvwkz6m.js} +5 -5
- package/dist/chunks/{project-k6yq57aq.js → file-mutation-7w99qc9d.js} +2 -2
- package/dist/chunks/{project-tr8mceaa.js → file-mutation-7xgv489k.js} +13 -13
- package/dist/chunks/{project-q9jkegzq.js → file-mutation-80b4jn6q.js} +29 -29
- package/dist/chunks/{project-fzp769bc.js → file-mutation-87jaft4q.js} +25 -25
- package/dist/chunks/{project-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/file-mutation-8p6pfqwt.js +26 -0
- package/dist/chunks/{project-4mwpykj0.js → file-mutation-909p1r3q.js} +6 -6
- package/dist/chunks/{project-far2xf0m.js → file-mutation-958zgc5t.js} +4 -4
- package/dist/chunks/{project-rfj00t6s.js → file-mutation-97qcqtmp.js} +11 -11
- package/dist/chunks/{project-4n26wkx8.js → file-mutation-98t95rqs.js} +4 -4
- package/dist/chunks/{project-gyjy55vd.js → file-mutation-9hemy9a5.js} +1 -1
- package/dist/chunks/{project-a1jns5ne.js → file-mutation-9k4sympr.js} +16 -16
- package/dist/chunks/{project-128pgwnk.js → file-mutation-9nxw8271.js} +15 -15
- package/dist/chunks/{project-gq19827e.js → file-mutation-a2m1fs74.js} +1 -1
- package/dist/chunks/{project-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{project-wyjk5hfb.js → file-mutation-acq1stk5.js} +3 -3
- package/dist/chunks/{project-vf98g9bw.js → file-mutation-ag6syf74.js} +23 -23
- package/dist/chunks/{project-wcqyh1ts.js → file-mutation-ahkpgjye.js} +11 -11
- package/dist/chunks/{project-14wgfyw1.js → file-mutation-am4z9aae.js} +31 -31
- package/dist/chunks/{project-xzb2kbk8.js → file-mutation-am6v6khg.js} +26 -26
- package/dist/chunks/{project-00z3vp5f.js → file-mutation-an7cqtb7.js} +4 -4
- package/dist/chunks/{project-09w06n2q.js → file-mutation-ar8ppt4n.js} +10 -10
- package/dist/chunks/{project-c5bjafsp.js → file-mutation-aspx9532.js} +23 -23
- package/dist/chunks/{project-6a8xraeq.js → file-mutation-asw2t9gs.js} +11 -11
- package/dist/chunks/{project-8fq5ayth.js → file-mutation-axthpvgz.js} +11 -11
- package/dist/chunks/{project-mksgfzgs.js → file-mutation-b04b8x2j.js} +5 -5
- package/dist/chunks/{project-sk2hk6tq.js → file-mutation-b0dgvpy7.js} +9 -9
- package/dist/chunks/{project-fdv30zvt.js → file-mutation-b27vhd2z.js} +7 -7
- package/dist/chunks/{project-6w454pee.js → file-mutation-b511pycq.js} +16 -16
- package/dist/chunks/{project-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-x176zp1b.js → file-mutation-ba0a1fvg.js} +24 -24
- package/dist/chunks/{project-zf1fk0v2.js → file-mutation-bazjz6tt.js} +11 -11
- package/dist/chunks/{project-knevfgda.js → file-mutation-bgc5ggmx.js} +4 -4
- package/dist/chunks/{project-q03xkger.js → file-mutation-bhnd6jbc.js} +10 -10
- package/dist/chunks/{project-z07pqspn.js → file-mutation-bjtzbw4r.js} +3 -3
- package/dist/chunks/{project-2tr1k1b8.js → file-mutation-bqgg56a2.js} +8 -8
- package/dist/chunks/{project-cmwkp3r5.js → file-mutation-br0tr5aq.js} +8 -8
- package/dist/chunks/{project-8496rxe5.js → file-mutation-bs4gwx6b.js} +32 -32
- package/dist/chunks/{project-e63gg9ae.js → file-mutation-byx5r1nf.js} +24 -24
- package/dist/chunks/{project-2wnd0vm8.js → file-mutation-c3n1cp32.js} +24 -24
- package/dist/chunks/{project-m6f3t844.js → file-mutation-c66ced72.js} +4 -4
- package/dist/chunks/{project-v89ca3yf.js → file-mutation-cahsh00e.js} +5 -5
- package/dist/chunks/{project-zfgkzra5.js → file-mutation-cf7gn0yj.js} +17 -17
- package/dist/chunks/{project-j8f5yte4.js → file-mutation-cm62f9mw.js} +12 -12
- package/dist/chunks/{project-b6vdck89.js → file-mutation-cqsb273d.js} +50 -50
- package/dist/chunks/{project-erkqxs4v.js → file-mutation-d3d3msnn.js} +16 -16
- package/dist/chunks/{project-c765mh8b.js → file-mutation-d4he2qe1.js} +9 -9
- package/dist/chunks/{project-x2y9dr9x.js → file-mutation-drqsxggm.js} +20 -20
- package/dist/chunks/{project-azzr0vhd.js → file-mutation-dwh27apr.js} +13 -13
- package/dist/chunks/{project-gq3bt1cd.js → file-mutation-dzjy8w6a.js} +18 -18
- package/dist/chunks/{project-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
- package/dist/chunks/{project-s8d7rejh.js → file-mutation-eaj1djv9.js} +6 -6
- package/dist/chunks/{project-ecfe7b91.js → file-mutation-ecfe7b91.js} +2 -2
- package/dist/chunks/{project-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-e0t5n6h4.js → file-mutation-enyc8xn2.js} +25 -25
- package/dist/chunks/{project-nm4b89zg.js → file-mutation-essjy5q3.js} +10 -10
- package/dist/chunks/{project-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{project-atjyqtyt.js → file-mutation-ewfhazpw.js} +6 -6
- package/dist/chunks/{project-vhs061t7.js → file-mutation-f13f6cny.js} +4 -4
- package/dist/chunks/{project-bneggmm6.js → file-mutation-f7cas2m9.js} +1 -1
- package/dist/chunks/{project-b9krrcn2.js → file-mutation-fc1vxnxc.js} +27 -27
- package/dist/chunks/{project-3k28x0rq.js → file-mutation-fcgr6fpe.js} +7 -7
- package/dist/chunks/{project-3sg0jw0d.js → file-mutation-frt80p94.js} +23 -23
- package/dist/chunks/{project-0vfkfsvf.js → file-mutation-g9r4tham.js} +3 -3
- package/dist/chunks/{project-339h4057.js → file-mutation-gc5ccx6v.js} +5 -5
- package/dist/chunks/{project-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-94ek1h2f.js → file-mutation-gfvb90ym.js} +2 -2
- package/dist/chunks/{project-pfnjx98c.js → file-mutation-gtkq5kdv.js} +21 -21
- package/dist/chunks/{project-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{project-fjvydvzm.js → file-mutation-gzbkpp9m.js} +4 -4
- package/dist/chunks/{project-wpeqwd3m.js → file-mutation-gzncnxwb.js} +11 -11
- package/dist/chunks/{project-hn43hy9v.js → file-mutation-h273y0zk.js} +9 -9
- package/dist/chunks/{project-7gaega4f.js → file-mutation-h2k6r1dw.js} +9 -9
- package/dist/chunks/{project-7dnkkhh4.js → file-mutation-h52fda0c.js} +17 -17
- package/dist/chunks/{project-7pr2hkwv.js → file-mutation-h6b02349.js} +5 -5
- package/dist/chunks/{project-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-4j4tgtq5.js → file-mutation-h9wp8z5w.js} +4 -4
- package/dist/chunks/{project-ffmtnmcc.js → file-mutation-hew90mp0.js} +24 -24
- package/dist/chunks/{project-was7srj9.js → file-mutation-hv7mkmtw.js} +8 -8
- package/dist/chunks/{project-0x3qcm03.js → file-mutation-j49qe88t.js} +24 -24
- package/dist/chunks/{project-tv78pmrq.js → file-mutation-j4g2zvzf.js} +28 -28
- package/dist/chunks/{project-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{project-d3fj698k.js → file-mutation-j8hz64q6.js} +5 -5
- package/dist/chunks/{project-9stnwpgq.js → file-mutation-jg38snma.js} +8 -8
- package/dist/chunks/{project-n3csagb3.js → file-mutation-jn2kvrv2.js} +30 -30
- package/dist/chunks/{project-mk2wn6nt.js → file-mutation-jqearavb.js} +30 -30
- package/dist/chunks/{project-f3zdv7ej.js → file-mutation-jxn92pv1.js} +32 -32
- package/dist/chunks/{project-3e15rq0w.js → file-mutation-k2z2bpyb.js} +32 -32
- package/dist/chunks/{project-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
- package/dist/chunks/{project-32jw649k.js → file-mutation-k56bzbcg.js} +16 -16
- package/dist/chunks/{project-nm0q2jgj.js → file-mutation-k8kd3x6v.js} +29 -29
- package/dist/chunks/{project-kjkxz51n.js → file-mutation-kgtr5kgz.js} +24 -24
- package/dist/chunks/{project-qbqbaz6q.js → file-mutation-kkp8zx71.js} +4 -4
- package/dist/chunks/{project-6k23k7vx.js → file-mutation-kp8a4fhm.js} +48 -48
- package/dist/chunks/{project-czg9x4h8.js → file-mutation-kpnprcv1.js} +9 -9
- package/dist/chunks/{project-2vfwjvt0.js → file-mutation-krqvwc4f.js} +2 -2
- package/dist/chunks/{project-7v99a3s2.js → file-mutation-kt9wpgz0.js} +30 -30
- package/dist/chunks/{project-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{project-b18wbhdm.js → file-mutation-m5c90g06.js} +11 -11
- package/dist/chunks/{project-q19fen1v.js → file-mutation-m5e49ftz.js} +25 -25
- package/dist/chunks/{project-t41mts01.js → file-mutation-m66zvs2c.js} +6 -6
- package/dist/chunks/{project-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-d6dqh9nb.js → file-mutation-mg46656p.js} +4 -4
- package/dist/chunks/{project-s2fyaqj8.js → file-mutation-mjqym6kr.js} +3 -3
- package/dist/chunks/{project-2jpf0fvd.js → file-mutation-mp4w3xb3.js} +66 -66
- package/dist/chunks/{project-mvfsc1pv.js → file-mutation-mvfsc1pv.js} +1 -1
- package/dist/chunks/{project-17y0377r.js → file-mutation-n54s188w.js} +36 -36
- package/dist/chunks/{project-cebq52h3.js → file-mutation-n5wndne1.js} +22 -22
- package/dist/chunks/{project-e049drp9.js → file-mutation-ncemd8be.js} +11 -11
- package/dist/chunks/{project-wqc6684y.js → file-mutation-nng2ktcm.js} +2 -2
- package/dist/chunks/{project-1xweqgb1.js → file-mutation-npacb0de.js} +15 -15
- package/dist/chunks/{project-624xt6we.js → file-mutation-nstt2xrf.js} +20 -20
- package/dist/chunks/{project-7kb53k34.js → file-mutation-nxwbgnvg.js} +5 -5
- package/dist/chunks/{project-2n37e6w7.js → file-mutation-nzrpksqv.js} +1 -1
- package/dist/chunks/{project-w6zk8pbt.js → file-mutation-p4ghe5eg.js} +6 -6
- package/dist/chunks/{project-e2qcx340.js → file-mutation-pb9kg3x1.js} +10 -10
- package/dist/chunks/{project-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{project-jjs74g98.js → file-mutation-pnv527nz.js} +9 -9
- package/dist/chunks/{project-wd3x2cqz.js → file-mutation-psazpmmj.js} +2 -2
- package/dist/chunks/{project-py3kkmfq.js → file-mutation-py3kkmfq.js} +2 -2
- package/dist/chunks/{project-5xpznt2d.js → file-mutation-q7azfttr.js} +4 -4
- package/dist/chunks/{project-1c29hv3p.js → file-mutation-q7n5hrtn.js} +10 -10
- package/dist/chunks/{project-1t90kb9x.js → file-mutation-qadgxe9y.js} +16 -16
- package/dist/chunks/{project-045baswh.js → file-mutation-qdbfnsyg.js} +10 -10
- package/dist/chunks/file-mutation-qg70aggb.js +252 -0
- package/dist/chunks/{project-n5g5f6a9.js → file-mutation-qnx1cae3.js} +26 -26
- package/dist/chunks/{project-h15qk984.js → file-mutation-qqg2th7x.js} +318 -318
- package/dist/chunks/{project-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{project-s825grcd.js → file-mutation-qvrnhx4y.js} +45 -45
- package/dist/chunks/{project-3x2h1jqq.js → file-mutation-qz709pp3.js} +16 -16
- package/dist/chunks/{project-563x647v.js → file-mutation-qzcncrcf.js} +15 -15
- package/dist/chunks/{project-ncpnxt6w.js → file-mutation-r4dzbc5a.js} +17 -17
- package/dist/chunks/{project-3c9vxe8z.js → file-mutation-r5g918rf.js} +18 -18
- package/dist/chunks/{project-c8j29rkk.js → file-mutation-rb1yyema.js} +11 -11
- package/dist/chunks/{project-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{project-2xwkyk0m.js → file-mutation-rkdvqggb.js} +5 -5
- package/dist/chunks/{project-atrcd26x.js → file-mutation-ry3her87.js} +20 -20
- package/dist/chunks/{project-96n2ccqs.js → file-mutation-s1vk8abd.js} +5 -5
- package/dist/chunks/{project-yrznvahk.js → file-mutation-s4enseaf.js} +2 -2
- package/dist/chunks/{project-6pwz9vdm.js → file-mutation-s749x1jp.js} +15 -15
- package/dist/chunks/{project-qaqjyhfq.js → file-mutation-sapd4br0.js} +11 -11
- package/dist/chunks/{project-41wzkj33.js → file-mutation-sds13m34.js} +8 -8
- package/dist/chunks/{project-w2236gjw.js → file-mutation-shg5zjww.js} +17 -17
- package/dist/chunks/{project-2e8hs3n1.js → file-mutation-snym9n01.js} +12 -12
- package/dist/chunks/{project-gt50eczq.js → file-mutation-srb6kc6w.js} +14 -14
- package/dist/chunks/{project-cqg8v4c7.js → file-mutation-ss0awb04.js} +6 -6
- package/dist/chunks/{project-9herab98.js → file-mutation-stw2mskd.js} +30 -30
- package/dist/chunks/{project-vf87633e.js → file-mutation-t0avyhks.js} +23 -23
- package/dist/chunks/{project-g190xswt.js → file-mutation-t51qk8jz.js} +21 -21
- package/dist/chunks/{project-ew3ps6bh.js → file-mutation-t5mpbn54.js} +8 -8
- package/dist/chunks/{project-460prvfa.js → file-mutation-t5srjmkn.js} +36 -36
- package/dist/chunks/{project-j50a6jve.js → file-mutation-t8b05y9y.js} +11 -11
- package/dist/chunks/{project-8wvrh9f5.js → file-mutation-t8cpjbvm.js} +1 -1
- package/dist/chunks/{project-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{project-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{project-37s12vcn.js → file-mutation-tn0aqsam.js} +5 -5
- package/dist/chunks/{project-5beq9rmc.js → file-mutation-tt3k95t3.js} +20 -20
- package/dist/chunks/{project-65ptgm6v.js → file-mutation-tt4s4s8q.js} +13 -13
- package/dist/chunks/{project-wnkxv0q5.js → file-mutation-ttk49waq.js} +17 -17
- package/dist/chunks/{project-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{project-c874zv42.js → file-mutation-txnk5zrz.js} +11 -11
- package/dist/chunks/{project-r14vm1xa.js → file-mutation-typw0tyn.js} +19 -19
- package/dist/chunks/{project-98eksqsr.js → file-mutation-v4gb911t.js} +8 -8
- package/dist/chunks/{project-qhvf56dz.js → file-mutation-v6p67kws.js} +7 -7
- package/dist/chunks/{project-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{project-df7trzx9.js → file-mutation-vhjvzfv4.js} +28 -28
- package/dist/chunks/{project-403m2ss4.js → file-mutation-vkfhbx9v.js} +9 -9
- package/dist/chunks/{project-ptf9bkze.js → file-mutation-vpj1j15r.js} +9 -9
- package/dist/chunks/file-mutation-vsdyktar.js +18 -0
- package/dist/chunks/{project-y0mc46pw.js → file-mutation-vynmvp9h.js} +9 -9
- package/dist/chunks/{project-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{project-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{project-84txncab.js → file-mutation-w1eejvng.js} +5 -5
- package/dist/chunks/{project-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-yfc128y6.js → file-mutation-w9khvjrv.js} +6 -6
- package/dist/chunks/{project-e6hmchc5.js → file-mutation-wbkyxrgf.js} +5 -5
- package/dist/chunks/{project-dnaw0pkd.js → file-mutation-wcymzgpk.js} +6 -6
- package/dist/chunks/{project-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{project-16s6chgv.js → file-mutation-wez1ajrw.js} +7 -7
- package/dist/chunks/{project-n7kq7syy.js → file-mutation-wh90q83w.js} +9 -9
- package/dist/chunks/{project-b9ycemf2.js → file-mutation-wx0mbdwc.js} +11 -11
- package/dist/chunks/{project-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-06nv7jxy.js → file-mutation-x6v9ff69.js} +2 -2
- package/dist/chunks/{project-n9brwhfv.js → file-mutation-xf8ame85.js} +11 -11
- package/dist/chunks/{project-xfkkasph.js → file-mutation-xfkkasph.js} +1 -1
- package/dist/chunks/{project-7kjckr2c.js → file-mutation-xghkepxw.js} +3 -3
- package/dist/chunks/{project-enmvcg2s.js → file-mutation-xkhj08b5.js} +5 -5
- package/dist/chunks/{project-xkntkrq7.js → file-mutation-xkntkrq7.js} +2 -2
- package/dist/chunks/{project-ed2m8rt6.js → file-mutation-xq930m5y.js} +12 -12
- package/dist/chunks/{project-3fvrem5n.js → file-mutation-xqcx71xb.js} +32 -32
- package/dist/chunks/{project-swk1efsm.js → file-mutation-xxcmm6w8.js} +8 -8
- package/dist/chunks/{project-3jq7hafk.js → file-mutation-xxp5c75e.js} +42 -42
- package/dist/chunks/{project-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-hz5p8n7r.js → file-mutation-y2rbnnsy.js} +13 -13
- package/dist/chunks/{project-7pcrhvh4.js → file-mutation-y34xv2bc.js} +10 -10
- package/dist/chunks/{project-cwv7yqrw.js → file-mutation-y5cgb14q.js} +37 -37
- package/dist/chunks/{project-dpkg50ah.js → file-mutation-y71avatq.js} +4 -4
- package/dist/chunks/{project-048xc26x.js → file-mutation-yeb3g8kd.js} +49 -49
- package/dist/chunks/{project-1acjjqhc.js → file-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{project-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{project-dbggsdn6.js → file-mutation-yvz1hsk0.js} +9 -9
- package/dist/chunks/{project-0xezjjjn.js → file-mutation-yw8t9dwe.js} +8 -8
- package/dist/chunks/{project-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-pm3a7hnh.js → file-mutation-z3nvzw5r.js} +38 -38
- package/dist/chunks/{project-3ff3e122.js → file-mutation-z5txp1x4.js} +9 -9
- package/dist/chunks/{project-axs6pdy0.js → file-mutation-zd30eb5w.js} +5 -5
- package/dist/chunks/{project-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{project-hd8vw2pw.js → file-mutation-znsx74x0.js} +1 -1
- package/dist/chunks/{project-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-zcrspsvn.js → file-mutation-zvt5dnpc.js} +4 -4
- package/dist/chunks/{project-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +5 -5
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/project-0adt99ty.js +0 -252
- package/dist/chunks/project-619r8v3y.js +0 -18
- package/dist/chunks/project-8nxkrca3.js +0 -26
- /package/dist/chunks/{project-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./file-mutation-6t298p2h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service73,
|
|
16
|
+
node76
|
|
17
|
+
} from "./file-mutation-ar8ppt4n.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service53,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node55,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service53 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service73;
|
|
110
|
+
return Service53.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node55 = makeGlobalNode({
|
|
171
|
+
service: Service53,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node76]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service53, isError2, validateBranch2, node55, exports_repository_cache };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info23 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info23, exports_permission2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-t8b05y9y.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin40,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin40 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin36 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin36 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin40, exports_tavily };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./file-mutation-h52fda0c.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service68
|
|
11
|
+
} from "./file-mutation-6edkmfn9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./file-mutation-6e00a2ht.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service28,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-7dbwzgk5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./file-mutation-cqsb273d.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service22,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-3c6wqyb6.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin6,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin6 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service68;
|
|
112
|
+
const access = yield* Service22;
|
|
113
|
+
const fileMutation = yield* Service28;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service54;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin30 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output2, toModelContent2, Plugin6, exports_patch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured10,
|
|
11
|
+
layer: () => layer23,
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node77,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer23 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
|
|
33
|
+
var node77 = configured10();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer23, configured10, node77, exports_app };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info17
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info17 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info17, exports_attachment };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-f13f6cny.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref3,
|
|
11
|
+
Service76,
|
|
12
|
+
node80
|
|
13
|
+
} from "./file-mutation-h52fda0c.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node22
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service19 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
44
|
+
const location = yield* Service76;
|
|
45
|
+
const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service19.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [node87, node80] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref3)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service19, node22, exports_rpc, define2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./file-mutation-h52fda0c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./file-mutation-4hm20dka.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-qnx1cae3.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin27
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin27 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service62;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin27, exports_reference };
|