@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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-1eq7j3rm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent3 = {};
|
|
14
14
|
__export(exports_agent3, {
|
|
15
15
|
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event11,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info10,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service48,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node50
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode-ai/schema/agent";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event11 } from "@opencode-ai/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info10 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service48 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info10.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service48.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node50 = makeLocationNode({ service: Service48, layer, deps: [node83, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info10, Service48, node50, exports_agent3, Event11 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-jrh6xn4c.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service79,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-1eq7j3rm.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-mntxs535.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-982e01ww.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update3
|
|
18
|
+
} from "./job-kk3rr3qh.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-p8qxwesx.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-9qm9egsn.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-hrvm11jt.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./job-eexzqnt3.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./job-9gq6sz2t.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./job-y0gb186e.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./job-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./job-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node37
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -245,7 +245,7 @@ function run(db, event) {
|
|
|
245
245
|
updateCompaction: updateMessage,
|
|
246
246
|
appendMessage
|
|
247
247
|
};
|
|
248
|
-
yield*
|
|
248
|
+
yield* update3(adapter, event);
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
function insertMessage(db, event, message) {
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node37 = makeGlobalNode({ name: "session-projector", layer, deps: [node83, node84] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node37, exports_projector };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-1eq7j3rm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./job-9d04b11k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service74,
|
|
11
|
+
node78
|
|
12
|
+
} from "./job-5y476dvm.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-dxj72tfx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service66,
|
|
18
|
+
node68
|
|
19
|
+
} from "./job-y6c4d9ha.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node24
|
|
22
|
+
} from "./job-k6mws45t.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service5,
|
|
25
|
+
node6
|
|
26
|
+
} from "./job-q7e6n9zn.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service74;
|
|
47
|
+
const watcher = yield* Service66;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service76;
|
|
51
|
+
const policy = yield* Service5;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node68, FSUtil.node, node78, node80, node83, node24, node6]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-zmya9kwb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./job-mnhhr8vg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./job-31s1nbqh.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service53;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service65);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./job-ft2ykv9q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service44
|
|
10
|
+
} from "./job-sqrpkr4f.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin4,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin4 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service44;
|
|
51
|
+
const permission = yield* Service45;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin42 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output4, description3, toModelOutput2, Plugin4, exports_skill };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-1eq7j3rm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service67,
|
|
8
|
+
node69
|
|
9
|
+
} from "./job-q0kqjkmf.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-qgbsg1ke.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,16 +31,16 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
33
|
Event: () => Event14,
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
34
|
+
ID: () => ID10,
|
|
35
|
+
Info: () => Info12,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service58,
|
|
43
|
+
node: () => node60
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -62,7 +62,7 @@ import { Integration } from "@opencode-ai/schema/integration";
|
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
64
|
import { Event as Event14 } from "@opencode-ai/schema/integration";
|
|
65
|
-
var
|
|
65
|
+
var ID10 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info12 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service58 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service67;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info12.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service58.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node60 = makeLocationNode({
|
|
569
|
+
service: Service58,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node69, node83, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info12, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service58, node60, exports_integration, Event14 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|