@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-nqjmnyjs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./file-p0rshxbh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./file-018x1ems.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-3qzhexf6.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID9,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-g7z2c8ev.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-tz2j9nz1.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,9 +44,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
44
|
var AzurePlugin2 = define({
|
|
45
45
|
id: "opencode.provider.azure",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
47
|
+
const configured = yield* configuredSettings2(ID9.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
|
-
const bus = yield*
|
|
49
|
+
const bus = yield* Service82;
|
|
50
50
|
const tokens = new Map;
|
|
51
51
|
const loading = Semaphore.makeUnsafe(1);
|
|
52
52
|
const loaded = {};
|
|
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
|
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID9.azure,
|
|
84
84
|
method: { type: "key", label: "API key", form: form() }
|
|
85
85
|
});
|
|
86
86
|
if (!available)
|
|
87
87
|
return;
|
|
88
88
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
89
|
+
integrationID: ID9.azure,
|
|
90
90
|
method: {
|
|
91
91
|
id: methodID,
|
|
92
92
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
121
|
+
const connection = yield* ctx.integration.connection.active(ID9.azure);
|
|
122
122
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
123
|
return;
|
|
124
124
|
})) : undefined;
|
|
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
|
|
|
132
132
|
yield* load();
|
|
133
133
|
yield* ctx.provider.transform((evt) => {
|
|
134
134
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
135
|
+
if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
136
|
continue;
|
|
137
137
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
138
|
if (resourceName)
|
|
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
|
|
|
147
147
|
});
|
|
148
148
|
yield* ctx.model.transform((models) => {
|
|
149
149
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
150
|
+
if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
151
|
continue;
|
|
152
152
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
153
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID9.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID9.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID9.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID9.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID9.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./file-ame7p0bf.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin14
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin14 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service58;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
const policies = () => loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
28
28
|
yield* ctx.provider.transform((providers) => {
|
|
@@ -46,4 +46,4 @@ var Plugin22 = define({
|
|
|
46
46
|
})
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin14, exports_policy };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured13,
|
|
11
|
+
layer: () => layer26,
|
|
12
|
+
make: () => make23,
|
|
13
|
+
node: () => node87,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make23()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make23(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make15(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer26 = (input) => Layer.succeed(Metadata2, make23(input));
|
|
32
|
+
var configured13 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
|
|
33
|
+
var node87 = configured13();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make23, useragent2, layer26, configured13, node87, exports_app };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-g7z2c8ev.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9eyeqmd2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin36
|
|
3
|
+
} from "./file-d383cjmk.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin35
|
|
6
|
+
} from "./file-t44gpkd9.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin33
|
|
9
|
+
} from "./file-j18yem6v.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./file-v9qkps81.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin34
|
|
15
|
+
} from "./file-fxzbpcn9.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin36,
|
|
20
|
+
Plugin35,
|
|
21
|
+
Plugin33,
|
|
22
|
+
Plugin37,
|
|
23
|
+
Plugin34
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info23 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info23, key2, exports_connection };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry4,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info19,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info19, exports_lsp };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-bpnjy3z7.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
|
+
configured: () => configured11,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node85,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function configured11(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service82,
|
|
84
|
+
deps: [node86],
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node85 = configured11();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured11, node85, exports_bus };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-bpnjy3z7.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info27,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service74,
|
|
21
|
+
node: () => node77
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info27 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service74 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID13.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service74.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node77 = makeGlobalNode({ service: Service74, layer, deps: [node86] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID13, Info27, ListInput5, AddInput2, Service74, node77, exports_saved };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-kynetcxa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./file-6r536pd1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
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* Service72;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|