@opencode/core 0.0.0-dev-19771 → 0.0.0-dev-19772
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 +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{location-lifecycle-wcc6r8bb.js → file-018x1ems.js} +34 -34
- package/dist/chunks/{location-lifecycle-rhjbct0v.js → file-02nrjc1r.js} +6 -6
- package/dist/chunks/{location-lifecycle-tky30qnq.js → file-0777derp.js} +5 -5
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-lifecycle-zfgrdwy1.js → file-12fxvqn6.js} +46 -46
- package/dist/chunks/{location-lifecycle-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-lifecycle-w9564p80.js → file-1gp0z8vk.js} +19 -19
- package/dist/chunks/{location-lifecycle-csf2jhsg.js → file-1hc11dc4.js} +4 -4
- package/dist/chunks/{location-lifecycle-f32czd11.js → file-1qg96azw.js} +11 -11
- package/dist/chunks/file-1x11rq2a.js +18 -0
- package/dist/chunks/{location-lifecycle-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{location-lifecycle-2m15pen8.js → file-22br4zbr.js} +30 -30
- package/dist/chunks/{location-lifecycle-ym1gd12q.js → file-22wh6ycc.js} +22 -22
- package/dist/chunks/{location-lifecycle-seqv5kpb.js → file-23bnecbk.js} +20 -20
- package/dist/chunks/{location-lifecycle-gejspzzg.js → file-263r72ym.js} +23 -23
- package/dist/chunks/{location-lifecycle-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-lifecycle-ef9ad86t.js → file-2dvm09dd.js} +24 -24
- package/dist/chunks/{location-lifecycle-ts2x07a1.js → file-2jz473v5.js} +1 -1
- package/dist/chunks/{location-lifecycle-cry8xwhg.js → file-2rx2wg8g.js} +3 -3
- package/dist/chunks/{location-lifecycle-nca7p386.js → file-2y34zzjz.js} +4 -4
- package/dist/chunks/{location-lifecycle-g5dbv4m6.js → file-2zzhbfmj.js} +5 -5
- package/dist/chunks/{location-lifecycle-9jtxab4r.js → file-304h1yg1.js} +32 -32
- package/dist/chunks/{location-lifecycle-g858ege8.js → file-31wqgk5p.js} +10 -10
- package/dist/chunks/{location-lifecycle-s4fd02w1.js → file-361xm3ya.js} +44 -44
- package/dist/chunks/file-3cg6k2ga.js +252 -0
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-jy413cw9.js → file-3fhknkx8.js} +20 -20
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-ztxdexjh.js → file-3kke03kt.js} +185 -185
- package/dist/chunks/{location-lifecycle-k443rats.js → file-3my6v4az.js} +20 -20
- package/dist/chunks/{location-lifecycle-v0fmmm42.js → file-3qzhexf6.js} +32 -32
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-wkqs5zpc.js → file-41verw56.js} +27 -27
- package/dist/chunks/{location-lifecycle-3mh8mcsd.js → file-42mthp08.js} +26 -26
- package/dist/chunks/{location-lifecycle-6yb5hqwk.js → file-46zss07m.js} +27 -27
- package/dist/chunks/file-4938m1cx.js +478 -0
- package/dist/chunks/{location-lifecycle-701x6znf.js → file-4dnw4fzb.js} +26 -26
- package/dist/chunks/{location-lifecycle-tk12xd0z.js → file-4ghcrmft.js} +29 -29
- package/dist/chunks/{location-lifecycle-dvkjkx8e.js → file-4qenbd9f.js} +1 -1
- package/dist/chunks/{location-lifecycle-w59r0ea1.js → file-4wywpd95.js} +10 -10
- package/dist/chunks/{location-lifecycle-84regx6k.js → file-4y2x8jxf.js} +44 -44
- package/dist/chunks/{location-lifecycle-jv01nqvq.js → file-510m7gjw.js} +5 -5
- package/dist/chunks/{location-lifecycle-fnafhjrm.js → file-55j2v9k6.js} +21 -21
- package/dist/chunks/{location-lifecycle-56gdpj1q.js → file-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-lifecycle-57ez7d0k.js → file-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-lifecycle-zmbr0qn9.js → file-58vybx2g.js} +6 -6
- package/dist/chunks/{location-lifecycle-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-dvep9rg9.js → file-5e1pzs32.js} +9 -9
- package/dist/chunks/{location-lifecycle-xc0bfz3r.js → file-5fkxaj5s.js} +5 -5
- package/dist/chunks/{location-lifecycle-3mnwv5pc.js → file-5gwdj91r.js} +23 -23
- package/dist/chunks/{location-lifecycle-n92mjzky.js → file-5jsx19yx.js} +22 -22
- package/dist/chunks/{location-lifecycle-e3qxr5gk.js → file-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-lifecycle-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-lifecycle-328th6nm.js → file-5vx8nhhg.js} +17 -17
- package/dist/chunks/{location-lifecycle-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{location-lifecycle-mf60cw7q.js → file-66rhs1hf.js} +40 -40
- package/dist/chunks/{location-lifecycle-970bw64c.js → file-6grmf33y.js} +15 -15
- package/dist/chunks/{location-lifecycle-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-lifecycle-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-lifecycle-1kq7x5qn.js → file-6mypyd4y.js} +57 -57
- package/dist/chunks/{location-lifecycle-qyxe5d7d.js → file-6r536pd1.js} +60 -60
- package/dist/chunks/{location-lifecycle-h8edqr4y.js → file-6v4peh9p.js} +18 -18
- package/dist/chunks/{location-lifecycle-k1vtzvdf.js → file-702gse62.js} +23 -23
- package/dist/chunks/{location-lifecycle-bb86ahs1.js → file-73cb9t05.js} +5 -5
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-3j6t0fah.js → file-7bzk74m1.js} +12 -12
- package/dist/chunks/{location-lifecycle-7dqw4kz8.js → file-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-lifecycle-ahd542yp.js → file-7sbn2nrf.js} +8 -8
- package/dist/chunks/{location-lifecycle-2bac5kce.js → file-7xps8bb1.js} +27 -27
- package/dist/chunks/{location-lifecycle-1bbkgx8g.js → file-7yh4e7ss.js} +3 -3
- package/dist/chunks/{location-lifecycle-h611g1gx.js → file-81tjde9w.js} +3 -3
- package/dist/chunks/{location-lifecycle-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-lifecycle-x23498t7.js → file-8nkxt6xp.js} +23 -23
- package/dist/chunks/{location-lifecycle-8p4f9s12.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-lifecycle-74fsgkfp.js → file-8xbbjbhd.js} +29 -29
- package/dist/chunks/{location-lifecycle-sx2f478y.js → file-8y3wyrth.js} +22 -22
- package/dist/chunks/{location-lifecycle-2aq52r8k.js → file-8zvwwgc2.js} +20 -20
- package/dist/chunks/{location-lifecycle-fb3ej5ej.js → file-91342nd3.js} +28 -28
- package/dist/chunks/{location-lifecycle-9t3sp04t.js → file-94s2pdns.js} +43 -43
- package/dist/chunks/{location-lifecycle-6tcgnf8s.js → file-956z8k1a.js} +4 -4
- package/dist/chunks/{location-lifecycle-vp3k42e8.js → file-9eyeqmd2.js} +35 -35
- package/dist/chunks/{location-lifecycle-cq37gk0t.js → file-9gr8y5ys.js} +4 -4
- package/dist/chunks/{location-lifecycle-2facesyc.js → file-9xbxnfqb.js} +18 -18
- package/dist/chunks/{location-lifecycle-a1bz86dw.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-lifecycle-20axtcfn.js → file-a6f6mbr6.js} +5 -5
- package/dist/chunks/{location-lifecycle-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{location-lifecycle-5bg73mre.js → file-ac8gkyem.js} +11 -11
- package/dist/chunks/{location-lifecycle-aqtafj8r.js → file-ad2z09fz.js} +1 -1
- package/dist/chunks/{location-lifecycle-r9faq7b2.js → file-ame7p0bf.js} +46 -46
- package/dist/chunks/{location-lifecycle-dgwtn50y.js → file-az4c37nw.js} +20 -20
- package/dist/chunks/{location-lifecycle-h71w788e.js → file-b0dgvpy7.js} +9 -9
- package/dist/chunks/{location-lifecycle-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-lifecycle-gcejxdeh.js → file-b9ahwkd2.js} +11 -11
- package/dist/chunks/{location-lifecycle-jewzahs7.js → file-bacyadyn.js} +4 -4
- package/dist/chunks/{location-lifecycle-r98e92ep.js → file-bct739vz.js} +4 -4
- package/dist/chunks/{location-lifecycle-x75yvd88.js → file-bj93k3jd.js} +15 -15
- package/dist/chunks/{location-lifecycle-jva4mgym.js → file-bjn91642.js} +4 -4
- package/dist/chunks/{location-lifecycle-fpr4rjwc.js → file-bpnjy3z7.js} +11 -11
- package/dist/chunks/{location-lifecycle-6rjxjn7m.js → file-by1dj0rw.js} +10 -10
- package/dist/chunks/{location-lifecycle-dqmwfghx.js → file-c78bbtc9.js} +5 -5
- package/dist/chunks/{location-lifecycle-9sw9mzav.js → file-cb7w9rn9.js} +11 -11
- package/dist/chunks/{location-lifecycle-3wbhmqdg.js → file-cd9my3v1.js} +11 -11
- package/dist/chunks/{location-lifecycle-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-lifecycle-cmwkp3r5.js → file-cmwkp3r5.js} +1 -1
- package/dist/chunks/{location-lifecycle-4j2m23fe.js → file-csk5y31k.js} +17 -17
- package/dist/chunks/{location-lifecycle-2mg1dsg3.js → file-d1mbserq.js} +4 -4
- package/dist/chunks/{location-lifecycle-was7srj9.js → file-d383cjmk.js} +5 -5
- package/dist/chunks/{location-lifecycle-0c8sczda.js → file-dgf6d44x.js} +6 -6
- package/dist/chunks/{location-lifecycle-drwq78ky.js → file-drwq78ky.js} +1 -1
- package/dist/chunks/{location-lifecycle-ex0pka66.js → file-dtqg9ce1.js} +5 -5
- package/dist/chunks/{location-lifecycle-sr3h3j4j.js → file-dv7aa87v.js} +40 -40
- package/dist/chunks/{location-lifecycle-c488s98d.js → file-e34x8y7p.js} +8 -8
- package/dist/chunks/{location-lifecycle-myrwtzhc.js → file-e3fp033c.js} +30 -30
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → file-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-4fkqdd82.js → file-ehy7cw58.js} +15 -15
- package/dist/chunks/{location-lifecycle-kne8f3cn.js → file-embw8kgh.js} +4 -4
- package/dist/chunks/{location-lifecycle-erw5rpbs.js → file-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-lifecycle-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-lifecycle-1w1k9xpb.js → file-f6jg9yks.js} +22 -22
- package/dist/chunks/{location-lifecycle-f828m53h.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{location-lifecycle-99dmgpqm.js → file-ff3zbyyz.js} +11 -11
- package/dist/chunks/{location-lifecycle-q7yh6m05.js → file-fgrqxmc5.js} +13 -13
- package/dist/chunks/{location-lifecycle-dyh11xxw.js → file-fhmyd1cc.js} +9 -9
- package/dist/chunks/{location-lifecycle-7cra1dwx.js → file-fjtsztdw.js} +11 -11
- package/dist/chunks/{location-lifecycle-knb7evpn.js → file-fkjmw100.js} +6 -6
- package/dist/chunks/{location-lifecycle-h5wtym79.js → file-fpkmmq0f.js} +14 -14
- package/dist/chunks/{location-lifecycle-yxc59d7f.js → file-ftdzjz2b.js} +8 -8
- package/dist/chunks/{location-lifecycle-qmw5tnb2.js → file-fvbnea60.js} +32 -32
- package/dist/chunks/{location-lifecycle-sm1y1vrb.js → file-fwcvyjm4.js} +9 -9
- package/dist/chunks/{location-lifecycle-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-lifecycle-m9g140gf.js → file-fxmgg4aj.js} +4 -4
- package/dist/chunks/{location-lifecycle-yjgqe2re.js → file-fxzbpcn9.js} +3 -3
- package/dist/chunks/{location-lifecycle-cwny1ppz.js → file-g5fh27jm.js} +20 -20
- package/dist/chunks/{location-lifecycle-xvq2g0b8.js → file-g6mb1r40.js} +15 -15
- package/dist/chunks/{location-lifecycle-qmqgtz8f.js → file-g6q9qykm.js} +9 -9
- package/dist/chunks/{location-lifecycle-tf68swts.js → file-g7jvb7c9.js} +12 -12
- package/dist/chunks/{location-lifecycle-pdnh11fp.js → file-g7z2c8ev.js} +35 -35
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-a81ktjvh.js → file-gq8aqzna.js} +11 -11
- package/dist/chunks/{location-lifecycle-1ehww2v2.js → file-gr0d3prr.js} +10 -10
- package/dist/chunks/{location-lifecycle-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-lifecycle-gtd25ap0.js → file-gwyevam5.js} +4 -4
- package/dist/chunks/{location-lifecycle-p3xsxnnd.js → file-h0jmq7yk.js} +22 -22
- package/dist/chunks/{location-lifecycle-kpmz6fzy.js → file-h0zs8ypv.js} +10 -10
- package/dist/chunks/{location-lifecycle-gxkxv40a.js → file-h36v7wj5.js} +5 -5
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-w21bzq9q.js → file-h896pcm5.js} +6 -6
- package/dist/chunks/{location-lifecycle-qx1qj4mn.js → file-h9bw0csn.js} +15 -15
- package/dist/chunks/{location-lifecycle-w83fpb0q.js → file-hah04hfd.js} +3 -3
- package/dist/chunks/{location-lifecycle-rf51g22b.js → file-hhvxj0xs.js} +2 -2
- package/dist/chunks/{location-lifecycle-809q4hne.js → file-hkfg6fzm.js} +5 -5
- package/dist/chunks/{location-lifecycle-kqm39a7s.js → file-hmwvdnz2.js} +66 -66
- package/dist/chunks/{location-lifecycle-xfpy4nt9.js → file-hphfs7r7.js} +14 -14
- package/dist/chunks/{location-lifecycle-mcvt4s13.js → file-hqfwp6f0.js} +33 -33
- package/dist/chunks/{location-lifecycle-nkcj1gcj.js → file-hxzqr5y1.js} +51 -51
- package/dist/chunks/{location-lifecycle-x7e0fk1c.js → file-hywk6jf9.js} +17 -17
- package/dist/chunks/{location-lifecycle-1ktd7b6f.js → file-hz1es13a.js} +13 -13
- package/dist/chunks/{location-lifecycle-tvze1296.js → file-j18yem6v.js} +9 -9
- package/dist/chunks/{location-lifecycle-bxarywtn.js → file-j55ehytx.js} +32 -32
- package/dist/chunks/{location-lifecycle-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-km2jwbvk.js → file-j6vme8qb.js} +17 -17
- package/dist/chunks/{location-lifecycle-08rawchj.js → file-j7wq2tw5.js} +3 -3
- package/dist/chunks/{location-lifecycle-r9vtmsk6.js → file-ja67c5z9.js} +86 -86
- package/dist/chunks/{location-lifecycle-vy067vm3.js → file-jh2tjjwa.js} +11 -11
- package/dist/chunks/{location-lifecycle-r0wf10m3.js → file-k1324ekq.js} +24 -24
- package/dist/chunks/{location-lifecycle-k3c624dm.js → file-k3c624dm.js} +3 -3
- package/dist/chunks/{location-lifecycle-fjkp771g.js → file-k83v2y4t.js} +26 -26
- package/dist/chunks/{location-lifecycle-gxtsbhwy.js → file-kbhnhzqb.js} +15 -15
- package/dist/chunks/{location-lifecycle-jmf3pa4s.js → file-kewrzfp7.js} +4 -4
- package/dist/chunks/{location-lifecycle-jvht4t7z.js → file-kjesn8ee.js} +11 -11
- package/dist/chunks/{location-lifecycle-s8pwec7v.js → file-kynetcxa.js} +17 -17
- package/dist/chunks/{location-lifecycle-ta1n0c1s.js → file-kz33qt24.js} +27 -27
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → file-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-s1bfy7b2.js → file-m3pxzh9s.js} +6 -6
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-axmvebxj.js → file-magykp64.js} +21 -21
- package/dist/chunks/{location-lifecycle-fm2qvscf.js → file-mtq6xxnx.js} +7 -7
- package/dist/chunks/{location-lifecycle-mmnww55k.js → file-mw9xfcqs.js} +13 -13
- package/dist/chunks/{location-lifecycle-zrq8kphx.js → file-n0tq777j.js} +8 -8
- package/dist/chunks/{location-lifecycle-x75jn9zf.js → file-n1jh56hb.js} +16 -16
- package/dist/chunks/{location-lifecycle-3mef1nc0.js → file-n31hfr13.js} +11 -11
- package/dist/chunks/{location-lifecycle-zjm4mwk2.js → file-n5fr74k4.js} +10 -10
- package/dist/chunks/{location-lifecycle-ewj0d9fe.js → file-n86jpvhn.js} +11 -11
- package/dist/chunks/{location-lifecycle-xxkd99vv.js → file-nb532tg8.js} +14 -14
- package/dist/chunks/{location-lifecycle-n1aycyk1.js → file-nbpc3svs.js} +25 -25
- package/dist/chunks/{location-lifecycle-1466r77q.js → file-nk46f8av.js} +9 -9
- package/dist/chunks/{location-lifecycle-sx44q36j.js → file-nqjmnyjs.js} +11 -11
- package/dist/chunks/{location-lifecycle-hptzvfm2.js → file-nqsne9m4.js} +12 -12
- package/dist/chunks/file-nvdf328w.js +26 -0
- package/dist/chunks/{location-lifecycle-h6r3nrb9.js → file-nzyhnfxz.js} +4 -4
- package/dist/chunks/{location-lifecycle-7ebn0nc0.js → file-p0b4ytnr.js} +4 -4
- package/dist/chunks/{location-lifecycle-v6yffka4.js → file-p0rshxbh.js} +16 -16
- package/dist/chunks/{location-lifecycle-wvdt0mnj.js → file-p244d6rq.js} +16 -16
- package/dist/chunks/{location-lifecycle-p28j5sbe.js → file-p28j5sbe.js} +2 -2
- package/dist/chunks/{location-lifecycle-eek2a8x8.js → file-p8pa7sfy.js} +11 -11
- package/dist/chunks/{location-lifecycle-9yw32yaa.js → file-pht2kxnm.js} +26 -22
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-zywrz00y.js → file-px5sh37w.js} +11 -11
- package/dist/chunks/{location-lifecycle-8xjjc0pd.js → file-q4629ca0.js} +19 -19
- package/dist/chunks/{location-lifecycle-nscznvay.js → file-qg0jgkcp.js} +9 -9
- package/dist/chunks/{location-lifecycle-tbe2k93y.js → file-qjbq15hs.js} +4 -4
- package/dist/chunks/{location-lifecycle-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{location-lifecycle-9xjgq8a9.js → file-r3pg8356.js} +3 -3
- package/dist/chunks/{location-lifecycle-3744gwmw.js → file-r7nh0yvy.js} +31 -31
- package/dist/chunks/{location-lifecycle-mvdejg8s.js → file-r8cnjpdy.js} +3 -3
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → file-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-p06r72s2.js → file-rmkrm11x.js} +16 -16
- package/dist/chunks/{location-lifecycle-n2d630th.js → file-rtbbky2x.js} +7 -7
- package/dist/chunks/{location-lifecycle-xt03s1fm.js → file-rtqwcmtr.js} +35 -35
- package/dist/chunks/{location-lifecycle-ntqm1rav.js → file-s56qzf8n.js} +24 -24
- package/dist/chunks/{location-lifecycle-ayxxfpy2.js → file-s5e6zdc6.js} +15 -15
- package/dist/chunks/{location-lifecycle-zdkghbrs.js → file-s6j88jt8.js} +5 -5
- package/dist/chunks/{location-lifecycle-vy44wwf3.js → file-sez37x1t.js} +28 -28
- package/dist/chunks/{location-lifecycle-vsga7d5t.js → file-sp8y8b7b.js} +21 -21
- package/dist/chunks/{location-lifecycle-8h643jkf.js → file-t44gpkd9.js} +9 -9
- package/dist/chunks/{location-lifecycle-qk8tymmw.js → file-t7ffcjc5.js} +4 -4
- package/dist/chunks/{location-lifecycle-kbv9vvfe.js → file-t8t6b7x0.js} +12 -12
- package/dist/chunks/{location-lifecycle-h012fvt9.js → file-t9s0mbhm.js} +15 -15
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-lifecycle-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-hak61th1.js → file-tkd8wqpt.js} +18 -18
- package/dist/chunks/{location-lifecycle-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{location-lifecycle-5jewystt.js → file-tz2j9nz1.js} +6 -6
- package/dist/chunks/{location-lifecycle-94em26ae.js → file-tz47dz5v.js} +5 -5
- package/dist/chunks/{location-lifecycle-ha607pgt.js → file-v23xd7nj.js} +6 -6
- package/dist/chunks/{location-lifecycle-r6rhd2xr.js → file-v53gfhad.js} +7 -7
- package/dist/chunks/{location-lifecycle-5gb661jz.js → file-v5brccvm.js} +9 -9
- package/dist/chunks/{location-lifecycle-4mhj3wz7.js → file-v9qkps81.js} +8 -8
- package/dist/chunks/{location-lifecycle-mp22a6z6.js → file-vcewcf3p.js} +13 -13
- package/dist/chunks/{location-lifecycle-67sa8864.js → file-vcnb347p.js} +22 -22
- package/dist/chunks/{location-lifecycle-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-rshs96s6.js → file-vtede9h4.js} +5 -5
- package/dist/chunks/{location-lifecycle-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-reqevd7p.js → file-w418y777.js} +9 -9
- package/dist/chunks/{location-lifecycle-yh0fqsh6.js → file-w676f2yv.js} +29 -29
- package/dist/chunks/{location-lifecycle-yp116tgd.js → file-w6dmyrhq.js} +92 -92
- package/dist/chunks/{location-lifecycle-7nyk300c.js → file-w7bw98z6.js} +28 -28
- package/dist/chunks/{location-lifecycle-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-n9qjhx81.js → file-wf1szsxf.js} +4 -4
- package/dist/chunks/{location-lifecycle-9ktm0b6s.js → file-wj40hwr9.js} +51 -51
- package/dist/chunks/{location-lifecycle-v0hepqtm.js → file-wkmpenx3.js} +31 -31
- package/dist/chunks/{location-lifecycle-e936zhz9.js → file-ws1k4zdc.js} +11 -11
- package/dist/chunks/{location-lifecycle-kddy6dsc.js → file-wvp89zrt.js} +11 -11
- package/dist/chunks/{location-lifecycle-z09pn87h.js → file-wxsy39h8.js} +15 -15
- package/dist/chunks/{location-lifecycle-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-lifecycle-xp2mkh6z.js → file-x2dr3d7k.js} +18 -18
- package/dist/chunks/{location-lifecycle-v6s0pt21.js → file-x3rxtwc7.js} +9 -9
- package/dist/chunks/{location-lifecycle-9n1tg09n.js → file-xfzgb354.js} +11 -11
- package/dist/chunks/{location-lifecycle-f38wsw69.js → file-xg9t41r3.js} +2 -2
- package/dist/chunks/{location-lifecycle-qsswvbq8.js → file-xgt31tjm.js} +6 -6
- package/dist/chunks/{location-lifecycle-gwvc1hqs.js → file-xshcj497.js} +28 -28
- package/dist/chunks/{location-lifecycle-rsn291jg.js → file-xsqcdhn5.js} +5 -5
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-y71avatq.js → file-y71avatq.js} +1 -1
- package/dist/chunks/{location-lifecycle-f38mbwqt.js → file-y8n92kwn.js} +9 -9
- package/dist/chunks/{location-lifecycle-zv32tym9.js → file-ya5dy726.js} +6 -6
- package/dist/chunks/{location-lifecycle-p6wbyqfj.js → file-ydt9pqf5.js} +17 -17
- package/dist/chunks/{location-lifecycle-h58s4a4v.js → file-yebv8twa.js} +13 -13
- package/dist/chunks/{location-lifecycle-yp2x3t23.js → file-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-lifecycle-174zhseq.js → file-yqcj9em5.js} +25 -25
- package/dist/chunks/{location-lifecycle-ws55t3x7.js → file-yr29whj8.js} +29 -29
- package/dist/chunks/{location-lifecycle-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-lifecycle-s4enseaf.js → file-yrznvahk.js} +2 -2
- package/dist/chunks/{location-lifecycle-hba11hfv.js → file-yt24apy5.js} +28 -28
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-heeyhcwp.js → file-z2yza9q7.js} +28 -28
- package/dist/chunks/{location-lifecycle-rmvt8bgk.js → file-z3nk8zw6.js} +25 -25
- package/dist/chunks/{location-lifecycle-nckwd48j.js → file-z3v71fe4.js} +47 -47
- package/dist/chunks/{location-lifecycle-29x78va6.js → file-z63w68vq.js} +6 -6
- package/dist/chunks/{location-lifecycle-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-lifecycle-7n5krer2.js → file-zen0tk5x.js} +12 -12
- package/dist/chunks/{location-lifecycle-mmsq6tb2.js → file-zg8bah5t.js} +27 -27
- package/dist/chunks/{location-lifecycle-g9bsnkw4.js → file-zhvjewb1.js} +8 -8
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-lifecycle-4fezg0qr.js → file-zyfew8ns.js} +22 -22
- 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 +122 -122
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +71 -71
- 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 +366 -366
- 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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +357 -357
- 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 +76 -76
- 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 +354 -354
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- 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 +101 -101
- package/dist/models-dev.js +94 -94
- 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 +114 -114
- 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/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- 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 +121 -121
- 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 +69 -69
- 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 +343 -343
- 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 +5 -5
- 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 +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- 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 +76 -76
- 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 +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 +1 -1
- 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 +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 +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 +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- 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 +12 -12
- 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 +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 +7 -7
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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 +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-0vmfebvz.js +0 -478
- package/dist/chunks/location-lifecycle-aeqyc5xs.js +0 -26
- package/dist/chunks/location-lifecycle-dxj72tfx.js +0 -18
- package/dist/chunks/location-lifecycle-jjx3pceh.js +0 -252
- /package/dist/chunks/{location-lifecycle-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → file-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → file-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → file-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./file-6r536pd1.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input4,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin23,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name4 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input4 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input4.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin23 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service72;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name4,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input4,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin10 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name4,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input4, Plugin23, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./file-6r536pd1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./file-42mthp08.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input6,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin25,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name6,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name6 = "skill";
|
|
30
|
+
var Input6 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin25 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service39;
|
|
51
|
+
const permission = yield* Service72;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name6,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input6,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name6,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin14 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name6, Input6, Output4, description4, toModelOutput2, Plugin25, exports_skill2 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info15
|
|
7
|
+
} from "./file-magykp64.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info11
|
|
10
|
+
} from "./file-1qg96azw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info14
|
|
13
|
+
} from "./file-c78bbtc9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info18
|
|
16
|
+
} from "./file-mtq6xxnx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info13
|
|
19
|
+
} from "./file-2y34zzjz.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info19
|
|
25
|
+
} from "./file-p0b4ytnr.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info12
|
|
28
|
+
} from "./file-hkfg6fzm.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info17
|
|
34
|
+
} from "./file-510m7gjw.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info16
|
|
40
|
+
} from "./file-bct739vz.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info10,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info10 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info16 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info16).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info16 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info11), plan: Schema.optional(Info11) }), [Schema.Record(Schema.String, Info11)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info11),
|
|
119
|
+
build: Schema.optional(Info11),
|
|
120
|
+
general: Schema.optional(Info11),
|
|
121
|
+
explore: Schema.optional(Info11),
|
|
122
|
+
title: Schema.optional(Info11),
|
|
123
|
+
summary: Schema.optional(Info11),
|
|
124
|
+
compaction: Schema.optional(Info11)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info11)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info12, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info13).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info19).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info15),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info14).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info16 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info10, exports_config2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-nqjmnyjs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID9
|
|
6
|
+
} from "./file-g7z2c8ev.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID9.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-p0rshxbh.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node80
|
|
12
|
+
} from "./file-fpkmmq0f.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node70,
|
|
20
|
+
Event14
|
|
21
|
+
} from "./file-g7z2c8ev.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/model.ts
|
|
27
27
|
var exports_model2 = {};
|
|
@@ -29,25 +29,25 @@ __export(exports_model2, {
|
|
|
29
29
|
Capabilities: () => Capabilities2,
|
|
30
30
|
Compatibility: () => Compatibility2,
|
|
31
31
|
Cost: () => Cost2,
|
|
32
|
-
Event: () =>
|
|
32
|
+
Event: () => Event13,
|
|
33
33
|
Family: () => Family2,
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
34
|
+
ID: () => ID8,
|
|
35
|
+
Info: () => Info21,
|
|
36
36
|
Model: () => exports_model2,
|
|
37
37
|
ReasoningField: () => ReasoningField2,
|
|
38
38
|
Ref: () => Ref2,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service66,
|
|
40
40
|
VariantID: () => VariantID2,
|
|
41
41
|
compatibility: () => compatibility2,
|
|
42
|
-
node: () =>
|
|
43
|
-
parse: () =>
|
|
42
|
+
node: () => node69,
|
|
43
|
+
parse: () => parse4
|
|
44
44
|
});
|
|
45
45
|
import { Model } from "@opencode/schema/model";
|
|
46
46
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
47
47
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
48
48
|
import { freeze } from "immer";
|
|
49
|
-
import { Event as
|
|
50
|
-
var
|
|
49
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
50
|
+
var ID8 = Model.ID;
|
|
51
51
|
var VariantID2 = Model.VariantID;
|
|
52
52
|
var Family2 = Model.Family;
|
|
53
53
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -55,14 +55,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
55
55
|
var Capabilities2 = Model.Capabilities;
|
|
56
56
|
var Cost2 = Model.Cost;
|
|
57
57
|
var Ref2 = Model.Ref;
|
|
58
|
-
var
|
|
58
|
+
var Info21 = Model.Info;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service66 extends Context.Service()("@opencode/Model") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const providers = yield*
|
|
64
|
-
const bus = yield*
|
|
65
|
-
const location = yield*
|
|
62
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
63
|
+
const providers = yield* Service67;
|
|
64
|
+
const bus = yield* Service82;
|
|
65
|
+
const location = yield* Service77;
|
|
66
66
|
let input;
|
|
67
67
|
const state = create3({
|
|
68
68
|
name: "model",
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
107
107
|
const models = writable(providerID);
|
|
108
108
|
if (!models)
|
|
109
109
|
return;
|
|
110
|
-
const model = draft(providerID, modelID) ??
|
|
110
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
111
111
|
update(model);
|
|
112
112
|
model.id = modelID;
|
|
113
113
|
model.providerID = providerID;
|
|
@@ -198,8 +198,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
198
198
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
199
199
|
});
|
|
200
200
|
});
|
|
201
|
-
yield* bus.subscribe(
|
|
202
|
-
return
|
|
201
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
202
|
+
return Service66.of({
|
|
203
203
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
204
204
|
reload,
|
|
205
205
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
218
218
|
})
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
|
-
var
|
|
221
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [node70, node85, node80] });
|
|
222
222
|
function compatibility2(input) {
|
|
223
223
|
if (typeof input === "string")
|
|
224
224
|
return { reasoningField: input };
|
|
@@ -226,12 +226,12 @@ function compatibility2(input) {
|
|
|
226
226
|
return;
|
|
227
227
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function parse4(input) {
|
|
230
230
|
const index = input.indexOf("/");
|
|
231
231
|
return {
|
|
232
|
-
providerID:
|
|
233
|
-
modelID:
|
|
232
|
+
providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
|
|
233
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
export {
|
|
237
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info21, Service66, node69, compatibility2, parse4, exports_model2, Event13 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-02nrjc1r.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service34,
|
|
3
|
+
node37
|
|
4
|
+
} from "./file-kz33qt24.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service26,
|
|
20
|
+
node: () => node30
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service26 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service34;
|
|
64
|
+
return Service26.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
71
|
return make20({
|
|
72
|
-
key:
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node30 = makeLocationNode({ service: Service26, layer, deps: [node37] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service26, node30, exports_instructions5 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service68
|
|
4
|
+
} from "./file-3qzhexf6.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service68;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID10.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|