@opencode/core 0.0.0-dev-21032 → 0.0.0-dev-21040
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +92 -92
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-resolver-zp79st75.js → mime-050xtdf8.js} +4 -4
- package/dist/chunks/{model-resolver-t4mxe9mg.js → mime-07965hzr.js} +12 -12
- package/dist/chunks/{model-resolver-0jskk18s.js → mime-0nsxtbsr.js} +3 -3
- package/dist/chunks/{model-resolver-jn47bq7y.js → mime-0p8e2j75.js} +10 -10
- package/dist/chunks/{model-resolver-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-h449cfbc.js → mime-0vjek7f6.js} +17 -17
- package/dist/chunks/{model-resolver-j2rkz0eh.js → mime-0x1pdtng.js} +23 -23
- package/dist/chunks/{model-resolver-gpm60zja.js → mime-0y2vcsp3.js} +11 -11
- package/dist/chunks/{model-resolver-qyp94w8s.js → mime-109ybz4f.js} +17 -17
- package/dist/chunks/{model-resolver-z7pkff1z.js → mime-11bjrp3g.js} +3 -3
- package/dist/chunks/mime-12710b3q.js +26 -0
- package/dist/chunks/{model-resolver-5sd65k63.js → mime-15q8m5cs.js} +19 -19
- package/dist/chunks/{model-resolver-e5vt2zzh.js → mime-15rpx8aj.js} +7 -7
- package/dist/chunks/{model-resolver-ghe25ndt.js → mime-1bn046zq.js} +17 -17
- package/dist/chunks/{model-resolver-v1vh7s4p.js → mime-1jdt266a.js} +9 -9
- package/dist/chunks/{model-resolver-tmnq69cf.js → mime-1y2xvrc2.js} +9 -9
- package/dist/chunks/{model-resolver-w5rka97k.js → mime-2003xh4j.js} +9 -9
- package/dist/chunks/{model-resolver-rngsm5nq.js → mime-205wgd7n.js} +18 -18
- package/dist/chunks/{model-resolver-k1sxn049.js → mime-21tzjh1m.js} +24 -24
- package/dist/chunks/{model-resolver-cc3zbjhe.js → mime-25bf223w.js} +35 -35
- package/dist/chunks/{model-resolver-vbfgae2j.js → mime-277eer69.js} +4 -4
- package/dist/chunks/{model-resolver-kf03r3fp.js → mime-2frssyxc.js} +25 -25
- package/dist/chunks/{model-resolver-ymgkxg7n.js → mime-2r1j4600.js} +11 -11
- package/dist/chunks/{model-resolver-cgcq2d6q.js → mime-2rnpn95x.js} +5 -5
- package/dist/chunks/{model-resolver-2wnpv58w.js → mime-2xntw82p.js} +5 -5
- package/dist/chunks/{model-resolver-h7s7r6s9.js → mime-31xfzrxg.js} +5 -5
- package/dist/chunks/{model-resolver-9mmjpn4f.js → mime-32tazwv6.js} +16 -16
- package/dist/chunks/{model-resolver-mhtf1agk.js → mime-345etsgx.js} +17 -17
- package/dist/chunks/{model-resolver-p2cz521y.js → mime-39kjv65j.js} +20 -20
- package/dist/chunks/{model-resolver-ppk3ywg1.js → mime-3bzm20zk.js} +1 -1
- package/dist/chunks/{model-resolver-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3hwn7j4h.js → mime-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-rya3mfce.js → mime-3m85peyz.js} +47 -47
- package/dist/chunks/{model-resolver-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-8rmcv8hn.js → mime-3t0rsrrn.js} +12 -12
- package/dist/chunks/{model-resolver-gefhqhbp.js → mime-3trpv21a.js} +8 -8
- package/dist/chunks/{model-resolver-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-r5536f5q.js → mime-3wad62ms.js} +11 -11
- package/dist/chunks/{model-resolver-mdf2ba13.js → mime-3zgffv18.js} +180 -180
- package/dist/chunks/{model-resolver-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-v5h246c5.js → mime-41qawrfa.js} +7 -7
- package/dist/chunks/{model-resolver-w0nw3455.js → mime-43rv0vt2.js} +36 -36
- package/dist/chunks/{model-resolver-t11n65rj.js → mime-46c3m50y.js} +19 -19
- package/dist/chunks/{model-resolver-esme7ehw.js → mime-4d7s1pf1.js} +4 -4
- package/dist/chunks/{model-resolver-ztmj8phm.js → mime-4n1kryv0.js} +11 -11
- package/dist/chunks/{model-resolver-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-j48y8drp.js → mime-5684rj21.js} +22 -22
- package/dist/chunks/{model-resolver-dhb2hta4.js → mime-58hng72m.js} +5 -5
- package/dist/chunks/{model-resolver-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-e3qxr5gk.js → mime-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-p37cw4rj.js → mime-5yzzbxa7.js} +8 -8
- package/dist/chunks/{model-resolver-rah8ek0q.js → mime-62e165w1.js} +22 -22
- package/dist/chunks/{model-resolver-3k0t8dzv.js → mime-63jkwkyz.js} +19 -19
- package/dist/chunks/mime-67npv2yq.js +253 -0
- package/dist/chunks/{model-resolver-121zk92f.js → mime-6a6nq1pp.js} +20 -20
- package/dist/chunks/{model-resolver-fpecnkgp.js → mime-6c4cp2wz.js} +7 -7
- package/dist/chunks/{model-resolver-9n6m857c.js → mime-6k3mcxsj.js} +13 -13
- package/dist/chunks/{model-resolver-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-k5khmzd0.js → mime-6yprj1qa.js} +11 -11
- package/dist/chunks/{model-resolver-cecf97zp.js → mime-70jpvrmq.js} +22 -22
- package/dist/chunks/{model-resolver-5srkvmy1.js → mime-74sj64d5.js} +26 -26
- package/dist/chunks/{model-resolver-775gj3j1.js → mime-775gj3j1.js} +2 -2
- package/dist/chunks/{model-resolver-a22q20jk.js → mime-78bqkphs.js} +20 -20
- package/dist/chunks/{model-resolver-r18rd4df.js → mime-78s9dq41.js} +15 -15
- package/dist/chunks/{model-resolver-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7dqw4kz8.js → mime-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-resolver-2bhwdn85.js → mime-7ej9kcre.js} +20 -20
- package/dist/chunks/{model-resolver-6v699sff.js → mime-7fkngs2v.js} +2 -2
- package/dist/chunks/{model-resolver-4qsb07a0.js → mime-7henczxa.js} +12 -12
- package/dist/chunks/{model-resolver-32q9bdbf.js → mime-7ny7wjsd.js} +4 -4
- package/dist/chunks/{model-resolver-67ggwtmd.js → mime-7qrghndb.js} +14 -14
- package/dist/chunks/{model-resolver-k6exk33w.js → mime-7rkx4gms.js} +11 -11
- package/dist/chunks/{model-resolver-mf39t390.js → mime-7sc8a7ge.js} +50 -50
- package/dist/chunks/{model-resolver-ytw0b5ae.js → mime-7war8x1d.js} +5 -5
- package/dist/chunks/{model-resolver-7hhqs9ev.js → mime-7zkbhs7g.js} +11 -11
- package/dist/chunks/{model-resolver-hdck4srb.js → mime-826e8q9w.js} +13 -13
- package/dist/chunks/{model-resolver-yzwajjfv.js → mime-87f36h6m.js} +5 -5
- package/dist/chunks/{model-resolver-yw8t9dwe.js → mime-8ank75fn.js} +8 -8
- package/dist/chunks/{model-resolver-dhmh7aw6.js → mime-8gxqpgph.js} +4 -4
- package/dist/chunks/{model-resolver-4xx2cn4x.js → mime-8m6gnkp5.js} +10 -10
- package/dist/chunks/{model-resolver-8m6m0r52.js → mime-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-y4xxc7mq.js → mime-8mptw0yh.js} +14 -14
- package/dist/chunks/{model-resolver-w92k2e0p.js → mime-8sze2n9a.js} +4 -4
- package/dist/chunks/{model-resolver-8wbxkt1z.js → mime-8wbxkt1z.js} +1 -1
- package/dist/chunks/{model-resolver-j09zfasm.js → mime-91qna3x0.js} +3 -3
- package/dist/chunks/{model-resolver-32nmwdhe.js → mime-984f2ybn.js} +15 -15
- package/dist/chunks/{model-resolver-vghjwcv5.js → mime-9cexasrx.js} +36 -36
- package/dist/chunks/{model-resolver-4msazfqr.js → mime-9hshahkt.js} +25 -25
- package/dist/chunks/{model-resolver-6z7f3aj9.js → mime-9rwfab3m.js} +30 -30
- package/dist/chunks/{model-resolver-7cf56ajb.js → mime-9thd8pbs.js} +13 -13
- package/dist/chunks/{model-resolver-nt66sm3b.js → mime-a1gprgvs.js} +18 -18
- package/dist/chunks/{model-resolver-793pmwr3.js → mime-a1p7dyg9.js} +5 -5
- package/dist/chunks/{model-resolver-1deqag97.js → mime-a3a1kd57.js} +7 -7
- package/dist/chunks/{model-resolver-e9az0enp.js → mime-a465zkn0.js} +33 -33
- package/dist/chunks/{model-resolver-x661k3y3.js → mime-azwe5p1w.js} +4 -4
- package/dist/chunks/{model-resolver-b3f8fkhc.js → mime-b3f8fkhc.js} +2 -2
- package/dist/chunks/{model-resolver-392bmkv0.js → mime-b6bc02an.js} +22 -22
- package/dist/chunks/{model-resolver-jq8znyjb.js → mime-ba2ek88a.js} +9 -9
- package/dist/chunks/{model-resolver-rjrvrrm1.js → mime-bh8ytvkx.js} +20 -20
- package/dist/chunks/{model-resolver-bjx1sjef.js → mime-bjx1sjef.js} +2 -2
- package/dist/chunks/{model-resolver-c1fqxshp.js → mime-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-resolver-hs73t9tm.js → mime-ce0rpsvc.js} +11 -11
- package/dist/chunks/{model-resolver-2w7tcbkg.js → mime-cwc6qd5v.js} +4 -4
- package/dist/chunks/{model-resolver-dk9awe6p.js → mime-d4kct8rx.js} +14 -14
- package/dist/chunks/{model-resolver-s541pesz.js → mime-d4mkpxw9.js} +11 -11
- package/dist/chunks/{model-resolver-rf3mqbns.js → mime-dd2pvs9r.js} +21 -21
- package/dist/chunks/{model-resolver-sznyev98.js → mime-dfzjqex4.js} +5 -5
- package/dist/chunks/{model-resolver-ft3hqk2c.js → mime-djszqvmq.js} +9 -9
- package/dist/chunks/{model-resolver-y71avatq.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-crz08krd.js → mime-dpxxne8d.js} +6 -6
- package/dist/chunks/{model-resolver-dqxsqydv.js → mime-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-resolver-e73819aa.js → mime-dt81vr0m.js} +21 -21
- package/dist/chunks/{model-resolver-zcfjyxn9.js → mime-e7d0aeaq.js} +24 -24
- package/dist/chunks/{model-resolver-rhjbct0v.js → mime-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-resolver-4qybra34.js → mime-edm94f7d.js} +7 -7
- package/dist/chunks/{model-resolver-eej6y6fw.js → mime-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-yqee2774.js → mime-ejcpmtps.js} +24 -24
- package/dist/chunks/{model-resolver-qk84nr82.js → mime-emv6g1k7.js} +10 -10
- package/dist/chunks/{model-resolver-x30w6bae.js → mime-epnnc93h.js} +22 -22
- package/dist/chunks/{model-resolver-1bbkrr1z.js → mime-esxexcce.js} +32 -32
- package/dist/chunks/{model-resolver-wwwg8pmm.js → mime-ev50a1gv.js} +27 -27
- package/dist/chunks/{model-resolver-8h8nb9x6.js → mime-f169yh43.js} +15 -15
- package/dist/chunks/{model-resolver-7r94a8zm.js → mime-f4x800jg.js} +15 -15
- package/dist/chunks/{model-resolver-rttpym1x.js → mime-f593gmc1.js} +32 -32
- package/dist/chunks/{model-resolver-jb03hw38.js → mime-fmycb6r9.js} +18 -18
- package/dist/chunks/{model-resolver-88hkx883.js → mime-fqwbcgn7.js} +12 -12
- package/dist/chunks/{model-resolver-fxaymqdw.js → mime-fxaymqdw.js} +1 -1
- package/dist/chunks/{model-resolver-jtbrrh68.js → mime-fxsx3k7c.js} +16 -16
- package/dist/chunks/{model-resolver-6yz0wx8n.js → mime-g6yfr6ja.js} +5 -5
- package/dist/chunks/{model-resolver-ebj1p111.js → mime-ga8mg7ng.js} +45 -45
- package/dist/chunks/{model-resolver-v6exexfb.js → mime-gaffhmcy.js} +3 -3
- package/dist/chunks/{model-resolver-qbmv3hq3.js → mime-gd07dkrx.js} +9 -9
- package/dist/chunks/{model-resolver-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-d426qwtt.js → mime-gd540jsm.js} +4 -4
- package/dist/chunks/{model-resolver-s56kyd1y.js → mime-gpab4zxm.js} +6 -6
- package/dist/chunks/{model-resolver-rtk67pzp.js → mime-h62rqyvr.js} +30 -30
- package/dist/chunks/{model-resolver-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-cqcppvwa.js → mime-h7c27e8q.js} +14 -14
- package/dist/chunks/{model-resolver-tcay1cqt.js → mime-hdab2k61.js} +6 -6
- package/dist/chunks/{model-resolver-hjpw2ktw.js → mime-hdq1afwm.js} +43 -43
- package/dist/chunks/{model-resolver-hgz4x7wa.js → mime-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-nn6qn2mt.js → mime-hhvx8q4y.js} +13 -13
- package/dist/chunks/{model-resolver-gxx80edd.js → mime-hrtv8xrh.js} +41 -41
- package/dist/chunks/{model-resolver-nmfgk2za.js → mime-htfaj60w.js} +11 -11
- package/dist/chunks/{model-resolver-c0nagjzw.js → mime-hwt4zdf0.js} +11 -11
- package/dist/chunks/{model-resolver-22q50vj6.js → mime-hxevttss.js} +23 -23
- package/dist/chunks/{model-resolver-ryaerzpp.js → mime-j52fadta.js} +1 -1
- package/dist/chunks/{model-resolver-0prbvn1s.js → mime-jbax71gz.js} +11 -11
- package/dist/chunks/{model-resolver-6x64453h.js → mime-jbnd8fp8.js} +16 -16
- package/dist/chunks/{model-resolver-2fcwg21n.js → mime-jh86bj30.js} +35 -35
- package/dist/chunks/{model-resolver-6g107h22.js → mime-jk540des.js} +2 -2
- package/dist/chunks/{model-resolver-ry5rj60g.js → mime-jkbjgekk.js} +11 -11
- package/dist/chunks/{model-resolver-nvx1vskb.js → mime-jn7vh711.js} +33 -33
- package/dist/chunks/mime-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-resolver-vy6fg5p6.js → mime-k2wgnsn0.js} +24 -24
- package/dist/chunks/{model-resolver-y44p5hdc.js → mime-ka7th2ed.js} +35 -35
- package/dist/chunks/{model-resolver-qz1medfn.js → mime-kay1zs2t.js} +47 -47
- package/dist/chunks/{model-resolver-9g3a9q2q.js → mime-kghccary.js} +81 -81
- package/dist/chunks/{model-resolver-tnabgbb7.js → mime-kjejtsqg.js} +16 -16
- package/dist/chunks/{model-resolver-a6j0r2sw.js → mime-kmajrsye.js} +12 -12
- package/dist/chunks/{model-resolver-43sqknmp.js → mime-m01n3hyd.js} +15 -15
- package/dist/chunks/{model-resolver-my4zabxr.js → mime-m5jcjszt.js} +3 -3
- package/dist/chunks/{model-resolver-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → mime-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-jdnq93kg.js → mime-mdqph4s0.js} +22 -22
- package/dist/chunks/{model-resolver-m3atekq7.js → mime-mfgyg3rw.js} +45 -45
- package/dist/chunks/{model-resolver-v2k5f06t.js → mime-mqb0p7pg.js} +5 -5
- package/dist/chunks/{model-resolver-6r767sng.js → mime-my1befea.js} +20 -20
- package/dist/chunks/{model-resolver-rss8evm2.js → mime-mzvkzawb.js} +34 -34
- package/dist/chunks/{model-resolver-a6wgvm8d.js → mime-n0yzpgaz.js} +21 -21
- package/dist/chunks/{model-resolver-kq1bqq66.js → mime-n24hx9b9.js} +12 -12
- package/dist/chunks/{model-resolver-9be2kz6z.js → mime-n2ky5gkf.js} +27 -27
- package/dist/chunks/{model-resolver-7ppyhzjx.js → mime-ng3918dk.js} +5 -5
- package/dist/chunks/{model-resolver-dafg4d8k.js → mime-nhqmpqry.js} +3 -3
- package/dist/chunks/{model-resolver-3m0b5fsq.js → mime-nkmznbth.js} +10 -10
- package/dist/chunks/{model-resolver-1a12x520.js → mime-nncd61c2.js} +35 -35
- package/dist/chunks/{model-resolver-csfpqy7c.js → mime-nym9wyb3.js} +6 -6
- package/dist/chunks/{model-resolver-qnq8y3bv.js → mime-p24hwdax.js} +23 -23
- package/dist/chunks/{model-resolver-171a9z80.js → mime-p3vvxz2w.js} +6 -6
- package/dist/chunks/{model-resolver-ncny1qzz.js → mime-p42maxsr.js} +37 -37
- package/dist/chunks/{model-resolver-8wf75xe6.js → mime-p6ax3407.js} +13 -13
- package/dist/chunks/{model-resolver-dybxmwj9.js → mime-p7v2masw.js} +4 -4
- package/dist/chunks/{model-resolver-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-yqc6bamn.js → mime-pnzf6mjf.js} +1 -1
- package/dist/chunks/{model-resolver-0jq9fyba.js → mime-prq7hedt.js} +2 -2
- package/dist/chunks/{model-resolver-nfeetva4.js → mime-pw8wyqgn.js} +321 -321
- package/dist/chunks/{model-resolver-8ajv5xtq.js → mime-pz5b1pah.js} +5 -5
- package/dist/chunks/{model-resolver-0j77ygfz.js → mime-q0xm7vwc.js} +6 -6
- package/dist/chunks/{model-resolver-tj7kxczc.js → mime-q7ttfbsd.js} +5 -5
- package/dist/chunks/{model-resolver-mcwabzk9.js → mime-q8pcrqed.js} +11 -11
- package/dist/chunks/{model-resolver-k4nc0g6z.js → mime-qc91r9hq.js} +19 -19
- package/dist/chunks/{model-resolver-7bzg5cgk.js → mime-qe9cja5v.js} +26 -26
- package/dist/chunks/{model-resolver-5nnetc6k.js → mime-qhexs5yx.js} +20 -20
- package/dist/chunks/{model-resolver-qa3qhgw8.js → mime-qm0v3jhh.js} +7 -7
- package/dist/chunks/{model-resolver-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-6x4admn2.js → mime-qw8rpmjb.js} +39 -39
- package/dist/chunks/{model-resolver-rcyxvf8g.js → mime-qwd8z7en.js} +51 -51
- package/dist/chunks/{model-resolver-nma959mg.js → mime-r2z489rp.js} +3 -3
- package/dist/chunks/{model-resolver-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-rert0e01.js → mime-rert0e01.js} +2 -2
- package/dist/chunks/{model-resolver-rj3eygr5.js → mime-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-resolver-09k7wrv4.js → mime-rm7werhc.js} +28 -28
- package/dist/chunks/{model-resolver-bgst5jmd.js → mime-rpesnf7a.js} +22 -22
- package/dist/chunks/{model-resolver-fenh6xsq.js → mime-rpp8qasa.js} +19 -19
- package/dist/chunks/{model-resolver-y0msmzz5.js → mime-rr32njry.js} +38 -38
- package/dist/chunks/{model-resolver-fjakydk0.js → mime-rrz55b2p.js} +76 -76
- package/dist/chunks/{model-resolver-zmnv7sx5.js → mime-rwmkx81w.js} +11 -11
- package/dist/chunks/{model-resolver-ak9msbxp.js → mime-rxcdjwh1.js} +6 -6
- package/dist/chunks/{model-resolver-c90mqxem.js → mime-rykdsr0g.js} +71 -71
- package/dist/chunks/{model-resolver-hkc4w8pe.js → mime-s6s64s2j.js} +4 -4
- package/dist/chunks/{model-resolver-sa8ekw3f.js → mime-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-resolver-d3y6n0b6.js → mime-sg61y373.js} +4 -4
- package/dist/chunks/{model-resolver-h30rxhwn.js → mime-sg7jdfe4.js} +12 -12
- package/dist/chunks/{model-resolver-vtr2qm7r.js → mime-sgspe6rh.js} +20 -20
- package/dist/chunks/{model-resolver-ads5hjyh.js → mime-skk0c0bv.js} +10 -10
- package/dist/chunks/{model-resolver-axxh5741.js → mime-sps5w11b.js} +36 -36
- package/dist/chunks/{model-resolver-3n7sqfmk.js → mime-sszm17mh.js} +20 -20
- package/dist/chunks/{model-resolver-rendx1gy.js → mime-svc4qe25.js} +30 -30
- package/dist/chunks/{model-resolver-syv4x271.js → mime-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-wm6vgevc.js → mime-t1qqdzsn.js} +8 -8
- package/dist/chunks/{model-resolver-2gbv331w.js → mime-ta0smedg.js} +46 -46
- package/dist/chunks/{model-resolver-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-kak0n85x.js → mime-tfgrxbbg.js} +5 -5
- package/dist/chunks/{model-resolver-tm0kqsz3.js → mime-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-resolver-0kydaqed.js → mime-tq4zrfhc.js} +3 -3
- package/dist/chunks/{model-resolver-1j6m29mr.js → mime-txm3e8qz.js} +9 -9
- package/dist/chunks/{model-resolver-tyytaxap.js → mime-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-e1k4xdgj.js → mime-v0fktwpp.js} +4 -4
- package/dist/chunks/{model-resolver-drnf6xwf.js → mime-v0xmac3n.js} +2 -2
- package/dist/chunks/{model-resolver-yemwmjqt.js → mime-v7kctqng.js} +31 -31
- package/dist/chunks/{model-resolver-v7p4zvkq.js → mime-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-70cnkcsv.js → mime-vatybvvw.js} +23 -23
- package/dist/chunks/{model-resolver-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-zxdyc6t8.js → mime-vesg7vyr.js} +22 -22
- package/dist/chunks/{model-resolver-vmmrq9g8.js → mime-vp964jq4.js} +42 -42
- package/dist/chunks/{model-resolver-7ffb04cr.js → mime-vxa6qxmv.js} +29 -29
- package/dist/chunks/{model-resolver-wzked6k4.js → mime-vynfj1qm.js} +8 -8
- package/dist/chunks/{model-resolver-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-w1eejvng.js → mime-w1eejvng.js} +1 -1
- package/dist/chunks/{model-resolver-mcv1dfk8.js → mime-w30cgv0b.js} +5 -5
- package/dist/chunks/{model-resolver-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-r61qxybf.js → mime-w3x9v1nk.js} +8 -8
- package/dist/chunks/{model-resolver-dc3k7rmc.js → mime-w56fr51s.js} +4 -4
- package/dist/chunks/{model-resolver-fb8g9918.js → mime-w81spx5m.js} +4 -4
- package/dist/chunks/{model-resolver-jx6fkytk.js → mime-w9n24aqy.js} +33 -33
- package/dist/chunks/{model-resolver-xawvyy5x.js → mime-wb86ees7.js} +17 -17
- package/dist/chunks/{model-resolver-z1v1h6at.js → mime-wbt7h3w0.js} +10 -10
- package/dist/chunks/{model-resolver-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-sfvacr6d.js → mime-ws5ka3n2.js} +21 -21
- package/dist/chunks/{model-resolver-8e83x98h.js → mime-wswphd9c.js} +9 -9
- package/dist/chunks/{model-resolver-ahv2j09c.js → mime-wsyn0rjs.js} +11 -11
- package/dist/chunks/{model-resolver-2bbfedhs.js → mime-wwp51aqn.js} +30 -30
- package/dist/chunks/{model-resolver-rk5c66hf.js → mime-wy8qa55f.js} +37 -37
- package/dist/chunks/{model-resolver-5hj1971d.js → mime-xbhefgk3.js} +27 -27
- package/dist/chunks/{model-resolver-av7cjdq7.js → mime-xbr5rkwb.js} +9 -9
- package/dist/chunks/{model-resolver-57b9ws8p.js → mime-xfkkasph.js} +7 -7
- package/dist/chunks/{model-resolver-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-acq2jkv0.js → mime-y2rpf3m1.js} +8 -8
- package/dist/chunks/{model-resolver-pepx8s05.js → mime-y2vzq5h6.js} +14 -14
- package/dist/chunks/{model-resolver-sfatkps4.js → mime-yfmm3r9p.js} +22 -22
- package/dist/chunks/{model-resolver-zmr78fwr.js → mime-ygdna4kr.js} +5 -5
- package/dist/chunks/{model-resolver-q95fhctt.js → mime-ygmyzbnp.js} +45 -45
- package/dist/chunks/{model-resolver-fdwgrwmf.js → mime-ym12zjx9.js} +29 -29
- package/dist/chunks/{model-resolver-yp2x3t23.js → mime-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-resolver-5f50v25j.js → mime-ypj40ynd.js} +20 -20
- package/dist/chunks/{model-resolver-h9wp8z5w.js → mime-yrcj3v3g.js} +4 -4
- package/dist/chunks/{model-resolver-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-89za3yyg.js → mime-z2jd07rd.js} +7 -7
- package/dist/chunks/{model-resolver-mm8y8jbb.js → mime-z4x74e20.js} +23 -23
- package/dist/chunks/{model-resolver-shncg65v.js → mime-z5w93em6.js} +7 -7
- package/dist/chunks/{model-resolver-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- 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-defaults.js +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/model-resolver-4zfvjxth.js +0 -253
- package/dist/chunks/model-resolver-d9c50y5c.js +0 -26
- package/dist/chunks/model-resolver-qc068m1q.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → mime-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → mime-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node78
|
|
9
|
+
} from "./mime-21tzjh1m.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-h62rqyvr.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service8,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service75;
|
|
335
|
+
return Service8.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [node78] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-0nsxtbsr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service84,
|
|
10
|
+
node88
|
|
11
|
+
} from "./mime-sg7jdfe4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service79,
|
|
14
|
+
node83
|
|
15
|
+
} from "./mime-fqwbcgn7.js";
|
|
16
16
|
import {
|
|
17
17
|
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info27,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-6c4cp2wz.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
39
|
ID: () => ID16,
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
40
|
+
Info: () => Info26,
|
|
41
|
+
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service78,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -59,10 +59,10 @@ import { Hash } from "@opencode/util/hash";
|
|
|
59
59
|
var ID16 = ID17;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info26 = Info27;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
66
|
projectID: ID16
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service78 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,11 +98,11 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service79;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service84;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event18.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event18.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
190
|
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service78.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node82 = makeGlobalNode({
|
|
310
|
+
service: Service78,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node83, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service78;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node82]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { ID16, Vcs2, Current2,
|
|
323
|
+
export { ID16, Vcs2, Current2, Info26, UpdateInput3, NotFoundError9, root2, Service78, node82, sweepNode2, exports_project };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./model-resolver-h30rxhwn.js";
|
|
5
1
|
import {
|
|
6
2
|
Service84,
|
|
7
3
|
node88
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./mime-sg7jdfe4.js";
|
|
5
|
+
import {
|
|
6
|
+
Service67,
|
|
7
|
+
node70
|
|
8
|
+
} from "./mime-skk0c0bv.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID4,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service27,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node30
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event7 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service27 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service84;
|
|
70
|
+
const kv = yield* Service67;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service27.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node30 = makeLocationNode({
|
|
188
|
+
service: Service27,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node88, node70]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service27, node30, exports_websearch3, Event7 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-0nsxtbsr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./mime-sg7jdfe4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./mime-hdab2k61.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,38 +20,38 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-z2jd07rd.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service63
|
|
29
|
+
} from "./mime-y2vzq5h6.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service50
|
|
34
|
+
} from "./mime-dd2pvs9r.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service48
|
|
37
|
+
} from "./mime-sps5w11b.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./mime-32tazwv6.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./mime-z4x74e20.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./mime-gd07dkrx.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./mime-xbr5rkwb.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./mime-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,12 +63,12 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
66
|
+
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service63;
|
|
69
|
+
const instances = yield* Service51;
|
|
70
|
+
const execution = yield* Service48;
|
|
71
|
+
const admission = yield* Service50;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service51, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service51, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service51, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service84, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service54,
|
|
3
|
+
node57
|
|
4
|
+
} from "./mime-vp964jq4.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-m5jcjszt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service52,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node54,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service52 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service54;
|
|
59
|
+
return Service52.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node54 = makeLocationNode({ service: Service52, layer, deps: [node57] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service52, resolved2, node54, exports_model };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./mime-sg7jdfe4.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node81
|
|
13
|
+
} from "./mime-kjejtsqg.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service29,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node32
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service29 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service84;
|
|
44
|
+
const location = yield* Service77;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service77, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service29.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [node88, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service29, node32, exports_rpc, define2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-a465zkn0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-w9n24aqy.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID12.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|