@opencode/core 0.0.0-dev-19785 → 0.0.0-dev-19787
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{vcs-dzvkfe86.js → pty-00f2f7q8.js} +24 -24
- package/dist/chunks/{vcs-5tb73dx2.js → pty-02j327mk.js} +27 -27
- package/dist/chunks/{vcs-9w8q0t30.js → pty-08fd96st.js} +6 -6
- package/dist/chunks/{vcs-t9d84gp7.js → pty-0en0hh3r.js} +4 -4
- package/dist/chunks/{vcs-prq7hedt.js → pty-0jq9fyba.js} +2 -2
- package/dist/chunks/{vcs-1tcddezv.js → pty-0mwa6y39.js} +16 -16
- package/dist/chunks/{vcs-3bv27cqa.js → pty-0nw536sy.js} +4 -4
- package/dist/chunks/{vcs-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-y32wt6xw.js → pty-0s0a8jh1.js} +173 -173
- package/dist/chunks/{vcs-yanwfe4v.js → pty-0ymsz8rv.js} +8 -8
- package/dist/chunks/{vcs-c7xsdp4h.js → pty-137n2cjd.js} +5 -5
- package/dist/chunks/{vcs-rhraev7y.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{vcs-1bbkgx8g.js → pty-1bbkgx8g.js} +1 -1
- package/dist/chunks/{vcs-7s5fspak.js → pty-1c5ncfj1.js} +24 -24
- package/dist/chunks/{vcs-nbn9sdm0.js → pty-1cr9kxrr.js} +32 -32
- package/dist/chunks/{vcs-y5n5kske.js → pty-1csms2ve.js} +31 -31
- package/dist/chunks/{vcs-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-8aec1g7a.js → pty-1e7y3jby.js} +5 -5
- package/dist/chunks/{vcs-7gw121ap.js → pty-1j7jhvrm.js} +15 -15
- package/dist/chunks/pty-1qqxsas6.js +252 -0
- package/dist/chunks/pty-1tm0r3ht.js +4 -0
- package/dist/chunks/{vcs-1ygqh575.js → pty-1ygqh575.js} +2 -2
- package/dist/chunks/{vcs-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{vcs-vbfgae2j.js → pty-277eer69.js} +4 -4
- package/dist/chunks/{vcs-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{vcs-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-3rp0cmz9.js → pty-2b210p4k.js} +15 -15
- package/dist/chunks/{vcs-yy0rdpft.js → pty-2chp5681.js} +23 -23
- package/dist/chunks/{vcs-w507q2f7.js → pty-2em355j9.js} +60 -60
- package/dist/chunks/{vcs-xs95kvv9.js → pty-2evd0k84.js} +30 -30
- package/dist/chunks/{vcs-7jq9wq05.js → pty-2g7r5mvw.js} +11 -11
- package/dist/chunks/{vcs-hx81ab3s.js → pty-2kv1txj9.js} +9 -9
- package/dist/chunks/{vcs-y15vpdnr.js → pty-3b9qt4hj.js} +9 -9
- package/dist/chunks/{vcs-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-c3z7fafd.js → pty-3sqv75dt.js} +8 -8
- package/dist/chunks/{vcs-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-5wtk0ag7.js → pty-3zh6rxhw.js} +15 -15
- package/dist/chunks/{vcs-ywb737yt.js → pty-44jfm9c6.js} +7 -7
- package/dist/chunks/{vcs-amgcv39y.js → pty-4b3p33ns.js} +43 -43
- package/dist/chunks/{vcs-aspsebee.js → pty-4bgjx4y9.js} +38 -38
- package/dist/chunks/{vcs-cmrxm6dt.js → pty-4h75thkr.js} +24 -24
- package/dist/chunks/{vcs-ey2528a1.js → pty-4jeaa92r.js} +6 -6
- package/dist/chunks/{vcs-ccqezsc8.js → pty-4kyk22vj.js} +43 -43
- package/dist/chunks/{vcs-bj010a4e.js → pty-4p0kgrzt.js} +1 -1
- package/dist/chunks/{vcs-a4vsw84f.js → pty-4rr74z9v.js} +8 -8
- package/dist/chunks/{vcs-0ke265bw.js → pty-57ez7d0k.js} +5 -5
- package/dist/chunks/{vcs-vtwsqyj5.js → pty-57q53s15.js} +11 -11
- package/dist/chunks/{vcs-5c4hm403.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{vcs-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/pty-5qekf1cr.js +26 -0
- package/dist/chunks/{vcs-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-m54aka91.js → pty-5tvckp52.js} +26 -26
- package/dist/chunks/{vcs-yjvtf5xb.js → pty-5xdv3y65.js} +27 -27
- package/dist/chunks/{vcs-p37cw4rj.js → pty-5yzzbxa7.js} +8 -8
- package/dist/chunks/{vcs-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{vcs-sgxydaxn.js → pty-6avas0hs.js} +5 -5
- package/dist/chunks/{vcs-98yabkd4.js → pty-6ejv29z8.js} +18 -18
- package/dist/chunks/{vcs-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-26k5bknw.js → pty-6p3xbzsx.js} +4 -4
- package/dist/chunks/{vcs-cmj5x0b9.js → pty-6tc74vrw.js} +15 -15
- package/dist/chunks/{vcs-rdwk04z4.js → pty-6vgkbqsf.js} +11 -11
- package/dist/chunks/{vcs-rsmn7858.js → pty-6wkd5avw.js} +30 -30
- package/dist/chunks/{vcs-nxncb47v.js → pty-6zvnhsg3.js} +25 -25
- package/dist/chunks/{vcs-pq56qyty.js → pty-74e549sx.js} +18 -18
- package/dist/chunks/{vcs-gnx4ytbv.js → pty-7ac170kv.js} +4 -4
- package/dist/chunks/{vcs-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-qgn6gcr1.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-h2v3dy3j.js → pty-7nrhymjj.js} +24 -24
- package/dist/chunks/{vcs-sf0yp864.js → pty-7qq3ahcc.js} +6 -6
- package/dist/chunks/{vcs-chr97fzb.js → pty-7t8e8ps1.js} +9 -9
- package/dist/chunks/{vcs-krsxfz3g.js → pty-7xnx6cga.js} +35 -35
- package/dist/chunks/{vcs-pecb0brz.js → pty-809q4hne.js} +5 -5
- package/dist/chunks/{vcs-3ktbe3hf.js → pty-834a0b17.js} +9 -9
- package/dist/chunks/{vcs-yq77jy9s.js → pty-899tt7an.js} +26 -26
- package/dist/chunks/{vcs-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-yv3895hn.js → pty-8ev4rrc0.js} +4 -4
- package/dist/chunks/{vcs-qp3v07n2.js → pty-8ha6ga5e.js} +8 -8
- package/dist/chunks/{vcs-7dkem8nx.js → pty-8kgt14gf.js} +25 -25
- package/dist/chunks/{vcs-drxdmwv3.js → pty-8msxkbjy.js} +29 -29
- package/dist/chunks/{vcs-7knda3jr.js → pty-8npqseq9.js} +15 -15
- package/dist/chunks/{vcs-f84e67kg.js → pty-8v55y81p.js} +33 -33
- package/dist/chunks/{vcs-mjkf3c8a.js → pty-8zqxjytc.js} +9 -9
- package/dist/chunks/{vcs-nghhmp74.js → pty-9mmr4cym.js} +13 -13
- package/dist/chunks/{vcs-0fx23v7t.js → pty-9n4prt69.js} +13 -13
- package/dist/chunks/{vcs-6nwr3esx.js → pty-9sqkv26s.js} +42 -42
- package/dist/chunks/{vcs-dfgcfsy8.js → pty-9yyvrqyy.js} +24 -24
- package/dist/chunks/{vcs-p51bzsg2.js → pty-a5frg3c7.js} +9 -9
- package/dist/chunks/{vcs-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-1epeszhs.js → pty-abyxqag4.js} +4 -4
- package/dist/chunks/{vcs-2f89qttz.js → pty-aqvz20a2.js} +10 -10
- package/dist/chunks/{vcs-3sv825xt.js → pty-az62kead.js} +9 -9
- package/dist/chunks/{vcs-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-fsb1p155.js → pty-b6yzcphf.js} +11 -11
- package/dist/chunks/{vcs-b88b36qt.js → pty-b785ew1k.js} +88 -88
- package/dist/chunks/{vcs-dpb6x8pb.js → pty-bd89c7qa.js} +11 -11
- package/dist/chunks/{vcs-63wm8qbg.js → pty-be3g221r.js} +15 -15
- package/dist/chunks/{vcs-zd2ardjm.js → pty-bkjtrpfb.js} +16 -16
- package/dist/chunks/{vcs-kcsm1pvj.js → pty-bky20j8j.js} +9 -9
- package/dist/chunks/{vcs-ab8cnxkj.js → pty-bm3m92rh.js} +12 -12
- package/dist/chunks/{vcs-y8393236.js → pty-brqzv7bg.js} +28 -28
- package/dist/chunks/{vcs-sk9sa75e.js → pty-bwbrqz0a.js} +10 -10
- package/dist/chunks/{vcs-2pwpxv8b.js → pty-bxgqktpk.js} +24 -24
- package/dist/chunks/{vcs-4nfsn0ge.js → pty-byqk2fv6.js} +21 -21
- package/dist/chunks/{vcs-zn7065ss.js → pty-c2qj7f61.js} +16 -16
- package/dist/chunks/{vcs-82rqd1r4.js → pty-c9g527t4.js} +34 -34
- package/dist/chunks/{vcs-w6egt51a.js → pty-ch7ar4cr.js} +22 -22
- package/dist/chunks/{vcs-gn2hfjap.js → pty-cq9vh2fv.js} +8 -8
- package/dist/chunks/{vcs-nt0ka7s2.js → pty-cy7q8w9z.js} +10 -10
- package/dist/chunks/{vcs-p6x8tsyv.js → pty-czhz2k7d.js} +11 -11
- package/dist/chunks/{vcs-kcy599jp.js → pty-d58ea4wx.js} +8 -8
- package/dist/chunks/{vcs-xmtatqnz.js → pty-d7tjjqf6.js} +6 -6
- package/dist/chunks/{vcs-652wwggm.js → pty-dcsznwm0.js} +17 -17
- package/dist/chunks/{vcs-kwb80b5k.js → pty-dhwr7h25.js} +11 -11
- package/dist/chunks/{vcs-dj2t23y0.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{vcs-xfkkasph.js → pty-drwq78ky.js} +4 -4
- package/dist/chunks/{vcs-fgzj8cnx.js → pty-e0r8ercz.js} +11 -11
- package/dist/chunks/{vcs-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{vcs-4crgsb6x.js → pty-e41je68c.js} +3 -3
- package/dist/chunks/{vcs-9bjh12rm.js → pty-e9wrjfx0.js} +54 -54
- package/dist/chunks/{vcs-dzpxg698.js → pty-eaznszq2.js} +27 -27
- package/dist/chunks/{vcs-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-m6qb83a4.js → pty-eq9606cq.js} +44 -44
- package/dist/chunks/{vcs-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{vcs-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-fmwm7383.js → pty-f1cvcqqp.js} +24 -24
- package/dist/chunks/{vcs-k9kj6xed.js → pty-fkjmw100.js} +2 -2
- package/dist/chunks/{vcs-sxz6gkc3.js → pty-fm2qvscf.js} +7 -7
- package/dist/chunks/{vcs-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-jca4demv.js → pty-g2yz86wh.js} +2 -2
- package/dist/chunks/{vcs-87tt8t7n.js → pty-g9q532r4.js} +1 -1
- package/dist/chunks/{vcs-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-bw9zjykr.js → pty-gjmk74th.js} +6 -6
- package/dist/chunks/{vcs-5mvsqaye.js → pty-gq6z7eg4.js} +20 -20
- package/dist/chunks/{vcs-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-wq258bpn.js → pty-gydxxgyg.js} +15 -15
- package/dist/chunks/{vcs-wzz0kxab.js → pty-gzbkpp9m.js} +7 -7
- package/dist/chunks/{vcs-p5mzrbge.js → pty-gzfs38sx.js} +20 -20
- package/dist/chunks/{vcs-4bxxhd7j.js → pty-h3c20vca.js} +4 -4
- package/dist/chunks/{vcs-44h5tttr.js → pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{vcs-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-dwhra0vb.js → pty-h8w3rnrc.js} +2 -2
- package/dist/chunks/{vcs-hdnk95c8.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{vcs-5aznq9v1.js → pty-hfs4qywr.js} +26 -26
- package/dist/chunks/{vcs-87khw5v1.js → pty-hn8hcjvd.js} +3 -3
- package/dist/chunks/{vcs-8sr6jhn7.js → pty-hr990vwq.js} +32 -32
- package/dist/chunks/{vcs-yj68pm2f.js → pty-hsv1w0ka.js} +64 -33
- package/dist/chunks/{vcs-f5qc2c8y.js → pty-htekf6zf.js} +9 -9
- package/dist/chunks/{vcs-41a43f7b.js → pty-hyag3rfz.js} +8 -8
- package/dist/chunks/{vcs-9hetn29h.js → pty-j2e43x50.js} +28 -28
- package/dist/chunks/{vcs-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-b97cbvw3.js → pty-j5786zrt.js} +1 -1
- package/dist/chunks/{vcs-16628gpg.js → pty-jdbtptns.js} +26 -26
- package/dist/chunks/{vcs-h05jg4r8.js → pty-jnzdfagj.js} +5 -5
- package/dist/chunks/{vcs-3zadb3ze.js → pty-jqe5ka82.js} +18 -18
- package/dist/chunks/{vcs-fqtvmpfq.js → pty-k1gkpfdk.js} +8 -8
- package/dist/chunks/{vcs-k3c624dm.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-87c78gvf.js → pty-kb0jenp9.js} +17 -17
- package/dist/chunks/{vcs-tgq87g7r.js → pty-kbmk2nk1.js} +2 -2
- package/dist/chunks/{vcs-szbm2s3f.js → pty-kk61yved.js} +15 -15
- package/dist/chunks/{vcs-z8nsjcdm.js → pty-kmrnkd77.js} +3 -3
- package/dist/chunks/{vcs-n9pk4h4w.js → pty-kss3k1ej.js} +12 -12
- package/dist/chunks/{vcs-nax18teq.js → pty-kz37x8hb.js} +77 -77
- package/dist/chunks/{vcs-m0jqrx5p.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{vcs-5aqgrrzc.js → pty-m2taxsaw.js} +10 -10
- package/dist/chunks/{vcs-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-s5fd9bya.js → pty-m5mra8ny.js} +13 -13
- package/dist/chunks/{vcs-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-59vv2e99.js → pty-mg0hvqns.js} +24 -24
- package/dist/chunks/{vcs-vgd24bk5.js → pty-mv5tqpbn.js} +13 -13
- package/dist/chunks/{vcs-bmsw69pp.js → pty-mwfspft0.js} +9 -9
- package/dist/chunks/{vcs-k6e2bkwv.js → pty-mx4hjh21.js} +32 -32
- package/dist/chunks/{vcs-z1e9x04n.js → pty-mxr6rdrb.js} +16 -16
- package/dist/chunks/{vcs-zsek5znr.js → pty-n5zcbnsa.js} +37 -37
- package/dist/chunks/{vcs-w6rdwwpk.js → pty-n7b52vzq.js} +16 -16
- package/dist/chunks/{vcs-ea8ygsn2.js → pty-nam2k8jt.js} +10 -10
- package/dist/chunks/{vcs-v8dgcsex.js → pty-nbctyxha.js} +296 -296
- package/dist/chunks/{vcs-p5xenmgv.js → pty-nbqevg8t.js} +13 -13
- package/dist/chunks/{vcs-mjr0mt8h.js → pty-npbak50e.js} +9 -9
- package/dist/chunks/{vcs-qn4ba14w.js → pty-p1nm93x7.js} +5 -5
- package/dist/chunks/{vcs-p28j5sbe.js → pty-p28j5sbe.js} +2 -2
- package/dist/chunks/{vcs-tbrb11cd.js → pty-p3j3z1wm.js} +23 -23
- package/dist/chunks/{vcs-rxknsg40.js → pty-p5hkqs15.js} +3 -3
- package/dist/chunks/{vcs-6v5nxwnj.js → pty-p8x8xcsb.js} +11 -11
- package/dist/chunks/{vcs-w9tag6zy.js → pty-p91ndb2v.js} +46 -46
- package/dist/chunks/pty-pf31ssb9.js +18 -0
- package/dist/chunks/{vcs-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-3tg7y743.js → pty-pwyph8fp.js} +7 -7
- package/dist/chunks/{vcs-h8xa7dg2.js → pty-pxnzv34t.js} +18 -18
- package/dist/chunks/{vcs-x7d0x6q6.js → pty-q36t7h4b.js} +3 -3
- package/dist/chunks/{vcs-ch1wezp8.js → pty-q9k3nk2m.js} +14 -14
- package/dist/chunks/{vcs-w8f6gg2r.js → pty-qf8xbt1v.js} +6 -6
- package/dist/chunks/{vcs-cfs2dxc1.js → pty-qmg269n7.js} +10 -10
- package/dist/chunks/{vcs-gx2jmf58.js → pty-qph7hyw7.js} +4 -4
- package/dist/chunks/{vcs-00z3vp5f.js → pty-qq11w61w.js} +4 -4
- package/dist/chunks/{vcs-secw0cph.js → pty-qqrhpyxk.js} +18 -18
- package/dist/chunks/{vcs-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-j7t2khjb.js → pty-qtwarjwz.js} +8 -8
- package/dist/chunks/{vcs-3b1q5j1v.js → pty-qz49fwgp.js} +6 -6
- package/dist/chunks/{vcs-gjwgx2c5.js → pty-r2m716tb.js} +9 -9
- package/dist/chunks/{vcs-5rgn0hmj.js → pty-r3grxea3.js} +23 -23
- package/dist/chunks/{vcs-wwcya7tn.js → pty-rbs0ef4y.js} +30 -30
- package/dist/chunks/{vcs-rypz72ax.js → pty-rccz2tys.js} +6 -6
- package/dist/chunks/{vcs-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-k5z0nagc.js → pty-rf9y12ds.js} +5 -5
- package/dist/chunks/{vcs-xbzr4842.js → pty-rgt3cf1f.js} +10 -10
- package/dist/chunks/{vcs-3pe7sts8.js → pty-rhafb4aa.js} +9 -9
- package/dist/chunks/{vcs-bw7qfaz4.js → pty-rjkasajw.js} +9 -9
- package/dist/chunks/{vcs-8xz4y4hf.js → pty-rrnpfv6a.js} +20 -20
- package/dist/chunks/{vcs-b5vk231x.js → pty-rsd57mk1.js} +14 -14
- package/dist/chunks/{vcs-x0jfpzvg.js → pty-s1mn6qcj.js} +8 -8
- package/dist/chunks/{vcs-jp9e6z2n.js → pty-s1wc6ad4.js} +15 -15
- package/dist/chunks/{vcs-9sbmcevh.js → pty-s4ajyzwp.js} +15 -15
- package/dist/chunks/{vcs-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{vcs-bqtxcn38.js → pty-s6qp1k48.js} +5 -5
- package/dist/chunks/{vcs-eaj1djv9.js → pty-s8d7rejh.js} +6 -6
- package/dist/chunks/{vcs-9wk33xq3.js → pty-sbycj2hd.js} +12 -12
- package/dist/chunks/{vcs-nw8gd5fb.js → pty-sd8zp0nj.js} +4 -4
- package/dist/chunks/{vcs-t22fsfm1.js → pty-sk1rxzc5.js} +14 -14
- package/dist/chunks/{vcs-1mh5gacm.js → pty-ssr8tzqd.js} +7 -7
- package/dist/chunks/{vcs-yfjz3sjy.js → pty-stdr0dsx.js} +20 -20
- package/dist/chunks/{vcs-0q2y8kca.js → pty-sy45410j.js} +19 -19
- package/dist/chunks/{vcs-c9ht2gjq.js → pty-t4h1a8sm.js} +7 -7
- package/dist/chunks/{vcs-1gjvbnce.js → pty-t62nene4.js} +45 -45
- package/dist/chunks/{vcs-xne93zxg.js → pty-t96c7fmv.js} +22 -22
- package/dist/chunks/{vcs-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-k4dbxa3j.js → pty-tb60vd7q.js} +4 -4
- package/dist/chunks/{vcs-89znhe33.js → pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{vcs-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-yn2sv961.js → pty-teerv99t.js} +57 -57
- package/dist/chunks/{vcs-yetev2tk.js → pty-tk66bvfd.js} +18 -18
- package/dist/chunks/{vcs-tcgzje3q.js → pty-tqg72d4k.js} +15 -15
- package/dist/chunks/{vcs-0y53qaqx.js → pty-tvkyymax.js} +6 -6
- package/dist/chunks/{vcs-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-stwz4ehm.js → pty-v58jy1xd.js} +11 -11
- package/dist/chunks/{vcs-chde1ykr.js → pty-v68hp2va.js} +47 -47
- package/dist/chunks/{vcs-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-xbszvevf.js → pty-vjrtmzpa.js} +5 -5
- package/dist/chunks/{vcs-68rvd1n8.js → pty-vk0pdsgf.js} +30 -30
- package/dist/chunks/{vcs-nj697j41.js → pty-vkwcxm6e.js} +5 -5
- package/dist/chunks/{vcs-bym81trf.js → pty-vqf3rr9z.js} +17 -17
- package/dist/chunks/{vcs-jw80jp6b.js → pty-vsp1fds9.js} +21 -21
- package/dist/chunks/{vcs-6t63dgq1.js → pty-vyhtd5az.js} +36 -36
- package/dist/chunks/{vcs-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-bzqdwhpx.js → pty-waqpjwb8.js} +3 -3
- package/dist/chunks/{vcs-drhgqwqs.js → pty-wcs8mysc.js} +25 -25
- package/dist/chunks/{vcs-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-bgs9y14h.js → pty-wr7ps67x.js} +5 -5
- package/dist/chunks/{vcs-y3vfhrfn.js → pty-wvh43mtc.js} +21 -21
- package/dist/chunks/{vcs-r72bb3g5.js → pty-wzdyyep8.js} +8 -8
- package/dist/chunks/{vcs-8s8mxddj.js → pty-x0511brf.js} +4 -4
- package/dist/chunks/{vcs-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-wxr3dhjj.js → pty-x31dz1np.js} +41 -41
- package/dist/chunks/{vcs-qh8vkg5r.js → pty-x5pjsa02.js} +9 -9
- package/dist/chunks/{vcs-xa74ze7z.js → pty-xdw3myhw.js} +11 -11
- package/dist/chunks/{vcs-0xnkv9hy.js → pty-xgqsyfnn.js} +12 -12
- package/dist/chunks/{vcs-q3t37ft6.js → pty-xkhfjrgz.js} +3 -3
- package/dist/chunks/{vcs-5cc0bb30.js → pty-xseb90fg.js} +7 -7
- package/dist/chunks/{vcs-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{vcs-xqy2jv1b.js → pty-ynxbryrd.js} +22 -22
- package/dist/chunks/{vcs-nf743vyw.js → pty-yqngptm3.js} +16 -16
- package/dist/chunks/{vcs-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-b0n5eer7.js → pty-ywdxak5q.js} +28 -28
- package/dist/chunks/{vcs-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-0pw7v16g.js → pty-z27wwaqb.js} +11 -11
- package/dist/chunks/{vcs-3cfzdc8e.js → pty-z3pw5915.js} +5 -5
- package/dist/chunks/{vcs-e9n56m8b.js → pty-z50h5snd.js} +18 -18
- package/dist/chunks/{vcs-63fadg39.js → pty-z62c9ayt.js} +12 -12
- package/dist/chunks/{vcs-n4r3xatb.js → pty-zav06jzw.js} +4 -4
- package/dist/chunks/{vcs-5jsgdwwm.js → pty-ze9yakes.js} +11 -11
- package/dist/chunks/{vcs-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-abngnphj.js → pty-zg25sgvs.js} +6 -6
- package/dist/chunks/{vcs-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-gemjw02a.js → pty-zvkwbpx3.js} +13 -13
- package/dist/chunks/{vcs-310j99qk.js → pty-zwp73gaw.js} +19 -19
- package/dist/chunks/{vcs-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{vcs-k5w2x31d.js → pty-zy742dcv.js} +32 -32
- 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 +83 -83
- 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 +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +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 +69 -69
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- 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 +90 -90
- 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 +358 -358
- 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 +131 -131
- 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 +355 -355
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +121 -121
- 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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- 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 +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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 +128 -128
- 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 +329 -329
- 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 +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- 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 +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +2 -2
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +127 -127
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- 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 +228 -228
- 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 +113 -113
- 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 +171 -171
- 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 +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +86 -86
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +117 -117
- 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/types/job.d.ts +3 -0
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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 +90 -90
- 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 +79 -79
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/vcs-0mesazry.js +0 -4
- package/dist/chunks/vcs-852kcaqb.js +0 -26
- package/dist/chunks/vcs-ht5y0zrb.js +0 -18
- package/dist/chunks/vcs-yxjxtxhs.js +0 -252
- /package/dist/chunks/{vcs-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service56,
|
|
9
|
+
node59
|
|
10
|
+
} from "./pty-eq9606cq.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-xkhfjrgz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service50,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node53,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service56;
|
|
77
|
+
return Service50.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node53 = makeLocationNode({ service: Service50, layer, deps: [node59] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, resolved2, node53, exports_model };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-3sqv75dt.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin9,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
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 endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin9 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin7 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin7 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin9, exports_firecrawl };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info22,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info22 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info22, exports_provider2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-qph7hyw7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service22,
|
|
7
|
+
node26
|
|
8
|
+
} from "./pty-t62nene4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./pty-2em355j9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node44
|
|
16
|
+
} from "./pty-9yyvrqyy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service21,
|
|
26
26
|
layer: () => layer9,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node25
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service21 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer9 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service22;
|
|
42
|
+
const tools = yield* Service41;
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service64;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer9 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service21.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
123
|
+
var node25 = makeLocationNode({
|
|
124
|
+
service: Service21,
|
|
125
125
|
layer: layer9,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node44, node26, node86, node68]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service21, layer9, node25, exports_mcp3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./pty-1cr9kxrr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID13.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./pty-p91ndb2v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./pty-r2m716tb.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
16
16
|
__export(exports_location_watcher, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin29
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin29 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service69;
|
|
26
|
+
const policy = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin25 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin29, exports_location_watcher };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-qph7hyw7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./pty-6wkd5avw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service70,
|
|
12
|
+
node74
|
|
13
|
+
} from "./pty-mg0hvqns.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./pty-rsd57mk1.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-00f2f7q8.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-bwbrqz0a.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service71,
|
|
36
|
+
Event15,
|
|
37
|
+
node75
|
|
38
|
+
} from "./pty-qqrhpyxk.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./pty-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options8,
|
|
48
|
+
Service: () => Service69,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured10,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node73,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options8 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service69 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service69, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
|
+
const watcher = yield* Service70;
|
|
98
98
|
const bus = yield* Service82;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service71;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service69.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured10(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service69,
|
|
268
|
+
layer: layer23(options),
|
|
269
|
+
deps: [node74, node86, FSUtil.node, Global.node, node83, node81, node75]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node73 = configured10();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options8, Service69, Test2, testLayer2, layer23, configured10, node73, exports_config };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service26,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service26 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service26.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service26, awaitActivation2, exports_service };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./pty-899tt7an.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./pty-2em355j9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin48 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service78;
|
|
57
|
+
const permission = yield* Service64;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service61,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node65,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service61 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve3.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service61.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured9(options) {
|
|
210
|
+
return makeLocationNode({ service: Service61, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node65 = configured9();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options7, Service61, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node65, exports_select };
|