@opencode/core 0.0.0-dev-20238 → 0.0.0-dev-20241
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{workspace-e1vtdn37.js → pty-01vst05w.js} +36 -36
- package/dist/chunks/{workspace-hekxc47r.js → pty-0bfcnrg1.js} +1 -1
- package/dist/chunks/{workspace-1mdxwgjq.js → pty-0c3h0e6z.js} +16 -16
- package/dist/chunks/{workspace-wx59m8c7.js → pty-0gefkeg7.js} +11 -11
- package/dist/chunks/{workspace-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-zxgcz1z1.js → pty-0zfem7mk.js} +19 -19
- package/dist/chunks/{workspace-4qrmk4ra.js → pty-140xbb54.js} +28 -28
- package/dist/chunks/{workspace-e1hy5pz5.js → pty-15y67vk6.js} +2 -2
- package/dist/chunks/{workspace-9a29ceb3.js → pty-16hsz39w.js} +32 -32
- package/dist/chunks/{workspace-eq1pz5kg.js → pty-1bbkgx8g.js} +3 -3
- package/dist/chunks/{workspace-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-ktef7j4m.js → pty-1n9x896q.js} +9 -9
- package/dist/chunks/{workspace-s5h1yxee.js → pty-1q4zsn8w.js} +6 -6
- package/dist/chunks/{workspace-38phfjcn.js → pty-1rh4yqvv.js} +9 -9
- package/dist/chunks/{workspace-hh5kkd24.js → pty-1t09j7vg.js} +10 -10
- package/dist/chunks/{workspace-hyjxey4b.js → pty-1wpnfrkj.js} +4 -4
- package/dist/chunks/{workspace-2ejs92bv.js → pty-1xjcf8r7.js} +15 -15
- package/dist/chunks/{workspace-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-dgzqva13.js → pty-24171fwy.js} +36 -36
- package/dist/chunks/{workspace-ygpxda6d.js → pty-24wggvhe.js} +19 -19
- package/dist/chunks/{workspace-qd546yrf.js → pty-29j3yxrv.js} +32 -32
- package/dist/chunks/{workspace-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-e8wk7e8v.js → pty-2k2q6fw8.js} +9 -9
- package/dist/chunks/{workspace-qgn6gcr1.js → pty-2k8khapm.js} +5 -5
- package/dist/chunks/{workspace-3tqbg8ds.js → pty-2x3f6yxr.js} +12 -12
- package/dist/chunks/{workspace-mhgx8wws.js → pty-30krspkn.js} +4 -4
- package/dist/chunks/{workspace-maye8mhe.js → pty-31bxas0a.js} +27 -27
- package/dist/chunks/{workspace-rgdhtqj5.js → pty-32zdxkvs.js} +35 -35
- package/dist/chunks/{workspace-rhdmxfkx.js → pty-399vjpvh.js} +13 -13
- package/dist/chunks/{workspace-naqwnkkp.js → pty-3dek0r7g.js} +22 -22
- package/dist/chunks/{workspace-r3gmntzt.js → pty-3dqaahn9.js} +9 -9
- package/dist/chunks/{workspace-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-ppc50qyr.js → pty-3jhgxqxx.js} +32 -32
- package/dist/chunks/{workspace-fm2mk21r.js → pty-3meec69r.js} +15 -15
- package/dist/chunks/{workspace-2spzn6st.js → pty-3nqrbqk0.js} +21 -21
- package/dist/chunks/{workspace-ysd7sdvb.js → pty-3p17msm4.js} +9 -9
- package/dist/chunks/{workspace-d3m7nd9b.js → pty-3r1sf261.js} +13 -13
- package/dist/chunks/{workspace-y6mjvh6p.js → pty-3s3yvxep.js} +3 -3
- package/dist/chunks/{workspace-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-gcch2vjz.js → pty-3wa2an9q.js} +31 -31
- package/dist/chunks/{workspace-j6wgtyv7.js → pty-3zar4bb6.js} +29 -29
- package/dist/chunks/{workspace-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-nzyhnfxz.js → pty-44h5tttr.js} +4 -4
- package/dist/chunks/{workspace-zy2n98kk.js → pty-45wxwjsv.js} +51 -51
- package/dist/chunks/{workspace-m8erdd9w.js → pty-464e7j92.js} +33 -33
- package/dist/chunks/{workspace-k3x2sf3r.js → pty-48vtn20n.js} +12 -12
- package/dist/chunks/{workspace-150yg2gd.js → pty-49exe669.js} +5 -5
- package/dist/chunks/{workspace-k7cxv1jz.js → pty-4jg0yvch.js} +16 -16
- package/dist/chunks/{workspace-dgzzq6er.js → pty-4k009h74.js} +21 -21
- package/dist/chunks/{workspace-6aebm42n.js → pty-4pkc64bv.js} +16 -16
- package/dist/chunks/{workspace-zbn85w19.js → pty-4s7et4sz.js} +70 -70
- package/dist/chunks/{workspace-95x7y5k8.js → pty-50a34wry.js} +8 -8
- package/dist/chunks/{workspace-6x0h2hvg.js → pty-57ez7d0k.js} +9 -9
- package/dist/chunks/{workspace-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-2y34zzjz.js → pty-5qkxfyep.js} +4 -4
- package/dist/chunks/{workspace-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-73zbfbv7.js → pty-5zzhnchw.js} +8 -8
- package/dist/chunks/{workspace-aj2s28vj.js → pty-61n243wx.js} +1 -1
- package/dist/chunks/{workspace-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{workspace-rcqvxznz.js → pty-6b6tf05m.js} +11 -11
- package/dist/chunks/{workspace-16srrwpp.js → pty-6f3gsd2m.js} +40 -40
- package/dist/chunks/{workspace-8zm3c697.js → pty-6fjgv3tx.js} +7 -7
- package/dist/chunks/{workspace-c203jhqw.js → pty-6h8axav6.js} +9 -9
- package/dist/chunks/{workspace-fwwk8vbp.js → pty-6hjx5zpb.js} +9 -9
- package/dist/chunks/{workspace-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-k0y9f3c4.js → pty-6n4wvebq.js} +26 -26
- package/dist/chunks/{workspace-rkprpv83.js → pty-6pc27hjz.js} +6 -6
- package/dist/chunks/{workspace-9bzf6wdj.js → pty-6pd7t5p9.js} +11 -11
- package/dist/chunks/{workspace-r29hx2n2.js → pty-6r5c1vje.js} +20 -20
- package/dist/chunks/{workspace-41czef58.js → pty-6rm5yzkt.js} +4 -4
- package/dist/chunks/{workspace-tsve2r88.js → pty-73hkkxz0.js} +4 -4
- package/dist/chunks/{workspace-16jcs5eh.js → pty-77qrrhbk.js} +7 -7
- package/dist/chunks/{workspace-dt2m10bg.js → pty-78jvmpng.js} +29 -29
- package/dist/chunks/{workspace-pg7gpga9.js → pty-78kppgjr.js} +5 -5
- package/dist/chunks/{workspace-cwa6csj7.js → pty-79qaa2kf.js} +9 -9
- package/dist/chunks/{workspace-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-9b86kaje.js → pty-7fp69wc6.js} +3 -3
- package/dist/chunks/{workspace-11pm3r9v.js → pty-7k5pzz91.js} +12 -12
- package/dist/chunks/{workspace-rt447pd7.js → pty-7qcv56qz.js} +5 -5
- package/dist/chunks/{workspace-b7k25wxh.js → pty-7r0mserh.js} +30 -30
- package/dist/chunks/{workspace-n6p6yg9c.js → pty-7y5p1sr1.js} +8 -8
- package/dist/chunks/{workspace-5jgcqyeb.js → pty-807f613b.js} +40 -40
- package/dist/chunks/{workspace-5d3kt81x.js → pty-81y2sag2.js} +17 -17
- package/dist/chunks/{workspace-w1eejvng.js → pty-84txncab.js} +5 -5
- package/dist/chunks/{workspace-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-90ns493a.js → pty-8g2qdxs9.js} +35 -35
- package/dist/chunks/{workspace-h8qnj1c8.js → pty-92873q6k.js} +26 -26
- package/dist/chunks/{workspace-gfvb90ym.js → pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{workspace-83z9h53v.js → pty-990hcqnx.js} +28 -28
- package/dist/chunks/{workspace-p8q21zge.js → pty-9hqygntd.js} +20 -20
- package/dist/chunks/{workspace-eyfs9fn9.js → pty-9j0dwt0n.js} +5 -5
- package/dist/chunks/{workspace-zjyqk7jh.js → pty-9jdec6an.js} +22 -22
- package/dist/chunks/{workspace-rb06gkc1.js → pty-9r13wbwg.js} +1 -1
- package/dist/chunks/{workspace-kr1avhb0.js → pty-9sayw2ch.js} +1 -1
- package/dist/chunks/{workspace-1efy3mt3.js → pty-9sbw2ymd.js} +28 -28
- package/dist/chunks/pty-9zdhvgqs.js +18 -0
- package/dist/chunks/{workspace-g88fbw77.js → pty-a0vpxxed.js} +3 -3
- package/dist/chunks/{workspace-4bt902dy.js → pty-a1rbvmj7.js} +35 -35
- package/dist/chunks/{workspace-6qr29wt1.js → pty-a3he3nyv.js} +30 -30
- package/dist/chunks/{workspace-2eryhk75.js → pty-a3zfxb3h.js} +27 -27
- package/dist/chunks/{workspace-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-ab9238g2.js → pty-ab9238g2.js} +1 -1
- package/dist/chunks/{workspace-pecb0brz.js → pty-af04s6ss.js} +5 -5
- package/dist/chunks/{workspace-gjdct0ng.js → pty-afh0ypz9.js} +25 -25
- package/dist/chunks/{workspace-dtmpjap9.js → pty-agwtjn7h.js} +5 -5
- package/dist/chunks/{workspace-hbexs1ta.js → pty-arey8x0d.js} +12 -12
- package/dist/chunks/{workspace-m8dj6xzb.js → pty-b10jyf86.js} +20 -20
- package/dist/chunks/{workspace-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-fk76ksd4.js → pty-b7qnbf45.js} +16 -16
- package/dist/chunks/{workspace-jmp6pjcj.js → pty-b81v50pn.js} +3 -3
- package/dist/chunks/{workspace-0n965b9a.js → pty-bf10k29y.js} +5 -5
- package/dist/chunks/{workspace-mrbnkvws.js → pty-bfh6ya47.js} +16 -16
- package/dist/chunks/{workspace-dwpz52md.js → pty-bmwcq5x5.js} +24 -24
- package/dist/chunks/{workspace-n92e0945.js → pty-bnpy9ev6.js} +16 -16
- package/dist/chunks/{workspace-waefp8y5.js → pty-btx594cc.js} +11 -11
- package/dist/chunks/{workspace-2kh7b0pr.js → pty-bvam09wt.js} +22 -22
- package/dist/chunks/{workspace-ey9veasj.js → pty-c2egcwd5.js} +13 -13
- package/dist/chunks/{workspace-p89640sn.js → pty-c7f1t297.js} +27 -27
- package/dist/chunks/{workspace-48b9emvv.js → pty-c86zcgcw.js} +11 -11
- package/dist/chunks/{workspace-m43etvqh.js → pty-ch9ek5wv.js} +23 -23
- package/dist/chunks/{workspace-54tcyq79.js → pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{workspace-a4tqrw51.js → pty-cp4trhpy.js} +15 -15
- package/dist/chunks/{workspace-984e37tw.js → pty-d99kb9jw.js} +17 -17
- package/dist/chunks/{workspace-0v53mg2y.js → pty-dfe8djrf.js} +4 -4
- package/dist/chunks/{workspace-dj9sq318.js → pty-dj9sq318.js} +2 -2
- package/dist/chunks/{workspace-sp54tfke.js → pty-dke02a2q.js} +17 -17
- package/dist/chunks/{workspace-xkntkrq7.js → pty-dmqcgk4z.js} +5 -5
- package/dist/chunks/{workspace-g9r2hcbj.js → pty-dnmtb8jk.js} +30 -30
- package/dist/chunks/{workspace-b9hkethe.js → pty-dqczjf24.js} +3 -3
- package/dist/chunks/{workspace-drwq78ky.js → pty-drwq78ky.js} +1 -1
- package/dist/chunks/{workspace-c8gr6drp.js → pty-dy3v49r2.js} +11 -11
- package/dist/chunks/{workspace-y10fxw0n.js → pty-e6btmr3s.js} +150 -150
- package/dist/chunks/{workspace-qn4ba14w.js → pty-e6hmchc5.js} +5 -5
- package/dist/chunks/{workspace-7bav93g1.js → pty-e7bpba2x.js} +11 -11
- package/dist/chunks/{workspace-eaj1djv9.js → pty-eaj1djv9.js} +1 -1
- package/dist/chunks/{workspace-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{workspace-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-9skvqb4b.js → pty-ef8z397z.js} +18 -18
- package/dist/chunks/{workspace-y2nra5ch.js → pty-em4dwj0d.js} +9 -9
- package/dist/chunks/{workspace-sw70eac5.js → pty-es2axc3h.js} +32 -32
- package/dist/chunks/{workspace-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-d5czjx5e.js → pty-eveqn7cq.js} +15 -15
- package/dist/chunks/{workspace-gp14635f.js → pty-evxzpz7n.js} +13 -13
- package/dist/chunks/{workspace-yp2x3t23.js → pty-f2n192rq.js} +4 -4
- package/dist/chunks/pty-f3b7p96q.js +252 -0
- package/dist/chunks/{workspace-jw80jp6b.js → pty-f3ngv102.js} +4 -4
- package/dist/chunks/{workspace-t0pyh7pd.js → pty-fbk8frwm.js} +1 -1
- package/dist/chunks/{workspace-46gv8nvg.js → pty-fm4n3eyq.js} +15 -15
- package/dist/chunks/{workspace-5xtgfte3.js → pty-g0445xdp.js} +6 -6
- package/dist/chunks/{workspace-g5agzp2h.js → pty-g5agzp2h.js} +2 -2
- package/dist/chunks/{workspace-9vat1wnt.js → pty-g7ev7cxw.js} +14 -14
- package/dist/chunks/{workspace-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-awhgtamw.js → pty-gk5v5xhs.js} +23 -23
- package/dist/chunks/{workspace-jabm8zzh.js → pty-gqpj6er6.js} +36 -36
- package/dist/chunks/{workspace-k1qrnqst.js → pty-gs4tkc79.js} +8 -8
- package/dist/chunks/{workspace-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-k5e7yqx1.js → pty-h00myp85.js} +58 -58
- package/dist/chunks/{workspace-5rjs1zbx.js → pty-h24wanpd.js} +24 -24
- package/dist/chunks/{workspace-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-nt39rg59.js → pty-h958fs6f.js} +18 -18
- package/dist/chunks/{workspace-ybsgjnb0.js → pty-h98gf4gh.js} +41 -41
- package/dist/chunks/{workspace-t6v48v8f.js → pty-haszz9qj.js} +95 -95
- package/dist/chunks/{workspace-ndmv45hp.js → pty-hbznj76v.js} +3 -3
- package/dist/chunks/{workspace-h2r7bbkd.js → pty-hdthj1pw.js} +8 -8
- package/dist/chunks/{workspace-h8d9xkaq.js → pty-hqwm4sk8.js} +15 -15
- package/dist/chunks/{workspace-1xw4hqxx.js → pty-htjsxrd7.js} +15 -15
- package/dist/chunks/{workspace-qae9ahxg.js → pty-hybxtsjq.js} +9 -9
- package/dist/chunks/{workspace-4waey5yj.js → pty-j0ct8xdg.js} +2 -2
- package/dist/chunks/{workspace-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-fgn7sf7e.js → pty-j62n369y.js} +3 -3
- package/dist/chunks/pty-j9x84jzd.js +26 -0
- package/dist/chunks/{workspace-bffz3vk9.js → pty-jam4tn4y.js} +9 -9
- package/dist/chunks/{workspace-zgrbnmf2.js → pty-jc00fynt.js} +9 -9
- package/dist/chunks/{workspace-rgnqfr3v.js → pty-jfkvjta7.js} +29 -29
- package/dist/chunks/{workspace-4dxafkqb.js → pty-jk65v3xz.js} +3 -3
- package/dist/chunks/{workspace-3eavv4sq.js → pty-k2s68ryd.js} +6 -6
- package/dist/chunks/{workspace-yqzfvmg9.js → pty-k31j77h5.js} +333 -333
- package/dist/chunks/{workspace-k3c624dm.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{workspace-yb4mq2bj.js → pty-ka2whr6h.js} +46 -46
- package/dist/chunks/{workspace-cydxmqrz.js → pty-kpgsxh3c.js} +13 -13
- package/dist/chunks/{workspace-fztsg0yk.js → pty-kvj59xr5.js} +1 -1
- package/dist/chunks/{workspace-xttd1tj2.js → pty-m2fxrq1x.js} +15 -15
- package/dist/chunks/{workspace-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-jf7tajsg.js → pty-m563m38r.js} +11 -11
- package/dist/chunks/{workspace-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-spmh1vek.js → pty-mfjdmrp8.js} +40 -40
- package/dist/chunks/{workspace-33w4ejhs.js → pty-mfqp6xfm.js} +9 -9
- package/dist/chunks/{workspace-sx7yxhmc.js → pty-mmd2gt62.js} +20 -20
- package/dist/chunks/{workspace-nf6159fp.js → pty-mvz1jaak.js} +22 -22
- package/dist/chunks/{workspace-73gyw9md.js → pty-mxbk4svv.js} +88 -88
- package/dist/chunks/{workspace-a28msnrx.js → pty-natfc3ay.js} +4 -4
- package/dist/chunks/{workspace-qw5c8m98.js → pty-nc3tx9jz.js} +8 -8
- package/dist/chunks/{workspace-g390ytxs.js → pty-nf1sbg18.js} +8 -8
- package/dist/chunks/{workspace-wxyy423z.js → pty-ngad3z0g.js} +18 -18
- package/dist/chunks/{workspace-f4fb4ahx.js → pty-nvsf456q.js} +17 -17
- package/dist/chunks/{workspace-fyac72vw.js → pty-nw2v4mce.js} +13 -13
- package/dist/chunks/{workspace-r3rh6mw3.js → pty-nyw6c0bv.js} +26 -26
- package/dist/chunks/{workspace-6ehbgqat.js → pty-p7a39gy5.js} +6 -6
- package/dist/chunks/{workspace-n3j4cxq5.js → pty-p87y7hpb.js} +16 -16
- package/dist/chunks/{workspace-xab4b6ma.js → pty-p8y8cyr8.js} +15 -15
- package/dist/chunks/{workspace-be7qvw84.js → pty-pakcngh0.js} +8 -8
- package/dist/chunks/{workspace-m1jktbz8.js → pty-petzbryk.js} +6 -6
- package/dist/chunks/{workspace-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-e90gknse.js → pty-pkfctg7d.js} +50 -50
- package/dist/chunks/{workspace-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-h1jz91a9.js → pty-pqcp81t9.js} +15 -15
- package/dist/chunks/{workspace-862ar548.js → pty-pt3xaqgj.js} +6 -6
- package/dist/chunks/{workspace-w84g4023.js → pty-q752a5kc.js} +6 -6
- package/dist/chunks/{workspace-5wna7wmm.js → pty-qpaq7ft3.js} +13 -13
- package/dist/chunks/{workspace-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-nx02as4e.js → pty-qwmtame2.js} +9 -9
- package/dist/chunks/{workspace-n7khmxjc.js → pty-r4ezxwjb.js} +10 -10
- package/dist/chunks/{workspace-mtq6xxnx.js → pty-ratrq7cm.js} +7 -7
- package/dist/chunks/{workspace-3dv7a6vg.js → pty-rceabfjb.js} +4 -4
- package/dist/chunks/{workspace-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-pnv527nz.js → pty-rhafb4aa.js} +9 -9
- package/dist/chunks/{workspace-hkagk5ex.js → pty-rp4sv622.js} +2 -2
- package/dist/chunks/{workspace-heh9s3tj.js → pty-rq80fhnt.js} +6 -6
- package/dist/chunks/{workspace-qzc07359.js → pty-rqdx9gb6.js} +28 -28
- package/dist/chunks/{workspace-xqagnatd.js → pty-rqzzs8tq.js} +13 -13
- package/dist/chunks/{workspace-1xm4vf8s.js → pty-rr5w79wt.js} +11 -11
- package/dist/chunks/{workspace-g9wvc4df.js → pty-rsr04b2n.js} +5 -5
- package/dist/chunks/{workspace-p6wxjpka.js → pty-s30fyz93.js} +4 -4
- package/dist/chunks/{workspace-htrze483.js → pty-s7c8pqjf.js} +10 -10
- package/dist/chunks/{workspace-aa5zmkvc.js → pty-sd182w7n.js} +24 -24
- package/dist/chunks/{workspace-p0wnzdte.js → pty-sf6t82jx.js} +29 -29
- package/dist/chunks/{workspace-ykpgxs72.js → pty-sqa4x5n4.js} +42 -42
- package/dist/chunks/{workspace-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-tf88t1eh.js → pty-te1pvy5w.js} +38 -38
- package/dist/chunks/{workspace-9b31mr9v.js → pty-tjznwxx0.js} +46 -46
- package/dist/chunks/{workspace-akqk8sab.js → pty-ts860kc8.js} +12 -12
- package/dist/chunks/{workspace-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-pedttwxr.js → pty-tx9w5tca.js} +8 -8
- package/dist/chunks/{workspace-cxmh4q5b.js → pty-tz4n1mmd.js} +4 -4
- package/dist/chunks/{workspace-2tngcs8y.js → pty-v4yy06kz.js} +48 -48
- package/dist/chunks/{workspace-8hry8h31.js → pty-v7h219eh.js} +26 -26
- package/dist/chunks/{workspace-cyc2wncq.js → pty-vb7xznyv.js} +32 -32
- package/dist/chunks/{workspace-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-eefz1cnf.js → pty-vmyhsb96.js} +23 -23
- package/dist/chunks/{workspace-6nh4s561.js → pty-vt27zn5n.js} +18 -18
- package/dist/chunks/{workspace-p8wv2ncz.js → pty-vx1akz9y.js} +14 -14
- package/dist/chunks/{workspace-ypzhfwa9.js → pty-vy4zg7qh.js} +12 -12
- package/dist/chunks/{workspace-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{workspace-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-psazpmmj.js → pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{workspace-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-a8fp7ezv.js → pty-wkcsbyg1.js} +12 -12
- package/dist/chunks/{workspace-czdw7bxj.js → pty-wkmn09sz.js} +28 -28
- package/dist/chunks/{workspace-hkwj0bg6.js → pty-wkq7w2hk.js} +9 -9
- package/dist/chunks/{workspace-q7azfttr.js → pty-wq4mmp7m.js} +4 -4
- package/dist/chunks/{workspace-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-79d41h82.js → pty-xa84kt07.js} +28 -28
- package/dist/chunks/{workspace-hk03ff6z.js → pty-xpdm92c9.js} +11 -11
- package/dist/chunks/{workspace-7k4ya4mk.js → pty-xpzjeq3a.js} +25 -25
- package/dist/chunks/{workspace-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-bxdyab95.js → pty-y2yz6ws7.js} +15 -15
- package/dist/chunks/{workspace-a89e0tac.js → pty-y6mhz57t.js} +4 -4
- package/dist/chunks/{workspace-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-5s43rmdb.js → pty-y84esdn3.js} +6 -6
- package/dist/chunks/pty-yckhfgep.js +326 -0
- package/dist/chunks/{workspace-synqbpwm.js → pty-yfj51pwm.js} +23 -23
- package/dist/chunks/{workspace-0csdmtm4.js → pty-ykp63ekt.js} +8 -8
- package/dist/chunks/{workspace-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-ceejba7k.js → pty-yrq2792c.js} +5 -5
- package/dist/chunks/{workspace-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-bjtzbw4r.js → pty-z07pqspn.js} +3 -3
- package/dist/chunks/{workspace-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-pyctfm1s.js → pty-z4x8vcyx.js} +12 -12
- package/dist/chunks/{workspace-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-e6zxwbax.js → pty-zd8qt3bk.js} +27 -27
- package/dist/chunks/{workspace-25c0jgp8.js → pty-zdcx8jr2.js} +8 -8
- package/dist/chunks/{workspace-x9ctzyqd.js → pty-zdewfq3n.js} +5 -5
- package/dist/chunks/{workspace-2re12hwp.js → pty-zdq65h6r.js} +1 -1
- package/dist/chunks/{workspace-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-ce5fknq2.js → pty-zk8c4w5t.js} +5 -5
- package/dist/chunks/{workspace-k8dasee7.js → pty-zq6stcrg.js} +8 -8
- package/dist/chunks/{workspace-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-npnt4k9w.js → pty-zrb5rc4f.js} +31 -31
- package/dist/chunks/{workspace-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/workspace-3ecdent5.js +0 -26
- package/dist/chunks/workspace-95agse3a.js +0 -252
- package/dist/chunks/workspace-hfwvq92w.js +0 -326
- package/dist/chunks/workspace-v1faaxn9.js +0 -18
- /package/dist/chunks/{workspace-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./pty-p87y7hpb.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-b10jyf86.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin21,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin21 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin21, exports_hg };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./pty-btx594cc.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./pty-b7qnbf45.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-7y5p1sr1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service74,
|
|
21
|
+
node78
|
|
22
|
+
} from "./pty-fm4n3eyq.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service22,
|
|
25
|
+
node25
|
|
26
|
+
} from "./pty-mxbk4svv.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service9,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer6,
|
|
42
|
+
node: () => node11
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service9 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service22;
|
|
65
|
+
const store = yield* Service74;
|
|
66
|
+
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service9.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node11 = makeLocationNode({
|
|
151
|
+
service: Service9,
|
|
152
|
+
layer: layer6,
|
|
153
|
+
deps: [node87, llmClient2, node25, node78, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service9, isUntitled2, layer6, node11, exports_title };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
node75
|
|
7
|
+
} from "./pty-399vjpvh.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-hbznj76v.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service44,
|
|
23
23
|
make: () => make17,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node46
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service44 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -87,7 +87,7 @@ function decrementSession(input, sessionID) {
|
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
89
|
var make17 = Effect.gen(function* () {
|
|
90
|
-
const kv = yield*
|
|
90
|
+
const kv = yield* Service71;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make17 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service44.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make17 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service44, make17);
|
|
362
|
+
var node46 = makeGlobalNode({ service: Service44, layer, deps: [node75] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service44, make17, node46, exports_job };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-44h5tttr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./pty-b7qnbf45.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./pty-78jvmpng.js";
|
|
11
11
|
import {
|
|
12
12
|
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-afh0ypz9.js";
|
|
15
15
|
import {
|
|
16
16
|
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service67
|
|
20
|
+
} from "./pty-3zar4bb6.js";
|
|
21
21
|
import {
|
|
22
22
|
ID7
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-a3he3nyv.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./pty-dke02a2q.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-1q4zsn8w.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID14
|
|
33
|
+
} from "./pty-9jdec6an.js";
|
|
34
34
|
|
|
35
35
|
// src/plugin/provider/github-copilot.ts
|
|
36
36
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -160,8 +160,8 @@ var oauth = (app) => ({
|
|
|
160
160
|
var GithubCopilotPlugin2 = define({
|
|
161
161
|
id: "opencode.provider.github.copilot",
|
|
162
162
|
effect: Effect.fn(function* (ctx) {
|
|
163
|
-
const providers = yield*
|
|
164
|
-
const bus = yield*
|
|
163
|
+
const providers = yield* Service67;
|
|
164
|
+
const bus = yield* Service83;
|
|
165
165
|
const loading = Semaphore.makeUnsafe(1);
|
|
166
166
|
const loaded = {};
|
|
167
167
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -179,7 +179,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
179
179
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
180
180
|
const provider = yield* providers.get(ID8.githubCopilot);
|
|
181
181
|
const remote = yield* Effect.tryPromise({
|
|
182
|
-
try: () =>
|
|
182
|
+
try: () => load3(url, {
|
|
183
183
|
...provider?.headers,
|
|
184
184
|
Authorization: `Bearer ${credential.refresh}`,
|
|
185
185
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -205,7 +205,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
205
205
|
if (loaded.models) {
|
|
206
206
|
evt.add({
|
|
207
207
|
info: item.provider,
|
|
208
|
-
models: Array.from(
|
|
208
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
209
209
|
sourceConnection: loaded.connection
|
|
210
210
|
});
|
|
211
211
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
yield* refresh().pipe(Effect.forkScoped);
|
|
231
231
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
232
232
|
if (evt.model.providerID !== ID8.githubCopilot)
|
|
@@ -254,7 +254,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
254
254
|
return;
|
|
255
255
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
256
256
|
return;
|
|
257
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
257
|
+
const agent = yield* ctx.agent.get({ agentID: ID14.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
258
258
|
return;
|
|
259
259
|
}));
|
|
260
260
|
if (agent?.data.model)
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-1q4zsn8w.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin23,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin23 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin17 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin17 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin23, exports_tinyfish };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service58,
|
|
3
|
+
node61,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-6h8axav6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service38,
|
|
8
|
+
node40
|
|
9
|
+
} from "./pty-p7a39gy5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./pty-gqpj6er6.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-f3b7p96q.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service58, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service56);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node40.replace(Layer.succeed(Service38, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node61.replace(Layer.succeed(Service58, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-hbznj76v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./pty-b7qnbf45.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service63,
|
|
17
|
+
node66
|
|
18
|
+
} from "./pty-yfj51pwm.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info8,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service49,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node51
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info8 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service49 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service83;
|
|
53
|
+
const cache = yield* Service63;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info8.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info8.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service49.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node51 = makeLocationNode({
|
|
116
|
+
service: Service49,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node87, node66]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info8, Service49, node51, exports_reference2, Event8 };
|