@opencode-ai/core 0.0.0-dev-19186 → 0.0.0-dev-19191
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 +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{bus-0gsy4sqt.js → schema-01ydztrv.js} +6 -6
- package/dist/chunks/{bus-rrzvz4w9.js → schema-0c58t30f.js} +11 -11
- package/dist/chunks/{bus-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
- package/dist/chunks/{bus-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
- package/dist/chunks/{bus-7bn4vab1.js → schema-0yqgca25.js} +11 -11
- package/dist/chunks/{bus-hwyf1vhw.js → schema-14hmenm3.js} +3 -3
- package/dist/chunks/{bus-rrhrq44h.js → schema-197e7f4c.js} +22 -22
- package/dist/chunks/{bus-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
- package/dist/chunks/{bus-ejbvb9q0.js → schema-1g9zr640.js} +23 -23
- package/dist/chunks/{bus-pt34y05q.js → schema-1n116cmy.js} +9 -9
- package/dist/chunks/{bus-pm8mksm9.js → schema-1rgpr9ay.js} +20 -20
- package/dist/chunks/{bus-a4p546v5.js → schema-1tcf1r1x.js} +20 -20
- package/dist/chunks/{bus-kf6gbfrb.js → schema-1xyj8m27.js} +11 -11
- package/dist/chunks/{bus-75yf2d83.js → schema-1z80kc63.js} +4 -4
- package/dist/chunks/{bus-mcvs2zbw.js → schema-21r37x41.js} +11 -11
- package/dist/chunks/{bus-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{bus-5azxvc7x.js → schema-22nnhjev.js} +31 -31
- package/dist/chunks/{bus-6h73sxmp.js → schema-2402vzrj.js} +5 -5
- package/dist/chunks/schema-260meh2r.js +247 -0
- package/dist/chunks/{bus-3q0mzqr9.js → schema-26bs89kh.js} +11 -11
- package/dist/chunks/{bus-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
- package/dist/chunks/{bus-qrz5apad.js → schema-2qajfaf9.js} +43 -43
- package/dist/chunks/{bus-q089jhzf.js → schema-2tezgagr.js} +300 -300
- package/dist/chunks/{bus-z5n63056.js → schema-2xp7h6d8.js} +11 -11
- package/dist/chunks/{bus-aj7dyy80.js → schema-3a2mh29d.js} +13 -13
- package/dist/chunks/{bus-x8za3qqf.js → schema-3b1behp0.js} +18 -18
- package/dist/chunks/{bus-ktqm69e3.js → schema-3b9q8xmz.js} +57 -57
- package/dist/chunks/{bus-e9r133th.js → schema-3e02b6t7.js} +11 -11
- package/dist/chunks/{bus-ze67etev.js → schema-3gthbwc2.js} +37 -37
- package/dist/chunks/{bus-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-dha1rfzn.js → schema-3mervr2x.js} +32 -32
- package/dist/chunks/{bus-wxwbjexe.js → schema-3nbw588s.js} +4 -4
- package/dist/chunks/{bus-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
- package/dist/chunks/{bus-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-bpxe412r.js → schema-3wfq9j39.js} +14 -14
- package/dist/chunks/{bus-rhjckj9y.js → schema-41mncz27.js} +5 -5
- package/dist/chunks/{bus-73gvfjg4.js → schema-42g0bzct.js} +59 -59
- package/dist/chunks/{bus-454k5vzh.js → schema-454k5vzh.js} +1 -1
- package/dist/chunks/{bus-n0cxab0r.js → schema-472tbdag.js} +9 -9
- package/dist/chunks/{bus-9czjfc66.js → schema-49ghghdw.js} +11 -11
- package/dist/chunks/{bus-svtn6ftc.js → schema-4j4extwa.js} +9 -9
- package/dist/chunks/{bus-6gn07reb.js → schema-4kkp1z8s.js} +47 -47
- package/dist/chunks/{bus-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
- package/dist/chunks/{bus-r7kgbqwf.js → schema-4z6b0fg6.js} +8 -8
- package/dist/chunks/{bus-rz31k017.js → schema-4z9ne5jz.js} +9 -9
- package/dist/chunks/{bus-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
- package/dist/chunks/{bus-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
- package/dist/chunks/{bus-6bb2rddz.js → schema-5k3f87xj.js} +1 -1
- package/dist/chunks/{bus-bf0ztrs3.js → schema-5q02cxx3.js} +4 -4
- package/dist/chunks/{bus-qkawf4bj.js → schema-5y6h07fe.js} +30 -30
- package/dist/chunks/{bus-7dqw4kz8.js → schema-607tc6va.js} +5 -5
- package/dist/chunks/{bus-3etffxf1.js → schema-66tqe5xe.js} +16 -16
- package/dist/chunks/{bus-4rqnb94f.js → schema-68gzwy8a.js} +22 -22
- package/dist/chunks/{bus-z0f88jgc.js → schema-69s1z7ph.js} +29 -29
- package/dist/chunks/{bus-dad8bk2q.js → schema-6gq1etg2.js} +18 -18
- package/dist/chunks/{bus-3g2y1byn.js → schema-6h414ywr.js} +5 -5
- package/dist/chunks/{bus-2p9tqta8.js → schema-6jqwmg68.js} +16 -16
- package/dist/chunks/{bus-3nepss8s.js → schema-6kmb0a3c.js} +8 -8
- package/dist/chunks/{bus-1xf0k5sv.js → schema-6qdzwav0.js} +13 -13
- package/dist/chunks/{bus-6abnk40k.js → schema-6z5bwd8g.js} +9 -9
- package/dist/chunks/{bus-711hfp6y.js → schema-711hfp6y.js} +2 -2
- package/dist/chunks/{bus-f4e8jj35.js → schema-727qrer3.js} +28 -28
- package/dist/chunks/{bus-72nftnjy.js → schema-72nftnjy.js} +2 -2
- package/dist/chunks/{bus-mvfsc1pv.js → schema-73tb2d7t.js} +3 -3
- package/dist/chunks/{bus-wyvwzpgp.js → schema-79hj8smp.js} +25 -25
- package/dist/chunks/{bus-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-f25wfmnz.js → schema-7h8vgbk8.js} +26 -26
- package/dist/chunks/{bus-kr1vvnwz.js → schema-7kbtra6h.js} +16 -16
- package/dist/chunks/{bus-ytyw8mcv.js → schema-7vvqw8st.js} +16 -16
- package/dist/chunks/{bus-6wj0fw5p.js → schema-7w74e5nf.js} +9 -9
- package/dist/chunks/{bus-wkq0emgv.js → schema-7wmmknre.js} +28 -28
- package/dist/chunks/{bus-t00n1yfv.js → schema-84m8dmka.js} +8 -8
- package/dist/chunks/{bus-edq94eaw.js → schema-86s3977f.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{bus-20ebpt2n.js → schema-8exdn9dc.js} +24 -24
- package/dist/chunks/{bus-r1tc6yem.js → schema-8hdnc7r8.js} +25 -25
- package/dist/chunks/{bus-z91dmd0w.js → schema-8xe7962d.js} +26 -26
- package/dist/chunks/{bus-ga1h0m9y.js → schema-8xrew3hh.js} +5 -5
- package/dist/chunks/{bus-gqqnkh8v.js → schema-94dn6ebz.js} +14 -14
- package/dist/chunks/{bus-1s8x6ddd.js → schema-9cf43ywr.js} +6 -6
- package/dist/chunks/{bus-jfqycs0z.js → schema-9gy4m6h6.js} +20 -20
- package/dist/chunks/{bus-ycn7ay9t.js → schema-9jv144rc.js} +21 -21
- package/dist/chunks/{bus-804r97dm.js → schema-9myn1xfv.js} +7 -7
- package/dist/chunks/{bus-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
- package/dist/chunks/{bus-4rh36sjt.js → schema-9w5hc89k.js} +23 -23
- package/dist/chunks/{bus-hgsh7sdh.js → schema-9w7f66dc.js} +6 -6
- package/dist/chunks/{bus-q1b8pcac.js → schema-a11h1vyp.js} +24 -24
- package/dist/chunks/{bus-0xz3dzbq.js → schema-a2ah7emm.js} +18 -18
- package/dist/chunks/{bus-1jfdb1er.js → schema-a5gmg2n8.js} +66 -66
- package/dist/chunks/{bus-d6v5jdzg.js → schema-a7rzb06g.js} +13 -13
- package/dist/chunks/{bus-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
- package/dist/chunks/{bus-gzaq63kr.js → schema-av4ay7w3.js} +7 -7
- package/dist/chunks/{bus-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
- package/dist/chunks/{bus-cmbqfntm.js → schema-bcb5hys9.js} +6 -6
- package/dist/chunks/{bus-hnyf01b0.js → schema-bcezcar3.js} +5 -5
- package/dist/chunks/{bus-8vb85d8j.js → schema-bfhprby2.js} +4 -4
- package/dist/chunks/{bus-qnwfs6wy.js → schema-cbwxped0.js} +40 -40
- package/dist/chunks/{bus-83rp9aqa.js → schema-ccag2325.js} +8 -8
- package/dist/chunks/{bus-byjqrnh7.js → schema-cdjnsk06.js} +18 -18
- package/dist/chunks/{bus-s6a5z1ry.js → schema-cg7fjhyq.js} +9 -9
- package/dist/chunks/{bus-434pnv9v.js → schema-cmb92cfd.js} +39 -39
- package/dist/chunks/{bus-zp9ajhcp.js → schema-cnj1y1j9.js} +4 -4
- package/dist/chunks/{bus-h6dr5ctb.js → schema-czdcbsev.js} +27 -27
- package/dist/chunks/{bus-a2ew8a62.js → schema-d216944b.js} +7 -7
- package/dist/chunks/{bus-d72308c8.js → schema-d72308c8.js} +2 -2
- package/dist/chunks/{bus-myyr5eq0.js → schema-dh8wrsyh.js} +8 -8
- package/dist/chunks/{bus-xt2f3af4.js → schema-djdhx5yz.js} +11 -11
- package/dist/chunks/{bus-djtdz80w.js → schema-djtdz80w.js} +1 -1
- package/dist/chunks/{bus-8h9b3wfc.js → schema-dm6mq6v3.js} +11 -11
- package/dist/chunks/{bus-cphw1rrq.js → schema-dq1pfatf.js} +40 -40
- package/dist/chunks/{bus-7rr5f4gz.js → schema-dt28z908.js} +17 -17
- package/dist/chunks/{bus-r0h1m8yn.js → schema-dt5c7h3t.js} +25 -25
- package/dist/chunks/{bus-ggfsjf2v.js → schema-dx71f7x8.js} +1 -1
- package/dist/chunks/{bus-av3gzsdm.js → schema-e0tdhtsx.js} +15 -15
- package/dist/chunks/{bus-3yq82pb2.js → schema-e5b0qn1c.js} +1 -1
- package/dist/chunks/{bus-48e7jqbg.js → schema-e61q4fdz.js} +33 -33
- package/dist/chunks/{bus-9qw5sf44.js → schema-ec6cjy13.js} +11 -11
- package/dist/chunks/{bus-k97nqm59.js → schema-eja9hfad.js} +9 -9
- package/dist/chunks/{bus-ap0e00cv.js → schema-erhsr0sj.js} +20 -20
- package/dist/chunks/{bus-56531erc.js → schema-etv9h02v.js} +8 -8
- package/dist/chunks/{bus-p9xxfsxh.js → schema-f1kgb3zy.js} +17 -17
- package/dist/chunks/{bus-wycvtbqt.js → schema-f46vkye0.js} +12 -12
- package/dist/chunks/{bus-0kbdxtg6.js → schema-f7qt83x6.js} +34 -34
- package/dist/chunks/{bus-gsnpnfh8.js → schema-f9n9gzws.js} +11 -11
- package/dist/chunks/{bus-rmc74c4t.js → schema-fhs66pct.js} +34 -34
- package/dist/chunks/{bus-r14a846e.js → schema-fqjmww7h.js} +2 -2
- package/dist/chunks/{bus-yf6xxqf2.js → schema-fw4p2fkf.js} +15 -15
- package/dist/chunks/{bus-vjmsffxn.js → schema-fx8v60je.js} +29 -29
- package/dist/chunks/{bus-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-fxypknc8.js → schema-fxypknc8.js} +1 -1
- package/dist/chunks/{bus-bndd36kw.js → schema-g3bd2v2g.js} +5 -5
- package/dist/chunks/{bus-bd7er6gs.js → schema-g41n1fn3.js} +5 -5
- package/dist/chunks/{bus-w1jbs0y4.js → schema-g5qvr7td.js} +15 -15
- package/dist/chunks/{bus-849kvxk3.js → schema-g5yr037w.js} +11 -11
- package/dist/chunks/{bus-rxbdfnq0.js → schema-g77vssk4.js} +3 -3
- package/dist/chunks/{bus-0ccrtq8e.js → schema-gcged20f.js} +14 -14
- package/dist/chunks/{bus-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-gdvy8fx6.js → schema-gdvy8fx6.js} +1 -1
- package/dist/chunks/{bus-hha4zry8.js → schema-gsh994c1.js} +4 -4
- package/dist/chunks/{bus-tssjvmgn.js → schema-gwjdnazh.js} +39 -39
- package/dist/chunks/{bus-m2vxpjnv.js → schema-h46md2jk.js} +16 -16
- package/dist/chunks/{bus-0y4twpwd.js → schema-h53052s4.js} +9 -9
- package/dist/chunks/{bus-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-ww8c32hp.js → schema-h722e297.js} +5 -5
- package/dist/chunks/{bus-ap2t8vcq.js → schema-h9fbwe9v.js} +25 -25
- package/dist/chunks/{bus-bmj3d0ka.js → schema-h9rd212d.js} +4 -4
- package/dist/chunks/{bus-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
- package/dist/chunks/{bus-dq884360.js → schema-hhck17cp.js} +19 -19
- package/dist/chunks/{bus-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
- package/dist/chunks/schema-ht5y0zrb.js +18 -0
- package/dist/chunks/{bus-hw4pv20g.js → schema-hw4pv20g.js} +2 -2
- package/dist/chunks/{bus-3bsrcfpb.js → schema-hz9b66t7.js} +26 -26
- package/dist/chunks/{bus-gnqaz2e7.js → schema-hzecryb5.js} +18 -18
- package/dist/chunks/{bus-bqarnab4.js → schema-j2823k0a.js} +2 -2
- package/dist/chunks/{bus-0xwtr52f.js → schema-j3geqf8r.js} +18 -18
- package/dist/chunks/{bus-ztherss1.js → schema-jc92eg9v.js} +9 -9
- package/dist/chunks/{bus-9gmnkn1a.js → schema-jj81eexz.js} +86 -86
- package/dist/chunks/{bus-y71avatq.js → schema-jwcy2c2z.js} +4 -4
- package/dist/chunks/{bus-8hksdbz1.js → schema-k1b1zvn1.js} +26 -26
- package/dist/chunks/{bus-6t49dzs3.js → schema-k44987ts.js} +17 -17
- package/dist/chunks/{bus-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
- package/dist/chunks/{bus-qas6r648.js → schema-k4yyf4jz.js} +17 -17
- package/dist/chunks/{bus-fv4q91yr.js → schema-k6vh52ey.js} +15 -15
- package/dist/chunks/{bus-b6rw464e.js → schema-k8r87xab.js} +10 -10
- package/dist/chunks/{bus-b270hrwc.js → schema-k970242f.js} +4 -4
- package/dist/chunks/{bus-t8wv8e2h.js → schema-kadhpnyd.js} +37 -37
- package/dist/chunks/{bus-fy69wkfh.js → schema-kazxkvef.js} +36 -36
- package/dist/chunks/{bus-kg06axw8.js → schema-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-54sc1s1k.js → schema-kk8zj6de.js} +18 -18
- package/dist/chunks/{bus-yw9364ag.js → schema-kx2gvdct.js} +4 -4
- package/dist/chunks/{bus-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-1vbp5j7a.js → schema-ma41yzy3.js} +22 -22
- package/dist/chunks/{bus-3fwrn7pg.js → schema-mcxg6pmm.js} +1 -1
- package/dist/chunks/{bus-e3qsaezh.js → schema-mf6rf3jv.js} +10 -10
- package/dist/chunks/{bus-5gyhz2nn.js → schema-mfrs51m8.js} +46 -46
- package/dist/chunks/schema-mpwegw5n.js +22 -0
- package/dist/chunks/{bus-fyjt0avv.js → schema-mym5dcqt.js} +15 -15
- package/dist/chunks/{bus-64z1dcvr.js → schema-na32d9q8.js} +3 -3
- package/dist/chunks/{bus-hsg1hj1w.js → schema-ngmbsfd1.js} +27 -27
- package/dist/chunks/{bus-wpts28dx.js → schema-nk3f4wfy.js} +6 -6
- package/dist/chunks/{bus-wv36qkf9.js → schema-nkyb3pw9.js} +17 -17
- package/dist/chunks/{bus-8arghjyt.js → schema-npwbkbcj.js} +23 -23
- package/dist/chunks/{bus-fphv0de3.js → schema-nrmg1yey.js} +8 -8
- package/dist/chunks/{bus-6t8k13pe.js → schema-ns9ezqyz.js} +89 -89
- package/dist/chunks/{bus-rpthx8hq.js → schema-p6gsnnk2.js} +4 -4
- package/dist/chunks/{bus-tpc2xyw9.js → schema-p6q2ykt6.js} +6 -6
- package/dist/chunks/{bus-2d57kztd.js → schema-pf2hb43r.js} +4 -4
- package/dist/chunks/{bus-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{bus-tppvcy65.js → schema-ptrvg6rv.js} +9 -9
- package/dist/chunks/{bus-j56e7md4.js → schema-q8pp2sp9.js} +46 -46
- package/dist/chunks/{bus-85m33w8k.js → schema-qe606rs0.js} +14 -14
- package/dist/chunks/{bus-f4b47wcg.js → schema-qgm407s3.js} +25 -25
- package/dist/chunks/{bus-nh1jkfpr.js → schema-qhk07rex.js} +6 -6
- package/dist/chunks/{bus-hsargt6j.js → schema-qmkt23t2.js} +22 -22
- package/dist/chunks/{bus-zf97vnn4.js → schema-qmmnt21p.js} +6 -6
- package/dist/chunks/{bus-xevys2wm.js → schema-qqvh8xjt.js} +15 -15
- package/dist/chunks/{bus-y2ktbrjm.js → schema-qs81ty4q.js} +17 -17
- package/dist/chunks/{bus-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-p386207z.js → schema-r80rqf00.js} +6 -6
- package/dist/chunks/{bus-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
- package/dist/chunks/{bus-v2pza5zk.js → schema-rae26gbb.js} +8 -8
- package/dist/chunks/{bus-saphkdfh.js → schema-rby1t0fa.js} +5 -5
- package/dist/chunks/{bus-r73hqwej.js → schema-rkwwtmcy.js} +11 -11
- package/dist/chunks/{bus-khfm06dd.js → schema-rzpxjk4g.js} +12 -12
- package/dist/chunks/{bus-grcfym27.js → schema-s2mhcxty.js} +34 -34
- package/dist/chunks/{bus-bf3qrb3j.js → schema-s3eqpch7.js} +1 -1
- package/dist/chunks/{bus-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
- package/dist/chunks/{bus-35ymyeta.js → schema-sm6t64x2.js} +10 -10
- package/dist/chunks/{bus-kxw3z6ex.js → schema-sqs4yk0n.js} +14 -14
- package/dist/chunks/{bus-e07bfndv.js → schema-svjem3ep.js} +18 -18
- package/dist/chunks/{bus-j6nhct4h.js → schema-t2rzjbd1.js} +11 -11
- package/dist/chunks/{bus-8w14596t.js → schema-t6x53sfz.js} +29 -29
- package/dist/chunks/{bus-d2q1a9h5.js → schema-t7tep13p.js} +4 -4
- package/dist/chunks/{bus-w071yvmc.js → schema-ta6v1pw6.js} +25 -25
- package/dist/chunks/{bus-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-pxzs1q6p.js → schema-tbbvbjx8.js} +13 -13
- package/dist/chunks/{bus-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
- package/dist/chunks/{bus-57j0ygqm.js → schema-tk1b2krj.js} +32 -32
- package/dist/chunks/{bus-0evdvf3m.js → schema-tpdzbnzn.js} +11 -11
- package/dist/chunks/{bus-d2rtq077.js → schema-tswacbxr.js} +25 -25
- package/dist/chunks/{bus-qq0s42pd.js → schema-tzfkbvz2.js} +6 -6
- package/dist/chunks/{bus-sk616wp9.js → schema-v0yqd4qv.js} +27 -27
- package/dist/chunks/{bus-89bfeqfq.js → schema-v2217wga.js} +26 -26
- package/dist/chunks/{bus-qs5gpaa7.js → schema-vbk51re5.js} +8 -8
- package/dist/chunks/{bus-3jsg4rse.js → schema-vf5pn5gk.js} +12 -12
- package/dist/chunks/{bus-gk020jjx.js → schema-vj5te9hp.js} +15 -15
- package/dist/chunks/{bus-ss1kepxy.js → schema-vk21e1pw.js} +10 -10
- package/dist/chunks/{bus-5wkefnsp.js → schema-vpyt1k32.js} +9 -9
- package/dist/chunks/{bus-ndjv4j8j.js → schema-vr7azkaf.js} +7 -7
- package/dist/chunks/schema-vs313s01.js +20 -0
- package/dist/chunks/{bus-41t7h6jd.js → schema-w2a0kbp2.js} +16 -16
- package/dist/chunks/{bus-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-84vjrsce.js → schema-wd3a2z3s.js} +32 -32
- package/dist/chunks/{bus-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{bus-cbjj75jx.js → schema-wgxn7ww3.js} +4 -4
- package/dist/chunks/{bus-4b1mthq9.js → schema-whh92xcq.js} +4 -4
- package/dist/chunks/{bus-n5f15nnr.js → schema-wmw1swn5.js} +9 -9
- package/dist/chunks/{bus-96kjkgmk.js → schema-wxh0e7k7.js} +6 -6
- package/dist/chunks/{bus-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-23wvan8x.js → schema-x2tb69sg.js} +23 -23
- package/dist/chunks/{bus-dpm05p3t.js → schema-x4p9jbh3.js} +37 -37
- package/dist/chunks/{bus-63f9ebx5.js → schema-x50jbvsx.js} +46 -46
- package/dist/chunks/{bus-v33gch5h.js → schema-xjrkddwa.js} +31 -31
- package/dist/chunks/{bus-5aephga1.js → schema-xqsy6kp0.js} +1 -1
- package/dist/chunks/{bus-1d2yf5yg.js → schema-xwbhy8am.js} +19 -19
- package/dist/chunks/{bus-pxrsnsv2.js → schema-xx3ac82e.js} +21 -21
- package/dist/chunks/{bus-5v4d9t1w.js → schema-xzwtfmxp.js} +7 -7
- package/dist/chunks/{bus-bvxnc9g4.js → schema-y00gghsa.js} +22 -22
- package/dist/chunks/{bus-xjyr936n.js → schema-y18qbtn0.js} +3 -3
- package/dist/chunks/{bus-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-93a8yfjt.js → schema-y2cqme3r.js} +5 -5
- package/dist/chunks/{bus-f3bqzcfa.js → schema-y5e1a3sd.js} +4 -4
- package/dist/chunks/{bus-cmy5y5dg.js → schema-y6nt3k22.js} +2 -2
- package/dist/chunks/{bus-gst7axd9.js → schema-yd4mva7c.js} +4 -4
- package/dist/chunks/{bus-hhxmypn0.js → schema-ye70tata.js} +20 -20
- package/dist/chunks/{bus-yfbd16n1.js → schema-yfbd16n1.js} +2 -2
- package/dist/chunks/{bus-gzkr61q0.js → schema-ykcesz1b.js} +4 -4
- package/dist/chunks/{bus-mckf4h7b.js → schema-ym594s0z.js} +8 -8
- package/dist/chunks/{bus-wppt2sme.js → schema-ywc7t1nw.js} +10 -10
- package/dist/chunks/{bus-e8ecwan1.js → schema-z07tm3p8.js} +10 -10
- package/dist/chunks/{bus-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
- package/dist/chunks/{bus-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-2rhspc98.js → schema-z8yntsh8.js} +50 -50
- package/dist/chunks/{bus-kerhshr9.js → schema-zk8c4w5t.js} +5 -5
- package/dist/chunks/{bus-sfxm1h0s.js → schema-zn2pq4p8.js} +5 -5
- package/dist/chunks/{bus-3zyads7b.js → schema-ztfzrca4.js} +16 -16
- package/dist/chunks/{bus-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-e832z393.js → schema-zy6nr8rb.js} +175 -175
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- 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 +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- 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 +78 -78
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +86 -86
- 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 +70 -70
- package/dist/file-mutation.js +89 -89
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- 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 +7 -7
- 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 +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +84 -84
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +116 -116
- 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 +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- 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 +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- 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 +215 -215
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +117 -117
- 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 +84 -84
- 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 +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- 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 +115 -115
- package/dist/tool/plugin/edit.js +112 -112
- 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 +99 -99
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/bus-a7csy0p6.js +0 -22
- package/dist/chunks/bus-w1s1ra18.js +0 -20
- package/dist/chunks/bus-ybsh6ht0.js +0 -247
- package/dist/chunks/bus-ydckrtmx.js +0 -18
- /package/dist/chunks/{bus-0fabt78z.js → schema-0fabt78z.js} +0 -0
- /package/dist/chunks/{bus-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t738kvx.js → schema-3t738kvx.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-41nvscxy.js → schema-41nvscxy.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-7zk4hah4.js → schema-7zk4hah4.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-982e01ww.js → schema-982e01ww.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mntxs535.js → schema-mntxs535.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
- /package/dist/chunks/{bus-paphc93g.js → schema-paphc93g.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → schema-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zbjnn3ac.js → schema-zbjnn3ac.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service26,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node30
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service26 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service26.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node30 = makeGlobalNode({ service: Service26, layer: layer11, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service26, makeLayer2, layer11, node30, exports_model_transport };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-26bs89kh.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./schema-8hdnc7r8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-79hj8smp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID18
|
|
14
|
+
} from "./schema-4z6b0fg6.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID18.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID9.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service63;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./schema-4z6b0fg6.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/snowflake-cortex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -52,7 +52,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
52
52
|
id: "opencode.provider.snowflake.cortex",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
54
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
55
|
-
if (evt.model.providerID !==
|
|
55
|
+
if (evt.model.providerID !== ID18.make("snowflake-cortex"))
|
|
56
56
|
return;
|
|
57
57
|
const token = process.env.SNOWFLAKE_CORTEX_TOKEN ?? process.env.SNOWFLAKE_CORTEX_PAT ?? (typeof evt.options.token === "string" ? evt.options.token : undefined) ?? (typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined);
|
|
58
58
|
const upstream = typeof evt.options.fetch === "function" ? evt.options.fetch : undefined;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event4,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options6,
|
|
17
|
+
Service: () => Service41,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured5,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer17,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node44,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event4 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load2());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options6 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service41 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service41.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service41.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service41).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service41, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured5(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service41, layer: layer17(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node44 = configured5();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event4, hasNativeBinding2, Native3, Options6, Service41, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured5, node44, exports_watcher };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./schema-21r37x41.js";
|
|
5
5
|
import {
|
|
6
6
|
llmClient2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-0e0xafbb.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionEvent2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-mntxs535.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-kg06axw8.js";
|
|
14
14
|
import {
|
|
15
15
|
toLLMMessages2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-zbjnn3ac.js";
|
|
17
17
|
import {
|
|
18
18
|
baseTranscript2,
|
|
19
19
|
unsupportedParts2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-22nnhjev.js";
|
|
21
21
|
import {
|
|
22
22
|
isRetryable2,
|
|
23
23
|
policy2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-bcezcar3.js";
|
|
25
25
|
import {
|
|
26
26
|
toSessionError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-t7tep13p.js";
|
|
28
28
|
import {
|
|
29
29
|
estimate2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-h6vf3j39.js";
|
|
31
31
|
import {
|
|
32
32
|
record2,
|
|
33
33
|
add2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-tjykrgmx.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./schema-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/compaction.ts
|
|
40
40
|
var exports_compaction2 = {};
|
|
41
41
|
__export(exports_compaction2, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service8,
|
|
43
43
|
SessionCompaction: () => exports_compaction2,
|
|
44
44
|
buildPrompt: () => buildPrompt2,
|
|
45
45
|
estimateTokens: () => estimateTokens2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer7,
|
|
47
|
+
node: () => node11,
|
|
48
48
|
serializeToolContent: () => serializeToolContent2,
|
|
49
49
|
truncateToolOutput: () => truncateToolOutput2
|
|
50
50
|
});
|
|
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
108
108
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
109
109
|
`).filter((line) => line.startsWith("##"));
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service8 extends Context.Service()("@opencode/SessionCompaction") {
|
|
112
112
|
}
|
|
113
113
|
var estimateTokens2 = (input) => {
|
|
114
114
|
const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
|
|
@@ -262,7 +262,7 @@ var buildPrompt2 = (update) => {
|
|
|
262
262
|
};
|
|
263
263
|
var hasSummarySection = (summary) => summary.split(`
|
|
264
264
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
265
|
-
var
|
|
265
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
266
266
|
const bus = yield* Service79;
|
|
267
267
|
const llm = yield* LLMClient.Service;
|
|
268
268
|
const state = create3({
|
|
@@ -479,7 +479,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
479
479
|
})
|
|
480
480
|
}));
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service8.of({
|
|
483
483
|
transform: state.transform,
|
|
484
484
|
reload: state.reload,
|
|
485
485
|
enabled: () => state.get().auto,
|
|
@@ -488,10 +488,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
488
488
|
compactManual
|
|
489
489
|
});
|
|
490
490
|
}));
|
|
491
|
-
var
|
|
492
|
-
service:
|
|
493
|
-
layer:
|
|
494
|
-
deps: [
|
|
491
|
+
var node11 = makeLocationNode({
|
|
492
|
+
service: Service8,
|
|
493
|
+
layer: layer7,
|
|
494
|
+
deps: [node83, llmClient2]
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { Service8, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node11, exports_compaction2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node15 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node15, exports_location_watcher_policy };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-1z80kc63.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID5,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service50,
|
|
13
|
+
node53
|
|
14
|
+
} from "./schema-a11h1vyp.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions2 = {};
|
|
21
|
+
__export(exports_instructions2, {
|
|
22
|
+
Service: () => Service22,
|
|
23
|
+
SkillInstructions: () => exports_instructions2,
|
|
24
|
+
node: () => node26
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID5,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,17 +60,17 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service22 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service50;
|
|
67
|
+
return Service22.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
73
|
+
return make20({
|
|
74
74
|
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node26 = makeLocationNode({ service: Service22, layer, deps: [node53] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service22, node26, exports_instructions2 };
|
|
@@ -3,33 +3,33 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-z1k01bn4.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service70,
|
|
18
|
+
node74
|
|
19
|
+
} from "./schema-k44987ts.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service69,
|
|
22
22
|
node72
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-qgm407s3.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service68,
|
|
33
33
|
node: () => node71
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
|
|
@@ -43,7 +43,7 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service68,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service68 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service70;
|
|
66
|
+
const workspace = yield* Service69;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service68.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
70
|
var node71 = makeLocationNode({
|
|
71
|
-
service:
|
|
71
|
+
service: Service68,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node74, node72]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service68, node71, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-4z6b0fg6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service62,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node65
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID18,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service62 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service62.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node65 = makeLocationNode({ service: Service62, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service62, locationLayer2, node65, exports_aisdk };
|