@opencode/core 0.0.0-dev-19961 → 0.0.0-dev-19962
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{tool-b92hwcrq.js → app-00hgdb0m.js} +28 -28
- package/dist/chunks/{tool-rhjbct0v.js → app-02nrjc1r.js} +6 -6
- package/dist/chunks/{tool-xq2w2bqm.js → app-04ewta5r.js} +16 -16
- package/dist/chunks/{tool-pd7bzezz.js → app-0dxkcwkq.js} +16 -16
- package/dist/chunks/{tool-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-26aezvr0.js → app-0pw4vw5f.js} +4 -4
- package/dist/chunks/{tool-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-06dxphr1.js → app-1hc11dc4.js} +4 -4
- package/dist/chunks/{tool-p8bq92d1.js → app-1neascwm.js} +28 -28
- package/dist/chunks/{tool-s5zt3m1z.js → app-1qf1fr1q.js} +12 -12
- package/dist/chunks/{tool-9dnsb0hw.js → app-1v1y3h46.js} +14 -14
- package/dist/chunks/{tool-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{tool-5zc6skgb.js → app-22yappzv.js} +12 -12
- package/dist/chunks/{tool-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-2hsfmsjg.js → app-2akn3e7d.js} +18 -18
- package/dist/chunks/{tool-0dzbpygc.js → app-2jw0gqmb.js} +24 -24
- package/dist/chunks/{tool-bz85s9hh.js → app-2jz473v5.js} +1 -1
- package/dist/chunks/{tool-2k8khapm.js → app-2k8khapm.js} +1 -1
- package/dist/chunks/{tool-q65dfppr.js → app-33e6e908.js} +32 -32
- package/dist/chunks/{tool-w0by17jr.js → app-35p3x5j5.js} +21 -21
- package/dist/chunks/{tool-3cwbe53h.js → app-36nehvj7.js} +31 -31
- package/dist/chunks/{tool-fp9zptb1.js → app-36yjffmn.js} +39 -39
- package/dist/chunks/{tool-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-eys57y9b.js → app-3hfr6h8q.js} +8 -8
- package/dist/chunks/{tool-321x2wtd.js → app-3ppptnan.js} +6 -6
- package/dist/chunks/{tool-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-p8gjgk5f.js → app-3vg5q0hm.js} +20 -20
- package/dist/chunks/{tool-952y256t.js → app-47bcapsc.js} +10 -10
- package/dist/chunks/{tool-as54p17p.js → app-49xh4knz.js} +30 -30
- package/dist/chunks/{tool-483vxbq6.js → app-4demphjr.js} +6 -6
- package/dist/chunks/{tool-2q12e7yc.js → app-4hrvdzte.js} +1 -1
- package/dist/chunks/{tool-r9w3djhf.js → app-4nj4bn9q.js} +9 -9
- package/dist/chunks/{tool-p2vw6waa.js → app-4s22ks3b.js} +5 -5
- package/dist/chunks/app-4v7qdvcn.js +18 -0
- package/dist/chunks/{tool-0mw5jzcs.js → app-4zevm03n.js} +3 -3
- package/dist/chunks/{tool-7w99qc9d.js → app-539jk4fq.js} +3 -3
- package/dist/chunks/{tool-cf04bqj1.js → app-54vj2jfs.js} +6 -6
- package/dist/chunks/{tool-2d46v4jb.js → app-56xvr3m5.js} +11 -11
- package/dist/chunks/{tool-223h8e4b.js → app-580xytsw.js} +27 -27
- package/dist/chunks/{tool-2qez6wf9.js → app-5ax4qnhd.js} +15 -15
- package/dist/chunks/{tool-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-pyd82k98.js → app-5qkjszbf.js} +5 -5
- package/dist/chunks/{tool-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-356sz14e.js → app-62snwjy6.js} +12 -12
- package/dist/chunks/{tool-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{tool-h04cqsq0.js → app-69j91c1q.js} +8 -8
- package/dist/chunks/{tool-gns1g86j.js → app-6bnhs0t6.js} +15 -15
- package/dist/chunks/{tool-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/app-6kdq0pjd.js +4 -0
- package/dist/chunks/{tool-rs2j7e68.js → app-6m2en2x4.js} +49 -49
- package/dist/chunks/{tool-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-pz9ad17p.js → app-6qw3sa0y.js} +5 -5
- package/dist/chunks/{tool-96y5k2e2.js → app-6vtqbgbq.js} +33 -33
- package/dist/chunks/{tool-hs2gas49.js → app-6y2h1b0z.js} +11 -11
- package/dist/chunks/{tool-10jtetaj.js → app-6zz0jjar.js} +4 -4
- package/dist/chunks/{tool-pnbm2g53.js → app-74183p9e.js} +30 -30
- package/dist/chunks/{tool-x38yyj79.js → app-7akjnz43.js} +23 -23
- package/dist/chunks/{tool-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-qz02d4gv.js → app-7bv32vg5.js} +9 -9
- package/dist/chunks/{tool-052jad2t.js → app-7dghmw1c.js} +46 -46
- package/dist/chunks/{tool-0ryd0fps.js → app-84zcxbc9.js} +5 -5
- package/dist/chunks/{tool-p2tjmvvm.js → app-87738vnr.js} +14 -14
- package/dist/chunks/{tool-a6h4rwtp.js → app-87sq4ns4.js} +30 -30
- package/dist/chunks/{tool-63ppx069.js → app-8bp92270.js} +11 -11
- package/dist/chunks/{tool-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-dj2t23y0.js → app-8p4f9s12.js} +2 -2
- package/dist/chunks/{tool-jkhbgvt8.js → app-8qktnpz7.js} +17 -17
- package/dist/chunks/{tool-h6r3nrb9.js → app-8z00fdkb.js} +4 -4
- package/dist/chunks/{tool-yqjvyrkg.js → app-92r1w9xd.js} +32 -32
- package/dist/chunks/{tool-xgamz1br.js → app-938etnqy.js} +7 -7
- package/dist/chunks/{tool-pe8d6tfn.js → app-943e2jvx.js} +21 -21
- package/dist/chunks/{tool-jzcaxwhd.js → app-94y6grsq.js} +9 -9
- package/dist/chunks/{tool-q7r7q8jv.js → app-95snkdmn.js} +34 -34
- package/dist/chunks/{tool-6zd6bfsr.js → app-99ab7et3.js} +3 -3
- package/dist/chunks/app-9aknjnhf.js +26 -0
- package/dist/chunks/{tool-hkx1eav1.js → app-9dhf40d2.js} +15 -15
- package/dist/chunks/{tool-arm62n8x.js → app-9s6rx2cc.js} +46 -46
- package/dist/chunks/{tool-v2a3veg8.js → app-9shy6a5e.js} +11 -11
- package/dist/chunks/{tool-qmh3qcq0.js → app-9z3vkseh.js} +23 -23
- package/dist/chunks/{tool-nqxt4fmg.js → app-a0bp3fsc.js} +10 -10
- package/dist/chunks/{tool-5c4hm403.js → app-a1bz86dw.js} +3 -3
- package/dist/chunks/{tool-953ef62m.js → app-a82gmppq.js} +15 -15
- package/dist/chunks/{tool-cavr175a.js → app-a8bn8zg0.js} +4 -4
- package/dist/chunks/{tool-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-xqsp1avr.js → app-ab3fy251.js} +13 -13
- package/dist/chunks/{tool-jyyhzxje.js → app-abyy57qk.js} +11 -11
- package/dist/chunks/{tool-zfn6rd9c.js → app-atk4whyf.js} +3 -3
- package/dist/chunks/{tool-9mp97stb.js → app-ay076qxp.js} +25 -25
- package/dist/chunks/{tool-fadk8h2y.js → app-azbd23ze.js} +11 -11
- package/dist/chunks/{tool-pc244188.js → app-b21gbg50.js} +4 -4
- package/dist/chunks/{tool-d1nag333.js → app-b5abhfx7.js} +18 -18
- package/dist/chunks/{tool-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-6713kt06.js → app-bahb1c52.js} +32 -32
- package/dist/chunks/{tool-k9gc50dd.js → app-bcbe83a7.js} +3 -3
- package/dist/chunks/{tool-tkg6e3eb.js → app-bfph4vb6.js} +16 -16
- package/dist/chunks/{tool-73kdj4zj.js → app-bnmr3cva.js} +8 -8
- package/dist/chunks/{tool-4969znen.js → app-br2enyvp.js} +13 -13
- package/dist/chunks/{tool-9df2h92x.js → app-bw8p8d0g.js} +35 -35
- package/dist/chunks/{tool-wt8p9awf.js → app-bxc0gw8b.js} +24 -24
- package/dist/chunks/{tool-tp36e26b.js → app-ca0amnmc.js} +28 -28
- package/dist/chunks/{tool-m0jqrx5p.js → app-cfpkc3c9.js} +2 -2
- package/dist/chunks/{tool-7jqfrm98.js → app-cmgf2jjc.js} +8 -8
- package/dist/chunks/{tool-bx4qmb9g.js → app-cr07tj7n.js} +5 -5
- package/dist/chunks/{tool-ayj8hn2b.js → app-ct0p4hmk.js} +9 -9
- package/dist/chunks/{tool-tvdq5ra2.js → app-ctrfp6k3.js} +44 -44
- package/dist/chunks/{tool-ncb7wxzt.js → app-d1yevav1.js} +5 -5
- package/dist/chunks/{tool-aeh0dgne.js → app-d8xrcppj.js} +12 -12
- package/dist/chunks/{tool-mb4e1d4e.js → app-da3bnvm5.js} +12 -12
- package/dist/chunks/{tool-ne9ed71s.js → app-dfns4g3x.js} +4 -4
- package/dist/chunks/{tool-h10s6dah.js → app-dhtadd1m.js} +8 -8
- package/dist/chunks/{tool-dpkg50ah.js → app-dpkg50ah.js} +1 -1
- package/dist/chunks/{tool-qwvthsc1.js → app-dq7bhc1n.js} +9 -9
- package/dist/chunks/{tool-jcqz283k.js → app-dqt1anda.js} +30 -30
- package/dist/chunks/{tool-drwq78ky.js → app-drwq78ky.js} +1 -1
- package/dist/chunks/{tool-dns740p1.js → app-e2zdx18w.js} +11 -11
- package/dist/chunks/{tool-w0exn9qd.js → app-e63tarq5.js} +32 -32
- package/dist/chunks/{tool-dhj1bndq.js → app-eekxqy1c.js} +29 -29
- package/dist/chunks/{tool-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-bv9vpxf1.js → app-egt363yj.js} +12 -12
- package/dist/chunks/{tool-4mw75b8e.js → app-er4256hm.js} +20 -20
- package/dist/chunks/{tool-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{tool-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-4xbskmpe.js → app-evbgk2k8.js} +5 -5
- package/dist/chunks/{tool-wnzj6q9c.js → app-ex8ktbze.js} +8 -8
- package/dist/chunks/{tool-v199xdse.js → app-exc1vzys.js} +21 -21
- package/dist/chunks/{tool-js4h49s3.js → app-f7y52kxg.js} +43 -43
- package/dist/chunks/{tool-hdnk95c8.js → app-f828m53h.js} +2 -2
- package/dist/chunks/{tool-v5dkyp31.js → app-fdv30zvt.js} +7 -7
- package/dist/chunks/{tool-qvmr90x2.js → app-fe6qwrgk.js} +16 -16
- package/dist/chunks/{tool-px76j0pk.js → app-fmcqyzhx.js} +9 -9
- package/dist/chunks/{tool-kc4njv9x.js → app-fmf120va.js} +5 -5
- package/dist/chunks/{tool-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-evq6r5pz.js → app-fxqygnfa.js} +4 -4
- package/dist/chunks/{tool-8b47r7w2.js → app-fz9mh2y2.js} +11 -11
- package/dist/chunks/{tool-k0ageqhp.js → app-g3mn8s68.js} +2 -2
- package/dist/chunks/{tool-gwcbygb9.js → app-g6pjt58h.js} +21 -21
- package/dist/chunks/{tool-sbnjvcyv.js → app-gcn4rvn9.js} +11 -11
- package/dist/chunks/{tool-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-2c24r6b8.js → app-gg72wa45.js} +11 -11
- package/dist/chunks/{tool-egh78b95.js → app-gk3wjayh.js} +72 -72
- package/dist/chunks/{tool-g49j1kpf.js → app-gnnyvzb4.js} +24 -24
- package/dist/chunks/{tool-t1835t6e.js → app-grv6h7yp.js} +31 -31
- package/dist/chunks/{tool-kkzze73x.js → app-grvh109k.js} +9 -9
- package/dist/chunks/{tool-afdssyjb.js → app-gst7axd9.js} +4 -4
- package/dist/chunks/{tool-yyb7tjpc.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-ag7x3tep.js → app-h3vfnnb5.js} +32 -32
- package/dist/chunks/{tool-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-8d78w7dx.js → app-hexskcr5.js} +17 -17
- package/dist/chunks/{tool-nstzyrqb.js → app-hnc80k8f.js} +32 -32
- package/dist/chunks/{tool-zjy3ah92.js → app-hskrzcap.js} +5 -5
- package/dist/chunks/{tool-p7g6sxqe.js → app-htkz5b9p.js} +31 -31
- package/dist/chunks/{tool-mvfsc1pv.js → app-j028xdjb.js} +3 -3
- package/dist/chunks/{tool-5yk85840.js → app-j04nwq7r.js} +22 -22
- package/dist/chunks/{tool-9g3bpc12.js → app-j3azhb7z.js} +28 -28
- package/dist/chunks/{tool-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-d9s573fh.js → app-j7zc0ft0.js} +9 -9
- package/dist/chunks/{tool-c14p3nf7.js → app-j99nxr5r.js} +44 -44
- package/dist/chunks/{tool-cb9s9s15.js → app-jd0ec2vp.js} +30 -30
- package/dist/chunks/{tool-bqm56rap.js → app-jmfvx9s5.js} +18 -18
- package/dist/chunks/{tool-rtjdhp7j.js → app-jng4by6n.js} +10 -10
- package/dist/chunks/{tool-9kw8973d.js → app-jpgzdbsd.js} +8 -8
- package/dist/chunks/{tool-ggvw6grp.js → app-k0nqkats.js} +28 -28
- package/dist/chunks/{tool-6khsxrsf.js → app-k1e29702.js} +4 -4
- package/dist/chunks/{tool-k3c624dm.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{tool-533n7pr6.js → app-k5r9x8j7.js} +47 -47
- package/dist/chunks/{tool-5e9skgpm.js → app-k72y7s9z.js} +17 -17
- package/dist/chunks/{tool-h2xwsekh.js → app-k807sq0r.js} +15 -15
- package/dist/chunks/{tool-kzb7j8ba.js → app-k97cgbvd.js} +10 -10
- package/dist/chunks/{tool-n9asgjfy.js → app-kgq2j1px.js} +54 -54
- package/dist/chunks/{tool-knb7evpn.js → app-knb7evpn.js} +2 -2
- package/dist/chunks/{tool-k9avtbwf.js → app-kv8awt1x.js} +3 -3
- package/dist/chunks/{tool-bqszwq89.js → app-kxtwbv1b.js} +6 -6
- package/dist/chunks/{tool-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-7mmmgkzb.js → app-m77d5zrr.js} +24 -24
- package/dist/chunks/{tool-92gxwggs.js → app-m9hajnka.js} +20 -20
- package/dist/chunks/{tool-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-hjj1jfge.js → app-mbkm2fyz.js} +11 -11
- package/dist/chunks/{tool-56gdpj1q.js → app-mfqp6xfm.js} +6 -6
- package/dist/chunks/{tool-cvqzmya4.js → app-mg9jjtrh.js} +29 -29
- package/dist/chunks/{tool-8j0g64bg.js → app-mq83qn8x.js} +22 -22
- package/dist/chunks/{tool-dtz9s4b3.js → app-n0pywpq4.js} +6 -6
- package/dist/chunks/{tool-1nxe83bq.js → app-n23hd4ap.js} +9 -9
- package/dist/chunks/{tool-kkp8zx71.js → app-n2srvep7.js} +4 -4
- package/dist/chunks/{tool-27v469nr.js → app-n571wmch.js} +13 -13
- package/dist/chunks/{tool-shtf6z8w.js → app-n7egt4g5.js} +5 -5
- package/dist/chunks/{tool-ty38hkz0.js → app-n93ehy3t.js} +25 -25
- package/dist/chunks/{tool-751d8h98.js → app-nfynv00w.js} +8 -8
- package/dist/chunks/app-nkrpwcne.js +252 -0
- package/dist/chunks/{tool-69tq260k.js → app-nm1fs8j1.js} +4 -4
- package/dist/chunks/{tool-5npp0aqe.js → app-ns11qcmf.js} +12 -12
- package/dist/chunks/{tool-j020r4b8.js → app-nzc01whq.js} +18 -18
- package/dist/chunks/{tool-dcrzta4z.js → app-p1f9wrr8.js} +29 -29
- package/dist/chunks/{tool-6htwetdg.js → app-p53dvdxd.js} +13 -13
- package/dist/chunks/{tool-0h7zqhk1.js → app-p5tsmpsj.js} +13 -13
- package/dist/chunks/{tool-j15mfg1p.js → app-pjmceen1.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-mb7h37gf.js → app-pjx7q10q.js} +18 -18
- package/dist/chunks/{tool-et1rwp1c.js → app-pkmd9pg0.js} +17 -17
- package/dist/chunks/{tool-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{tool-a771gyms.js → app-pw75v0se.js} +18 -18
- package/dist/chunks/{tool-227eqkj4.js → app-pyxgdpbm.js} +31 -31
- package/dist/chunks/{tool-207vtrn6.js → app-q46041zc.js} +3 -3
- package/dist/chunks/{tool-btasn2qa.js → app-q4aagae2.js} +5 -5
- package/dist/chunks/{tool-gk46542b.js → app-qant3epe.js} +11 -11
- package/dist/chunks/{tool-kkye0g1c.js → app-qb9bfxht.js} +29 -29
- package/dist/chunks/{tool-g1a4gtq5.js → app-qcw5zjkg.js} +24 -24
- package/dist/chunks/{tool-mbdx9w3r.js → app-qgcgj089.js} +13 -13
- package/dist/chunks/{tool-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-wrcedmy5.js → app-qyf8ynzm.js} +14 -14
- package/dist/chunks/{tool-tr36y7yy.js → app-rd7j0r7s.js} +15 -15
- package/dist/chunks/{tool-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-79qaa2kf.js → app-rey5gbxv.js} +9 -9
- package/dist/chunks/{tool-7kshtdzt.js → app-rnhtns9m.js} +12 -12
- package/dist/chunks/{tool-7ykgbnpc.js → app-rnnfvfmz.js} +5 -5
- package/dist/chunks/{tool-h6jr292a.js → app-s0hza5ac.js} +4 -4
- package/dist/chunks/{tool-ybw5q8sx.js → app-s197j8aa.js} +1 -1
- package/dist/chunks/{tool-ms8h2pfd.js → app-s57j6h06.js} +23 -23
- package/dist/chunks/{tool-kwy905ev.js → app-s8r4qnwb.js} +15 -15
- package/dist/chunks/{tool-mpqms32c.js → app-saqgrh58.js} +86 -86
- package/dist/chunks/{tool-8qdtywy4.js → app-sk19vycr.js} +47 -47
- package/dist/chunks/{tool-n36tynep.js → app-spjvwqgk.js} +7 -7
- package/dist/chunks/{tool-nt5fy3c2.js → app-svzmgsme.js} +19 -19
- package/dist/chunks/{tool-fyjp43ss.js → app-sykc9y4a.js} +5 -5
- package/dist/chunks/{tool-6nfxmhqk.js → app-t3m71znj.js} +11 -11
- package/dist/chunks/{tool-fwrss4ad.js → app-t9d84gp7.js} +4 -4
- package/dist/chunks/{tool-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-p28j5sbe.js → app-tbz0fdvh.js} +5 -5
- package/dist/chunks/{tool-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-qxdz2nh0.js → app-tcfe36vw.js} +24 -24
- package/dist/chunks/{tool-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{tool-96gp88bm.js → app-teqkkx0y.js} +21 -21
- package/dist/chunks/{tool-rb4bj52x.js → app-tfm9qqy2.js} +9 -9
- package/dist/chunks/{tool-9erckna5.js → app-tk7qtz96.js} +9 -9
- package/dist/chunks/{tool-r9ezg2qv.js → app-tkg6wrcp.js} +25 -25
- package/dist/chunks/{tool-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-cxpv6f5j.js → app-tx8s6w99.js} +10 -10
- package/dist/chunks/{tool-wfrx59p8.js → app-tyc4kq75.js} +3 -3
- package/dist/chunks/{tool-9zrmz628.js → app-v38d2txv.js} +8 -8
- package/dist/chunks/{tool-nng2ktcm.js → app-v5j4d43x.js} +2 -2
- package/dist/chunks/{tool-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-62297ddh.js → app-vgn3rvzw.js} +19 -19
- package/dist/chunks/{tool-w2zggh9c.js → app-vkhpq047.js} +53 -53
- package/dist/chunks/{tool-wm0tnrwj.js → app-vkt5wt51.js} +11 -11
- package/dist/chunks/{tool-j2m1k0mf.js → app-vrxtv5kp.js} +3 -3
- package/dist/chunks/{tool-wcbhsh5x.js → app-vsvscstt.js} +35 -35
- package/dist/chunks/{tool-yrcva06b.js → app-vx2e2qd2.js} +59 -59
- package/dist/chunks/{tool-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-f17sp9w8.js → app-w1pfwvrv.js} +35 -35
- package/dist/chunks/{tool-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-zf1tr6ve.js → app-w4ggsreb.js} +6 -6
- package/dist/chunks/{tool-xhfakj7b.js → app-w9a7bxjv.js} +35 -35
- package/dist/chunks/{tool-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{tool-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-8tz9mcp0.js → app-xk747vep.js} +9 -9
- package/dist/chunks/{tool-ah7j68gv.js → app-xkadcde5.js} +36 -36
- package/dist/chunks/{tool-rcs6zvep.js → app-xq2kvd0a.js} +186 -186
- package/dist/chunks/{tool-se013gpv.js → app-xsagr3cx.js} +8 -8
- package/dist/chunks/{tool-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-mjanay65.js → app-y6h54wc7.js} +27 -27
- package/dist/chunks/{tool-anarwj6h.js → app-y7x142mt.js} +5 -5
- package/dist/chunks/{tool-9zzv5pgc.js → app-yjptyezs.js} +5 -5
- package/dist/chunks/{tool-6yj6tbhz.js → app-ykg38shc.js} +21 -21
- package/dist/chunks/{tool-r8xr0va3.js → app-yp2x3t23.js} +4 -4
- package/dist/chunks/{tool-6tty3e9h.js → app-yqyqkq2b.js} +4 -4
- package/dist/chunks/{tool-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-yrznvahk.js → app-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-sa82vsrh.js → app-yv1416d3.js} +16 -16
- package/dist/chunks/{tool-0qsq8avf.js → app-ywpb47cp.js} +20 -20
- package/dist/chunks/{tool-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-ch0wdc2q.js → app-z0v6s3vd.js} +28 -28
- package/dist/chunks/{tool-z63w68vq.js → app-z63w68vq.js} +2 -2
- package/dist/chunks/{tool-m3k2zkjm.js → app-z6kv2pk9.js} +8 -8
- package/dist/chunks/{tool-rq775frq.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-crjg2n55.js → app-zjf20deb.js} +331 -331
- package/dist/chunks/{tool-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-f3yhmzb7.js → app-zrf3t8cx.js} +19 -19
- package/dist/chunks/{tool-vx3ypjf6.js → app-ztv0xwza.js} +23 -23
- package/dist/chunks/{tool-p8jkva87.js → app-zvffvgzw.js} +7 -7
- package/dist/chunks/{tool-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-8ehm0xb8.js → app-zy1vcdg8.js} +93 -93
- package/dist/chunks/{tool-t9zs3egg.js → app-zzabxn0f.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- 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-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/tool-1ck0eb67.js +0 -252
- package/dist/chunks/tool-70jsskm8.js +0 -18
- package/dist/chunks/tool-kt46ze3v.js +0 -26
- package/dist/chunks/tool-qapv375x.js +0 -4
- /package/dist/chunks/{tool-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service44
|
|
4
|
+
} from "./app-j99nxr5r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service30
|
|
7
|
+
} from "./app-tcfe36vw.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin3
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin3 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service44;
|
|
27
|
+
const snapshot = yield* Service30;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin28 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin3, exports_snapshot };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-zvffvgzw.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-s197j8aa.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-gcn4rvn9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./app-04ewta5r.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./app-xkadcde5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-92r1w9xd.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID7
|
|
20
|
+
} from "./app-vsvscstt.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-54vj2jfs.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID7.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service80;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID7.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID7.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID7.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID7.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID7.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID7.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service27,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service20, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service27.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node31 = makeGlobalNode({ service: Service27, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service27, makeLayer2, layer13, node31, exports_model_transport };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-kv8awt1x.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-kgq2j1px.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-92r1w9xd.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-p53dvdxd.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info24,
|
|
6
|
+
ID11,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-j3azhb7z.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service44
|
|
11
|
+
} from "./app-j99nxr5r.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin33,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin33 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info24.make({
|
|
434
|
+
id: ID11.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info24.make({
|
|
441
|
+
id: ID11.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service44;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin33, exports_skill2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./app-m77d5zrr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-p5tsmpsj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./app-a82gmppq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service68
|
|
14
|
+
} from "./app-kgq2j1px.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service43
|
|
17
|
+
} from "./app-2akn3e7d.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-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: () => Input7,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin42,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
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 name7 = "write";
|
|
39
|
+
var Input7 = 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 Output5 = 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 toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin42 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service43;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service57;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service68;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
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: Input7,
|
|
69
|
+
output: Output5,
|
|
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: toModelContent4(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 { name7, Input7, Output5, toModelContent4, Plugin42, exports_write };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-sk19vycr.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service72,
|
|
3
|
+
node75
|
|
4
|
+
} from "./app-k5r9x8j7.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info28,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service71,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node74,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info28, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service71 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node74 = LayerNode.unbound(Service71, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service72;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service71.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service71,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node75]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info28, Ref4, response2, Service71, node74, boundNode2, exports_location };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service84,
|
|
10
|
+
node: () => node88
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service84 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service84.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node88 = makeLocationNode({ service: Service84, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service84, node88, exports_hooks };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83
|
|
3
|
-
} from "./tool-xq2w2bqm.js";
|
|
4
1
|
import {
|
|
5
2
|
Service80
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./app-04ewta5r.js";
|
|
4
|
+
import {
|
|
5
|
+
Service71
|
|
6
|
+
} from "./app-bfph4vb6.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service23
|
|
10
|
+
} from "./app-vkhpq047.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin34 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service71;
|
|
200
|
+
const mcp = yield* Service23;
|
|
201
|
+
const bus = yield* Service80;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin34, exports_command2 };
|