@opencode/core 0.0.0-dev-126 → 0.0.0-dev-127
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{kv-5kk15k00.js → vcs-01vd1a4d.js} +9 -9
- package/dist/chunks/{kv-034tev2y.js → vcs-034tev2y.js} +2 -2
- package/dist/chunks/{kv-r0g6ap0x.js → vcs-0g7k9xcb.js} +5 -5
- package/dist/chunks/{kv-fh84vrc6.js → vcs-0gybmwtw.js} +28 -28
- package/dist/chunks/{kv-1cng5f3b.js → vcs-0py4zw7v.js} +7 -7
- package/dist/chunks/{kv-t1qkrhj3.js → vcs-0rxw2bhj.js} +5 -5
- package/dist/chunks/{kv-tbnr3qzn.js → vcs-0xkwsahe.js} +15 -15
- package/dist/chunks/{kv-8jztxfpf.js → vcs-11hfp36g.js} +4 -4
- package/dist/chunks/{kv-x50xqm0y.js → vcs-18m8fffx.js} +26 -26
- package/dist/chunks/{kv-ww3hkwgk.js → vcs-1c18fjk2.js} +11 -11
- package/dist/chunks/{kv-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
- package/dist/chunks/{kv-1kn6jdkn.js → vcs-1kn6jdkn.js} +1 -1
- package/dist/chunks/{kv-ex0pka66.js → vcs-1q5awywt.js} +5 -5
- package/dist/chunks/{kv-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
- package/dist/chunks/{kv-5zrxpy3q.js → vcs-1yq9hg58.js} +5 -5
- package/dist/chunks/{kv-5jrsbfjd.js → vcs-1z2ee6fc.js} +21 -21
- package/dist/chunks/{kv-204s3925.js → vcs-204s3925.js} +1 -1
- package/dist/chunks/{kv-3rdnw7tp.js → vcs-2338945t.js} +1 -1
- package/dist/chunks/{kv-x6pnkns2.js → vcs-2cgj4t74.js} +3 -3
- package/dist/chunks/vcs-2dkjcnxp.js +18 -0
- package/dist/chunks/{kv-1sh5kzz0.js → vcs-2jzrs42d.js} +19 -19
- package/dist/chunks/{kv-11z2hjhz.js → vcs-2kf70v8x.js} +33 -33
- package/dist/chunks/{kv-5rsan3mw.js → vcs-2qjpg97e.js} +81 -81
- package/dist/chunks/{kv-83xcdb4y.js → vcs-30fw0aaf.js} +8 -8
- package/dist/chunks/{kv-7j5zmrgn.js → vcs-31zrf5rt.js} +4 -4
- package/dist/chunks/{kv-42bec753.js → vcs-3643rqcq.js} +20 -20
- package/dist/chunks/{kv-s61hs6sc.js → vcs-36nwmxg8.js} +12 -12
- package/dist/chunks/{kv-6wv82vhb.js → vcs-39g43sx8.js} +5 -5
- package/dist/chunks/{kv-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-6xqtcmxs.js → vcs-3kdbrncp.js} +5 -5
- package/dist/chunks/{kv-3nnrz6f6.js → vcs-3nnrz6f6.js} +1 -1
- package/dist/chunks/{kv-c77hr98g.js → vcs-3wfcjg2y.js} +150 -150
- package/dist/chunks/{kv-f2k9m1r5.js → vcs-3x3z7tjb.js} +11 -11
- package/dist/chunks/{kv-ddt4fr4j.js → vcs-40wjcqjb.js} +10 -10
- package/dist/chunks/{kv-r49z6jqe.js → vcs-445zs8vc.js} +9 -9
- package/dist/chunks/{kv-v3xc7t3q.js → vcs-48g74nrn.js} +8 -8
- package/dist/chunks/{kv-1qws1cxk.js → vcs-49n1pyc7.js} +25 -25
- package/dist/chunks/{kv-r5tcggmq.js → vcs-4dc0m2yj.js} +21 -21
- package/dist/chunks/{kv-qfa3cv49.js → vcs-4fp9at6s.js} +6 -6
- package/dist/chunks/{kv-rvc61n5b.js → vcs-4g637f85.js} +13 -13
- package/dist/chunks/{kv-kw1ywfqs.js → vcs-4g7evqcq.js} +6 -6
- package/dist/chunks/{kv-t6mph8g7.js → vcs-4h5f6qna.js} +57 -57
- package/dist/chunks/{kv-4pyp9zr9.js → vcs-4pyp9zr9.js} +1 -1
- package/dist/chunks/{kv-4v008n1t.js → vcs-4v008n1t.js} +1 -1
- package/dist/chunks/{kv-rse61z3e.js → vcs-4ygfw4eq.js} +81 -81
- package/dist/chunks/{kv-kjz2x0t6.js → vcs-55pzwtf4.js} +4 -4
- package/dist/chunks/{kv-mz6map7w.js → vcs-5671gcv1.js} +21 -21
- package/dist/chunks/{kv-z06a16gz.js → vcs-5d4ztx9q.js} +30 -30
- package/dist/chunks/{kv-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-jyv46rdb.js → vcs-5mam38w3.js} +17 -17
- package/dist/chunks/{kv-va23x1ev.js → vcs-5r0vv638.js} +23 -23
- package/dist/chunks/{kv-5x26af84.js → vcs-5x26af84.js} +4 -4
- package/dist/chunks/{kv-45t4pvv9.js → vcs-6cahmqzr.js} +8 -8
- package/dist/chunks/{kv-jccwdt87.js → vcs-6e8fzyj6.js} +11 -11
- package/dist/chunks/{kv-jnznqa0v.js → vcs-6eerc732.js} +26 -26
- package/dist/chunks/{kv-6esdw8yj.js → vcs-6esdw8yj.js} +1 -1
- package/dist/chunks/{kv-6kd4nej0.js → vcs-6tznm3hm.js} +2 -2
- package/dist/chunks/{kv-bs9erd7a.js → vcs-6xwsggmf.js} +15 -15
- package/dist/chunks/{kv-m72tv8hd.js → vcs-6xxsd0pz.js} +3 -3
- package/dist/chunks/{kv-xya1t4hx.js → vcs-6zmsqwr6.js} +16 -16
- package/dist/chunks/{kv-76cb1hcw.js → vcs-76cb1hcw.js} +1 -1
- package/dist/chunks/{kv-s6yf7284.js → vcs-7874zhk8.js} +40 -40
- package/dist/chunks/{kv-v1w3n95q.js → vcs-78tx5zvz.js} +9 -9
- package/dist/chunks/{kv-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-d3x5xz6w.js → vcs-7epxgbgt.js} +6 -6
- package/dist/chunks/{kv-a9heag1q.js → vcs-7eybfgds.js} +20 -20
- package/dist/chunks/{kv-7r08xby2.js → vcs-7fg5f906.js} +12 -12
- package/dist/chunks/{kv-srqjx27b.js → vcs-7fqk2rn8.js} +12 -12
- package/dist/chunks/{kv-drvbhkez.js → vcs-7sdtxe0n.js} +4 -4
- package/dist/chunks/{kv-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
- package/dist/chunks/{kv-d0h96hzn.js → vcs-7yect7x1.js} +2 -2
- package/dist/chunks/{kv-6ybw2n0b.js → vcs-8052wv3e.js} +16 -16
- package/dist/chunks/{kv-7e2neh3h.js → vcs-8n62zpbp.js} +13 -13
- package/dist/chunks/{kv-bja6bvye.js → vcs-8n846smm.js} +2 -2
- package/dist/chunks/{kv-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
- package/dist/chunks/{kv-2pb3yjvs.js → vcs-8y5149m8.js} +30 -30
- package/dist/chunks/{kv-90zstvax.js → vcs-90zstvax.js} +1 -1
- package/dist/chunks/{kv-wcz009vq.js → vcs-95knjzp6.js} +9 -9
- package/dist/chunks/{kv-160yv0cs.js → vcs-9kg5w032.js} +8 -8
- package/dist/chunks/{kv-rka2t92q.js → vcs-9nckg20m.js} +27 -27
- package/dist/chunks/{kv-bkzw6hsp.js → vcs-9px9s5en.js} +7 -7
- package/dist/chunks/{kv-n81rxgvg.js → vcs-9t2khtsw.js} +5 -5
- package/dist/chunks/{kv-pxhg702b.js → vcs-a9czvbcv.js} +1 -1
- package/dist/chunks/{kv-fsrz95nf.js → vcs-afpnaekc.js} +25 -25
- package/dist/chunks/{kv-rw0xsr40.js → vcs-an9k1q61.js} +4 -4
- package/dist/chunks/{kv-ae17cx8n.js → vcs-avnfhq9f.js} +19 -19
- package/dist/chunks/{kv-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
- package/dist/chunks/{kv-p7j90a4h.js → vcs-b0sg3wpe.js} +9 -9
- package/dist/chunks/{kv-b6vsg801.js → vcs-b6vsg801.js} +2 -2
- package/dist/chunks/{kv-w4p9wx71.js → vcs-b7pj09ek.js} +36 -36
- package/dist/chunks/{kv-zczdm7ss.js → vcs-b8r1m2ts.js} +44 -44
- package/dist/chunks/{kv-cyw3w6mc.js → vcs-bayttsv6.js} +27 -27
- package/dist/chunks/{kv-4vfjz4rt.js → vcs-bdbkn0ax.js} +8 -8
- package/dist/chunks/{kv-wjsq0ywf.js → vcs-bekv3p3z.js} +22 -22
- package/dist/chunks/{kv-drj7ak6f.js → vcs-bhy91ayb.js} +31 -31
- package/dist/chunks/{kv-61ennm6n.js → vcs-bjhzkqyk.js} +4 -4
- package/dist/chunks/{kv-3xack7ze.js → vcs-bmx1m787.js} +13 -13
- package/dist/chunks/{kv-404pyvje.js → vcs-bpnannhc.js} +44 -44
- package/dist/chunks/{kv-zt0ned3b.js → vcs-bq2x6ppg.js} +24 -24
- package/dist/chunks/{kv-bstexjd6.js → vcs-bstexjd6.js} +1 -1
- package/dist/chunks/{kv-kaezavbt.js → vcs-bxp5xmbx.js} +7 -7
- package/dist/chunks/{kv-2azy8kv6.js → vcs-c6x7d2ts.js} +4 -4
- package/dist/chunks/{kv-g9cxkdwa.js → vcs-c7zhh4za.js} +6 -6
- package/dist/chunks/{kv-5dr4hgg7.js → vcs-c8qdcmh0.js} +18 -18
- package/dist/chunks/{kv-w3nmgmjr.js → vcs-cadx8dpa.js} +22 -22
- package/dist/chunks/{kv-vp2s2yka.js → vcs-cbc4taa6.js} +9 -9
- package/dist/chunks/{kv-dmfyzmpg.js → vcs-ccky80qd.js} +19 -19
- package/dist/chunks/{kv-je4969v5.js → vcs-cgcy5cf3.js} +5 -5
- package/dist/chunks/{kv-j9nzbxbp.js → vcs-cjbgqqwx.js} +31 -31
- package/dist/chunks/{kv-xgdb09b7.js → vcs-ckhqsxvy.js} +16 -16
- package/dist/chunks/{kv-5sx2762c.js → vcs-ckwa8jkx.js} +35 -35
- package/dist/chunks/{kv-cwrgdav8.js → vcs-cwrgdav8.js} +2 -2
- package/dist/chunks/{kv-qzbnxppj.js → vcs-cy4s1jp1.js} +18 -18
- package/dist/chunks/{kv-jx4dw3ag.js → vcs-d1zgnyfs.js} +21 -21
- package/dist/chunks/{kv-9qgjgkb9.js → vcs-d206m7xv.js} +5 -5
- package/dist/chunks/vcs-d4p81mds.js +26 -0
- package/dist/chunks/{kv-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
- package/dist/chunks/{kv-dk38r1a2.js → vcs-d85wcx0m.js} +12 -12
- package/dist/chunks/{kv-3ztkfjf6.js → vcs-d93zgrjq.js} +27 -27
- package/dist/chunks/{kv-9tvpxs1q.js → vcs-dds9zz6p.js} +4 -4
- package/dist/chunks/{kv-9jj3c98z.js → vcs-df75hh45.js} +11 -11
- package/dist/chunks/{kv-02xem3g7.js → vcs-dpq8g4fp.js} +13 -13
- package/dist/chunks/{kv-47xa9006.js → vcs-dr0gyvs8.js} +10 -10
- package/dist/chunks/{kv-3j1m3tq4.js → vcs-ds7r37yp.js} +5 -5
- package/dist/chunks/{kv-dt77769w.js → vcs-dt77769w.js} +1 -1
- package/dist/chunks/{kv-vv3nc6b1.js → vcs-dz8d6p0s.js} +5 -5
- package/dist/chunks/{kv-h3pvpee7.js → vcs-e5nq3gw7.js} +32 -32
- package/dist/chunks/{kv-n8khhpxx.js → vcs-e7a6aess.js} +9 -9
- package/dist/chunks/{kv-115ne1bg.js → vcs-e7ncz2ep.js} +2 -2
- package/dist/chunks/{kv-e834z07m.js → vcs-e834z07m.js} +1 -1
- package/dist/chunks/{kv-4a3eytr1.js → vcs-e8c50cbj.js} +18 -18
- package/dist/chunks/{kv-89jhvfsn.js → vcs-ete78w2g.js} +15 -15
- package/dist/chunks/{kv-as23t5a0.js → vcs-etk98kh7.js} +21 -21
- package/dist/chunks/{kv-5rgfwmcq.js → vcs-f0kndmgd.js} +21 -21
- package/dist/chunks/{kv-xp28p2w2.js → vcs-f27me0yd.js} +9 -9
- package/dist/chunks/{kv-2s2qahr1.js → vcs-f62xyz39.js} +38 -38
- package/dist/chunks/{kv-wct2263p.js → vcs-fbjqxkhq.js} +8 -8
- package/dist/chunks/{kv-hjpcddse.js → vcs-fcs1vx3s.js} +23 -23
- package/dist/chunks/{kv-fffv3p7h.js → vcs-fffv3p7h.js} +1 -1
- package/dist/chunks/{kv-fg9p65nk.js → vcs-fg9p65nk.js} +2 -2
- package/dist/chunks/{kv-hhd5n8kg.js → vcs-fkdj66dg.js} +9 -9
- package/dist/chunks/{kv-2rmkd67q.js → vcs-fm7mve24.js} +29 -29
- package/dist/chunks/{kv-7r392kn2.js → vcs-fzqd52s1.js} +46 -46
- package/dist/chunks/{kv-tadqmw12.js → vcs-fzvj6npn.js} +8 -8
- package/dist/chunks/{kv-yjb6ndj5.js → vcs-g1sr3cxe.js} +6 -6
- package/dist/chunks/{kv-hyq982s1.js → vcs-g4p48r8x.js} +184 -184
- package/dist/chunks/{kv-pw71cva5.js → vcs-g5dwm102.js} +11 -11
- package/dist/chunks/{kv-ka5qgwzt.js → vcs-gd9bhszy.js} +23 -23
- package/dist/chunks/{kv-gg8p9cgs.js → vcs-gg8p9cgs.js} +3 -3
- package/dist/chunks/{kv-56c2krc0.js → vcs-gkt07kmn.js} +320 -320
- package/dist/chunks/{kv-5k77g5zr.js → vcs-gqw7tsj2.js} +12 -12
- package/dist/chunks/{kv-me84cmg9.js → vcs-gym2h9a5.js} +45 -45
- package/dist/chunks/{kv-4evqz61e.js → vcs-h4fbvc3r.js} +9 -9
- package/dist/chunks/{kv-2n5dwavd.js → vcs-h5qv78he.js} +15 -15
- package/dist/chunks/{kv-f4r96g21.js → vcs-hcw7brhb.js} +37 -37
- package/dist/chunks/{kv-hdfrs5mg.js → vcs-hdfrs5mg.js} +2 -2
- package/dist/chunks/{kv-q2kjegb7.js → vcs-hembwb5d.js} +29 -29
- package/dist/chunks/{kv-vgbe0hx2.js → vcs-hpfdwx7h.js} +6 -6
- package/dist/chunks/{kv-hpg1pkwy.js → vcs-hpg1pkwy.js} +1 -1
- package/dist/chunks/{kv-0fgrxrs4.js → vcs-hq2efw4x.js} +16 -16
- package/dist/chunks/{kv-vbhxch91.js → vcs-hstvx0fp.js} +11 -11
- package/dist/chunks/{kv-q9np0saj.js → vcs-hyj4a2ag.js} +11 -11
- package/dist/chunks/{kv-4t06a3yy.js → vcs-hzkgd62h.js} +10 -10
- package/dist/chunks/{kv-jqz6w6rx.js → vcs-j183yw35.js} +22 -22
- package/dist/chunks/{kv-vp0e260z.js → vcs-j989h8xf.js} +19 -19
- package/dist/chunks/{kv-qbwb6asr.js → vcs-jf5qn0eb.js} +14 -14
- package/dist/chunks/{kv-jfaecv01.js → vcs-jfaecv01.js} +1 -1
- package/dist/chunks/{kv-c3rxspmj.js → vcs-jh7yqtmb.js} +18 -18
- package/dist/chunks/{kv-7qh08jpw.js → vcs-jmg6ybda.js} +3 -3
- package/dist/chunks/{kv-7y9vgyqs.js → vcs-jnpgd2qz.js} +13 -13
- package/dist/chunks/{kv-0wg3svz2.js → vcs-jppd208a.js} +11 -11
- package/dist/chunks/{kv-jtnps1zs.js → vcs-jtnps1zs.js} +2 -2
- package/dist/chunks/{kv-q85rya1m.js → vcs-k3cw2t6y.js} +6 -6
- package/dist/chunks/{kv-gbxkedf1.js → vcs-k4a4wn9h.js} +9 -9
- package/dist/chunks/{kv-k814nvkf.js → vcs-k814nvkf.js} +1 -1
- package/dist/chunks/{kv-e07q2w5p.js → vcs-k9zkdd2y.js} +4 -4
- package/dist/chunks/{kv-x7p5d4ez.js → vcs-kfg4vbkh.js} +11 -11
- package/dist/chunks/{kv-kt3bjfbg.js → vcs-kt3bjfbg.js} +1 -1
- package/dist/chunks/{kv-m1714858.js → vcs-m1714858.js} +1 -1
- package/dist/chunks/{kv-55dqfegw.js → vcs-m2dzna08.js} +11 -11
- package/dist/chunks/{kv-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-qkmqhy1p.js → vcs-mayam77x.js} +12 -12
- package/dist/chunks/{kv-zx29snpc.js → vcs-mfpkpefx.js} +2 -2
- package/dist/chunks/{kv-c5m2a8vb.js → vcs-mpe6qr53.js} +8 -8
- package/dist/chunks/{kv-rtjw24t9.js → vcs-mtph0mrj.js} +17 -17
- package/dist/chunks/{kv-66na6bfc.js → vcs-n0bgtmah.js} +4 -4
- package/dist/chunks/{kv-nah043kf.js → vcs-nah043kf.js} +1 -1
- package/dist/chunks/{kv-pchrqqdm.js → vcs-nd2tnrer.js} +14 -14
- package/dist/chunks/{kv-qydyzxp6.js → vcs-nh3dh1yv.js} +11 -11
- package/dist/chunks/{kv-hde841fm.js → vcs-nhfnx0yz.js} +4 -4
- package/dist/chunks/{kv-qqycp87v.js → vcs-nq68ds7k.js} +11 -11
- package/dist/chunks/{kv-91zgm02f.js → vcs-nqr97zc9.js} +21 -21
- package/dist/chunks/{kv-nhbhgapw.js → vcs-nyvrwfsp.js} +7 -7
- package/dist/chunks/{kv-p015t6z3.js → vcs-p015t6z3.js} +2 -2
- package/dist/chunks/{kv-r8kayhxa.js → vcs-phvm2phv.js} +26 -26
- package/dist/chunks/{kv-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{kv-935mmq8c.js → vcs-pm2h99rs.js} +5 -5
- package/dist/chunks/{kv-1wxjvrk5.js → vcs-pp35y9ja.js} +12 -12
- package/dist/chunks/{kv-m2d0yhwr.js → vcs-ppb36cfr.js} +11 -11
- package/dist/chunks/{kv-m7xh3h0x.js → vcs-prd8gnhb.js} +4 -4
- package/dist/chunks/{kv-ftxywx64.js → vcs-psx2s2js.js} +8 -8
- package/dist/chunks/{kv-0fvn3p7v.js → vcs-q6x07d23.js} +4 -4
- package/dist/chunks/{kv-twbd5t10.js → vcs-qbbn7fzb.js} +3 -3
- package/dist/chunks/{kv-75595w94.js → vcs-qega9mgr.js} +30 -30
- package/dist/chunks/{kv-zek7wtxf.js → vcs-qnx4qqef.js} +26 -26
- package/dist/chunks/{kv-qp7r0hxv.js → vcs-qp7r0hxv.js} +1 -1
- package/dist/chunks/{kv-shf9kqdk.js → vcs-qvp421yx.js} +12 -12
- package/dist/chunks/{kv-86dmydwe.js → vcs-qxt327x0.js} +9 -9
- package/dist/chunks/{kv-071gpszy.js → vcs-qzvrv7jr.js} +17 -17
- package/dist/chunks/{kv-r0yr0wbs.js → vcs-r0yr0wbs.js} +1 -1
- package/dist/chunks/{kv-kwndref6.js → vcs-r2tmvqhf.js} +6 -6
- package/dist/chunks/{kv-r542h3bh.js → vcs-r542h3bh.js} +1 -1
- package/dist/chunks/{kv-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
- package/dist/chunks/{kv-eg90dvv9.js → vcs-rba8nkkd.js} +35 -35
- package/dist/chunks/{kv-cw10c582.js → vcs-rfy1qsv0.js} +5 -5
- package/dist/chunks/{kv-ceka3dkk.js → vcs-rkmk5vwv.js} +20 -20
- package/dist/chunks/{kv-rt5dr6hb.js → vcs-rt5dr6hb.js} +1 -1
- package/dist/chunks/{kv-p4nh6pwc.js → vcs-rxr97xxp.js} +5 -5
- package/dist/chunks/{kv-d3r57h85.js → vcs-s3d0e3hj.js} +19 -19
- package/dist/chunks/{kv-sa3fpqfw.js → vcs-sa3fpqfw.js} +2 -2
- package/dist/chunks/{kv-2b2r99nk.js → vcs-sh7z0vsf.js} +16 -16
- package/dist/chunks/{kv-7dg3r1w7.js → vcs-sme6xn3k.js} +11 -11
- package/dist/chunks/{kv-8x9y3wj0.js → vcs-smfcvx02.js} +9 -9
- package/dist/chunks/{kv-a04bxpfg.js → vcs-snefxbbk.js} +15 -15
- package/dist/chunks/{kv-sqjzf8x2.js → vcs-sqjzf8x2.js} +1 -1
- package/dist/chunks/{kv-3p052jv5.js → vcs-srn70nxn.js} +11 -11
- package/dist/chunks/{kv-ssfehs1z.js → vcs-ssfehs1z.js} +1 -1
- package/dist/chunks/{kv-svcy3p9a.js → vcs-svcy3p9a.js} +1 -1
- package/dist/chunks/{kv-c5jgm94y.js → vcs-t0jmwydf.js} +6 -6
- package/dist/chunks/{kv-jd4age7a.js → vcs-t0kxd7r7.js} +4 -4
- package/dist/chunks/{kv-760wp627.js → vcs-tamjj6bd.js} +20 -20
- package/dist/chunks/{kv-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
- package/dist/chunks/{kv-jvdf543n.js → vcs-texq708e.js} +3 -3
- package/dist/chunks/{kv-j74bswn5.js → vcs-tkpvnbjr.js} +11 -11
- package/dist/chunks/{kv-8qnscykg.js → vcs-tnh07hxx.js} +10 -10
- package/dist/chunks/{kv-s8arvpx8.js → vcs-ttq9z2mv.js} +23 -23
- package/dist/chunks/{kv-twssxy5n.js → vcs-twssxy5n.js} +2 -2
- package/dist/chunks/{kv-xtqtqx9z.js → vcs-v0ry4a9f.js} +54 -54
- package/dist/chunks/{kv-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
- package/dist/chunks/{kv-vb80j1wh.js → vcs-vb80j1wh.js} +1 -1
- package/dist/chunks/{kv-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-cb8bjp2w.js → vcs-vmb9fjk7.js} +4 -4
- package/dist/chunks/{kv-n7d88tpn.js → vcs-vpm8vpz0.js} +2 -2
- package/dist/chunks/{kv-fdx879ms.js → vcs-vqyvghz1.js} +18 -18
- package/dist/chunks/{kv-qnqasnye.js → vcs-vsqvcqta.js} +3 -3
- package/dist/chunks/{kv-jd9njenw.js → vcs-vx6ny987.js} +4 -4
- package/dist/chunks/{kv-w2eysc6j.js → vcs-w2eysc6j.js} +2 -2
- package/dist/chunks/{kv-9q8g9sv8.js → vcs-w35wzz9x.js} +4 -4
- package/dist/chunks/{kv-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-kvyjzh70.js → vcs-w40n4gsv.js} +43 -43
- package/dist/chunks/{kv-nx76pwqd.js → vcs-w68dkr85.js} +18 -18
- package/dist/chunks/{kv-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
- package/dist/chunks/{kv-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{kv-myytq8fm.js → vcs-whphkcrj.js} +29 -29
- package/dist/chunks/{kv-wnhgecwx.js → vcs-wnhgecwx.js} +1 -1
- package/dist/chunks/{kv-wr3re1en.js → vcs-wr3re1en.js} +1 -1
- package/dist/chunks/{kv-vx10x2dk.js → vcs-xa3f19ed.js} +5 -5
- package/dist/chunks/{kv-dm6ksgvz.js → vcs-xaz3vqte.js} +4 -4
- package/dist/chunks/{kv-kwn3ssfm.js → vcs-xddcb79t.js} +3 -3
- package/dist/chunks/{kv-5tkm4nky.js → vcs-xj4wy132.js} +15 -15
- package/dist/chunks/{kv-4pwbrt4g.js → vcs-xk9q3ejh.js} +4 -4
- package/dist/chunks/{kv-hfgk9wzg.js → vcs-xnh55p1t.js} +7 -7
- package/dist/chunks/{kv-5ejxf25r.js → vcs-xp4gxavp.js} +12 -12
- package/dist/chunks/{kv-h2y60qcv.js → vcs-xxtgb6sa.js} +19 -19
- package/dist/chunks/{kv-b3vkvrqf.js → vcs-y0nndy60.js} +16 -16
- package/dist/chunks/{kv-evhj5yhc.js → vcs-y1d2ygm2.js} +14 -14
- package/dist/chunks/{kv-yara3q77.js → vcs-yara3q77.js} +2 -2
- package/dist/chunks/{kv-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
- package/dist/chunks/{kv-stf0fspw.js → vcs-yefmbngg.js} +17 -17
- package/dist/chunks/{kv-2b2tn81v.js → vcs-ym045bap.js} +42 -42
- package/dist/chunks/{kv-1r7af8ee.js → vcs-ymz7p2c9.js} +3 -3
- package/dist/chunks/{kv-4a0szxqv.js → vcs-yps7hgha.js} +16 -16
- package/dist/chunks/{kv-ktcb05j9.js → vcs-yqdscqzd.js} +49 -49
- package/dist/chunks/{kv-kh14z306.js → vcs-ysprf8xe.js} +8 -8
- package/dist/chunks/{kv-a3qf1gkz.js → vcs-yya0ytvb.js} +27 -27
- package/dist/chunks/{kv-fvssm496.js → vcs-yynrf4vj.js} +3 -3
- package/dist/chunks/{kv-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-z38nccrw.js → vcs-z38nccrw.js} +1 -1
- package/dist/chunks/{kv-rmg9yy75.js → vcs-z6shv5en.js} +44 -44
- package/dist/chunks/{kv-s13sq3kz.js → vcs-z7qjx3kd.js} +34 -34
- package/dist/chunks/{kv-j8nev28t.js → vcs-zeckgh37.js} +7 -7
- package/dist/chunks/{kv-zgd8t41s.js → vcs-zgd8t41s.js} +2 -2
- package/dist/chunks/{kv-zgkm4kzm.js → vcs-zgkm4kzm.js} +3 -3
- package/dist/chunks/{kv-0e61bcwm.js → vcs-zpmqt7v6.js} +16 -16
- package/dist/chunks/{kv-fhn08a80.js → vcs-zr0s6khg.js} +23 -23
- package/dist/chunks/{kv-abt0sas0.js → vcs-zrhp7mek.js} +26 -26
- package/dist/chunks/{kv-040cxj5w.js → vcs-zvcf8251.js} +13 -13
- package/dist/chunks/{kv-z5kj034w.js → vcs-zzt9btdd.js} +28 -28
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.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/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +117 -117
- 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 +99 -99
- 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/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +140 -140
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -102
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +92 -92
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +128 -128
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -153
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -158
- package/dist/tool/plugin/grep.js +156 -156
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/kv-e2m0e281.js +0 -26
- package/dist/chunks/kv-z7bdqmx5.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1jakw16s.js → vcs-1jakw16s.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4m86bj6y.js → vcs-4m86bj6y.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5w3e23ze.js → vcs-5w3e23ze.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a058387c.js → vcs-a058387c.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-beh6qq61.js → vcs-beh6qq61.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cqv5kn06.js → vcs-cqv5kn06.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fkpq3x5p.js → vcs-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jwr30sdr.js → vcs-jwr30sdr.js} +0 -0
- /package/dist/chunks/{kv-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-ncqqe42p.js → vcs-ncqqe42p.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p71gwv9c.js → vcs-p71gwv9c.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
Service82
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-6tznm3hm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service80
|
|
11
|
+
} from "./vcs-5671gcv1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./vcs-ppb36cfr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service47,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-4g637f85.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service52
|
|
22
|
+
} from "./vcs-b8r1m2ts.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service17,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-cadx8dpa.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output9,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin31,
|
|
42
|
+
name: () => name11,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name11 = "patch";
|
|
89
|
+
var Input11 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output9 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin31 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service80;
|
|
112
|
+
const access = yield* Service17;
|
|
113
|
+
const fileMutation = yield* Service47;
|
|
114
|
+
const formatter = yield* Service20;
|
|
115
115
|
const location = yield* Service82;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service52;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input11,
|
|
122
|
+
output: Output9,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -285,7 +285,7 @@ var Plugin14 = {
|
|
|
285
285
|
return { applied, files };
|
|
286
286
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
287
287
|
output,
|
|
288
|
-
content:
|
|
288
|
+
content: toModelContent5(output),
|
|
289
289
|
metadata: { files: output.files }
|
|
290
290
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
291
291
|
}
|
|
@@ -345,4 +345,4 @@ function trimDiff(diff) {
|
|
|
345
345
|
`);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
export {
|
|
348
|
+
export { name11, Input11, Applied2, Output9, toModelContent5, Plugin31, exports_patch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-vmb9fjk7.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-bayttsv6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service16,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./vcs-hcw7brhb.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service16;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-1jakw16s.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-jfaecv01.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-6xxsd0pz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./vcs-k3cw2t6y.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-2dkjcnxp.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-01vd1a4d.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-qega9mgr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service23
|
|
18
|
+
} from "./vcs-2qjpg97e.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-wnhgecwx.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service38;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service23;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-vmb9fjk7.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-bjhzkqyk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID13,
|
|
14
|
+
Service76,
|
|
15
|
+
node79,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-bq2x6ppg.js";
|
|
18
18
|
import {
|
|
19
19
|
Service82,
|
|
20
20
|
node86
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-6tznm3hm.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_provider3, {
|
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
34
|
Event: () => Event16,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node78,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -333,7 +333,7 @@ var decode = Schema.decodeUnknownSync(Legacy);
|
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
335
|
import { Event as Event16 } from "@opencode/schema/provider";
|
|
336
|
-
var
|
|
336
|
+
var ID12 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -572,9 +572,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
572
572
|
var Cache2 = Provider.Cache;
|
|
573
573
|
var Transport2 = Provider.Transport;
|
|
574
574
|
var Settings2 = Provider.Settings;
|
|
575
|
-
var
|
|
575
|
+
var Info22 = Provider.Info;
|
|
576
576
|
|
|
577
|
-
class
|
|
577
|
+
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
578
578
|
}
|
|
579
579
|
var definitions = new WeakMap;
|
|
580
580
|
function index(providerID, models) {
|
|
@@ -587,9 +587,9 @@ function index(providerID, models) {
|
|
|
587
587
|
definitions.set(models, indexes);
|
|
588
588
|
return result;
|
|
589
589
|
}
|
|
590
|
-
var layer = Layer.effect(
|
|
590
|
+
var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
591
591
|
const bus = yield* Service85;
|
|
592
|
-
const integrations = yield*
|
|
592
|
+
const integrations = yield* Service76;
|
|
593
593
|
const location = yield* Service82;
|
|
594
594
|
const state = create3({
|
|
595
595
|
name: "provider",
|
|
@@ -601,7 +601,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
601
601
|
const current = records.get(id);
|
|
602
602
|
if (current)
|
|
603
603
|
return current;
|
|
604
|
-
const added = { provider:
|
|
604
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
605
605
|
records.set(id, added);
|
|
606
606
|
maps.add(added.models);
|
|
607
607
|
return added;
|
|
@@ -682,7 +682,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
682
682
|
const available = Array.from(records.values()).filter((record) => {
|
|
683
683
|
if (record.provider.activation === "disabled")
|
|
684
684
|
return false;
|
|
685
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
685
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
686
686
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
687
687
|
return false;
|
|
688
688
|
if (record.provider.activation === "enabled")
|
|
@@ -709,7 +709,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
709
709
|
});
|
|
710
710
|
});
|
|
711
711
|
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
712
|
-
return
|
|
712
|
+
return Service75.of({
|
|
713
713
|
transform: state.transform,
|
|
714
714
|
reload: state.reload,
|
|
715
715
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -718,7 +718,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
718
718
|
snapshot
|
|
719
719
|
});
|
|
720
720
|
}));
|
|
721
|
-
var
|
|
721
|
+
var node78 = makeLocationNode({ service: Service75, layer, deps: [node89, node79, node86] });
|
|
722
722
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
723
723
|
const module = yield* Effect2.tryPromise({
|
|
724
724
|
try: () => {
|
|
@@ -740,4 +740,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
740
740
|
return module;
|
|
741
741
|
});
|
|
742
742
|
|
|
743
|
-
export {
|
|
743
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info22, Service75, node78, exports_provider3, Event16 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service84,
|
|
9
9
|
node88
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-dz8d6p0s.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-6tznm3hm.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-204s3925.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID9,
|
|
27
|
+
Service: () => Service61,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node64,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service61 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID9.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service61.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node64 = makeLocationNode({
|
|
158
|
+
service: Service61,
|
|
159
159
|
layer,
|
|
160
160
|
deps: [FSUtil.node, node88, Global.node, node86]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer3 = Layer.succeed(Service61, Service61.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error3({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID9, Error3, Service61, node64, noopLayer3, exports_snapshot2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-hzkgd62h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-vmb9fjk7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-3643rqcq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-bq2x6ppg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID12
|
|
17
|
+
} from "./vcs-zr0s6khg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-bayttsv6.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID12.make("digitalocean");
|
|
31
|
+
var integrationID = ID13.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|