@opencode/core 0.0.0-dev-21022 → 0.0.0-dev-21026
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{generate-5fhve76z.js → model-01rfddxe.js} +36 -36
- package/dist/chunks/{generate-c9wbyant.js → model-0b5g1ynf.js} +4 -4
- package/dist/chunks/{generate-nz00s972.js → model-0cqcz89e.js} +9 -9
- package/dist/chunks/{generate-8g2t0nrb.js → model-0g9exnkr.js} +11 -11
- package/dist/chunks/{generate-2mr82eke.js → model-0grnp236.js} +4 -4
- package/dist/chunks/{generate-nyb09g2v.js → model-0hmbxfvk.js} +21 -21
- package/dist/chunks/{generate-2k8khapm.js → model-0jwsre1p.js} +5 -5
- package/dist/chunks/{generate-51qcsxgk.js → model-0k9wf2hg.js} +11 -11
- package/dist/chunks/{generate-kdn70dry.js → model-0kgrmwp0.js} +23 -23
- package/dist/chunks/{generate-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-xtbhb3vb.js → model-124s7jg1.js} +4 -4
- package/dist/chunks/{generate-6xg49yv5.js → model-15cj51dt.js} +22 -22
- package/dist/chunks/model-19rpp6m5.js +253 -0
- package/dist/chunks/{generate-71c3ma91.js → model-1hc858k7.js} +5 -5
- package/dist/chunks/{generate-gr2xtfax.js → model-1pgs1s3m.js} +11 -11
- package/dist/chunks/{generate-mv100j38.js → model-1ttk16ha.js} +8 -8
- package/dist/chunks/{generate-m3emc3g7.js → model-20f5kd3r.js} +47 -47
- package/dist/chunks/{generate-y932fbb5.js → model-21xby13n.js} +18 -18
- package/dist/chunks/{generate-hzkveby0.js → model-21yyccfm.js} +3 -3
- package/dist/chunks/{generate-8npnmh1j.js → model-2aegfh2p.js} +11 -11
- package/dist/chunks/{generate-h7s7r6s9.js → model-31xfzrxg.js} +5 -5
- package/dist/chunks/{generate-f5xe0mk2.js → model-31zph7gx.js} +30 -30
- package/dist/chunks/{generate-4z39z968.js → model-358yc98n.js} +1 -1
- package/dist/chunks/{generate-k01atk97.js → model-36sc5tph.js} +46 -46
- package/dist/chunks/{generate-03qpgtxm.js → model-3855cc73.js} +49 -49
- package/dist/chunks/{generate-bg9pb3hs.js → model-3cqwnyj9.js} +8 -8
- package/dist/chunks/{generate-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-ad8sbtaf.js → model-3mvas6ge.js} +5 -5
- package/dist/chunks/{generate-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-jsre8083.js → model-40fe41y2.js} +33 -33
- package/dist/chunks/{generate-yzt2x2kg.js → model-40sbw5pj.js} +33 -33
- package/dist/chunks/{generate-dw8wxjxb.js → model-43xeh9aq.js} +4 -4
- package/dist/chunks/{generate-8tm3358f.js → model-454sa7n0.js} +11 -11
- package/dist/chunks/{generate-svmrvdvs.js → model-45mc4at0.js} +11 -11
- package/dist/chunks/{generate-319jyy1m.js → model-46mt6x8j.js} +14 -14
- package/dist/chunks/{generate-1wqw6d7n.js → model-4acmj4he.js} +7 -7
- package/dist/chunks/{generate-whebsv80.js → model-4dbz3zxd.js} +89 -89
- package/dist/chunks/{generate-eabkatpb.js → model-4q7c2z0k.js} +1 -1
- package/dist/chunks/{generate-vjkbc1z2.js → model-4qa4eb2f.js} +10 -10
- package/dist/chunks/{generate-90nc1nhv.js → model-559cv5mq.js} +43 -43
- package/dist/chunks/{generate-4ekscj25.js → model-58hng72m.js} +5 -5
- package/dist/chunks/{generate-vnv9wwnh.js → model-5bcww33d.js} +9 -9
- package/dist/chunks/{generate-ws8gre0k.js → model-5deaz9jv.js} +1 -1
- package/dist/chunks/{generate-4rx0zshk.js → model-5gagafpw.js} +6 -6
- package/dist/chunks/{generate-3cb4vsbh.js → model-5m24e1bs.js} +30 -30
- package/dist/chunks/{generate-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-tgk3qf8f.js → model-6b06eyw5.js} +12 -12
- package/dist/chunks/{generate-9d8ha7wk.js → model-6g25qtd6.js} +3 -3
- package/dist/chunks/{generate-y6nmpnm5.js → model-6jxha2sg.js} +31 -31
- package/dist/chunks/{generate-8xf62mhm.js → model-6vvy3pkk.js} +20 -20
- package/dist/chunks/{generate-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-q5e7cmwt.js → model-6xcvt31d.js} +1 -1
- package/dist/chunks/{generate-vpxrjyh9.js → model-70spc8zb.js} +17 -17
- package/dist/chunks/{generate-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{generate-9xxh1q1e.js → model-77bypgyx.js} +5 -5
- package/dist/chunks/{generate-rr58t4fd.js → model-79vjxwag.js} +23 -23
- package/dist/chunks/{generate-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-0a8ksa24.js → model-7ca3xte1.js} +10 -10
- package/dist/chunks/{generate-ck04n157.js → model-7cmh32yw.js} +23 -23
- package/dist/chunks/{generate-d9wzmzc3.js → model-7d2a7xbs.js} +5 -5
- package/dist/chunks/{generate-q0bv3cn2.js → model-7kesx33y.js} +54 -54
- package/dist/chunks/{generate-8k39r2mp.js → model-7pvy9pzv.js} +11 -11
- package/dist/chunks/{generate-qaw4ptrj.js → model-7rxph2nn.js} +13 -13
- package/dist/chunks/{generate-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{generate-6424kev6.js → model-8fh9asg7.js} +15 -15
- package/dist/chunks/{generate-yz9yqyt1.js → model-8hdm4x97.js} +8 -8
- package/dist/chunks/{generate-rr2frrzn.js → model-8kfrjq0p.js} +19 -19
- package/dist/chunks/{generate-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-ypw91m64.js → model-8mbscqky.js} +8 -8
- package/dist/chunks/{generate-wkcx7fj9.js → model-8ng4acg9.js} +6 -6
- package/dist/chunks/{generate-b3sm7x6w.js → model-8rw8yr2z.js} +28 -28
- package/dist/chunks/{generate-kxxbqm5f.js → model-8x2j076n.js} +52 -52
- package/dist/chunks/{generate-h61jsw8z.js → model-8y6qxnd2.js} +30 -30
- package/dist/chunks/{generate-91qna3x0.js → model-91qna3x0.js} +3 -3
- package/dist/chunks/{generate-1stxgd8c.js → model-99wq20s7.js} +12 -12
- package/dist/chunks/{generate-909p1r3q.js → model-9ae44cfy.js} +6 -6
- package/dist/chunks/{generate-mfxyg6fd.js → model-9nthj2st.js} +2 -2
- package/dist/chunks/{generate-wb0v33rf.js → model-9sbgnbhh.js} +17 -17
- package/dist/chunks/{generate-y6t3xqc7.js → model-9xc4s1wq.js} +34 -34
- package/dist/chunks/{generate-vw95np9e.js → model-a3s2mkkw.js} +34 -34
- package/dist/chunks/{generate-pe1ys5ng.js → model-a4r1667r.js} +18 -18
- package/dist/chunks/{generate-qbkpptp7.js → model-afb9wseb.js} +18 -18
- package/dist/chunks/{generate-7r0r2nec.js → model-am4dv7bb.js} +32 -32
- package/dist/chunks/{generate-q92qcf3t.js → model-b096sb2f.js} +9 -9
- package/dist/chunks/{generate-ff1ymwtx.js → model-b0w22pfr.js} +12 -12
- package/dist/chunks/model-b54ntt24.js +26 -0
- package/dist/chunks/{generate-b65pmv0k.js → model-b77ja0wt.js} +27 -27
- package/dist/chunks/{generate-qmkghy1h.js → model-bbnjt3hf.js} +14 -14
- package/dist/chunks/{generate-68yg9n24.js → model-bd498wnj.js} +14 -14
- package/dist/chunks/{generate-y6agp0rp.js → model-bf8cw6nk.js} +20 -20
- package/dist/chunks/{generate-0crr0gfc.js → model-bfh1r411.js} +17 -17
- package/dist/chunks/{generate-yfxs65tx.js → model-bhdyt95r.js} +21 -21
- package/dist/chunks/{generate-1ffvrpkg.js → model-bjx1sjef.js} +6 -6
- package/dist/chunks/{generate-4evbv4gb.js → model-bxp5y3gq.js} +11 -11
- package/dist/chunks/{generate-2hk2ydh2.js → model-c0q9byrh.js} +3 -3
- package/dist/chunks/{generate-c1fqxshp.js → model-c1fqxshp.js} +3 -3
- package/dist/chunks/{generate-njf7rzjw.js → model-c3arycbm.js} +17 -17
- package/dist/chunks/{generate-ak963xne.js → model-cc080dhf.js} +32 -32
- package/dist/chunks/{generate-q0wwkmtc.js → model-csjs0rgm.js} +16 -16
- package/dist/chunks/{generate-1eg42xax.js → model-ctn84etg.js} +24 -24
- package/dist/chunks/{generate-h2mwb1rt.js → model-d022x100.js} +8 -8
- package/dist/chunks/{generate-m1efmtwr.js → model-d70j4vcr.js} +51 -51
- package/dist/chunks/{generate-tdf8hw5n.js → model-d7bz7cyc.js} +87 -87
- package/dist/chunks/{generate-db2wf4at.js → model-db2wf4at.js} +1 -1
- package/dist/chunks/{generate-rqa1jxse.js → model-dqvv6bdz.js} +2 -2
- package/dist/chunks/{generate-dqxsqydv.js → model-dqxsqydv.js} +1 -1
- package/dist/chunks/{generate-drwq78ky.js → model-drwq78ky.js} +1 -1
- package/dist/chunks/{generate-z8fpjdp3.js → model-dz1h6v1j.js} +42 -42
- package/dist/chunks/{generate-agbrrg4r.js → model-e70pe916.js} +22 -22
- package/dist/chunks/{generate-e80seqcp.js → model-e80seqcp.js} +1 -1
- package/dist/chunks/{generate-q1x1rvbe.js → model-e9ap395p.js} +29 -29
- package/dist/chunks/{generate-ryr25ayn.js → model-edrmdtr5.js} +7 -7
- package/dist/chunks/{generate-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-s3cm33sf.js → model-f0d2hz6a.js} +10 -10
- package/dist/chunks/{generate-gcb2m958.js → model-f2dsq0sx.js} +32 -32
- package/dist/chunks/{generate-f2n192rq.js → model-f2n192rq.js} +1 -1
- package/dist/chunks/{generate-ed2aanj4.js → model-fd5g32kx.js} +3 -3
- package/dist/chunks/{generate-0jq9fyba.js → model-fdms3n6w.js} +9 -9
- package/dist/chunks/{generate-hsakzz9a.js → model-fs5hygsn.js} +14 -14
- package/dist/chunks/{generate-m1ywmr27.js → model-fx9ycnc9.js} +5 -5
- package/dist/chunks/{generate-j3nkb9wj.js → model-g0d965vs.js} +4 -4
- package/dist/chunks/{generate-y9pr6q2f.js → model-g5y76h12.js} +30 -30
- package/dist/chunks/{generate-rhk74dyv.js → model-gb2d0a3q.js} +34 -34
- package/dist/chunks/{generate-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-k2esz74z.js → model-gd6gh308.js} +188 -188
- package/dist/chunks/{generate-amcg9hk8.js → model-gnngpsss.js} +34 -34
- package/dist/chunks/{generate-v5p3rnnz.js → model-gpdxzypf.js} +329 -329
- package/dist/chunks/{generate-zy43x3f1.js → model-h6310vsd.js} +4 -4
- package/dist/chunks/{generate-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-457s9w80.js → model-h99738j4.js} +10 -10
- package/dist/chunks/{generate-q806gczq.js → model-hgqgzfp7.js} +13 -13
- package/dist/chunks/{generate-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-9cgjtbjp.js → model-ht3067rw.js} +18 -18
- package/dist/chunks/{generate-82jnz8vq.js → model-jfw34q2z.js} +15 -15
- package/dist/chunks/{generate-9mp1bzg1.js → model-jhr8jnrw.js} +19 -19
- package/dist/chunks/{generate-jk540des.js → model-jk540des.js} +2 -2
- package/dist/chunks/{generate-ph6a4evn.js → model-jke95dby.js} +13 -13
- package/dist/chunks/{generate-66x3e96s.js → model-k1ck9wgq.js} +14 -14
- package/dist/chunks/{generate-4e0p0fpd.js → model-k4xvcd80.js} +50 -50
- package/dist/chunks/{generate-jj2708p2.js → model-kfrz2jxp.js} +5 -5
- package/dist/chunks/{generate-dc5wd9ye.js → model-kt26yds1.js} +15 -15
- package/dist/chunks/{generate-6gkwybtq.js → model-kwjpkb26.js} +17 -17
- package/dist/chunks/{generate-pab3ay35.js → model-m2y34ngg.js} +15 -15
- package/dist/chunks/{generate-647metxh.js → model-m9m2bw1x.js} +63 -63
- package/dist/chunks/{generate-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-nq3r004t.js → model-md6a2bpm.js} +6 -6
- package/dist/chunks/{generate-z0bysbaa.js → model-mm2924pv.js} +35 -35
- package/dist/chunks/{generate-9jhc6p5j.js → model-mnypcc0v.js} +9 -9
- package/dist/chunks/{generate-fa0b3k97.js → model-mp3rbb49.js} +8 -8
- package/dist/chunks/{generate-8j6692t6.js → model-mq6shjb6.js} +9 -9
- package/dist/chunks/{generate-azdezd4n.js → model-mrpe8yp5.js} +35 -35
- package/dist/chunks/{generate-820m75ay.js → model-mw0c0vj6.js} +26 -26
- package/dist/chunks/{generate-4fvt83t5.js → model-mz8as577.js} +3 -3
- package/dist/chunks/{generate-ewprqnzw.js → model-n52gv0t2.js} +25 -25
- package/dist/chunks/{generate-32gpd1xw.js → model-nms2wt4g.js} +14 -14
- package/dist/chunks/{generate-pvywfm1n.js → model-nw1b9wk3.js} +4 -4
- package/dist/chunks/{generate-f29mbr7f.js → model-nxe4pcap.js} +4 -4
- package/dist/chunks/{generate-rgy34r50.js → model-nxj57cfn.js} +4 -4
- package/dist/chunks/{generate-ny8edt06.js → model-ny8edt06.js} +1 -1
- package/dist/chunks/{generate-jm2dqw0s.js → model-nym9wyb3.js} +6 -6
- package/dist/chunks/{generate-gwaq8jy9.js → model-p1pg3s4t.js} +24 -24
- package/dist/chunks/{generate-p5p106c5.js → model-p2x1ybm5.js} +26 -26
- package/dist/chunks/{generate-g0445xdp.js → model-p37cw4rj.js} +8 -8
- package/dist/chunks/{generate-8aaqm6qj.js → model-pakcngh0.js} +8 -8
- package/dist/chunks/{generate-xnt6fver.js → model-pcpm970h.js} +29 -29
- package/dist/chunks/model-pf31ssb9.js +18 -0
- package/dist/chunks/{generate-b1nmds8p.js → model-pg3yv55e.js} +17 -17
- package/dist/chunks/{generate-kgs10km5.js → model-pj9xvhw4.js} +1 -1
- package/dist/chunks/{generate-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{generate-0sg4sx3g.js → model-pqrr6518.js} +39 -39
- package/dist/chunks/{generate-ctzqdfkd.js → model-pt8t6bwe.js} +15 -15
- package/dist/chunks/{generate-48kw51zw.js → model-pyzjd10w.js} +3 -3
- package/dist/chunks/{generate-z964fg8a.js → model-pzhd9fhs.js} +21 -21
- package/dist/chunks/{generate-q0xm7vwc.js → model-q0xm7vwc.js} +2 -2
- package/dist/chunks/{generate-y39tjqdd.js → model-q45w12d8.js} +25 -25
- package/dist/chunks/{generate-mtntnqk5.js → model-q8smq9rm.js} +26 -26
- package/dist/chunks/{generate-hbqwyh5b.js → model-q9z6c42s.js} +9 -9
- package/dist/chunks/{generate-8yrtv903.js → model-qfxf707x.js} +14 -14
- package/dist/chunks/{generate-qnc92qwc.js → model-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-e4p24ara.js → model-qq8gj99e.js} +18 -18
- package/dist/chunks/{generate-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-pe36awch.js → model-qxfsh50a.js} +16 -16
- package/dist/chunks/{generate-2zq4dj3s.js → model-qysp5m4p.js} +18 -18
- package/dist/chunks/{generate-qmqgtz8f.js → model-r2m716tb.js} +9 -9
- package/dist/chunks/{generate-9znwrv1e.js → model-r7wmahnz.js} +27 -27
- package/dist/chunks/{generate-e7n3ya83.js → model-r85h4k88.js} +31 -31
- package/dist/chunks/{generate-54ma36ye.js → model-r94pvvab.js} +4 -4
- package/dist/chunks/{generate-q4q0tmjh.js → model-r9jzxqvq.js} +34 -34
- package/dist/chunks/{generate-g686f6pq.js → model-ra67jj04.js} +9 -9
- package/dist/chunks/{generate-yeereb2r.js → model-rd1cgpxp.js} +24 -24
- package/dist/chunks/{generate-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rert0e01.js → model-rert0e01.js} +2 -2
- package/dist/chunks/{generate-c3k8fx1y.js → model-rffh3mqk.js} +16 -16
- package/dist/chunks/{generate-rj3eygr5.js → model-rj3eygr5.js} +2 -2
- package/dist/chunks/{generate-6pc27hjz.js → model-rkprpv83.js} +6 -6
- package/dist/chunks/{generate-gm2e0st7.js → model-rp09h2a9.js} +18 -18
- package/dist/chunks/{generate-2fkkh717.js → model-rx4wz1w4.js} +10 -10
- package/dist/chunks/{generate-mrm6qzaa.js → model-s13c7292.js} +27 -27
- package/dist/chunks/{generate-sz15zhhw.js → model-s2z0d44b.js} +4 -4
- package/dist/chunks/{generate-sa8ekw3f.js → model-sa8ekw3f.js} +2 -2
- package/dist/chunks/{generate-scgrse2b.js → model-scgrse2b.js} +2 -2
- package/dist/chunks/{generate-dr348f92.js → model-scgz3sns.js} +24 -24
- package/dist/chunks/{generate-xy02r08k.js → model-sp1bq8t5.js} +4 -4
- package/dist/chunks/{generate-evsxga0j.js → model-stpcs325.js} +11 -11
- package/dist/chunks/{generate-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{generate-kne8f3cn.js → model-t2az9yje.js} +4 -4
- package/dist/chunks/{generate-02nrjc1r.js → model-t550f9t1.js} +8 -8
- package/dist/chunks/{generate-xdx7acry.js → model-t79s17n5.js} +9 -9
- package/dist/chunks/{generate-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-bjnagtpr.js → model-tbkx8g7m.js} +7 -7
- package/dist/chunks/{generate-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{generate-fpecnkgp.js → model-tg7bkhef.js} +5 -5
- package/dist/chunks/{generate-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
- package/dist/chunks/{generate-m6twg17p.js → model-trrs9qjc.js} +13 -13
- package/dist/chunks/{generate-7ph0vnsv.js → model-trya7axm.js} +8 -8
- package/dist/chunks/{generate-bt618zmv.js → model-ty6kwv90.js} +19 -19
- package/dist/chunks/{generate-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-vhtfstd8.js → model-v6wtv6sh.js} +14 -14
- package/dist/chunks/{generate-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-5pr12dw0.js → model-vfw5w8v2.js} +17 -17
- package/dist/chunks/{generate-0d5fjz2h.js → model-vppcbm3y.js} +9 -9
- package/dist/chunks/{generate-xhtmvx5q.js → model-vq4kdd46.js} +18 -18
- package/dist/chunks/{generate-h3k0sdzw.js → model-vqk1e85q.js} +6 -6
- package/dist/chunks/{generate-wh6zw745.js → model-vrrq7v3g.js} +5 -5
- package/dist/chunks/{generate-yc4d889b.js → model-vw126e4d.js} +15 -15
- package/dist/chunks/{generate-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-w1eejvng.js → model-w1eejvng.js} +1 -1
- package/dist/chunks/{generate-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-cfybw0sz.js → model-w4j701p4.js} +8 -8
- package/dist/chunks/{generate-bmz30bfc.js → model-w6h1y6dq.js} +11 -11
- package/dist/chunks/{generate-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{generate-fs96esax.js → model-wdz250da.js} +28 -28
- package/dist/chunks/{generate-0ywb27hw.js → model-wfq6jpmw.js} +31 -31
- package/dist/chunks/{generate-qfzqcc6n.js → model-wmcaf8ca.js} +33 -33
- package/dist/chunks/{generate-qjvd7p01.js → model-wp97teag.js} +17 -17
- package/dist/chunks/{generate-sjqh3mj3.js → model-wr1ewhk4.js} +5 -5
- package/dist/chunks/{generate-t5wwwxkh.js → model-wt6b9xn1.js} +5 -5
- package/dist/chunks/{generate-3pm9ry58.js → model-wtqshrcq.js} +11 -11
- package/dist/chunks/{generate-8qqj46vq.js → model-x17e2yyb.js} +20 -20
- package/dist/chunks/{generate-k1bs2h3f.js → model-x2jnxxy0.js} +23 -23
- package/dist/chunks/{generate-9at6tv1c.js → model-x5ay7k0w.js} +9 -9
- package/dist/chunks/{generate-dk51qrek.js → model-xbnpeec3.js} +34 -34
- package/dist/chunks/{generate-p9r2c5t1.js → model-xfrnbqxb.js} +7 -7
- package/dist/chunks/{generate-wafexnmx.js → model-xgwqb5jk.js} +26 -26
- package/dist/chunks/{generate-nhyepbsc.js → model-xs3x383r.js} +14 -14
- package/dist/chunks/{generate-nb9p6b26.js → model-xxxym934.js} +4 -4
- package/dist/chunks/{generate-k045zbz9.js → model-y0ymffas.js} +45 -45
- package/dist/chunks/{generate-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-p1thmww4.js → model-y2kcrf7q.js} +9 -9
- package/dist/chunks/{generate-sfhqvnpf.js → model-y52pq506.js} +24 -24
- package/dist/chunks/{generate-fsj12tdk.js → model-y6cwq76b.js} +11 -11
- package/dist/chunks/{generate-xkm5zh6x.js → model-y6xhfxcm.js} +23 -23
- package/dist/chunks/{generate-y71avatq.js → model-y71avatq.js} +1 -1
- package/dist/chunks/{generate-k7qgnp9n.js → model-y8zy7amg.js} +11 -11
- package/dist/chunks/{generate-61va9acd.js → model-y9y8j1f2.js} +16 -16
- package/dist/chunks/{generate-7hhqs9ev.js → model-yg62bcth.js} +11 -11
- package/dist/chunks/{generate-ygdna4kr.js → model-ygdna4kr.js} +2 -2
- package/dist/chunks/{generate-1w8fdk0d.js → model-yhtxwa5q.js} +10 -10
- package/dist/chunks/{generate-p79ar1np.js → model-yv09eh8f.js} +8 -8
- package/dist/chunks/{generate-9eb0cyrw.js → model-ywkcfvf7.js} +11 -11
- package/dist/chunks/{generate-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-08xsmh6n.js → model-z75pxxh7.js} +3 -3
- package/dist/chunks/{generate-v4mqz3w8.js → model-ze19dk6b.js} +3 -3
- package/dist/chunks/{generate-pnq2asy9.js → model-zf7skas7.js} +22 -22
- package/dist/chunks/{generate-w5zzhgd0.js → model-zfq801h6.js} +6 -6
- package/dist/chunks/{generate-jerzhz83.js → model-zpegy5y1.js} +13 -13
- package/dist/chunks/{generate-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-v4zj8138.js → model-zzzv4s15.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +94 -94
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- 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 +93 -93
- 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.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +4 -4
- 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 +220 -220
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-38rcd1wy.js +0 -26
- package/dist/chunks/generate-by5v678g.js +0 -18
- package/dist/chunks/generate-pp5qxgcs.js +0 -253
- /package/dist/chunks/{generate-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → model-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./model-46mt6x8j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./model-ctn84etg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service52
|
|
14
|
+
} from "./model-pt8t6bwe.js";
|
|
15
15
|
import {
|
|
16
16
|
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-b096sb2f.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service56
|
|
22
|
+
} from "./model-8x2j076n.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service55,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-rp09h2a9.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-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: () => Input5,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin39,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
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 name5 = "patch";
|
|
89
|
+
var Input5 = 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 Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (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 Plugin39 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
111
|
+
const environment = yield* Service71;
|
|
112
|
+
const access = yield* Service55;
|
|
113
113
|
const fileMutation = yield* Service15;
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
114
|
+
const formatter = yield* Service52;
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service56;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin8 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name5, Input5, Applied2, Output5, toModelContent4, Plugin39, exports_patch };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-c0q9byrh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-g0d965vs.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service44,
|
|
11
|
+
node46
|
|
12
|
+
} from "./model-qxfsh50a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service34,
|
|
15
|
+
node36
|
|
16
|
+
} from "./model-9ae44cfy.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make15
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service32
|
|
26
|
+
} from "./model-t2az9yje.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service58,
|
|
29
|
+
node61
|
|
30
|
+
} from "./model-v6wtv6sh.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-wr1ewhk4.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-ht3067rw.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service31,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer16,
|
|
47
|
+
node: () => node34,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
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 Service31 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 layer16 = Layer.effect(Service31, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service58;
|
|
64
|
+
const instances = yield* Service34;
|
|
65
65
|
const bus = yield* Service84;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service44;
|
|
67
67
|
const db = (yield* Service85).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,7 +76,7 @@ var layer19 = Layer.effect(Service42, 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* Service32.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).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),
|
|
@@ -104,7 +104,7 @@ var layer19 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service31.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer19 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node34 = makeGlobalNode({
|
|
127
|
+
service: Service31,
|
|
128
|
+
layer: layer16,
|
|
129
|
+
deps: [node61, node36, node88, node89, node46]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service31, terminal2, layer16, node34, noopLayer2, exports_execution };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-g0d965vs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID13,
|
|
6
|
+
Event14,
|
|
7
|
+
Service64
|
|
8
|
+
} from "./model-g5y76h12.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID11
|
|
11
|
+
} from "./model-am4dv7bb.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-8ng4acg9.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service64;
|
|
45
45
|
const bus = yield* Service84;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID11.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID11.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event14.Updated, Event14.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-g0d965vs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./model-yhtxwa5q.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service26,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-pf31ssb9.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-gd6gh308.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service26,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service84;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service81;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service26.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node20 = Node.makeLocationNode({
|
|
226
|
+
service: Service26,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node20, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-g0d965vs.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-db2wf4at.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID12,
|
|
14
|
+
Service63,
|
|
15
|
+
node66,
|
|
16
|
+
Event13
|
|
17
|
+
} from "./model-5m24e1bs.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./model-46mt6x8j.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event12,
|
|
43
|
+
ID: () => ID11,
|
|
44
|
+
Info: () => Info18,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
|
-
Request: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Request: () => Request3,
|
|
48
|
+
Service: () => Service62,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node65,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event12 } from "@opencode/schema/provider";
|
|
75
|
+
var ID11 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
279
279
|
return result;
|
|
280
280
|
}, new Map).values());
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var Request3 = Provider.Request;
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info18 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service62 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
301
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service84;
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
303
|
+
const integrations = yield* Service63;
|
|
304
|
+
const location = yield* Service78;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info18.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service62.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node65 = makeLocationNode({ service: Service62, layer, deps: [node88, node66, node82] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info18, Service62, node65, exports_provider3, Event12 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
node74
|
|
7
|
+
} from "./model-ctn84etg.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
16
|
Service: () => Service15,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node17,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -35,7 +35,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
37
|
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
-
const environment = yield*
|
|
38
|
+
const environment = yield* Service71;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -58,6 +58,6 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
58
58
|
})));
|
|
59
59
|
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node74] });
|
|
62
62
|
|
|
63
|
-
export { Service15, readText2, syncTextBom2,
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
|