@opencode-ai/core 0.0.0-dev-19097 → 0.0.0-dev-19099
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 +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{file-t23z101x.js → session-00zc6prc.js} +2 -2
- package/dist/chunks/{file-w7pcjcgc.js → session-033qr46r.js} +9 -9
- package/dist/chunks/{file-34h2c5qc.js → session-046wb0sx.js} +8 -8
- package/dist/chunks/{file-pnb07w7m.js → session-06ztdyqf.js} +6 -6
- package/dist/chunks/{file-0e0xafbb.js → session-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-0ez61b8c.js → session-0ez61b8c.js} +2 -2
- package/dist/chunks/{file-wxv6nqad.js → session-0hxewv05.js} +27 -27
- package/dist/chunks/{file-vk57arp5.js → session-0k5h4jkn.js} +33 -33
- package/dist/chunks/{file-0paq2nw3.js → session-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-k8feg6vv.js → session-0rag4e4f.js} +4 -4
- package/dist/chunks/{file-0s9ayhjt.js → session-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-7qygs87w.js → session-0scqckt0.js} +29 -29
- package/dist/chunks/{file-6sjzp24x.js → session-0tyy99y6.js} +36 -36
- package/dist/chunks/{file-rs5embep.js → session-14f8jh9e.js} +15 -15
- package/dist/chunks/{file-14hmenm3.js → session-14hmenm3.js} +1 -1
- package/dist/chunks/{file-w9vya7g1.js → session-15gg0na4.js} +23 -23
- package/dist/chunks/{file-pka6fkme.js → session-1a3my7cd.js} +31 -31
- package/dist/chunks/{file-ctg8zr71.js → session-1bbscqjq.js} +15 -15
- package/dist/chunks/session-1bnacmtz.js +22 -0
- package/dist/chunks/{file-1ct4r87x.js → session-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-msqakgxm.js → session-1h561g3c.js} +8 -8
- package/dist/chunks/{file-d17hrp67.js → session-1k5rte3c.js} +29 -29
- package/dist/chunks/{file-trbf7f13.js → session-1kvgqkc1.js} +26 -26
- package/dist/chunks/{file-9d0173er.js → session-1y50zexa.js} +9 -9
- package/dist/chunks/{file-21r38tys.js → session-21r38tys.js} +1 -1
- package/dist/chunks/{file-2402vzrj.js → session-2402vzrj.js} +1 -1
- package/dist/chunks/{file-2a5m3afh.js → session-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-xn93qykn.js → session-2e967tky.js} +16 -16
- package/dist/chunks/{file-2ht70gj7.js → session-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-2jqmte8w.js → session-2jqmte8w.js} +2 -2
- package/dist/chunks/{file-0jwsre1p.js → session-2k8khapm.js} +5 -5
- package/dist/chunks/{file-pfzekb22.js → session-2s1by3x3.js} +25 -25
- package/dist/chunks/{file-e9caa62w.js → session-2skgqc7d.js} +3 -3
- package/dist/chunks/{file-r3pbnjm9.js → session-32fd39f2.js} +10 -10
- package/dist/chunks/{file-x6te443c.js → session-362503zv.js} +42 -42
- package/dist/chunks/{file-gss8xhg0.js → session-3ap01362.js} +30 -30
- package/dist/chunks/{file-8cvnnrjq.js → session-3b3xadwe.js} +16 -16
- package/dist/chunks/{file-gdvy8fx6.js → session-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-2xxac57g.js → session-3nqgc3yx.js} +7 -7
- package/dist/chunks/{file-3qzbfqsy.js → session-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-qk91dsd0.js → session-3rmx93c4.js} +10 -10
- package/dist/chunks/{file-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-3wfq9j39.js → session-3wfq9j39.js} +2 -2
- package/dist/chunks/{file-630mrxzs.js → session-41v30afh.js} +6 -6
- package/dist/chunks/{file-454k5vzh.js → session-454k5vzh.js} +1 -1
- package/dist/chunks/{file-fjvydvzm.js → session-4gycnsfp.js} +6 -6
- package/dist/chunks/{file-jz1jqtks.js → session-4jzh0xe1.js} +8 -8
- package/dist/chunks/{file-d1n19zpc.js → session-4qmdx6xs.js} +34 -34
- package/dist/chunks/{file-4r2nyarf.js → session-4r2nyarf.js} +1 -1
- package/dist/chunks/{file-yqgv8gzc.js → session-4tgt7804.js} +6 -6
- package/dist/chunks/{file-4zzhap0t.js → session-4tjv1w0c.js} +20 -20
- package/dist/chunks/{file-4z6b0fg6.js → session-4z6b0fg6.js} +1 -1
- package/dist/chunks/{file-5daktx2q.js → session-5daktx2q.js} +1 -1
- package/dist/chunks/{file-8nv4cyba.js → session-5dfa1j4k.js} +46 -46
- package/dist/chunks/{file-4nrfgs5y.js → session-5ew1cpbm.js} +4 -4
- package/dist/chunks/{file-5fmxt4p5.js → session-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-w2cy7nem.js → session-5fq3meay.js} +10 -10
- package/dist/chunks/{file-5jvc5tg2.js → session-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-nb59rc1d.js → session-5pg6yw59.js} +15 -15
- package/dist/chunks/{file-4wm41xfy.js → session-5sd665qf.js} +9 -9
- package/dist/chunks/{file-5sg4xzjf.js → session-5sg4xzjf.js} +1 -1
- package/dist/chunks/{file-h39sbrp5.js → session-5xy06vd8.js} +7 -7
- package/dist/chunks/{file-fxcmktmy.js → session-5z37qfst.js} +13 -13
- package/dist/chunks/{file-7a9jwpx3.js → session-5zhf747r.js} +4 -4
- package/dist/chunks/session-619r8v3y.js +18 -0
- package/dist/chunks/{file-c0faa19c.js → session-6e958v7x.js} +6 -6
- package/dist/chunks/{file-awqyf91x.js → session-6h414ywr.js} +5 -5
- package/dist/chunks/{file-cmhmpn4v.js → session-6nem85hv.js} +11 -11
- package/dist/chunks/{file-6tf8tr4v.js → session-6tf8tr4v.js} +2 -2
- package/dist/chunks/{file-wndntwen.js → session-6whzccev.js} +10 -10
- package/dist/chunks/{file-keytvqp3.js → session-70zb4fhk.js} +18 -18
- package/dist/chunks/{file-711hfp6y.js → session-711hfp6y.js} +2 -2
- package/dist/chunks/{file-7b280chh.js → session-74zgpmwc.js} +6 -6
- package/dist/chunks/{file-8ryk0bb9.js → session-762r0j46.js} +5 -5
- package/dist/chunks/session-76h0ztym.js +243 -0
- package/dist/chunks/{file-er9yxp35.js → session-78xpxgdy.js} +156 -156
- package/dist/chunks/{file-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-qbdhhgha.js → session-7gv5bdgm.js} +8 -8
- package/dist/chunks/session-7zk4hah4.js +4 -0
- package/dist/chunks/{file-rbr603f4.js → session-83at72gv.js} +11 -11
- package/dist/chunks/{file-x7s30cxw.js → session-84kxd1n4.js} +11 -11
- package/dist/chunks/{file-86s3977f.js → session-86s3977f.js} +1 -1
- package/dist/chunks/{file-ktd0vvh7.js → session-87smybrf.js} +26 -26
- package/dist/chunks/{file-rt96k8tb.js → session-8j93e5xs.js} +20 -20
- package/dist/chunks/{file-7xhvt7yp.js → session-8n4fjbmr.js} +8 -8
- package/dist/chunks/{file-0ra6fv6k.js → session-8szhmwn7.js} +47 -47
- package/dist/chunks/{file-56jkv05n.js → session-92ttya6d.js} +9 -9
- package/dist/chunks/{file-93a8yfjt.js → session-93a8yfjt.js} +2 -2
- package/dist/chunks/{file-393yfw74.js → session-98grnphf.js} +20 -20
- package/dist/chunks/{file-52ba2sra.js → session-9pk3p303.js} +8 -8
- package/dist/chunks/{file-8yy07cq2.js → session-9q7d80ra.js} +14 -14
- package/dist/chunks/{file-9qm9egsn.js → session-9qm9egsn.js} +2 -2
- package/dist/chunks/{file-5yabaxsy.js → session-9y4a5m7y.js} +14 -14
- package/dist/chunks/{file-htpahddg.js → session-9y4cjape.js} +18 -18
- package/dist/chunks/{file-2ks0faxf.js → session-a78pknby.js} +20 -20
- package/dist/chunks/{file-aaet6srn.js → session-aaet6srn.js} +2 -2
- package/dist/chunks/{file-ajtjthsy.js → session-ajtjthsy.js} +2 -2
- package/dist/chunks/{file-b6gygkdw.js → session-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-b9wsbatv.js → session-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-tqr9qcpa.js → session-bamjcx2k.js} +283 -283
- package/dist/chunks/{file-dq20fsr2.js → session-bgwx2zk1.js} +9 -9
- package/dist/chunks/{file-23d81xme.js → session-bm40x1qd.js} +22 -22
- package/dist/chunks/{file-3gt9pd4h.js → session-bzgcd8ct.js} +24 -24
- package/dist/chunks/{file-pm0tagmj.js → session-c7sdkgzs.js} +24 -24
- package/dist/chunks/{file-ddt2bs9e.js → session-ca7w653e.js} +4 -4
- package/dist/chunks/{file-m3y8433b.js → session-cqv4qzc3.js} +8 -8
- package/dist/chunks/{file-cq35m6me.js → session-d4fyz6jk.js} +2 -2
- package/dist/chunks/{file-warfykcc.js → session-d5nmy0ep.js} +16 -16
- package/dist/chunks/{file-d72308c8.js → session-d72308c8.js} +2 -2
- package/dist/chunks/{file-pmr4s4kc.js → session-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-e7gxy7fd.js → session-djtdz80w.js} +4 -4
- package/dist/chunks/{file-jdv57epv.js → session-e4dgvvze.js} +53 -53
- package/dist/chunks/{file-e5b0qn1c.js → session-e5b0qn1c.js} +1 -1
- package/dist/chunks/{file-ss0awb04.js → session-e6hd9jay.js} +6 -6
- package/dist/chunks/{file-bnbv6b5n.js → session-e9snx1sv.js} +4 -4
- package/dist/chunks/{file-vdwwn6k7.js → session-eb5hvjq0.js} +9 -9
- package/dist/chunks/{file-wv9b9khx.js → session-ecx8qs62.js} +11 -11
- package/dist/chunks/{file-806j49yq.js → session-edrmdtr5.js} +7 -7
- package/dist/chunks/{file-5sev6q9t.js → session-efewvhem.js} +19 -19
- package/dist/chunks/{file-eg21w5vj.js → session-egw5w7de.js} +7 -7
- package/dist/chunks/{file-9tjsbxxt.js → session-ej1cjmmj.js} +4 -4
- package/dist/chunks/{file-5wbhqr4j.js → session-ek8ykwvv.js} +15 -15
- package/dist/chunks/{file-3mpy6pnz.js → session-em64c7fc.js} +11 -11
- package/dist/chunks/{file-2qvrqzxh.js → session-er9n0m1v.js} +24 -24
- package/dist/chunks/{file-mhj7q8tw.js → session-fca9s3tf.js} +19 -19
- package/dist/chunks/{file-gs14xg9r.js → session-fv2zgjwj.js} +9 -9
- package/dist/chunks/{file-savfhqcd.js → session-fwm5qdh2.js} +16 -16
- package/dist/chunks/{file-fxbjtjnd.js → session-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-fxypknc8.js → session-fxypknc8.js} +1 -1
- package/dist/chunks/{file-g41n1fn3.js → session-g41n1fn3.js} +1 -1
- package/dist/chunks/{file-ssq3ctr8.js → session-g963r9r4.js} +4 -4
- package/dist/chunks/{file-vb6d33pa.js → session-gacg7ezd.js} +10 -10
- package/dist/chunks/{file-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-4yrtw206.js → session-gy92dee3.js} +26 -26
- package/dist/chunks/{file-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-heyhwy2w.js → session-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-gzqptw1h.js → session-hha4zry8.js} +20 -20
- package/dist/chunks/{file-hrvm11jt.js → session-hrvm11jt.js} +3 -3
- package/dist/chunks/{file-5bype6kp.js → session-hrwsywca.js} +32 -32
- package/dist/chunks/{file-kvsjn1dr.js → session-hw4pv20g.js} +2 -2
- package/dist/chunks/{file-bgt6msk1.js → session-j3apsvbv.js} +2 -2
- package/dist/chunks/{file-fngqvgwt.js → session-j3pby61b.js} +6 -6
- package/dist/chunks/{file-5qd3pb7m.js → session-j935v87r.js} +2 -2
- package/dist/chunks/{file-31wgk69v.js → session-jbx3xvkx.js} +3 -3
- package/dist/chunks/{file-ay8rbhkk.js → session-jn1w34ja.js} +20 -20
- package/dist/chunks/{file-gzd7t3bg.js → session-jrpeh8d2.js} +4 -4
- package/dist/chunks/{file-6w7e9vmm.js → session-jvfahvjt.js} +8 -8
- package/dist/chunks/{file-jwcy2c2z.js → session-jwcy2c2z.js} +1 -1
- package/dist/chunks/{file-xe98bsrz.js → session-jy1b6ewz.js} +11 -11
- package/dist/chunks/{file-htzwhb48.js → session-k4bj2yce.js} +30 -30
- package/dist/chunks/{file-k4bwy1x5.js → session-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-kg06axw8.js → session-kg06axw8.js} +1 -1
- package/dist/chunks/{file-a90asjze.js → session-khg7wmvg.js} +16 -16
- package/dist/chunks/{file-xj15198g.js → session-krd0bj29.js} +17 -17
- package/dist/chunks/{file-qegxstwz.js → session-kvrwf3pk.js} +14 -14
- package/dist/chunks/{file-mgz9ynfp.js → session-m35s3e48.js} +9 -9
- package/dist/chunks/{file-yvfkj8fv.js → session-m3fm0fm8.js} +5 -5
- package/dist/chunks/{file-jtxgx949.js → session-m6ref827.js} +27 -27
- package/dist/chunks/{file-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mcxg6pmm.js → session-mcxg6pmm.js} +1 -1
- package/dist/chunks/{file-yyeephfg.js → session-mdbg29km.js} +9 -9
- package/dist/chunks/{file-yrfjzgmk.js → session-mh7ybtnt.js} +41 -41
- package/dist/chunks/{file-mhkvc446.js → session-mhkvc446.js} +1 -1
- package/dist/chunks/{file-9anj5k29.js → session-mjmwg246.js} +46 -46
- package/dist/chunks/{file-9cr7q51e.js → session-mjqa4ah0.js} +34 -34
- package/dist/chunks/{file-dmhyt8yz.js → session-mwjfjpe1.js} +9 -9
- package/dist/chunks/{file-dv4a4bvf.js → session-mx85t2yq.js} +24 -24
- package/dist/chunks/{file-dwh2jwen.js → session-mzwqtm94.js} +13 -13
- package/dist/chunks/{file-b4cqkbph.js → session-n2bs5rn6.js} +9 -9
- package/dist/chunks/{file-t8rvmjzx.js → session-n38rkygq.js} +20 -20
- package/dist/chunks/{file-z787d7xj.js → session-nax573hd.js} +20 -20
- package/dist/chunks/{file-nbrney8w.js → session-nn7rvrn2.js} +20 -20
- package/dist/chunks/{file-3gn7n68r.js → session-npp63b0x.js} +22 -22
- package/dist/chunks/{file-adphmdvg.js → session-nqsjc2sz.js} +37 -37
- package/dist/chunks/{file-t3kn21v8.js → session-ntdm8fkt.js} +17 -17
- package/dist/chunks/{file-3s09vvne.js → session-nth65dz9.js} +24 -24
- package/dist/chunks/{file-apz83yk1.js → session-nx6avvy5.js} +10 -10
- package/dist/chunks/{file-nxhj2y70.js → session-nxhj2y70.js} +4 -4
- package/dist/chunks/{file-44c9khjj.js → session-p6pnan0z.js} +17 -17
- package/dist/chunks/{file-rnpxyh9g.js → session-pgaghrd6.js} +4 -4
- package/dist/chunks/{file-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pj7daft9.js → session-pkjas4h9.js} +15 -15
- package/dist/chunks/{file-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{file-0dnzd248.js → session-ppkpjgys.js} +17 -17
- package/dist/chunks/{file-x5wcxb38.js → session-ps9kfsxp.js} +12 -12
- package/dist/chunks/{file-p0y053rc.js → session-pt70tw8e.js} +82 -82
- package/dist/chunks/{file-zg2n6y4t.js → session-pw559tdx.js} +27 -27
- package/dist/chunks/{file-sp5wnj6d.js → session-q13zt0rt.js} +6 -6
- package/dist/chunks/{file-5vw9vvj4.js → session-q1ap3bya.js} +41 -41
- package/dist/chunks/{file-c29f3tza.js → session-q6j65b7y.js} +82 -82
- package/dist/chunks/{file-r5aexrb8.js → session-qbwsjg4y.js} +56 -56
- package/dist/chunks/{file-gjcg6yxb.js → session-qf4fh2md.js} +8 -8
- package/dist/chunks/{file-7q8get4d.js → session-qm1p4vma.js} +15 -15
- package/dist/chunks/{file-d70vn4jc.js → session-qnmg9m6w.js} +19 -19
- package/dist/chunks/{file-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{file-wmjd8bny.js → session-qtde2qpd.js} +33 -33
- package/dist/chunks/{file-4cd1d9ca.js → session-qxrtgzhn.js} +32 -32
- package/dist/chunks/{file-p4vn8k5j.js → session-qygjny4b.js} +8 -8
- package/dist/chunks/{file-sdr42knk.js → session-r1x0ce7m.js} +21 -21
- package/dist/chunks/{file-a5bfcrc3.js → session-r4rxbb2t.js} +15 -15
- package/dist/chunks/{file-r8dhm0tv.js → session-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-jzajgxa4.js → session-rbwftchb.js} +11 -11
- package/dist/chunks/{file-racpc5qj.js → session-rcrz2f46.js} +31 -31
- package/dist/chunks/{file-rmy3e5eg.js → session-rmy3e5eg.js} +1 -1
- package/dist/chunks/{file-rzsjt7my.js → session-rzsjt7my.js} +3 -3
- package/dist/chunks/{file-agwngab4.js → session-s0jf0z46.js} +11 -11
- package/dist/chunks/{file-h7qsvcff.js → session-s2yfzr0x.js} +2 -2
- package/dist/chunks/{file-s3eqpch7.js → session-s3eqpch7.js} +1 -1
- package/dist/chunks/{file-w3jym6ha.js → session-saak5ttd.js} +9 -9
- package/dist/chunks/{file-sba4qhjf.js → session-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-famd3pv6.js → session-sh7bh2kf.js} +5 -5
- package/dist/chunks/{file-sy5x4sx3.js → session-spwgm08d.js} +3 -3
- package/dist/chunks/{file-3gcnb1p9.js → session-svrpwktq.js} +9 -9
- package/dist/chunks/{file-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → session-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-s9eewxz3.js → session-tckp1j5y.js} +3 -3
- package/dist/chunks/{file-h3y0pe43.js → session-te02k642.js} +33 -33
- package/dist/chunks/{file-kped6ekd.js → session-tgbem4ss.js} +20 -20
- package/dist/chunks/{file-thfv75je.js → session-thfv75je.js} +2 -2
- package/dist/chunks/{file-tjykrgmx.js → session-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-wcs07xvw.js → session-tr2r56k3.js} +15 -15
- package/dist/chunks/{file-age2sz3e.js → session-tzwfg5hj.js} +11 -11
- package/dist/chunks/{file-acqtp7e5.js → session-v5m9qfmy.js} +13 -13
- package/dist/chunks/{file-t7tn68wt.js → session-v7p1qd80.js} +11 -11
- package/dist/chunks/{file-44v8yfq1.js → session-v8v7w6fv.js} +4 -4
- package/dist/chunks/{file-95knx934.js → session-vaak15ye.js} +16 -16
- package/dist/chunks/{file-csk50r35.js → session-vavk4pfm.js} +33 -33
- package/dist/chunks/{file-8vny5c8e.js → session-vfa7vgdt.js} +12 -12
- package/dist/chunks/{file-ghw4ap3q.js → session-vftcyset.js} +31 -31
- package/dist/chunks/{file-3pcz81vc.js → session-vnt7ze4s.js} +4 -4
- package/dist/chunks/{file-zxc2kv8n.js → session-vp0rf33z.js} +4 -4
- package/dist/chunks/{file-45a3e49b.js → session-vqnm39r0.js} +9 -9
- package/dist/chunks/{file-vsr56sgz.js → session-vsr56sgz.js} +1 -1
- package/dist/chunks/{file-37b314vz.js → session-vwvvp157.js} +9 -9
- package/dist/chunks/{file-w0v6yqj2.js → session-vxg864v9.js} +13 -13
- package/dist/chunks/{file-tt070hms.js → session-w1w9qes5.js} +1 -1
- package/dist/chunks/{file-tbeh7nm8.js → session-w3628pf0.js} +9 -9
- package/dist/chunks/{file-a00nymdn.js → session-w3jjk181.js} +9 -9
- package/dist/chunks/{file-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{file-wgxn7ww3.js → session-wgxn7ww3.js} +2 -2
- package/dist/chunks/{file-amz8x7m9.js → session-wjvq9b7z.js} +24 -24
- package/dist/chunks/{file-pwsfrk47.js → session-wk20761v.js} +24 -24
- package/dist/chunks/{file-5nt6w6m1.js → session-wm6pwq74.js} +9 -9
- package/dist/chunks/{file-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-qjhp7fv4.js → session-xfrftg31.js} +30 -30
- package/dist/chunks/{file-mvbayggv.js → session-xgfwkkrf.js} +5 -5
- package/dist/chunks/{file-ge17c2r8.js → session-xk40txbb.js} +8 -8
- package/dist/chunks/{file-0jd66zyb.js → session-xky3aqr0.js} +56 -56
- package/dist/chunks/{file-m1k88j08.js → session-xp3tymbh.js} +14 -14
- package/dist/chunks/{file-xqsy6kp0.js → session-xqsy6kp0.js} +1 -1
- package/dist/chunks/{file-y8wzqhpp.js → session-xsvcmxep.js} +15 -15
- package/dist/chunks/{file-3skezffz.js → session-xvcttetg.js} +10 -10
- package/dist/chunks/{file-6svk08be.js → session-xvkrt86w.js} +24 -24
- package/dist/chunks/{file-mrvbr3wc.js → session-xzg7katx.js} +26 -26
- package/dist/chunks/{file-y01np14z.js → session-y01np14z.js} +3 -3
- package/dist/chunks/{file-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-8vfvt1k8.js → session-y430n1rx.js} +6 -6
- package/dist/chunks/{file-wr98cg9s.js → session-y6sxghsa.js} +56 -56
- package/dist/chunks/{file-bxb1xesv.js → session-y9j759kk.js} +4 -4
- package/dist/chunks/{file-yfbd16n1.js → session-yfbd16n1.js} +2 -2
- package/dist/chunks/{file-9p3t057d.js → session-yjmhwj7v.js} +9 -9
- package/dist/chunks/{file-h44eeaqk.js → session-ym5x9jxc.js} +41 -41
- package/dist/chunks/{file-k12apaej.js → session-z00rzy17.js} +5 -5
- package/dist/chunks/{file-z1k01bn4.js → session-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-29x78va6.js → session-z63w68vq.js} +6 -6
- package/dist/chunks/{file-t1jgjt3q.js → session-zjqef28p.js} +5 -5
- package/dist/chunks/{file-zn2pq4p8.js → session-zn2pq4p8.js} +2 -2
- package/dist/chunks/{file-ctb8fb4q.js → session-zr7byz86.js} +31 -31
- package/dist/chunks/{file-hkv0byyz.js → session-zt4h1x9p.js} +9 -9
- package/dist/chunks/{file-v83v14r5.js → session-zt81hpm2.js} +10 -10
- package/dist/chunks/{file-zxq2ej10.js → session-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-sepmzhrx.js → session-zy5e4jbn.js} +18 -18
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +87 -87
- 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 +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +2 -2
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +333 -333
- package/dist/plugin/system-prompt.js +1 -1
- 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 +109 -109
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +89 -89
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +113 -113
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- 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 +13 -13
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +7 -7
- package/dist/chunks/file-4y7bcn0g.js +0 -4
- package/dist/chunks/file-n95b3jav.js +0 -18
- package/dist/chunks/file-trrz6gpv.js +0 -243
- package/dist/chunks/file-xraadc2q.js +0 -22
- /package/dist/chunks/{file-0fabt78z.js → session-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3t738kvx.js → session-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-41nvscxy.js → session-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-982e01ww.js → session-982e01ww.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a1tpkmh4.js → session-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mntxs535.js → session-mntxs535.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-p8qxwesx.js → session-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-se0s1eqw.js → session-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → session-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x1b8g1yb.js → session-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → session-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → session-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-zbjnn3ac.js → session-zbjnn3ac.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-9qm9egsn.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service75,
|
|
7
|
-
node78
|
|
8
|
-
} from "./file-3skezffz.js";
|
|
4
|
+
} from "./session-vnt7ze4s.js";
|
|
9
5
|
import {
|
|
10
6
|
Service73,
|
|
11
7
|
node76
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./session-xvcttetg.js";
|
|
9
|
+
import {
|
|
10
|
+
Service71,
|
|
11
|
+
node74
|
|
12
|
+
} from "./session-krd0bj29.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-619r8v3y.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service47,
|
|
18
|
+
node49
|
|
19
|
+
} from "./session-98grnphf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node24
|
|
22
|
+
} from "./session-bm40x1qd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service11,
|
|
25
|
+
node13
|
|
26
|
+
} from "./session-eb5hvjq0.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service71;
|
|
47
|
+
const watcher = yield* Service47;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service73;
|
|
51
|
+
const policy = yield* Service11;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node49, FSUtil.node, node74, node76, node83, node24, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-d4fyz6jk.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node78,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node78 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node78, exports_driver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load3() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-5xy06vd8.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-w1w9qes5.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./session-qbwsjg4y.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input8,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin8,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name8 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input8 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input6 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input8.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin8 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service55;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name8,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description3,
|
|
104
|
-
input:
|
|
104
|
+
input: Input8,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin36 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name8,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input8, Plugin8, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin9
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart, ToolFailure } from "@opencode-ai/ai";
|
|
13
13
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
@@ -20,7 +20,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
20
20
|
})
|
|
21
21
|
});
|
|
22
22
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
23
|
-
var
|
|
23
|
+
var Plugin9 = {
|
|
24
24
|
id: "opencode.tools",
|
|
25
25
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
26
26
|
yield* ctx.session.hook("context", (event) => Effect.sync(() => {
|
|
@@ -51,4 +51,4 @@ var Plugin38 = {
|
|
|
51
51
|
})
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
export { MoveInput2,
|
|
54
|
+
export { MoveInput2, Plugin9, exports_opencode };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service45,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service45 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service45, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service45.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service55, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node47 = makeGlobalNode({ service: Service45, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service45, node47, exports_environment };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./session-hha4zry8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent3 };
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./session-wk20761v.js";
|
|
4
4
|
import {
|
|
5
5
|
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-zt4h1x9p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service14
|
|
11
|
+
} from "./session-xsvcmxep.js";
|
|
12
12
|
import {
|
|
13
13
|
externalDirectoryPermission2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./session-d5nmy0ep.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service55
|
|
18
|
+
} from "./session-qbwsjg4y.js";
|
|
19
19
|
import {
|
|
20
20
|
fileDiff2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-6prwharc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/write.ts
|
|
27
27
|
var exports_write = {};
|
|
28
28
|
__export(exports_write, {
|
|
29
|
-
Input: () =>
|
|
30
|
-
Output: () =>
|
|
31
|
-
Plugin: () =>
|
|
29
|
+
Input: () => Input6,
|
|
30
|
+
Output: () => Output4,
|
|
31
|
+
Plugin: () => Plugin6,
|
|
32
32
|
WriteTool: () => exports_write,
|
|
33
|
-
name: () =>
|
|
34
|
-
toModelContent: () =>
|
|
33
|
+
name: () => name6,
|
|
34
|
+
toModelContent: () => toModelContent4
|
|
35
35
|
});
|
|
36
36
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
37
37
|
import { Effect, Schema } from "effect";
|
|
38
38
|
import { Bom } from "@opencode-ai/util/bom";
|
|
39
|
-
var
|
|
40
|
-
var
|
|
39
|
+
var name6 = "write";
|
|
40
|
+
var Input6 = Schema.Struct({
|
|
41
41
|
path: Schema.String.annotate({
|
|
42
42
|
description: "Path to the file to write to"
|
|
43
43
|
}),
|
|
44
44
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
45
45
|
});
|
|
46
|
-
var
|
|
46
|
+
var Output4 = Schema.Struct({
|
|
47
47
|
operation: Schema.Literal("write"),
|
|
48
48
|
target: Schema.String,
|
|
49
49
|
resource: Schema.String,
|
|
50
50
|
existed: Schema.Boolean
|
|
51
51
|
});
|
|
52
|
-
var
|
|
53
|
-
var
|
|
52
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
53
|
+
var Plugin6 = {
|
|
54
54
|
id: "opencode.tool.write",
|
|
55
55
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
56
|
-
const mutation = yield*
|
|
56
|
+
const mutation = yield* Service17;
|
|
57
57
|
const fileMutation = yield* Service16;
|
|
58
|
-
const environment = yield*
|
|
59
|
-
const formatter = yield*
|
|
60
|
-
const permission = yield*
|
|
58
|
+
const environment = yield* Service70;
|
|
59
|
+
const formatter = yield* Service14;
|
|
60
|
+
const permission = yield* Service55;
|
|
61
61
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
62
|
-
name:
|
|
62
|
+
name: name6,
|
|
63
63
|
options: { codemode: false, permission: "edit" },
|
|
64
64
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
65
65
|
|
|
66
66
|
Missing parent directories are created automatically.
|
|
67
67
|
|
|
68
68
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
69
|
-
input:
|
|
70
|
-
output:
|
|
69
|
+
input: Input6,
|
|
70
|
+
output: Output4,
|
|
71
71
|
execute: (input, context) => Effect.gen(function* () {
|
|
72
72
|
const source = {
|
|
73
73
|
type: "tool",
|
|
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
101
101
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
102
102
|
}
|
|
103
103
|
return result;
|
|
104
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
104
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
105
105
|
})).pipe(Effect.orDie);
|
|
106
106
|
})
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { name6, Input6, Output4, toModelContent4, Plugin6, exports_write };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service71,
|
|
3
|
+
node74
|
|
4
|
+
} from "./session-krd0bj29.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
make19,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-6e958v7x.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service43,
|
|
19
|
+
node: () => node45
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode-ai/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service43 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service71;
|
|
29
|
+
return Service43.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make19({
|
|
32
|
-
key:
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -50,7 +50,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
52
|
make19({
|
|
53
|
-
key:
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node45 = makeLocationNode({ service: Service43, layer, deps: [Global.node, node74] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service43, node45, exports_builtins };
|