@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin30
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin30 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin31 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin30, exports_mcp_codemode_exclusion };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node70,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node70 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer24, configured8, node70, exports_app };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./job-31s1nbqh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./job-w6tbt1ze.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin26
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin26 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service65;
|
|
27
|
+
const shell = yield* Service72;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin12 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin26, exports_shell2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./job-06ehnqe9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./job-nv1mfemk.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-dxj72tfx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service64
|
|
15
|
+
} from "./job-pw62wfs5.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-x5yqqxk3.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service44
|
|
23
|
+
} from "./job-sqrpkr4f.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service38;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service64;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service44;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service57;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service74
|
|
9
|
+
} from "./job-5y476dvm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./job-gkhj65gm.js";
|
|
13
13
|
import {
|
|
14
14
|
Service21
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-e5687zp2.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-fw75d2j2.js";
|
|
22
22
|
import {
|
|
23
23
|
externalDirectoryPermission2,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service13
|
|
25
|
+
} from "./job-4k0h8fvt.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service45
|
|
28
|
+
} from "./job-ft2ykv9q.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/glob.ts
|
|
34
34
|
var exports_glob = {};
|
|
35
35
|
__export(exports_glob, {
|
|
36
36
|
GlobTool: () => exports_glob,
|
|
37
|
-
Input: () =>
|
|
38
|
-
Output: () =>
|
|
39
|
-
Plugin: () =>
|
|
40
|
-
name: () =>
|
|
41
|
-
toModelContent: () =>
|
|
37
|
+
Input: () => Input7,
|
|
38
|
+
Output: () => Output6,
|
|
39
|
+
Plugin: () => Plugin7,
|
|
40
|
+
name: () => name7,
|
|
41
|
+
toModelContent: () => toModelContent3
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
44
44
|
import { Effect, Schema } from "effect";
|
|
45
45
|
import path from "path";
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var name7 = "glob";
|
|
47
|
+
var Input7 = Schema.Struct({
|
|
48
48
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
49
49
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
50
50
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -56,28 +56,28 @@ var Input5 = Schema.Struct({
|
|
|
56
56
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
|
-
var
|
|
60
|
-
var
|
|
59
|
+
var Output6 = Schema.Array(Entry2);
|
|
60
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
61
61
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
62
62
|
if (truncated)
|
|
63
63
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
64
64
|
return lines.join(`
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin7 = {
|
|
68
68
|
id: "opencode.tool.glob",
|
|
69
69
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
70
|
-
const environment = yield*
|
|
70
|
+
const environment = yield* Service69;
|
|
71
71
|
const ripgrep = yield* Service21;
|
|
72
|
-
const location = yield*
|
|
73
|
-
const mutation = yield*
|
|
74
|
-
const permission = yield*
|
|
72
|
+
const location = yield* Service74;
|
|
73
|
+
const mutation = yield* Service13;
|
|
74
|
+
const permission = yield* Service45;
|
|
75
75
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
76
|
-
name:
|
|
76
|
+
name: name7,
|
|
77
77
|
options: { codemode: false },
|
|
78
78
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
79
|
-
input:
|
|
80
|
-
output:
|
|
79
|
+
input: Input7,
|
|
80
|
+
output: Output6,
|
|
81
81
|
execute: (input, context) => Effect.gen(function* () {
|
|
82
82
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
83
83
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
@@ -91,7 +91,7 @@ var Plugin35 = {
|
|
|
91
91
|
source
|
|
92
92
|
});
|
|
93
93
|
yield* permission.assert({
|
|
94
|
-
action:
|
|
94
|
+
action: name7,
|
|
95
95
|
resources: [input.pattern],
|
|
96
96
|
save: ["*"],
|
|
97
97
|
metadata: {
|
|
@@ -126,11 +126,11 @@ var Plugin35 = {
|
|
|
126
126
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
127
127
|
}).pipe(Effect.map((result) => ({
|
|
128
128
|
output: result.entries,
|
|
129
|
-
content:
|
|
129
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
130
130
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
131
131
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
132
132
|
})).pipe(Effect.orDie);
|
|
133
133
|
})
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
export {
|
|
136
|
+
export { name7, Input7, Output6, toModelContent3, Plugin7, exports_glob };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-jrh6xn4c.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node83
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-1eq7j3rm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service76,
|
|
14
|
+
node80
|
|
15
|
+
} from "./job-9d04b11k.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-nag7dxjf.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-9qm9egsn.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-ajtjthsy.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info31,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node79,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode-ai/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service75 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service76;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID17.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
168
168
|
if (!row)
|
|
169
169
|
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event19.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID17.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID17.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service75.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node79 = makeGlobalNode({
|
|
276
|
+
service: Service75,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node83, node84, FSUtil.node,
|
|
278
|
+
deps: [node83, node84, FSUtil.node, node80, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service75, node79, exports_project };
|