@opencode/core 0.0.0-dev-228 → 0.0.0-dev-232
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 +90 -90
- package/dist/aisdk-native.js +100 -100
- package/dist/aisdk.js +106 -106
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -78
- package/dist/chunks/{form-x46kzptm.js → credential-02074jrw.js} +41 -41
- package/dist/chunks/{form-j7trztcj.js → credential-02gdc367.js} +21 -21
- package/dist/chunks/{form-v8gahvqg.js → credential-0330sawq.js} +3 -3
- package/dist/chunks/{form-aj7mw0zk.js → credential-034tev2y.js} +2 -2
- package/dist/chunks/{form-jy2czfqv.js → credential-0m9q59s6.js} +4 -4
- package/dist/chunks/{form-8jztxfpf.js → credential-11hfp36g.js} +4 -4
- package/dist/chunks/{form-w7bcyz89.js → credential-12h4w7eb.js} +11 -11
- package/dist/chunks/{form-hx5er68a.js → credential-13mbnmkz.js} +30 -30
- package/dist/chunks/{form-27w5k9zf.js → credential-1ep2p91f.js} +2 -2
- package/dist/chunks/{form-em6z47bx.js → credential-1fqvap8y.js} +10 -10
- package/dist/chunks/{form-8r9ywtx6.js → credential-1ke0ebjk.js} +8 -8
- package/dist/chunks/{form-ch3dpehw.js → credential-1qsv2p2w.js} +1 -1
- package/dist/chunks/{form-8e5p19qn.js → credential-1rtcg5pt.js} +22 -22
- package/dist/chunks/{form-r1n5a4qe.js → credential-1t4t88x3.js} +32 -32
- package/dist/chunks/{form-1x2knyw4.js → credential-1x2knyw4.js} +1 -1
- package/dist/chunks/{form-1yq9hg58.js → credential-1yq9hg58.js} +1 -1
- package/dist/chunks/{form-204s3925.js → credential-204s3925.js} +1 -1
- package/dist/chunks/{form-25h84942.js → credential-25h84942.js} +1 -1
- package/dist/chunks/{form-wzhs16ph.js → credential-2b7qrkd5.js} +42 -42
- package/dist/chunks/{form-gp6fvya6.js → credential-2dh97hnq.js} +28 -28
- package/dist/chunks/{form-hjb7zt8b.js → credential-2g02qr0r.js} +12 -12
- package/dist/chunks/{form-8y0bcag5.js → credential-2jm7sg1n.js} +19 -19
- package/dist/chunks/{form-knkdmrq8.js → credential-2pe161ac.js} +15 -15
- package/dist/chunks/{form-8hcvae60.js → credential-2r1210wt.js} +10 -10
- package/dist/chunks/{form-py7k5n7n.js → credential-2teqx1fj.js} +28 -28
- package/dist/chunks/{form-pbcq83b8.js → credential-2vp3eae7.js} +12 -12
- package/dist/chunks/{form-4n77906h.js → credential-2wav6r65.js} +33 -33
- package/dist/chunks/{form-h50dg4rv.js → credential-2xpqyv5y.js} +26 -26
- package/dist/chunks/{form-2zp5a6yg.js → credential-2zp5a6yg.js} +1 -1
- package/dist/chunks/{form-0we704hm.js → credential-33rwgczv.js} +27 -27
- package/dist/chunks/{form-9c4f3png.js → credential-34e87nx4.js} +18 -18
- package/dist/chunks/{form-cmr431hx.js → credential-384pxm0c.js} +15 -15
- package/dist/chunks/{form-749j9bem.js → credential-38bbyr5m.js} +16 -16
- package/dist/chunks/{form-kv3vzdmy.js → credential-3ct3v2ns.js} +11 -11
- package/dist/chunks/{form-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-9spex28b.js → credential-3hxa5b5d.js} +319 -319
- package/dist/chunks/{form-rx6qpc9d.js → credential-3j1m3tq4.js} +5 -5
- package/dist/chunks/{form-a73hjx22.js → credential-3kaedtbj.js} +13 -13
- package/dist/chunks/{form-zk53j53a.js → credential-3kdbrncp.js} +5 -5
- package/dist/chunks/{form-3nnrz6f6.js → credential-3nnrz6f6.js} +1 -1
- package/dist/chunks/{form-c8t4rycs.js → credential-3pw2198r.js} +74 -74
- package/dist/chunks/{form-y2gpst6y.js → credential-3r2mjcrp.js} +13 -13
- package/dist/chunks/credential-3x4vqzvj.js +257 -0
- package/dist/chunks/{form-h4rvxyzb.js → credential-44jn1514.js} +10 -10
- package/dist/chunks/{form-e2zffr00.js → credential-4ewbr215.js} +8 -8
- package/dist/chunks/{form-bd3ag47v.js → credential-4gnj7q94.js} +5 -5
- package/dist/chunks/{form-mktg3r47.js → credential-4hqwqpkp.js} +69 -69
- package/dist/chunks/{form-c0q18wbz.js → credential-4kjz03p0.js} +17 -17
- package/dist/chunks/{form-jr332ax1.js → credential-4na4vtxt.js} +6 -6
- package/dist/chunks/{form-4pyp9zr9.js → credential-4pyp9zr9.js} +1 -1
- package/dist/chunks/{form-4v008n1t.js → credential-4v008n1t.js} +1 -1
- package/dist/chunks/{form-afhpfagb.js → credential-4y8p0etd.js} +21 -21
- package/dist/chunks/{form-jxhxxqgb.js → credential-4zrcmfpw.js} +6 -6
- package/dist/chunks/{form-yb37bm60.js → credential-4zsb5k87.js} +11 -11
- package/dist/chunks/{form-0y84vv13.js → credential-50ttnce6.js} +57 -57
- package/dist/chunks/{form-9q4bej68.js → credential-584z8fgw.js} +38 -38
- package/dist/chunks/{form-5enarcya.js → credential-5enarcya.js} +2 -2
- package/dist/chunks/{form-5m9w47nd.js → credential-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-b6vsg801.js → credential-5nnwax6m.js} +5 -5
- package/dist/chunks/{form-tcrj48nm.js → credential-5ntfweg7.js} +30 -30
- package/dist/chunks/{form-adepxgxt.js → credential-60d2znf6.js} +1 -1
- package/dist/chunks/{form-8x57f01e.js → credential-60jz9eyc.js} +25 -25
- package/dist/chunks/{form-0rvjqh0v.js → credential-65v26sy5.js} +14 -14
- package/dist/chunks/{form-fddmw01z.js → credential-66304bnq.js} +23 -23
- package/dist/chunks/{form-xyj2z7t9.js → credential-6869n964.js} +15 -15
- package/dist/chunks/{form-yjkwyrer.js → credential-69r9be3z.js} +31 -31
- package/dist/chunks/{form-rkbnve9v.js → credential-6astz3f9.js} +18 -18
- package/dist/chunks/{form-6esdw8yj.js → credential-6esdw8yj.js} +1 -1
- package/dist/chunks/{form-z1yb6k18.js → credential-6fvxxg60.js} +22 -22
- package/dist/chunks/{form-4hmxtsmg.js → credential-6g2dzwcy.js} +170 -170
- package/dist/chunks/{form-7wstq74c.js → credential-6n1skpzs.js} +10 -10
- package/dist/chunks/{form-9w8yvhv2.js → credential-6qwvma6z.js} +17 -17
- package/dist/chunks/credential-6zjm2phc.js +18 -0
- package/dist/chunks/{form-qnz6w04z.js → credential-78r8et96.js} +9 -9
- package/dist/chunks/{form-tv1hegq9.js → credential-79se5gqs.js} +12 -12
- package/dist/chunks/{form-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-ze5pwfxf.js → credential-7evtdt3e.js} +1 -1
- package/dist/chunks/{form-f8p7x3za.js → credential-7j68yrtf.js} +34 -34
- package/dist/chunks/{form-7a96kwdb.js → credential-7n02w7qn.js} +37 -37
- package/dist/chunks/{form-yk574f7x.js → credential-7tgk2ckz.js} +15 -15
- package/dist/chunks/{form-p0m7jsqr.js → credential-7vh1qcpk.js} +7 -7
- package/dist/chunks/{form-7w2ypzdf.js → credential-7w2ypzdf.js} +1 -1
- package/dist/chunks/{form-j2wws855.js → credential-7xrs9a5d.js} +5 -5
- package/dist/chunks/{form-12a87htm.js → credential-81a9zpe2.js} +8 -8
- package/dist/chunks/{form-cvgy9b2f.js → credential-85ns452d.js} +42 -42
- package/dist/chunks/{form-5xm8fbgh.js → credential-87e13nka.js} +6 -6
- package/dist/chunks/{form-a7y0hmbq.js → credential-88f4ansx.js} +11 -11
- package/dist/chunks/{form-hced1q2j.js → credential-8dfptpqb.js} +4 -4
- package/dist/chunks/{form-8wtp7s3z.js → credential-8wtp7s3z.js} +1 -1
- package/dist/chunks/{form-90zstvax.js → credential-90zstvax.js} +1 -1
- package/dist/chunks/{form-56hw1ah1.js → credential-92cn2t4g.js} +9 -9
- package/dist/chunks/{form-vbggds6s.js → credential-95byvzjw.js} +11 -11
- package/dist/chunks/{form-bb58r61a.js → credential-96f366mh.js} +15 -15
- package/dist/chunks/{form-dyd2a8eg.js → credential-998ewk3b.js} +17 -17
- package/dist/chunks/{form-8cz13j6a.js → credential-9a1tdgr3.js} +19 -19
- package/dist/chunks/{form-rafkt0z2.js → credential-9dyz4be8.js} +5 -5
- package/dist/chunks/{form-zgd8t41s.js → credential-9f3sjfep.js} +9 -9
- package/dist/chunks/{form-hdh1880y.js → credential-9gmdzyfg.js} +21 -21
- package/dist/chunks/{form-9r0x1bva.js → credential-9qcg53ez.js} +2 -2
- package/dist/chunks/{form-xeygv81t.js → credential-9s4r78yd.js} +3 -3
- package/dist/chunks/{form-1de26m2d.js → credential-9vp6aqcz.js} +13 -13
- package/dist/chunks/{form-av5v11km.js → credential-9wp8352v.js} +3 -3
- package/dist/chunks/{form-r21czkj7.js → credential-a06br7p4.js} +18 -18
- package/dist/chunks/{form-4j43s0xr.js → credential-a1226ymt.js} +48 -48
- package/dist/chunks/{form-xg4acpkm.js → credential-a38b7w2q.js} +5 -5
- package/dist/chunks/{form-vr5v59hp.js → credential-a3975399.js} +15 -15
- package/dist/chunks/{form-jqchfgzz.js → credential-a3a7mjkh.js} +23 -23
- package/dist/chunks/{form-6d7rzhz6.js → credential-aafav67h.js} +28 -28
- package/dist/chunks/{form-rr09v45e.js → credential-ac39bgbj.js} +22 -22
- package/dist/chunks/{form-e6k079pp.js → credential-afhevj5w.js} +10 -10
- package/dist/chunks/{form-e2ne77ac.js → credential-agqd6nxz.js} +4 -4
- package/dist/chunks/{form-3cbjf1nt.js → credential-ayjs7tqn.js} +2 -2
- package/dist/chunks/{form-tzhe5vps.js → credential-ayvz2n09.js} +2 -2
- package/dist/chunks/{form-477xfj3c.js → credential-b5nc9mwq.js} +17 -17
- package/dist/chunks/{form-nzqym5fn.js → credential-b6y9tnyb.js} +13 -13
- package/dist/chunks/{form-xhfzgzgf.js → credential-b83byfam.js} +2 -2
- package/dist/chunks/{form-7jncsexd.js → credential-bf19td7e.js} +4 -4
- package/dist/chunks/{form-ggwxx8z6.js → credential-bk9s8j1w.js} +18 -18
- package/dist/chunks/{form-pz1n0gq8.js → credential-c1z88dhz.js} +3 -3
- package/dist/chunks/{form-wvr8z8p1.js → credential-ch2d8ay7.js} +17 -17
- package/dist/chunks/{form-n8wrw86q.js → credential-cm2hyy18.js} +8 -8
- package/dist/chunks/{form-c6x7d2ts.js → credential-cpvd08na.js} +4 -4
- package/dist/chunks/{form-cwrgdav8.js → credential-cwrgdav8.js} +2 -2
- package/dist/chunks/{form-bs9ntfbp.js → credential-d3wqtg9z.js} +21 -21
- package/dist/chunks/{form-gn8tkhbf.js → credential-d4v9tmah.js} +2 -2
- package/dist/chunks/{form-c7h4rvjw.js → credential-dkvmgk9x.js} +16 -16
- package/dist/chunks/{form-780gjtmn.js → credential-ds6gwmx6.js} +8 -8
- package/dist/chunks/{form-dt77769w.js → credential-dt77769w.js} +1 -1
- package/dist/chunks/{form-e834z07m.js → credential-e834z07m.js} +1 -1
- package/dist/chunks/{form-kw7y9j0p.js → credential-e9rx3qe8.js} +11 -11
- package/dist/chunks/{form-tptvq6v6.js → credential-eahpwh8e.js} +4 -4
- package/dist/chunks/{form-r0b5cv65.js → credential-edz3vk4c.js} +10 -10
- package/dist/chunks/{form-spfg18b2.js → credential-ef6q3xef.js} +69 -69
- package/dist/chunks/{form-42s34a0z.js → credential-eqkje2vh.js} +18 -18
- package/dist/chunks/{form-n72e3dxd.js → credential-ewvsv6ts.js} +5 -5
- package/dist/chunks/{form-nb176vr9.js → credential-f758g5wm.js} +2 -2
- package/dist/chunks/{form-4ggvzfz0.js → credential-fea2mecn.js} +7 -7
- package/dist/chunks/{form-fffv3p7h.js → credential-fffv3p7h.js} +1 -1
- package/dist/chunks/{form-fg9p65nk.js → credential-fg9p65nk.js} +2 -2
- package/dist/chunks/{form-hep9bk35.js → credential-fh48twx0.js} +11 -11
- package/dist/chunks/{form-8x6dz44a.js → credential-fjds1fn3.js} +8 -8
- package/dist/chunks/{form-y28d2ctz.js → credential-fpy4nybh.js} +11 -11
- package/dist/chunks/{form-0tqaar2n.js → credential-fv02tqgz.js} +18 -18
- package/dist/chunks/{form-np3f7rt0.js → credential-fypmhnps.js} +2 -2
- package/dist/chunks/{form-6dwjznsx.js → credential-g3p0mxj8.js} +2 -2
- package/dist/chunks/{form-pe0xbfng.js → credential-gnzzs75r.js} +5 -5
- package/dist/chunks/{form-6848bbxa.js → credential-gqk9gxfj.js} +11 -11
- package/dist/chunks/{form-9yj11fn9.js → credential-gv0qvba3.js} +7 -7
- package/dist/chunks/{form-h4p3pyf8.js → credential-h4p3pyf8.js} +3 -3
- package/dist/chunks/{form-caez4nff.js → credential-h4t863wd.js} +15 -15
- package/dist/chunks/{form-x07e5g67.js → credential-h5kmqadq.js} +18 -18
- package/dist/chunks/{form-zm2ek9rr.js → credential-h6hc5rex.js} +11 -11
- package/dist/chunks/{form-5ew4vg0t.js → credential-hezj4sa2.js} +11 -11
- package/dist/chunks/{form-bwcgh3pa.js → credential-hjx8amkq.js} +7 -7
- package/dist/chunks/{form-hpg1pkwy.js → credential-hpg1pkwy.js} +1 -1
- package/dist/chunks/{form-ts85mjsk.js → credential-hszqsyww.js} +10 -10
- package/dist/chunks/{form-t16hmx8j.js → credential-j00x2d5t.js} +4 -4
- package/dist/chunks/{form-6kwb0ym8.js → credential-j499rj47.js} +4 -4
- package/dist/chunks/{form-1vgxrmdj.js → credential-j93e60fq.js} +20 -20
- package/dist/chunks/{form-aakxnvea.js → credential-jcqm84fr.js} +9 -9
- package/dist/chunks/{form-0a6594q4.js → credential-jera5sqk.js} +17 -17
- package/dist/chunks/{form-jfaecv01.js → credential-jfaecv01.js} +1 -1
- package/dist/chunks/{form-jtnps1zs.js → credential-jtnps1zs.js} +2 -2
- package/dist/chunks/{form-c7a65p05.js → credential-jvn8ph2p.js} +11 -11
- package/dist/chunks/{form-3vn6803g.js → credential-jwskecy1.js} +9 -9
- package/dist/chunks/{form-ey5xajk0.js → credential-jx93w0c5.js} +4 -4
- package/dist/chunks/{form-b2mp8qdf.js → credential-jypxyda9.js} +23 -23
- package/dist/chunks/{form-p570ajbq.js → credential-k532z9bf.js} +15 -15
- package/dist/chunks/{form-k814nvkf.js → credential-k814nvkf.js} +1 -1
- package/dist/chunks/{form-yfcr1se9.js → credential-k8v5aqnf.js} +9 -9
- package/dist/chunks/{form-ybdj6tkq.js → credential-k9ayha1m.js} +6 -6
- package/dist/chunks/{form-e07q2w5p.js → credential-k9zkdd2y.js} +4 -4
- package/dist/chunks/{form-362tp65q.js → credential-kmv1hb68.js} +4 -4
- package/dist/chunks/{form-kt3bjfbg.js → credential-kt3bjfbg.js} +1 -1
- package/dist/chunks/{form-wjs5qw55.js → credential-kv8hcqvx.js} +22 -22
- package/dist/chunks/{form-9x19j16c.js → credential-kvvwtbv8.js} +31 -31
- package/dist/chunks/{form-y2wa3a8s.js → credential-m0w0bb4h.js} +5 -5
- package/dist/chunks/{form-m1714858.js → credential-m1714858.js} +1 -1
- package/dist/chunks/{form-g7esga4v.js → credential-m37sd98t.js} +7 -7
- package/dist/chunks/{form-7c2qna5p.js → credential-m5ybn5jf.js} +4 -4
- package/dist/chunks/{form-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-8z6m94af.js → credential-mb7mbhnz.js} +3 -3
- package/dist/chunks/{form-cdwpjm32.js → credential-mbq8kt07.js} +8 -8
- package/dist/chunks/{form-acn20bfg.js → credential-mehdtjq6.js} +13 -13
- package/dist/chunks/{form-mmx1mfjr.js → credential-mmx1mfjr.js} +1 -1
- package/dist/chunks/{form-796fpssb.js → credential-mv2126ff.js} +11 -11
- package/dist/chunks/{form-asvv9q89.js → credential-mv2fpsaq.js} +16 -16
- package/dist/chunks/{form-pxdh3f58.js → credential-myskz43g.js} +2 -2
- package/dist/chunks/{form-j0cfz84q.js → credential-n65rh0xd.js} +41 -41
- package/dist/chunks/{form-53rsp81d.js → credential-n786j7gq.js} +19 -19
- package/dist/chunks/{form-nah043kf.js → credential-nah043kf.js} +1 -1
- package/dist/chunks/{form-1psxqbrq.js → credential-nb115p4b.js} +17 -17
- package/dist/chunks/{form-vr11s0jh.js → credential-nb5fst4x.js} +6 -6
- package/dist/chunks/{form-2m0d1k40.js → credential-nbg1eymv.js} +5 -5
- package/dist/chunks/{form-s3gj3rj3.js → credential-nr90vwd5.js} +8 -8
- package/dist/chunks/{form-p015t6z3.js → credential-p015t6z3.js} +2 -2
- package/dist/chunks/{form-sq4s6wq1.js → credential-p580ev26.js} +6 -6
- package/dist/chunks/{form-kkbdeg4e.js → credential-p8ke63yd.js} +4 -4
- package/dist/chunks/{form-a5y5z42n.js → credential-p9g1pat1.js} +29 -29
- package/dist/chunks/{form-y7w06ryq.js → credential-pcspc0c8.js} +17 -17
- package/dist/chunks/{form-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{form-e471twwt.js → credential-pm3q2zxn.js} +8 -8
- package/dist/chunks/{form-4th82h6j.js → credential-ppvmsckx.js} +9 -9
- package/dist/chunks/{form-jf0vywae.js → credential-q45fvp3e.js} +6 -6
- package/dist/chunks/{form-ryfpe5sz.js → credential-qe54a3zp.js} +43 -43
- package/dist/chunks/{form-qp7r0hxv.js → credential-qp7r0hxv.js} +1 -1
- package/dist/chunks/{form-qqvy8y24.js → credential-qqvy8y24.js} +1 -1
- package/dist/chunks/{form-r0yr0wbs.js → credential-r0yr0wbs.js} +1 -1
- package/dist/chunks/{form-r542h3bh.js → credential-r542h3bh.js} +1 -1
- package/dist/chunks/{form-rb9dy4dg.js → credential-rb9dy4dg.js} +1 -1
- package/dist/chunks/{form-6wv6k331.js → credential-rbftx08j.js} +3 -3
- package/dist/chunks/{form-4cejxtdq.js → credential-rfrz2qbb.js} +21 -21
- package/dist/chunks/{form-9se3w9ew.js → credential-rgg7ckaw.js} +15 -15
- package/dist/chunks/{form-tr0vf8pp.js → credential-rmm621gb.js} +12 -12
- package/dist/chunks/{form-kmfe92z1.js → credential-rrfeqsm8.js} +22 -22
- package/dist/chunks/{form-y7t1ke69.js → credential-rsw4x5nh.js} +29 -29
- package/dist/chunks/{form-rt5dr6hb.js → credential-rt5dr6hb.js} +1 -1
- package/dist/chunks/{form-s7gmm2q3.js → credential-s7gmm2q3.js} +3 -3
- package/dist/chunks/{form-va23bk0p.js → credential-s8xxgn4g.js} +4 -4
- package/dist/chunks/{form-sa3fpqfw.js → credential-sa3fpqfw.js} +2 -2
- package/dist/chunks/{form-rzrq5kss.js → credential-sgwnnnm7.js} +11 -11
- package/dist/chunks/{form-k0fqk4b8.js → credential-sm7psbfm.js} +10 -10
- package/dist/chunks/{form-sqjzf8x2.js → credential-sqjzf8x2.js} +1 -1
- package/dist/chunks/{form-d2887f8n.js → credential-ssfehs1z.js} +4 -4
- package/dist/chunks/{form-bdked8mr.js → credential-sskrz1rw.js} +38 -38
- package/dist/chunks/{form-svcy3p9a.js → credential-svcy3p9a.js} +1 -1
- package/dist/chunks/{form-kwdd41eq.js → credential-t1pz09kx.js} +26 -26
- package/dist/chunks/{form-wpnjmb41.js → credential-t1qmvjvb.js} +36 -36
- package/dist/chunks/{form-4asfahx2.js → credential-t3p3y0b7.js} +14 -14
- package/dist/chunks/{form-tczq8hjw.js → credential-tczq8hjw.js} +1 -1
- package/dist/chunks/{form-tg1vr1qt.js → credential-tg1vr1qt.js} +1 -1
- package/dist/chunks/{form-qh4ws9d6.js → credential-tp62qny7.js} +11 -11
- package/dist/chunks/{form-ty3g7dye.js → credential-tqg17mva.js} +30 -30
- package/dist/chunks/{form-twssxy5n.js → credential-twssxy5n.js} +2 -2
- package/dist/chunks/{form-v2r1d0zg.js → credential-v2r1d0zg.js} +1 -1
- package/dist/chunks/{form-vaq1yek0.js → credential-vaq1yek0.js} +3 -3
- package/dist/chunks/{form-fha4hq43.js → credential-vbhg7a8p.js} +30 -30
- package/dist/chunks/{form-dx8q40th.js → credential-vqavkb0r.js} +7 -7
- package/dist/chunks/{form-f1s2vndp.js → credential-vqe08nj1.js} +24 -24
- package/dist/chunks/{form-kvvghrks.js → credential-vvbgnqg2.js} +22 -22
- package/dist/chunks/{form-w0sctsdt.js → credential-w0sctsdt.js} +2 -2
- package/dist/chunks/{form-3ecf3tng.js → credential-w1tnk1sc.js} +4 -4
- package/dist/chunks/{form-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-n2fn6n16.js → credential-w4xkkccr.js} +5 -5
- package/dist/chunks/{form-w8qtt4th.js → credential-w8qtt4th.js} +1 -1
- package/dist/chunks/{form-6m6e0fq6.js → credential-wae28k01.js} +9 -9
- package/dist/chunks/{form-wakvkjy4.js → credential-wakvkjy4.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{form-37zkny6h.js → credential-wfv6mr0t.js} +28 -28
- package/dist/chunks/{form-wnhgecwx.js → credential-wnhgecwx.js} +1 -1
- package/dist/chunks/{form-zht7fzxj.js → credential-wnk70846.js} +28 -28
- package/dist/chunks/{form-fznmdakp.js → credential-wr3re1en.js} +4 -4
- package/dist/chunks/{form-1apr90yy.js → credential-wtn5j8ff.js} +1 -1
- package/dist/chunks/{form-11p2wct5.js → credential-ww4her3p.js} +31 -31
- package/dist/chunks/{form-jv2xnyk0.js → credential-wwgpyqzb.js} +9 -9
- package/dist/chunks/{form-dnf86brd.js → credential-wzrertcx.js} +16 -16
- package/dist/chunks/{form-fdgtx545.js → credential-x657mhw6.js} +15 -15
- package/dist/chunks/{form-h921yzda.js → credential-x9hr9mw5.js} +30 -30
- package/dist/chunks/{form-0tt1jdqx.js → credential-xby0v85x.js} +6 -6
- package/dist/chunks/{form-bstexjd6.js → credential-xd9cc171.js} +5 -5
- package/dist/chunks/{form-mk9n97wy.js → credential-xf8b1wk9.js} +26 -26
- package/dist/chunks/{form-h725q1tb.js → credential-xg75fqpv.js} +25 -25
- package/dist/chunks/{form-xymnhqkr.js → credential-xk2zn0cv.js} +4 -4
- package/dist/chunks/{form-p5e49205.js → credential-xm0pdva2.js} +38 -38
- package/dist/chunks/{form-54qbttzm.js → credential-xr0813vk.js} +34 -34
- package/dist/chunks/{form-ztf6n3de.js → credential-xsact9zs.js} +4 -4
- package/dist/chunks/{form-xt0z8zst.js → credential-xt0z8zst.js} +1 -1
- package/dist/chunks/{form-t6cg7awe.js → credential-xz9rerx7.js} +16 -16
- package/dist/chunks/{form-g4y5gz37.js → credential-y38nte2y.js} +6 -6
- package/dist/chunks/{form-05c1xqfa.js → credential-y73ydd0q.js} +27 -27
- package/dist/chunks/{form-pxtfkpje.js → credential-yara3q77.js} +2 -2
- package/dist/chunks/{form-k2btearr.js → credential-yaxy9fpa.js} +20 -20
- package/dist/chunks/{form-yb20nhc3.js → credential-yb20nhc3.js} +1 -1
- package/dist/chunks/{form-1xfzm2bk.js → credential-yc1k612c.js} +9 -9
- package/dist/chunks/{form-3c96x8ty.js → credential-ye0pyk4z.js} +12 -12
- package/dist/chunks/{form-1r7af8ee.js → credential-ymz7p2c9.js} +3 -3
- package/dist/chunks/{form-7ktxa382.js → credential-ys32d0ez.js} +9 -9
- package/dist/chunks/{form-rsdjsbxj.js → credential-ytjvy0qw.js} +30 -30
- package/dist/chunks/{form-mspzpz50.js → credential-yv1jexcb.js} +8 -8
- package/dist/chunks/{form-0ce6qdts.js → credential-yvt4z0b8.js} +21 -21
- package/dist/chunks/{form-e5m5ahke.js → credential-yyv7g89v.js} +16 -16
- package/dist/chunks/{form-yfj8kv93.js → credential-yz5sb0gz.js} +11 -11
- package/dist/chunks/{form-8m5e40h7.js → credential-z017em5h.js} +18 -18
- package/dist/chunks/{form-xp63w1t0.js → credential-z01m528w.js} +16 -16
- package/dist/chunks/{form-w8xr7nv8.js → credential-z2qbjhyn.js} +5 -5
- package/dist/chunks/{form-s1efnn68.js → credential-z3390mnz.js} +52 -52
- package/dist/chunks/{form-z38nccrw.js → credential-z38nccrw.js} +1 -1
- package/dist/chunks/{form-432wqttw.js → credential-z51dnz1g.js} +5 -5
- package/dist/chunks/{form-p965jgwx.js → credential-z8fzb2rn.js} +29 -29
- package/dist/chunks/{form-nbm1wd8w.js → credential-zfyyea20.js} +9 -9
- package/dist/chunks/{form-tt1vkc1g.js → credential-zhd9tgn6.js} +25 -25
- package/dist/chunks/{form-00qhjgh5.js → credential-zhmdrh6b.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +93 -93
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +110 -110
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +222 -222
- package/dist/config/plugin/compaction.js +165 -165
- package/dist/config/plugin/compatibility.js +145 -145
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +125 -125
- package/dist/config/plugin/image.js +124 -124
- package/dist/config/plugin/instruction.js +124 -124
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +126 -126
- package/dist/config/plugin/provider.js +125 -125
- package/dist/config/plugin/reference.js +126 -126
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +141 -141
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +124 -124
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +126 -126
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +75 -75
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration.gen.js +58 -58
- package/dist/database/migration.js +60 -60
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +388 -388
- 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 +100 -100
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +102 -102
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +79 -79
- package/dist/file-access.js +151 -151
- package/dist/file-mutation.js +105 -105
- 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 +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +235 -235
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +113 -113
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +98 -98
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- 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 +110 -110
- 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/notice.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 +379 -379
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job.js +87 -87
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +145 -145
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +376 -376
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -102
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +169 -169
- package/dist/mcp/oauth.js +87 -87
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +101 -101
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +110 -110
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +119 -119
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +85 -85
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +142 -142
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +84 -84
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +111 -111
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +230 -230
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +349 -349
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +108 -108
- package/dist/plugin/module.js +124 -124
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +141 -141
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +102 -102
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +124 -124
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/configured.js +120 -120
- package/dist/plugin/provider/credential-settings.js +83 -83
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +104 -104
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +106 -106
- package/dist/plugin/provider/gitlab.js +105 -105
- package/dist/plugin/provider/google-vertex.js +121 -121
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +87 -87
- package/dist/plugin/provider/lmstudio.js +131 -131
- package/dist/plugin/provider/local.js +130 -130
- package/dist/plugin/provider/modal.js +103 -103
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +133 -133
- package/dist/plugin/provider/openai-context-caps.js +101 -101
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +102 -102
- package/dist/plugin/provider/poe.js +88 -88
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +102 -102
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +123 -123
- package/dist/plugin/provider/vllm.js +131 -131
- package/dist/plugin/provider/xai.js +102 -102
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +81 -81
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +363 -363
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +95 -95
- package/dist/plugin/vcs/hg.js +95 -95
- package/dist/plugin/verbosity.js +104 -104
- package/dist/plugin/warming.js +120 -120
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +239 -239
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +105 -105
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- package/dist/rpc.js +97 -97
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +230 -230
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +123 -123
- package/dist/session/command.js +83 -83
- package/dist/session/compaction.js +167 -167
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +99 -99
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +229 -229
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +191 -191
- package/dist/session/history.js +130 -130
- package/dist/session/inbox.js +143 -143
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +82 -82
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +135 -135
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +154 -154
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +137 -137
- package/dist/session/prompt.js +143 -143
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +133 -133
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +242 -242
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +144 -144
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +155 -155
- package/dist/session/runner/to-llm-message.js +131 -131
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +173 -173
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +142 -142
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +136 -136
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +222 -222
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +191 -191
- package/dist/session/to-session-error.js +143 -143
- package/dist/session/transfer.js +225 -225
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +144 -144
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +102 -102
- 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 +166 -166
- package/dist/tool/plugin/edit.js +159 -159
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +163 -163
- package/dist/tool/plugin/grep.js +163 -163
- package/dist/tool/plugin/image-generate.js +232 -232
- package/dist/tool/plugin/mcp-resource.js +157 -157
- package/dist/tool/plugin/opencode.js +156 -156
- package/dist/tool/plugin/patch.js +161 -161
- package/dist/tool/plugin/question.js +139 -139
- package/dist/tool/plugin/read.js +158 -158
- package/dist/tool/plugin/schedule.js +222 -222
- package/dist/tool/plugin/shell.js +223 -223
- package/dist/tool/plugin/skill.js +150 -150
- package/dist/tool/plugin/subagent.js +229 -229
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +150 -150
- package/dist/tool/plugin/websearch.js +148 -148
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +98 -98
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +103 -103
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +95 -95
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +83 -83
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +85 -85
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +100 -100
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/form-aeq1g8b0.js +0 -257
- package/dist/chunks/form-d77dj7jw.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1jakw16s.js → credential-1jakw16s.js} +0 -0
- /package/dist/chunks/{form-1kah00gy.js → credential-1kah00gy.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → credential-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5w3e23ze.js → credential-5w3e23ze.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → credential-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → credential-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a058387c.js → credential-a058387c.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-beh6qq61.js → credential-beh6qq61.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cqv5kn06.js → credential-cqv5kn06.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fkpq3x5p.js → credential-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → credential-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jwr30sdr.js → credential-jwr30sdr.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → credential-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → credential-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-ncqqe42p.js → credential-ncqqe42p.js} +0 -0
- /package/dist/chunks/{form-nh4v3znn.js → credential-nh4v3znn.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-p71gwv9c.js → credential-p71gwv9c.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qgfkghh1.js → credential-qgfkghh1.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ty7weeps.js → credential-ty7weeps.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → credential-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-vx3jgdek.js → credential-vx3jgdek.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → credential-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-c1z88dhz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-s8xxgn4g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node58
|
|
12
|
+
} from "./credential-mv2fpsaq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node55
|
|
16
|
+
} from "./credential-p580ev26.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./credential-ssfehs1z.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service51
|
|
26
|
+
} from "./credential-xsact9zs.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service58,
|
|
29
|
+
node61
|
|
30
|
+
} from "./credential-2g02qr0r.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./credential-m0w0bb4h.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./credential-2xpqyv5y.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./credential-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service50,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer22,
|
|
47
|
+
node: () => node54,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service58;
|
|
64
|
+
const instances = yield* Service52;
|
|
65
65
|
const bus = yield* Service86;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service55;
|
|
67
67
|
const db = (yield* Service87).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service51.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable, result.stepped)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make18({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service50.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node54 = makeGlobalNode({
|
|
127
|
+
service: Service50,
|
|
128
|
+
layer: layer22,
|
|
129
|
+
deps: [node61, node55, node90, node91, node58]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service43, Service43.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service50, terminal2, layer22, node54, noopLayer3, exports_execution };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-wnk70846.js";
|
|
5
5
|
import {
|
|
6
6
|
ID12,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-ac39bgbj.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load4
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load4(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load4(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load4, derive3, exports_models2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID7,
|
|
6
|
+
Service48
|
|
7
|
+
} from "./credential-1t4t88x3.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-vx3jgdek.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-h4p3pyf8.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service48;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID7.make(from),
|
|
91
|
+
to: ID7.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./credential-998ewk3b.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-mv2126ff.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service18,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-44jn1514.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./credential-6869n964.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./credential-2wav6r65.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service19,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-rrfeqsm8.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./credential-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input2,
|
|
34
|
+
Output: () => Output2,
|
|
35
|
+
Plugin: () => Plugin38,
|
|
36
|
+
name: () => name2
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name2 = "edit";
|
|
43
|
+
var Input2 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output2 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin38 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
196
|
+
const access = yield* Service19;
|
|
197
|
+
const fileMutation = yield* Service18;
|
|
198
198
|
const environment = yield* Service78;
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
199
|
+
const formatter = yield* Service14;
|
|
200
|
+
const location = yield* Service80;
|
|
201
|
+
const permission = yield* Service56;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name2,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input2,
|
|
207
|
+
output: Output2,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin40 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name2, Input2, Output2, Plugin38, exports_edit };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./credential-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-wnhgecwx.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID17,
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./credential-aafav67h.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node75
|
|
20
|
+
} from "./credential-wnk70846.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service71,
|
|
23
|
+
node74
|
|
24
|
+
} from "./credential-afhevj5w.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service64,
|
|
30
|
+
node67,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./credential-ac39bgbj.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./credential-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service63,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer26,
|
|
52
|
+
node: () => node66,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service63 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -297,19 +297,19 @@ var causeMessage = (cause) => {
|
|
|
297
297
|
};
|
|
298
298
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
299
299
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
300
|
-
var
|
|
301
|
-
const providers = yield*
|
|
302
|
-
const models = yield*
|
|
303
|
-
const integrations = yield*
|
|
300
|
+
var layer26 = Layer.effect(Service63, Effect.gen(function* () {
|
|
301
|
+
const providers = yield* Service72;
|
|
302
|
+
const models = yield* Service64;
|
|
303
|
+
const integrations = yield* Service83;
|
|
304
304
|
const npm = yield* Npm.Service;
|
|
305
|
-
const aisdk = yield*
|
|
305
|
+
const aisdk = yield* Service71;
|
|
306
306
|
const dependencies = {
|
|
307
307
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
308
308
|
loadAISDK: (model) => aisdk.model(model)
|
|
309
309
|
};
|
|
310
310
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
311
311
|
const provider = yield* providers.get(selected.providerID);
|
|
312
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
312
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
|
|
313
313
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
314
314
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
315
315
|
const runtimeInfo = {
|
|
@@ -345,7 +345,7 @@ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
345
345
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
346
346
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service63.of({
|
|
349
349
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
350
350
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
351
351
|
if (!selected)
|
|
@@ -368,10 +368,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
368
368
|
const name = packageName2(packageName);
|
|
369
369
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
370
370
|
}
|
|
371
|
-
var
|
|
372
|
-
service:
|
|
373
|
-
layer:
|
|
374
|
-
deps: [
|
|
371
|
+
var node66 = makeLocationNode({
|
|
372
|
+
service: Service63,
|
|
373
|
+
layer: layer26,
|
|
374
|
+
deps: [node75, node67, node87, Npm.node, node74]
|
|
375
375
|
});
|
|
376
376
|
|
|
377
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
377
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service63, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer26, node66, exports_model_resolver };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-s8xxgn4g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./credential-h5kmqadq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -21,7 +21,7 @@ var Plugin37 = define({
|
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service86;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service61;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,7 +41,7 @@ var Plugin37 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|