@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
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-g0d965vs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./model-46mt6x8j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service71,
|
|
11
|
+
node74
|
|
12
|
+
} from "./model-ctn84etg.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service74,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node78
|
|
20
|
+
} from "./model-9sbgnbhh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node63
|
|
24
|
+
} from "./model-8mbscqky.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service41,
|
|
27
|
+
node43
|
|
28
|
+
} from "./model-pakcngh0.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-pyzjd10w.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service42,
|
|
35
|
+
node44
|
|
36
|
+
} from "./model-3855cc73.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./model-yg62bcth.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError3,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service40,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node42
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service40 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service84;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service78;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service74;
|
|
95
|
+
const environment = yield* Service71;
|
|
96
|
+
const hooks = yield* Service60;
|
|
97
|
+
const environments = yield* Service41;
|
|
98
|
+
const config = yield* Service42;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError3({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError3({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service40.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node42 = makeLocationNode({
|
|
329
|
+
service: Service40,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node88,
|
|
333
|
-
|
|
333
|
+
node82,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
335
|
+
node78,
|
|
336
|
+
node74,
|
|
337
|
+
node63,
|
|
338
|
+
node43,
|
|
339
|
+
node44,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError3, RETENTION2, DIRECTORY2, Service40, cleanup2, node42, exports_shell4 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node86
|
|
7
|
+
} from "./model-mp3rbb49.js";
|
|
8
8
|
import {
|
|
9
9
|
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./model-yhtxwa5q.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service80,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node84,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service80 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service81;
|
|
110
|
+
return Service80.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node84 = makeGlobalNode({
|
|
171
|
+
service: Service80,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node85]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service80, isError2, validateBranch2, node84, exports_repository_cache };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-am4dv7bb.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-6jxha2sg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node55,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node55 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer24, configured8, node55, exports_app };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update2(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update3, exports_message_updater };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./model-ctn84etg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-b096sb2f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./model-pt8t6bwe.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./model-8x2j076n.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service55
|
|
17
|
+
} from "./model-rp09h2a9.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input9,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin45,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name9,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name9 = "write";
|
|
39
|
+
var Input9 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin45 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
55
|
+
const access = yield* Service55;
|
|
56
56
|
const fileMutation = yield* Service15;
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
57
|
+
const environment = yield* Service71;
|
|
58
|
+
const formatter = yield* Service52;
|
|
59
|
+
const permission = yield* Service56;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name9,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input9,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name9, Input9, Output7, toModelContent5, Plugin45, exports_write };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./model-3855cc73.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service71
|
|
13
|
+
} from "./model-ctn84etg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./model-qxfsh50a.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service56
|
|
19
|
+
} from "./model-8x2j076n.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service55,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-rp09h2a9.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service74,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-9sbgnbhh.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service40
|
|
37
|
+
} from "./model-20f5kd3r.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./model-4dbz3zxd.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-sp1bq8t5.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./model-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin46,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name10 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input10 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin46 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service18;
|
|
124
|
+
const jobs = yield* Service44;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service71;
|
|
127
|
+
const access = yield* Service55;
|
|
128
|
+
const shell = yield* Service40;
|
|
129
|
+
const shellSelect = yield* Service74;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service56;
|
|
132
|
+
const config = yield* Service42;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin13 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name10,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin13 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name10,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input10,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin13 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name10,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name10];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin46, exports_shell2 };
|