@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service21,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer10,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node25
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service21 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service21, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
|
|
|
360
360
|
}, { discard: true });
|
|
361
361
|
});
|
|
362
362
|
yield* Effect.addFinalizer(() => closeAll);
|
|
363
|
-
return
|
|
363
|
+
return Service21.of({ bind, close, closeAll });
|
|
364
364
|
}));
|
|
365
|
-
var
|
|
365
|
+
var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
366
366
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
367
367
|
})));
|
|
368
|
-
var
|
|
368
|
+
var node25 = makeGlobalNode({ service: Service21, layer: layer10, deps: [webSocketConstructor2] });
|
|
369
369
|
|
|
370
|
-
export {
|
|
370
|
+
export { Service21, makeLayer2, layer10, node25, exports_model_transport };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-j7wq2tw5.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-e34x8y7p.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make15
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make15 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service81;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make19 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, exports_git2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node80
|
|
9
|
+
} from "./file-fpkmmq0f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service37,
|
|
12
|
+
node40
|
|
13
|
+
} from "./file-22br4zbr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event8,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput3,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError4,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service36,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node39
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
|
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput3 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event8 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service36 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service77;
|
|
95
|
+
const search = yield* Service37;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service36.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node39 = makeLocationNode({
|
|
144
|
+
service: Service36,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node80, node40]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service36, node39, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./file-g7z2c8ev.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-tz2j9nz1.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID9.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-j7wq2tw5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError8,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-v53gfhad.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-ad2z09fz.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make21 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make21(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make21, makeWithDefaults2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
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
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID9
|
|
17
|
+
} from "./file-g7z2c8ev.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-9eyeqmd2.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID9.make("digitalocean");
|
|
31
|
+
var integrationID = ID10.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service82;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID8.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service53,
|
|
3
|
+
node55,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-v5brccvm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service50,
|
|
8
|
+
node52
|
|
9
|
+
} from "./file-h896pcm5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./file-yr29whj8.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-3cg6k2ga.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service53, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service70);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node52.replace(Layer.succeed(Service50, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node55.replace(Layer.succeed(Service53, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service75
|
|
4
|
+
} from "./file-zg8bah5t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./file-fpkmmq0f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service58
|
|
10
|
+
} from "./file-ame7p0bf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service61,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-8y3wyrth.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./file-w6dmyrhq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make7
|
|
20
|
+
} from "./file-px5sh37w.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin17
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin17 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service58;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin16 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service77;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service61;
|
|
60
|
+
const sessions = yield* Service16;
|
|
61
|
+
const agents = yield* Service75;
|
|
62
|
+
const subagents = yield* make7;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin16 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin17, exports_command };
|