@opencode/core 0.0.0-dev-20013 → 0.0.0-dev-20015
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 +68 -68
- package/dist/chunks/{file-access-v6ndbskd.js → wellknown-005v6d8j.js} +13 -13
- package/dist/chunks/{file-access-24ct3y2e.js → wellknown-0arvt5dd.js} +3 -3
- package/dist/chunks/{file-access-nc0692wd.js → wellknown-0bvx96xy.js} +4 -4
- package/dist/chunks/{file-access-773wjt79.js → wellknown-0f807cgd.js} +10 -10
- package/dist/chunks/{file-access-satvg6hp.js → wellknown-0hwqs4ra.js} +7 -7
- package/dist/chunks/{file-access-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → wellknown-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-8ank75fn.js → wellknown-0xezjjjn.js} +8 -8
- package/dist/chunks/{file-access-wn8y6sgg.js → wellknown-0zt6w2g5.js} +15 -15
- package/dist/chunks/{file-access-e0833qeh.js → wellknown-17h1zmn8.js} +21 -21
- package/dist/chunks/{file-access-ag580yac.js → wellknown-18s9r5gn.js} +4 -4
- package/dist/chunks/{file-access-3emr59yt.js → wellknown-1dangqhw.js} +8 -8
- package/dist/chunks/{file-access-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-ywyg2maf.js → wellknown-1nd6q0ex.js} +44 -44
- package/dist/chunks/{file-access-zx4azftj.js → wellknown-1wp196zj.js} +10 -10
- package/dist/chunks/{file-access-56gdpj1q.js → wellknown-1ygqh575.js} +9 -9
- package/dist/chunks/{file-access-bvsk2pep.js → wellknown-20paef8v.js} +20 -20
- package/dist/chunks/{file-access-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-0fp6vpq7.js → wellknown-21y9ahke.js} +40 -40
- package/dist/chunks/{file-access-0ehystez.js → wellknown-23d69azt.js} +3 -3
- package/dist/chunks/{file-access-2402vzrj.js → wellknown-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-hf63qasg.js → wellknown-24357f79.js} +6 -6
- package/dist/chunks/{file-access-vrz7xrs5.js → wellknown-26mnwjmz.js} +23 -23
- package/dist/chunks/{file-access-jx3n259w.js → wellknown-27bw44bf.js} +33 -33
- package/dist/chunks/{file-access-cgq8fjpr.js → wellknown-28cr570f.js} +9 -9
- package/dist/chunks/{file-access-z63w68vq.js → wellknown-29x78va6.js} +6 -6
- package/dist/chunks/{file-access-s4w7jzgz.js → wellknown-2a0e18b9.js} +44 -44
- package/dist/chunks/{file-access-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-kdjb3rjh.js → wellknown-2bkkw097.js} +12 -12
- package/dist/chunks/{file-access-4bm5ja14.js → wellknown-2k71kv7p.js} +4 -4
- package/dist/chunks/wellknown-2sccn0q1.js +26 -0
- package/dist/chunks/{file-access-227994hr.js → wellknown-38z5952t.js} +32 -32
- package/dist/chunks/{file-access-pecb0brz.js → wellknown-3cz8rj72.js} +5 -5
- package/dist/chunks/{file-access-ehatyybc.js → wellknown-3erd0crp.js} +8 -8
- package/dist/chunks/{file-access-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-0v53mg2y.js → wellknown-3j8sdtpz.js} +4 -4
- package/dist/chunks/wellknown-3k0beh9c.js +252 -0
- package/dist/chunks/{file-access-9pk0fx53.js → wellknown-3m9w1x1p.js} +3 -3
- package/dist/chunks/{file-access-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-2f0bjgcj.js → wellknown-3w2b2yj4.js} +5 -5
- package/dist/chunks/{file-access-2ktg6p98.js → wellknown-42az957r.js} +9 -9
- package/dist/chunks/{file-access-tyh0qh3n.js → wellknown-4amv5ejf.js} +16 -16
- package/dist/chunks/{file-access-20pzmj15.js → wellknown-4eg6c75a.js} +17 -17
- package/dist/chunks/{file-access-pgrdd2ve.js → wellknown-4js4cn07.js} +11 -11
- package/dist/chunks/{file-access-37svwymz.js → wellknown-4st820mz.js} +13 -13
- package/dist/chunks/{file-access-05dyq9yx.js → wellknown-4sz2x7hf.js} +7 -7
- package/dist/chunks/wellknown-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-access-t48g49hr.js → wellknown-4x1anmn8.js} +11 -11
- package/dist/chunks/{file-access-317cfnqd.js → wellknown-4x95nmfe.js} +11 -11
- package/dist/chunks/{file-access-wfxxyxds.js → wellknown-53b1mpzx.js} +12 -12
- package/dist/chunks/{file-access-jtr1pbd3.js → wellknown-577wnmha.js} +30 -30
- package/dist/chunks/{file-access-57ez7d0k.js → wellknown-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-access-kzp8v912.js → wellknown-5ankvwbc.js} +6 -6
- package/dist/chunks/{file-access-d4x8y6s3.js → wellknown-5cypykm5.js} +69 -69
- package/dist/chunks/{file-access-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-5ekn9679.js → wellknown-5ekn9679.js} +1 -1
- package/dist/chunks/{file-access-y97z94ck.js → wellknown-5gxdm36g.js} +16 -16
- package/dist/chunks/{file-access-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-ymmys65e.js → wellknown-5w56pkd8.js} +14 -14
- package/dist/chunks/{file-access-yrpnr2zj.js → wellknown-5xe7gppd.js} +30 -30
- package/dist/chunks/{file-access-m9rhymkd.js → wellknown-60a9dcfa.js} +48 -48
- package/dist/chunks/{file-access-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{file-access-5q8gz8g4.js → wellknown-6bbg3zvf.js} +24 -24
- package/dist/chunks/{file-access-sng8r1vf.js → wellknown-6h17d7qm.js} +24 -24
- package/dist/chunks/{file-access-xn76h8hp.js → wellknown-6hr9dd4j.js} +24 -24
- package/dist/chunks/{file-access-658p8faw.js → wellknown-6m7r7my1.js} +4 -4
- package/dist/chunks/{file-access-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-mvgpk1ca.js → wellknown-6qq5k41z.js} +23 -23
- package/dist/chunks/{file-access-cjwredg8.js → wellknown-6r8ft0s7.js} +15 -15
- package/dist/chunks/{file-access-d2554jjm.js → wellknown-6wn3t8f3.js} +40 -40
- package/dist/chunks/{file-access-p38vwk10.js → wellknown-7467d5w6.js} +23 -23
- package/dist/chunks/{file-access-dzbt8m9q.js → wellknown-77bngwj8.js} +31 -31
- package/dist/chunks/{file-access-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-qgn6gcr1.js → wellknown-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-access-wd18fn92.js → wellknown-7rjvgzht.js} +24 -24
- package/dist/chunks/{file-access-9namg634.js → wellknown-7w520p4z.js} +25 -25
- package/dist/chunks/{file-access-pz1h63jt.js → wellknown-7wgz26gy.js} +23 -23
- package/dist/chunks/{file-access-93syhrr0.js → wellknown-7ztcg3jh.js} +10 -10
- package/dist/chunks/{file-access-tzqjevm8.js → wellknown-8555mwqv.js} +9 -9
- package/dist/chunks/{file-access-pszv7358.js → wellknown-861ts5g7.js} +29 -29
- package/dist/chunks/{file-access-288g8677.js → wellknown-86558t1r.js} +4 -4
- package/dist/chunks/{file-access-15nepkqg.js → wellknown-89bb6baa.js} +8 -8
- package/dist/chunks/{file-access-768gsh1v.js → wellknown-8d0p2m37.js} +3 -3
- package/dist/chunks/{file-access-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-re1s176r.js → wellknown-8kxj4zhn.js} +13 -13
- package/dist/chunks/{file-access-8p4f9s12.js → wellknown-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-c6e7fcwh.js → wellknown-8q026d2n.js} +26 -26
- package/dist/chunks/{file-access-93ygb5af.js → wellknown-909p1r3q.js} +6 -6
- package/dist/chunks/{file-access-wrmrmykr.js → wellknown-97j4gngf.js} +9 -9
- package/dist/chunks/{file-access-qc7betj8.js → wellknown-9azvwyrc.js} +22 -22
- package/dist/chunks/{file-access-cmwkp3r5.js → wellknown-9hn6k4tm.js} +8 -8
- package/dist/chunks/{file-access-09nm2wmq.js → wellknown-9xmpprty.js} +13 -13
- package/dist/chunks/{file-access-a1bz86dw.js → wellknown-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-98jp8s51.js → wellknown-agf7s1yd.js} +160 -160
- package/dist/chunks/{file-access-8na3c29k.js → wellknown-ah6f1wds.js} +11 -11
- package/dist/chunks/{file-access-8ra6m1eq.js → wellknown-ajzsbz6h.js} +12 -12
- package/dist/chunks/{file-access-bk7qdt7s.js → wellknown-apqne479.js} +14 -14
- package/dist/chunks/{file-access-zfp10n8z.js → wellknown-ar12vt33.js} +11 -11
- package/dist/chunks/{file-access-p2fa2w79.js → wellknown-avzy01gw.js} +11 -11
- package/dist/chunks/{file-access-48qh5hqp.js → wellknown-awx6ynpm.js} +8 -8
- package/dist/chunks/{file-access-rf3sv4f6.js → wellknown-azdphh7y.js} +57 -57
- package/dist/chunks/{file-access-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-qfgq1c71.js → wellknown-be60nag3.js} +1 -1
- package/dist/chunks/{file-access-0a692sth.js → wellknown-bhwqep5b.js} +35 -35
- package/dist/chunks/{file-access-xs2bmay3.js → wellknown-bjyw556y.js} +22 -22
- package/dist/chunks/{file-access-fk0e1y1r.js → wellknown-bs3jb15w.js} +9 -9
- package/dist/chunks/{file-access-08atjc0y.js → wellknown-btp2s2ba.js} +24 -24
- package/dist/chunks/{file-access-bjn91642.js → wellknown-bw03vhcb.js} +4 -4
- package/dist/chunks/{file-access-bqm04z8x.js → wellknown-c8tfeya1.js} +6 -6
- package/dist/chunks/{file-access-ybh0q6je.js → wellknown-cbppr8rb.js} +47 -47
- package/dist/chunks/{file-access-cfpkc3c9.js → wellknown-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-vt0e9y1w.js → wellknown-ck8ktsjh.js} +15 -15
- package/dist/chunks/{file-access-90t26j8x.js → wellknown-cxdfacp5.js} +18 -18
- package/dist/chunks/{file-access-p2ahdppn.js → wellknown-d04kyvrs.js} +26 -26
- package/dist/chunks/{file-access-k100k1x5.js → wellknown-d3zdhyhy.js} +9 -9
- package/dist/chunks/{file-access-qjxevsft.js → wellknown-dagkn99r.js} +1 -1
- package/dist/chunks/{file-access-gmjq4p6e.js → wellknown-dq0v80fr.js} +5 -5
- package/dist/chunks/{file-access-mgmtwba2.js → wellknown-dqgqctr2.js} +5 -5
- package/dist/chunks/{file-access-5rnnm2b5.js → wellknown-dzw83ac5.js} +9 -9
- package/dist/chunks/{file-access-e37h8kwf.js → wellknown-e248x3jn.js} +12 -12
- package/dist/chunks/{file-access-5qd3pb7m.js → wellknown-e3qxr5gk.js} +2 -2
- package/dist/chunks/wellknown-e7e86k0y.js +503 -0
- package/dist/chunks/{file-access-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-1bnjjx40.js → wellknown-ejxqht49.js} +23 -23
- package/dist/chunks/{file-access-73tb2d7t.js → wellknown-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-access-erw5rpbs.js → wellknown-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-access-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-gnr28544.js → wellknown-ew6kx0p6.js} +43 -43
- package/dist/chunks/{file-access-z3yhsc05.js → wellknown-f05brn5b.js} +27 -27
- package/dist/chunks/{file-access-f828m53h.js → wellknown-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-b0dgvpy7.js → wellknown-fdms3n6w.js} +9 -9
- package/dist/chunks/{file-access-19m0af1m.js → wellknown-fhsk4sj8.js} +6 -6
- package/dist/chunks/{file-access-7gy38z07.js → wellknown-fhxvcep3.js} +24 -24
- package/dist/chunks/{file-access-d216944b.js → wellknown-fm2qvscf.js} +7 -7
- package/dist/chunks/{file-access-saye24w9.js → wellknown-fmbpzfbx.js} +4 -4
- package/dist/chunks/{file-access-kw7v9xqj.js → wellknown-fp90krns.js} +24 -24
- package/dist/chunks/{file-access-11vq80p7.js → wellknown-fwk4th24.js} +30 -30
- package/dist/chunks/{file-access-3hdyanjz.js → wellknown-fxmgg4aj.js} +4 -4
- package/dist/chunks/{file-access-78c73d7g.js → wellknown-fyqzgcv4.js} +34 -34
- package/dist/chunks/{file-access-dwzbgcev.js → wellknown-fz5ffk87.js} +3 -3
- package/dist/chunks/{file-access-qx03bd0a.js → wellknown-g4g8wjxm.js} +11 -11
- package/dist/chunks/{file-access-vs2tehdm.js → wellknown-g7wqhp41.js} +3 -3
- package/dist/chunks/{file-access-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-zkx33n4v.js → wellknown-ger4g5qw.js} +11 -11
- package/dist/chunks/{file-access-4f0fby6w.js → wellknown-graq44t8.js} +2 -2
- package/dist/chunks/{file-access-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-h99jmrd9.js → wellknown-gvfvsdwj.js} +10 -10
- package/dist/chunks/{file-access-vyqn3nqs.js → wellknown-gzbkpp9m.js} +4 -4
- package/dist/chunks/{file-access-hntp1kvn.js → wellknown-h3a6n0gd.js} +1 -1
- package/dist/chunks/{file-access-nzyhnfxz.js → wellknown-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-access-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-zd30eb5w.js → wellknown-hbyhqfhs.js} +5 -5
- package/dist/chunks/{file-access-cq37gk0t.js → wellknown-hfdr1yjj.js} +4 -4
- package/dist/chunks/{file-access-9a0fsf8a.js → wellknown-hgneaeq4.js} +5 -5
- package/dist/chunks/{file-access-7pbtkrdy.js → wellknown-hryk019r.js} +3 -3
- package/dist/chunks/{file-access-1jtbg6c9.js → wellknown-hwder3tb.js} +14 -14
- package/dist/chunks/{file-access-we52gc0f.js → wellknown-hz5s550c.js} +11 -11
- package/dist/chunks/{file-access-eqncpqrf.js → wellknown-hz98z1q8.js} +18 -18
- package/dist/chunks/{file-access-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-tgcdz44n.js → wellknown-jcn9q2cd.js} +28 -28
- package/dist/chunks/{file-access-6gxdng4p.js → wellknown-je00n9cw.js} +23 -23
- package/dist/chunks/{file-access-3dap0f8b.js → wellknown-jp00t8em.js} +26 -26
- package/dist/chunks/{file-access-7v5p2n78.js → wellknown-jp9pm8f0.js} +15 -15
- package/dist/chunks/{file-access-xm5295m0.js → wellknown-jvs2my8y.js} +4 -4
- package/dist/chunks/{file-access-k3c624dm.js → wellknown-k3c624dm.js} +3 -3
- package/dist/chunks/{file-access-6tw2ysqh.js → wellknown-k6390e4c.js} +11 -11
- package/dist/chunks/{file-access-k9kj6xed.js → wellknown-k9kj6xed.js} +2 -2
- package/dist/chunks/{file-access-hkagk5ex.js → wellknown-kbegyq1c.js} +2 -2
- package/dist/chunks/{file-access-ktvn187s.js → wellknown-kcnbys9f.js} +17 -17
- package/dist/chunks/{file-access-mgtp0e10.js → wellknown-km3wep78.js} +23 -23
- package/dist/chunks/{file-access-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-frrq0hd0.js → wellknown-m49041cj.js} +4 -4
- package/dist/chunks/{file-access-ydgy0jv4.js → wellknown-m91gvp7t.js} +6 -6
- package/dist/chunks/{file-access-752w5jz5.js → wellknown-m9akz2ye.js} +20 -20
- package/dist/chunks/{file-access-00c8amp3.js → wellknown-m9pd1gc5.js} +40 -40
- package/dist/chunks/{file-access-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-7v8yt572.js → wellknown-mr0kc0w8.js} +17 -17
- package/dist/chunks/{file-access-jcvejxbn.js → wellknown-mr7qc4kr.js} +4 -4
- package/dist/chunks/{file-access-rjzssajw.js → wellknown-n2j36c11.js} +8 -8
- package/dist/chunks/{file-access-ndmv45hp.js → wellknown-n7d88tpn.js} +3 -3
- package/dist/chunks/{file-access-r036svgx.js → wellknown-nb5yhrhy.js} +11 -11
- package/dist/chunks/{file-access-nazk6ep5.js → wellknown-ndy6t9hy.js} +17 -17
- package/dist/chunks/{file-access-kr1sqef6.js → wellknown-nez2zdg8.js} +17 -17
- package/dist/chunks/{file-access-gsads2be.js → wellknown-nhyt8ne9.js} +16 -16
- package/dist/chunks/{file-access-pwn9j9sb.js → wellknown-ntg45faq.js} +2 -2
- package/dist/chunks/{file-access-e6hmchc5.js → wellknown-p1nm93x7.js} +5 -5
- package/dist/chunks/{file-access-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-fz4sbwmc.js → wellknown-pm7m0prv.js} +14 -14
- package/dist/chunks/{file-access-6enf0aw0.js → wellknown-prbkj228.js} +3 -3
- package/dist/chunks/{file-access-aah9qcnd.js → wellknown-ptpqx32c.js} +10 -10
- package/dist/chunks/{file-access-fsx03azj.js → wellknown-py3q8vm7.js} +7 -7
- package/dist/chunks/{file-access-5ww8yrxx.js → wellknown-pzz5gwak.js} +25 -25
- package/dist/chunks/{file-access-z2cgntw0.js → wellknown-q02ac9xg.js} +5 -5
- package/dist/chunks/{file-access-16cax9zb.js → wellknown-q0qebxta.js} +11 -11
- package/dist/chunks/{file-access-r0pc2tt6.js → wellknown-qdjg77dv.js} +25 -25
- package/dist/chunks/{file-access-b4qmmyek.js → wellknown-qev0n5q3.js} +8 -8
- package/dist/chunks/{file-access-nq7qbqzc.js → wellknown-qg0jgkcp.js} +9 -9
- package/dist/chunks/{file-access-d4he2qe1.js → wellknown-qmqgtz8f.js} +9 -9
- package/dist/chunks/{file-access-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-sg3e8ft2.js → wellknown-qvgv6pvy.js} +24 -24
- package/dist/chunks/{file-access-h5kmmphm.js → wellknown-qwn6egxe.js} +5 -5
- package/dist/chunks/{file-access-sdmcn07b.js → wellknown-qxft83g5.js} +79 -79
- package/dist/chunks/{file-access-pber7c1w.js → wellknown-qxqfwknd.js} +15 -15
- package/dist/chunks/{file-access-4dzg40rw.js → wellknown-r0btsynf.js} +15 -15
- package/dist/chunks/{file-access-bxs86mwm.js → wellknown-r5q7e66c.js} +23 -23
- package/dist/chunks/{file-access-v76by4bg.js → wellknown-r80rqf00.js} +6 -6
- package/dist/chunks/{file-access-zx7j3hav.js → wellknown-rdp4wc65.js} +33 -33
- package/dist/chunks/{file-access-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-d9qy0tkw.js → wellknown-rjtq0f3t.js} +43 -43
- package/dist/chunks/{file-access-7x3ymcnd.js → wellknown-rwah0hny.js} +12 -12
- package/dist/chunks/{file-access-y5phfrgc.js → wellknown-s1aevwv4.js} +9 -9
- package/dist/chunks/{file-access-6vnhfzx9.js → wellknown-s24jje4v.js} +4 -4
- package/dist/chunks/{file-access-n7xygqpe.js → wellknown-s2sv8eth.js} +11 -11
- package/dist/chunks/{file-access-yrznvahk.js → wellknown-s4enseaf.js} +2 -2
- package/dist/chunks/{file-access-rhjbct0v.js → wellknown-s8d7rejh.js} +4 -4
- package/dist/chunks/{file-access-g190xswt.js → wellknown-s8j6jbjj.js} +21 -21
- package/dist/chunks/{file-access-bjwsxpgk.js → wellknown-s8ts6h6d.js} +20 -20
- package/dist/chunks/{file-access-mgj6pkkf.js → wellknown-sghxnkc4.js} +18 -18
- package/dist/chunks/{file-access-r33ff4dw.js → wellknown-ss0awb04.js} +4 -4
- package/dist/chunks/{file-access-t6r7h21p.js → wellknown-ssnjgvf0.js} +13 -13
- package/dist/chunks/{file-access-2h0wcn0e.js → wellknown-sxcapxxz.js} +11 -11
- package/dist/chunks/{file-access-fs40rkt5.js → wellknown-sy6bk0cy.js} +43 -43
- package/dist/chunks/{file-access-2hcvc8f1.js → wellknown-szmg3mdt.js} +20 -20
- package/dist/chunks/{file-access-rmk2c50f.js → wellknown-t0sqncza.js} +5 -5
- package/dist/chunks/{file-access-p04pkz1c.js → wellknown-t2peggv0.js} +15 -15
- package/dist/chunks/{file-access-0rn0af91.js → wellknown-t8zrczn5.js} +24 -24
- package/dist/chunks/{file-access-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-65jejx4v.js → wellknown-tbv09xg6.js} +15 -15
- package/dist/chunks/{file-access-rtathh62.js → wellknown-tc6qcdy5.js} +8 -8
- package/dist/chunks/{file-access-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-9b9bawht.js → wellknown-tnvxhv6y.js} +31 -31
- package/dist/chunks/{file-access-ynp3axf3.js → wellknown-tqyj18ad.js} +5 -5
- package/dist/chunks/{file-access-v6zy1qsv.js → wellknown-ttv07xzh.js} +7 -7
- package/dist/chunks/{file-access-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-mhv6gyqj.js → wellknown-tzrpkbn6.js} +15 -15
- package/dist/chunks/{file-access-zh7rgrks.js → wellknown-v5hfp1qn.js} +15 -15
- package/dist/chunks/{file-access-etqc4x7c.js → wellknown-v9xqgdg6.js} +5 -5
- package/dist/chunks/{file-access-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-s2tvr5dg.js → wellknown-vq092s7a.js} +11 -11
- package/dist/chunks/{file-access-9cyfspf3.js → wellknown-vtxr0yy2.js} +5 -5
- package/dist/chunks/{file-access-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-58mcmt77.js → wellknown-w2dpba99.js} +25 -25
- package/dist/chunks/{file-access-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-n9ne1b93.js → wellknown-w6asm2z7.js} +11 -11
- package/dist/chunks/{file-access-cka7hfyn.js → wellknown-w8gd3cr1.js} +25 -25
- package/dist/chunks/{file-access-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-afknyawd.js → wellknown-wfqz603p.js} +12 -12
- package/dist/chunks/{file-access-raf9h2ts.js → wellknown-ws63j1g1.js} +10 -10
- package/dist/chunks/{file-access-46a1trkr.js → wellknown-wxdbwfxs.js} +17 -17
- package/dist/chunks/{file-access-cjh1af7b.js → wellknown-x173ns5x.js} +37 -37
- package/dist/chunks/{file-access-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-1cj8gcbx.js → wellknown-x3gbj4ze.js} +16 -16
- package/dist/chunks/{file-access-xfkkasph.js → wellknown-xfkkasph.js} +1 -1
- package/dist/chunks/{file-access-859wm560.js → wellknown-xqetv5hs.js} +22 -22
- package/dist/chunks/{file-access-jvv9dx74.js → wellknown-xzx42szb.js} +4 -4
- package/dist/chunks/{file-access-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-rxvrk031.js → wellknown-y219b4sg.js} +22 -22
- package/dist/chunks/{file-access-pn68zg67.js → wellknown-y5fg7de6.js} +11 -11
- package/dist/chunks/{file-access-y71avatq.js → wellknown-y71avatq.js} +1 -1
- package/dist/chunks/{file-access-hkdbkshs.js → wellknown-yamwt51v.js} +13 -13
- package/dist/chunks/{file-access-wrtjp1mn.js → wellknown-yc351h59.js} +26 -26
- package/dist/chunks/{file-access-x0f4f0m1.js → wellknown-ycmcyef6.js} +5 -5
- package/dist/chunks/{file-access-hzzc25wh.js → wellknown-ycpezjby.js} +14 -14
- package/dist/chunks/{file-access-k16yeph6.js → wellknown-ynaxd7hq.js} +29 -29
- package/dist/chunks/{file-access-8g6xxsrk.js → wellknown-ynjg9crq.js} +18 -18
- package/dist/chunks/{file-access-1acjjqhc.js → wellknown-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-access-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-sqm52wn7.js → wellknown-yzfxyp7w.js} +13 -13
- package/dist/chunks/{file-access-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-8jq0bfkk.js → wellknown-z8fpy401.js} +8 -8
- package/dist/chunks/{file-access-34e0h94d.js → wellknown-zdzdf3ey.js} +3 -3
- package/dist/chunks/{file-access-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-0t1q9tjc.js → wellknown-zfvs7pz1.js} +82 -82
- package/dist/chunks/{file-access-4s1tnqdt.js → wellknown-zgd6949r.js} +9 -9
- package/dist/chunks/{file-access-xxseqtyh.js → wellknown-zh2jvsk5.js} +20 -20
- package/dist/chunks/{file-access-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-afdssyjb.js → wellknown-zvt5dnpc.js} +4 -4
- package/dist/chunks/{file-access-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-access-hdp5644h.js → wellknown-zykkgz7j.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- 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 +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- 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 +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +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 +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +98 -98
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- 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 +86 -86
- 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 +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- 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 +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/file-access-4cm67rrf.js +0 -26
- package/dist/chunks/file-access-619r8v3y.js +0 -18
- package/dist/chunks/file-access-fadsvk8f.js +0 -252
- package/dist/chunks/file-access-hqzg2801.js +0 -503
- /package/dist/chunks/{file-access-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qapv375x.js → wellknown-qapv375x.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-0bvx96xy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-dq0v80fr.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-ntg45faq.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-4v7qdvcn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service72,
|
|
18
|
+
node76
|
|
19
|
+
} from "./wellknown-6hr9dd4j.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node16
|
|
22
|
+
} from "./wellknown-4amv5ejf.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node11
|
|
26
|
+
} from "./wellknown-qmqgtz8f.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service5,
|
|
36
|
+
node: () => node6
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service72;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service5.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node6 = makeLocationNode({
|
|
106
|
+
service: Service5,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node76, FSUtil.node, node84, node86, node87, node16, node11]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service5, node6, exports_location_watcher };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-0bvx96xy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-azdphh7y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service39,
|
|
12
|
+
node42
|
|
13
|
+
} from "./wellknown-60a9dcfa.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./wellknown-ynaxd7hq.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions5 = {};
|
|
24
|
+
__export(exports_instructions5, {
|
|
25
|
+
McpInstructions: () => exports_instructions5,
|
|
26
|
+
Service: () => Service37,
|
|
27
|
+
layer: () => layer14,
|
|
28
|
+
node: () => node40
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service37 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service39;
|
|
68
|
+
return Service37.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make21({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer11 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node40 = makeLocationNode({ service: Service37, layer: layer14, deps: [node42] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service37, layer14, node40, exports_instructions5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./wellknown-f05brn5b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./wellknown-21y9ahke.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-c8tfeya1.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service71;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-s2sv8eth.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin7 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin36 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin36 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin7, exports_tinyfish };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-0bvx96xy.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service77,
|
|
12
|
+
node81,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./wellknown-w8gd3cr1.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-ntg45faq.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service76,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node80,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
230
|
+
const integrations = yield* Service77;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service76.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-bjyw556y.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service54,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node56
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service54 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service54, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service54.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service39, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node56 = makeGlobalNode({ service: Service54, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service54, node56, exports_environment };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-dq0v80fr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|