@opencode-ai/core 0.0.0-dev-19097 → 0.0.0-dev-19100
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 +79 -79
- 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 +80 -80
- package/dist/chunks/{file-a00nymdn.js → job-06ehnqe9.js} +9 -9
- package/dist/chunks/{file-yyeephfg.js → job-0946avfs.js} +16 -16
- package/dist/chunks/{file-ctb8fb4q.js → job-0amrg371.js} +32 -32
- package/dist/chunks/{file-0e0xafbb.js → job-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-gzqptw1h.js → job-0k72pry1.js} +4 -4
- package/dist/chunks/{file-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0s9ayhjt.js → job-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-k12apaej.js → job-0w09pq9x.js} +5 -5
- package/dist/chunks/{file-msqakgxm.js → job-10qv4wd5.js} +8 -8
- package/dist/chunks/{file-5sev6q9t.js → job-18832vz4.js} +19 -19
- package/dist/chunks/{file-1ct4r87x.js → job-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-3pcz81vc.js → job-1eq7j3rm.js} +4 -4
- package/dist/chunks/{file-htpahddg.js → job-1g6w0xr7.js} +18 -18
- package/dist/chunks/{file-5wbhqr4j.js → job-1xqencwf.js} +15 -15
- package/dist/chunks/{file-g41n1fn3.js → job-1ymqjxt6.js} +5 -5
- package/dist/chunks/{file-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{file-2402vzrj.js → job-2402vzrj.js} +1 -1
- package/dist/chunks/job-25sqyrs3.js +22 -0
- package/dist/chunks/{file-c0faa19c.js → job-28pcbh69.js} +8 -8
- package/dist/chunks/{file-29x78va6.js → job-29x78va6.js} +2 -2
- package/dist/chunks/{file-c29f3tza.js → job-2a0xfsw9.js} +84 -84
- package/dist/chunks/{file-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-cmhmpn4v.js → job-2amnen0r.js} +22 -22
- package/dist/chunks/{file-h7qsvcff.js → job-2h5svvvd.js} +2 -2
- package/dist/chunks/{file-2ht70gj7.js → job-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-agwngab4.js → job-2jckzm9c.js} +11 -11
- package/dist/chunks/{file-2jqmte8w.js → job-2jqmte8w.js} +2 -2
- package/dist/chunks/{file-0jwsre1p.js → job-2k8khapm.js} +5 -5
- package/dist/chunks/{file-er9yxp35.js → job-2wqt9t8b.js} +158 -158
- package/dist/chunks/{file-yrfjzgmk.js → job-31s1nbqh.js} +43 -43
- package/dist/chunks/{file-d70vn4jc.js → job-35mhrkea.js} +19 -19
- package/dist/chunks/{file-gdvy8fx6.js → job-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-3qzbfqsy.js → job-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-7a9jwpx3.js → job-4172h78j.js} +4 -4
- package/dist/chunks/{file-454k5vzh.js → job-454k5vzh.js} +1 -1
- package/dist/chunks/{file-a5bfcrc3.js → job-45em0vfw.js} +12 -12
- package/dist/chunks/{file-wndntwen.js → job-45nbt49a.js} +9 -9
- package/dist/chunks/{file-warfykcc.js → job-4k0h8fvt.js} +16 -16
- package/dist/chunks/{file-r3pbnjm9.js → job-4kkh8pys.js} +7 -7
- package/dist/chunks/{file-qk91dsd0.js → job-4ncfc14q.js} +6 -6
- package/dist/chunks/{file-4r2nyarf.js → job-4r2nyarf.js} +1 -1
- package/dist/chunks/{file-56jkv05n.js → job-4zqg48kz.js} +9 -9
- package/dist/chunks/{file-a90asjze.js → job-5721agwt.js} +19 -19
- package/dist/chunks/{file-9cr7q51e.js → job-595aw0pg.js} +36 -36
- package/dist/chunks/{file-d1n19zpc.js → job-5c5mxy69.js} +34 -34
- package/dist/chunks/{file-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{file-rbr603f4.js → job-5faehdjc.js} +11 -11
- package/dist/chunks/{file-5fmxt4p5.js → job-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-t3kn21v8.js → job-5frspsv4.js} +17 -17
- package/dist/chunks/{file-5jvc5tg2.js → job-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-mrvbr3wc.js → job-5pd5qg07.js} +26 -26
- package/dist/chunks/{file-5sg4xzjf.js → job-5sg4xzjf.js} +1 -1
- package/dist/chunks/{file-w9vya7g1.js → job-5t1zbbry.js} +21 -21
- package/dist/chunks/{file-xj15198g.js → job-5y476dvm.js} +17 -17
- package/dist/chunks/{file-4cd1d9ca.js → job-5zhf1z2n.js} +32 -32
- package/dist/chunks/{file-wcs07xvw.js → job-62s86swy.js} +18 -18
- package/dist/chunks/{file-qegxstwz.js → job-65gnmf57.js} +14 -14
- package/dist/chunks/{file-jtxgx949.js → job-65gz9r6e.js} +22 -22
- package/dist/chunks/{file-34h2c5qc.js → job-66d911n1.js} +10 -10
- package/dist/chunks/{file-8vfvt1k8.js → job-69ayqp0q.js} +6 -6
- package/dist/chunks/{file-w3jym6ha.js → job-6abnk40k.js} +6 -6
- package/dist/chunks/{file-dv4a4bvf.js → job-6b15sfh8.js} +21 -21
- package/dist/chunks/{file-95knx934.js → job-6ebcx9xt.js} +18 -18
- package/dist/chunks/{file-6tf8tr4v.js → job-6tf8tr4v.js} +2 -2
- package/dist/chunks/{file-5bype6kp.js → job-6v59swkn.js} +33 -33
- package/dist/chunks/{file-711hfp6y.js → job-711hfp6y.js} +2 -2
- package/dist/chunks/{file-eg21w5vj.js → job-74kf6wkb.js} +7 -7
- package/dist/chunks/{file-pfzekb22.js → job-76rzm6aj.js} +28 -28
- package/dist/chunks/{file-qjhp7fv4.js → job-78bankzg.js} +26 -26
- package/dist/chunks/{file-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-sepmzhrx.js → job-7fvhnn29.js} +17 -17
- package/dist/chunks/{file-6sjzp24x.js → job-7gt73157.js} +39 -39
- package/dist/chunks/{file-p0y053rc.js → job-7k7y8275.js} +75 -75
- package/dist/chunks/{file-mcxg6pmm.js → job-7npnyrdg.js} +1 -1
- package/dist/chunks/{file-7xhvt7yp.js → job-7vhmdqap.js} +8 -8
- package/dist/chunks/job-7zk4hah4.js +4 -0
- package/dist/chunks/{file-dq20fsr2.js → job-882hrpbs.js} +9 -9
- package/dist/chunks/{file-csk50r35.js → job-8c44xd3t.js} +33 -33
- package/dist/chunks/{file-pnb07w7m.js → job-8h9fkwdc.js} +9 -9
- package/dist/chunks/{file-x6te443c.js → job-8v1r77nv.js} +40 -40
- package/dist/chunks/{file-ktd0vvh7.js → job-91cfcvzb.js} +23 -23
- package/dist/chunks/{file-mgz9ynfp.js → job-92gfg2p2.js} +9 -9
- package/dist/chunks/{file-93a8yfjt.js → job-93a8yfjt.js} +2 -2
- package/dist/chunks/{file-3skezffz.js → job-9d04b11k.js} +10 -10
- package/dist/chunks/{file-s3eqpch7.js → job-9egx1b5f.js} +1 -1
- package/dist/chunks/{file-bxb1xesv.js → job-9gq6sz2t.js} +4 -4
- package/dist/chunks/{file-x7s30cxw.js → job-9gtkrrg6.js} +11 -11
- package/dist/chunks/{file-9qm9egsn.js → job-9qm9egsn.js} +2 -2
- package/dist/chunks/{file-6w7e9vmm.js → job-9vcfn3x3.js} +8 -8
- package/dist/chunks/{file-ge17c2r8.js → job-a72q18ty.js} +5 -5
- package/dist/chunks/{file-yvfkj8fv.js → job-a9zfrvqc.js} +5 -5
- package/dist/chunks/{file-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{file-44c9khjj.js → job-abv4wn07.js} +15 -15
- package/dist/chunks/{file-8vny5c8e.js → job-ac41bq3y.js} +12 -12
- package/dist/chunks/{file-fxcmktmy.js → job-acsbsfnf.js} +13 -13
- package/dist/chunks/{file-m3y8433b.js → job-ahkm12yq.js} +8 -8
- package/dist/chunks/{file-ajtjthsy.js → job-ajtjthsy.js} +2 -2
- package/dist/chunks/{file-fngqvgwt.js → job-aweyc29q.js} +6 -6
- package/dist/chunks/{file-h39sbrp5.js → job-b23jn8gs.js} +7 -7
- package/dist/chunks/{file-4nrfgs5y.js → job-b2y7cwzc.js} +6 -6
- package/dist/chunks/{file-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-b9wsbatv.js → job-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-thfv75je.js → job-bcezcar3.js} +5 -5
- package/dist/chunks/{file-pmr4s4kc.js → job-bf0ztrs3.js} +4 -4
- package/dist/chunks/{file-jz1jqtks.js → job-bfmmzv3y.js} +9 -9
- package/dist/chunks/{file-mhj7q8tw.js → job-bq4dtbh2.js} +29 -29
- package/dist/chunks/{file-4zzhap0t.js → job-byjwva70.js} +19 -19
- package/dist/chunks/{file-vk57arp5.js → job-c10fbwpz.js} +33 -33
- package/dist/chunks/{file-tqr9qcpa.js → job-c6w4sqp6.js} +278 -278
- package/dist/chunks/{file-gzd7t3bg.js → job-ce9ncmzb.js} +4 -4
- package/dist/chunks/{file-rnpxyh9g.js → job-cf3nzdp7.js} +4 -4
- package/dist/chunks/{file-fjvydvzm.js → job-cf3tj770.js} +4 -4
- package/dist/chunks/{file-4yrtw206.js → job-cgsm4ny8.js} +24 -24
- package/dist/chunks/{file-8nv4cyba.js → job-cswytkgq.js} +44 -44
- package/dist/chunks/{file-d72308c8.js → job-d72308c8.js} +2 -2
- package/dist/chunks/{file-0dnzd248.js → job-d8e75fze.js} +20 -20
- package/dist/chunks/{file-jzajgxa4.js → job-d8v5a05d.js} +11 -11
- package/dist/chunks/{file-ctg8zr71.js → job-djr7m0g5.js} +19 -19
- package/dist/chunks/{file-racpc5qj.js → job-dmfj988w.js} +31 -31
- package/dist/chunks/job-dxj72tfx.js +18 -0
- package/dist/chunks/{file-14hmenm3.js → job-dxpa8sj6.js} +3 -3
- package/dist/chunks/{file-4wm41xfy.js → job-e4kkw97y.js} +11 -11
- package/dist/chunks/{file-apz83yk1.js → job-e5687zp2.js} +10 -10
- package/dist/chunks/{file-2ks0faxf.js → job-e999m61r.js} +18 -18
- package/dist/chunks/{file-rmy3e5eg.js → job-eart6cj3.js} +3 -3
- package/dist/chunks/{file-wv9b9khx.js → job-ecez4qqn.js} +11 -11
- package/dist/chunks/{file-keytvqp3.js → job-eexzqnt3.js} +20 -20
- package/dist/chunks/{file-w2cy7nem.js → job-ejg3r42z.js} +10 -10
- package/dist/chunks/{file-amz8x7m9.js → job-eqb4av08.js} +19 -19
- package/dist/chunks/{file-xqsy6kp0.js → job-eqkrc45d.js} +1 -1
- package/dist/chunks/{file-b4cqkbph.js → job-ewewazbk.js} +9 -9
- package/dist/chunks/{file-9d0173er.js → job-ex99dnp9.js} +9 -9
- package/dist/chunks/{file-rzsjt7my.js → job-f7kbfcfh.js} +12 -12
- package/dist/chunks/{file-famd3pv6.js → job-famd3pv6.js} +2 -2
- package/dist/chunks/{file-pka6fkme.js → job-fqygmygp.js} +31 -31
- package/dist/chunks/{file-r5aexrb8.js → job-ft2ykv9q.js} +49 -49
- package/dist/chunks/{file-xn93qykn.js → job-fw75d2j2.js} +16 -16
- package/dist/chunks/{file-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-fxypknc8.js → job-fxypknc8.js} +1 -1
- package/dist/chunks/{file-adphmdvg.js → job-fyk6bpvp.js} +37 -37
- package/dist/chunks/{file-2xxac57g.js → job-g71sejg1.js} +11 -11
- package/dist/chunks/{file-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-gs14xg9r.js → job-gjb9fvjc.js} +9 -9
- package/dist/chunks/{file-pwsfrk47.js → job-gkhj65gm.js} +24 -24
- package/dist/chunks/{file-3gn7n68r.js → job-gmrcnqc8.js} +22 -22
- package/dist/chunks/{file-dmhyt8yz.js → job-h0yr2gfs.js} +9 -9
- package/dist/chunks/{file-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-7b280chh.js → job-h9bwyndq.js} +6 -6
- package/dist/chunks/{file-w7pcjcgc.js → job-hb548ks1.js} +11 -11
- package/dist/chunks/{file-hkv0byyz.js → job-hdja7q8b.js} +12 -12
- package/dist/chunks/{file-heyhwy2w.js → job-heyhwy2w.js} +1 -1
- package/dist/chunks/job-hrk0pm50.js +243 -0
- package/dist/chunks/{file-hrvm11jt.js → job-hrvm11jt.js} +3 -3
- package/dist/chunks/{file-mhkvc446.js → job-j028xdjb.js} +3 -3
- package/dist/chunks/{file-3mpy6pnz.js → job-j2g5j66x.js} +11 -11
- package/dist/chunks/{file-mvbayggv.js → job-j36tnve8.js} +5 -5
- package/dist/chunks/{file-ghw4ap3q.js → job-jbqt9jv7.js} +31 -31
- package/dist/chunks/{file-3gt9pd4h.js → job-jdahdk5n.js} +24 -24
- package/dist/chunks/{file-806j49yq.js → job-jfqtm2ew.js} +4 -4
- package/dist/chunks/{file-vsr56sgz.js → job-jp40s068.js} +1 -1
- package/dist/chunks/{file-s9eewxz3.js → job-jrh6xn4c.js} +3 -3
- package/dist/chunks/{file-jdv57epv.js → job-jvh5jvbh.js} +46 -46
- package/dist/chunks/{file-jwcy2c2z.js → job-jwcy2c2z.js} +1 -1
- package/dist/chunks/{file-k4bwy1x5.js → job-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-23d81xme.js → job-k6mws45t.js} +20 -20
- package/dist/chunks/{file-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{file-yfbd16n1.js → job-kk3rr3qh.js} +5 -5
- package/dist/chunks/{file-0ez61b8c.js → job-ktk9a21d.js} +2 -2
- package/dist/chunks/{file-kvsjn1dr.js → job-kvsjn1dr.js} +2 -2
- package/dist/chunks/{file-x5wcxb38.js → job-ky7swqx3.js} +16 -16
- package/dist/chunks/{file-yqgv8gzc.js → job-m5jxsawq.js} +6 -6
- package/dist/chunks/{file-ddt2bs9e.js → job-m70sbz6t.js} +4 -4
- package/dist/chunks/{file-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-t23z101x.js → job-mappsm8s.js} +4 -4
- package/dist/chunks/{file-bnbv6b5n.js → job-mhjy9geh.js} +4 -4
- package/dist/chunks/{file-trbf7f13.js → job-mjzwven8.js} +13 -13
- package/dist/chunks/{file-z787d7xj.js → job-mnhhr8vg.js} +23 -23
- package/dist/chunks/{file-xe98bsrz.js → job-mw73v21r.js} +8 -8
- package/dist/chunks/{file-gjcg6yxb.js → job-mzcfs4x1.js} +7 -7
- package/dist/chunks/{file-p4vn8k5j.js → job-mzz8wxd0.js} +10 -10
- package/dist/chunks/{file-h3y0pe43.js → job-n5b9871t.js} +33 -33
- package/dist/chunks/{file-37b314vz.js → job-nag7dxjf.js} +9 -9
- package/dist/chunks/{file-6svk08be.js → job-nt3cjhda.js} +22 -22
- package/dist/chunks/{file-sp5wnj6d.js → job-nv1mfemk.js} +6 -6
- package/dist/chunks/{file-h44eeaqk.js → job-p1bjw1dn.js} +41 -41
- package/dist/chunks/{file-savfhqcd.js → job-p1h159n9.js} +12 -12
- package/dist/chunks/{file-t8rvmjzx.js → job-p81m17bq.js} +20 -20
- package/dist/chunks/{file-630mrxzs.js → job-pjsc4zyk.js} +6 -6
- package/dist/chunks/{file-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{file-kped6ekd.js → job-pstzsdxk.js} +17 -17
- package/dist/chunks/{file-52ba2sra.js → job-pw62wfs5.js} +8 -8
- package/dist/chunks/{file-zg2n6y4t.js → job-pydkqggy.js} +25 -25
- package/dist/chunks/{file-0ra6fv6k.js → job-pzhzvtrg.js} +47 -47
- package/dist/chunks/{file-d17hrp67.js → job-q0kqjkmf.js} +25 -25
- package/dist/chunks/{file-y8wzqhpp.js → job-q2eqbc76.js} +15 -15
- package/dist/chunks/{file-vdwwn6k7.js → job-q7e6n9zn.js} +9 -9
- package/dist/chunks/{file-v83v14r5.js → job-q8eh6ga5.js} +10 -10
- package/dist/chunks/{file-3s09vvne.js → job-qgbsg1ke.js} +22 -22
- package/dist/chunks/{file-qbdhhgha.js → job-qhwm6mz4.js} +8 -8
- package/dist/chunks/{file-0jd66zyb.js → job-qma472jp.js} +55 -55
- package/dist/chunks/{file-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{file-ss0awb04.js → job-qz49fwgp.js} +4 -4
- package/dist/chunks/{file-ay8rbhkk.js → job-r1dvxz8z.js} +23 -23
- package/dist/chunks/{file-e9caa62w.js → job-r2qnyvne.js} +3 -3
- package/dist/chunks/{file-9p3t057d.js → job-r72b02md.js} +9 -9
- package/dist/chunks/{file-r8dhm0tv.js → job-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-t7tn68wt.js → job-rbk154pb.js} +14 -14
- package/dist/chunks/{file-wxv6nqad.js → job-rdtt4ycx.js} +31 -31
- package/dist/chunks/{file-9tjsbxxt.js → job-rgpp5x08.js} +4 -4
- package/dist/chunks/{file-tt070hms.js → job-rh50mt9d.js} +1 -1
- package/dist/chunks/{file-age2sz3e.js → job-rvwskcwc.js} +11 -11
- package/dist/chunks/{file-8yy07cq2.js → job-rw08jxvr.js} +14 -14
- package/dist/chunks/{file-8cvnnrjq.js → job-s3239btt.js} +16 -16
- package/dist/chunks/{file-wmjd8bny.js → job-s8g0x53e.js} +33 -33
- package/dist/chunks/{file-5vw9vvj4.js → job-s97py5dz.js} +38 -38
- package/dist/chunks/{file-wr98cg9s.js → job-s9gykg7q.js} +60 -60
- package/dist/chunks/{file-sba4qhjf.js → job-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-dwh2jwen.js → job-senknpt6.js} +13 -13
- package/dist/chunks/{file-9anj5k29.js → job-shfbkbb1.js} +46 -46
- package/dist/chunks/{file-sdr42knk.js → job-snkf112e.js} +25 -25
- package/dist/chunks/{file-2qvrqzxh.js → job-sqrpkr4f.js} +22 -22
- package/dist/chunks/{file-y01np14z.js → job-sxesk63z.js} +11 -11
- package/dist/chunks/{file-nb59rc1d.js → job-sxj9wb3z.js} +17 -17
- package/dist/chunks/{file-86s3977f.js → job-t5rzzqww.js} +1 -1
- package/dist/chunks/{file-8ryk0bb9.js → job-t71v2ka4.js} +5 -5
- package/dist/chunks/{file-31wgk69v.js → job-t8bmmp56.js} +3 -3
- package/dist/chunks/{file-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tjykrgmx.js → job-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-rt96k8tb.js → job-v562m3aa.js} +20 -20
- package/dist/chunks/{file-cq35m6me.js → job-v98qgn33.js} +3 -3
- package/dist/chunks/{file-pm0tagmj.js → job-vc8jhytw.js} +26 -26
- package/dist/chunks/{file-e7gxy7fd.js → job-vep9yay1.js} +4 -4
- package/dist/chunks/{file-zxc2kv8n.js → job-vepj04m5.js} +6 -6
- package/dist/chunks/{file-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-k8feg6vv.js → job-w4600456.js} +4 -4
- package/dist/chunks/{file-7q8get4d.js → job-w51wkrn4.js} +15 -15
- package/dist/chunks/{file-wgxn7ww3.js → job-w6hdqetn.js} +4 -4
- package/dist/chunks/{file-pj7daft9.js → job-w6tbt1ze.js} +19 -19
- package/dist/chunks/{file-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{file-acqtp7e5.js → job-wk8nrfcs.js} +10 -10
- package/dist/chunks/{file-gss8xhg0.js → job-wqdnwa2t.js} +32 -32
- package/dist/chunks/{file-tbeh7nm8.js → job-wta9sx1g.js} +9 -9
- package/dist/chunks/{file-bgt6msk1.js → job-x0mxa1zg.js} +2 -2
- package/dist/chunks/{file-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-htzwhb48.js → job-x4e1mx07.js} +29 -29
- package/dist/chunks/{file-45a3e49b.js → job-x5yqqxk3.js} +6 -6
- package/dist/chunks/{file-nbrney8w.js → job-x6kesgn5.js} +20 -20
- package/dist/chunks/{file-5yabaxsy.js → job-xhff6z51.js} +28 -28
- package/dist/chunks/{file-ssq3ctr8.js → job-xnq53k63.js} +4 -4
- package/dist/chunks/{file-t1jgjt3q.js → job-xny325h3.js} +5 -5
- package/dist/chunks/{file-e5b0qn1c.js → job-xxzpesbj.js} +1 -1
- package/dist/chunks/{file-w0v6yqj2.js → job-y0gb186e.js} +17 -17
- package/dist/chunks/{file-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-3gcnb1p9.js → job-y5m8pq0x.js} +11 -11
- package/dist/chunks/{file-393yfw74.js → job-y6c4d9ha.js} +20 -20
- package/dist/chunks/{file-3wfq9j39.js → job-y86695j7.js} +12 -12
- package/dist/chunks/{file-44v8yfq1.js → job-y8b5kh1c.js} +7 -7
- package/dist/chunks/{file-sy5x4sx3.js → job-yge63rt3.js} +3 -3
- package/dist/chunks/{file-7qygs87w.js → job-yr2007ak.js} +39 -39
- package/dist/chunks/{file-zn2pq4p8.js → job-yt5k7jn8.js} +5 -5
- package/dist/chunks/{file-rs5embep.js → job-z0scd2p4.js} +15 -15
- package/dist/chunks/{file-z1k01bn4.js → job-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-nxhj2y70.js → job-z25mwg4t.js} +4 -4
- package/dist/chunks/{file-vb6d33pa.js → job-z8msmd3j.js} +10 -10
- package/dist/chunks/{file-5nt6w6m1.js → job-ze0c3xje.js} +11 -11
- package/dist/chunks/{file-awqyf91x.js → job-zmjynawk.js} +5 -5
- package/dist/chunks/{file-4z6b0fg6.js → job-zmya9kwb.js} +6 -6
- package/dist/chunks/{file-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-m1k88j08.js → job-zzqnaw22.js} +11 -11
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- 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 +114 -114
- package/dist/config/plugin/command.js +205 -205
- 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 +123 -123
- 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 +114 -114
- 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 +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- 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 +88 -88
- 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 +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- 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 +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- 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 +98 -98
- 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 +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- 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 +114 -114
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +78 -78
- 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 +125 -125
- package/dist/session/context.js +145 -145
- 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 +211 -211
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- 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 +91 -91
- package/dist/session/message-updater.js +4 -4
- 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 +218 -218
- 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 +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- 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 +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +104 -104
- 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 +119 -119
- 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 +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +114 -114
- 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/types/model-resolver.d.ts +1 -1
- package/dist/types/provider.d.ts +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +79 -79
- 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 → job-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3t738kvx.js → job-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-41nvscxy.js → job-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-982e01ww.js → job-982e01ww.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a1tpkmh4.js → job-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mntxs535.js → job-mntxs535.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-p8qxwesx.js → job-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-se0s1eqw.js → job-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x1b8g1yb.js → job-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → job-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-zbjnn3ac.js → job-zbjnn3ac.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service72,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node76,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service72 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service72.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured11(options) {
|
|
209
|
+
return makeLocationNode({ service: Service72, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node76 = configured11();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options10, Service72, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured11, node76, exports_select };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./job-31s1nbqh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./job-jvh5jvbh.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin22,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin22 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service65;
|
|
28
|
+
const mcp = yield* Service41;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin22, register2, exports_mcp };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./job-5y476dvm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./job-gkhj65gm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-hdja7q8b.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./job-q2eqbc76.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service13
|
|
19
|
+
} from "./job-4k0h8fvt.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service45
|
|
22
|
+
} from "./job-ft2ykv9q.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
|
-
Input: () =>
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
37
|
-
name: () =>
|
|
34
|
+
Input: () => Input3,
|
|
35
|
+
Output: () => Output3,
|
|
36
|
+
Plugin: () => Plugin3,
|
|
37
|
+
name: () => name3
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
40
40
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
41
41
|
import { Bom } from "@opencode-ai/util/bom";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name3 = "edit";
|
|
44
|
+
var Input3 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input12 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output3 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin3 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
111
|
-
const fileMutation = yield*
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const formatter = yield*
|
|
114
|
-
const location = yield*
|
|
115
|
-
const permission = yield*
|
|
110
|
+
const mutation = yield* Service13;
|
|
111
|
+
const fileMutation = yield* Service17;
|
|
112
|
+
const environment = yield* Service69;
|
|
113
|
+
const formatter = yield* Service14;
|
|
114
|
+
const location = yield* Service74;
|
|
115
|
+
const permission = yield* Service45;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name3,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input3,
|
|
121
|
+
output: Output3,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin43 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name3, Input3, Output3, Plugin3, exports_edit };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode-ai/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service7 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service7.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service7, node8, exports_update };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-v98qgn33.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./job-gkhj65gm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-hdja7q8b.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service14
|
|
11
|
+
} from "./job-q2eqbc76.js";
|
|
12
12
|
import {
|
|
13
13
|
externalDirectoryPermission2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service13
|
|
15
|
+
} from "./job-4k0h8fvt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service45
|
|
18
|
+
} from "./job-ft2ykv9q.js";
|
|
19
19
|
import {
|
|
20
20
|
fileDiff2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-6prwharc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-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: () => Input12,
|
|
30
|
+
Output: () => Output8,
|
|
31
|
+
Plugin: () => Plugin13,
|
|
32
32
|
WriteTool: () => exports_write,
|
|
33
|
-
name: () =>
|
|
33
|
+
name: () => name12,
|
|
34
34
|
toModelContent: () => toModelContent6
|
|
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 name12 = "write";
|
|
40
|
+
var Input12 = 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 Output8 = 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
52
|
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
53
|
-
var
|
|
53
|
+
var Plugin13 = {
|
|
54
54
|
id: "opencode.tool.write",
|
|
55
55
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
56
|
-
const mutation = yield*
|
|
57
|
-
const fileMutation = yield*
|
|
58
|
-
const environment = yield*
|
|
59
|
-
const formatter = yield*
|
|
60
|
-
const permission = yield*
|
|
56
|
+
const mutation = yield* Service13;
|
|
57
|
+
const fileMutation = yield* Service17;
|
|
58
|
+
const environment = yield* Service69;
|
|
59
|
+
const formatter = yield* Service14;
|
|
60
|
+
const permission = yield* Service45;
|
|
61
61
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
62
|
-
name:
|
|
62
|
+
name: name12,
|
|
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: Input12,
|
|
70
|
+
output: Output8,
|
|
71
71
|
execute: (input, context) => Effect.gen(function* () {
|
|
72
72
|
const source = {
|
|
73
73
|
type: "tool",
|
|
@@ -106,4 +106,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
106
106
|
})
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { name12, Input12, Output8, toModelContent6, Plugin13, exports_write };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-v98qgn33.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_error, {
|
|
|
22
22
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
23
23
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
24
24
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
25
|
-
NotFoundError: () =>
|
|
25
|
+
NotFoundError: () => NotFoundError5,
|
|
26
26
|
PromptConflictError: () => PromptConflictError2,
|
|
27
27
|
SessionErrors: () => exports_error,
|
|
28
28
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -35,7 +35,7 @@ import { Agent } from "@opencode-ai/schema/agent";
|
|
|
35
35
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
36
36
|
import { SessionError } from "@opencode-ai/schema/session-error";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class NotFoundError5 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
39
39
|
sessionID: SessionSchema2.ID
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
144
144
|
}) {
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { NotFoundError5, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-jrh6xn4c.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-1eq7j3rm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./job-nv1mfemk.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service42
|
|
16
|
+
} from "./job-0amrg371.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-x5yqqxk3.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service38;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service42;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service38;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service42;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|