@opencode/core 0.0.0-dev-20769 → 0.0.0-dev-20770
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +74 -74
- package/dist/chunks/{command-vk72yjfq.js → image-041t82c7.js} +20 -20
- package/dist/chunks/{command-jhdf29st.js → image-075nkgpd.js} +1 -1
- package/dist/chunks/{command-y09faa16.js → image-09nybzg2.js} +59 -59
- package/dist/chunks/{command-jchqn624.js → image-0awd3xbx.js} +20 -20
- package/dist/chunks/{command-1k1g10xm.js → image-0ctpqd57.js} +19 -19
- package/dist/chunks/{command-vn72gsba.js → image-0dygnakk.js} +4 -4
- package/dist/chunks/{command-fcrkznn8.js → image-0jwsre1p.js} +5 -5
- package/dist/chunks/{command-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-7673qv3a.js → image-0s7nf1m3.js} +40 -40
- package/dist/chunks/{command-0vbcp93d.js → image-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-qy3rjsqy.js → image-0vch7je2.js} +9 -9
- package/dist/chunks/{command-87p4d0xt.js → image-10zndtjr.js} +19 -19
- package/dist/chunks/{command-515an3gh.js → image-15czwfxg.js} +12 -12
- package/dist/chunks/{command-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-z0ztsmt3.js → image-1dnan4rb.js} +25 -25
- package/dist/chunks/{command-cyh7wg1w.js → image-1pskmaac.js} +5 -5
- package/dist/chunks/{command-9rweq90g.js → image-1yecq4ds.js} +33 -33
- package/dist/chunks/{command-56gdpj1q.js → image-1ygqh575.js} +9 -9
- package/dist/chunks/{command-zr0jwwm8.js → image-1yj6kr6p.js} +35 -35
- package/dist/chunks/{command-he4t8aj9.js → image-22vh467z.js} +63 -63
- package/dist/chunks/{command-x661k3y3.js → image-27wkeaxf.js} +4 -4
- package/dist/chunks/{command-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-1anvkqaj.js → image-2ap47e6v.js} +5 -5
- package/dist/chunks/{command-zenppd36.js → image-2h7yfs5w.js} +10 -10
- package/dist/chunks/{command-n47613g7.js → image-2nvxdapn.js} +25 -25
- package/dist/chunks/{command-9m6ezjpa.js → image-2zwjzpyw.js} +48 -48
- package/dist/chunks/{command-aqjx0n1j.js → image-3azbjbrk.js} +13 -13
- package/dist/chunks/{command-h2b79v29.js → image-3cegwx68.js} +2 -2
- package/dist/chunks/{command-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-6mqt3e2m.js → image-3mvw8hwr.js} +90 -90
- package/dist/chunks/{command-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-4pt0f44s.js → image-3y94rg0q.js} +1 -1
- package/dist/chunks/{command-2rnsjg8j.js → image-3zktyf06.js} +16 -16
- package/dist/chunks/{command-3zsf4n22.js → image-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-bj71rb14.js → image-41ept3mq.js} +42 -42
- package/dist/chunks/{command-e64rsrma.js → image-440bjxhy.js} +18 -18
- package/dist/chunks/{command-vw8671r7.js → image-44btjb7h.js} +15 -15
- package/dist/chunks/{command-99pmxzzt.js → image-481ys7d2.js} +18 -18
- package/dist/chunks/{command-84m9x9qp.js → image-49aa9tv9.js} +10 -10
- package/dist/chunks/{command-0jfkt8vv.js → image-4a0nv7mx.js} +8 -8
- package/dist/chunks/{command-x8hrb5ef.js → image-4ejkykhx.js} +13 -13
- package/dist/chunks/{command-18ap9tnf.js → image-4rw0bag3.js} +14 -14
- package/dist/chunks/{command-623vbcth.js → image-4ssbvhhj.js} +23 -23
- package/dist/chunks/{command-2ccvkpx1.js → image-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-wf41wetg.js → image-4wqxch05.js} +4 -4
- package/dist/chunks/{command-54ma36ye.js → image-54ma36ye.js} +1 -1
- package/dist/chunks/{command-nsmgr25e.js → image-5c9p8ghf.js} +28 -28
- package/dist/chunks/{command-cd12z3fw.js → image-5deywexc.js} +11 -11
- package/dist/chunks/{command-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-92m86vnr.js → image-5q4rawzp.js} +17 -17
- package/dist/chunks/{command-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-66kp86sb.js → image-5tmevtes.js} +16 -16
- package/dist/chunks/{command-6g5g4km8.js → image-5xxxbt3x.js} +11 -11
- package/dist/chunks/{command-9hn6k4tm.js → image-5yzzbxa7.js} +8 -8
- package/dist/chunks/{command-zqem9qy2.js → image-60y3b2sj.js} +23 -23
- package/dist/chunks/{command-0phvz199.js → image-675vp0tw.js} +26 -26
- package/dist/chunks/{command-wz2xgq7h.js → image-677aqnj9.js} +22 -22
- package/dist/chunks/{command-7vmqzv7e.js → image-6hfyv1b2.js} +20 -20
- package/dist/chunks/{command-tkcpjehs.js → image-6remysx9.js} +3 -3
- package/dist/chunks/{command-w0bh0r92.js → image-6wc9syvb.js} +9 -9
- package/dist/chunks/{command-6xb47vfp.js → image-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-2n74xpsv.js → image-6ykges59.js} +11 -11
- package/dist/chunks/{command-ck29v63s.js → image-7767gsxs.js} +18 -18
- package/dist/chunks/{command-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-c0ae7knw.js → image-7nhwhv68.js} +13 -13
- package/dist/chunks/{command-xmrt07m4.js → image-7pfb1n47.js} +24 -24
- package/dist/chunks/{command-sm5ftd4r.js → image-7vwbk804.js} +13 -13
- package/dist/chunks/{command-4ss4nz6v.js → image-7vy9jfn1.js} +89 -89
- package/dist/chunks/{command-p84dsdfh.js → image-7w62dbd4.js} +8 -8
- package/dist/chunks/{command-0krzpew9.js → image-836pvxvq.js} +16 -16
- package/dist/chunks/{command-1dvck2a7.js → image-84h8c373.js} +2 -2
- package/dist/chunks/{command-bkrmrvda.js → image-8554gs04.js} +31 -31
- package/dist/chunks/{command-vwc4prqk.js → image-86yhqnec.js} +32 -32
- package/dist/chunks/{command-tcezcvh9.js → image-89znhe33.js} +4 -4
- package/dist/chunks/{command-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-xbqfgjjd.js → image-8eep2hv1.js} +13 -13
- package/dist/chunks/{command-8cr662t3.js → image-8hat6psx.js} +26 -26
- package/dist/chunks/{command-8m6m0r52.js → image-8m6m0r52.js} +1 -1
- package/dist/chunks/{command-dq1bnfqe.js → image-8mng3aqa.js} +18 -18
- package/dist/chunks/{command-06p69rdn.js → image-8q0jeynm.js} +30 -30
- package/dist/chunks/{command-rf8e7cth.js → image-8qg44ggg.js} +5 -5
- package/dist/chunks/{command-0318w5av.js → image-8tjs3aj8.js} +16 -16
- package/dist/chunks/{command-660dypsd.js → image-8wpfbzww.js} +9 -9
- package/dist/chunks/{command-pdfz7b8h.js → image-8yq4eec2.js} +6 -6
- package/dist/chunks/{command-7de9fsee.js → image-9cf93m84.js} +34 -34
- package/dist/chunks/{command-2w45p6vf.js → image-9ddkctfv.js} +6 -6
- package/dist/chunks/{command-8104mvwr.js → image-9eprzpvb.js} +22 -22
- package/dist/chunks/{command-a01kwcy5.js → image-9m7vv79v.js} +24 -24
- package/dist/chunks/{command-1yz7hnxc.js → image-9s6dvtc7.js} +4 -4
- package/dist/chunks/{command-7e1b9xgy.js → image-9stqpfrt.js} +5 -5
- package/dist/chunks/{command-yhj4pxny.js → image-9vtsvkk2.js} +6 -6
- package/dist/chunks/{command-26z9df31.js → image-a5cdehyv.js} +11 -11
- package/dist/chunks/{command-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{command-ngnadpjp.js → image-acrzpgea.js} +18 -18
- package/dist/chunks/{command-ahd542yp.js → image-ahd542yp.js} +1 -1
- package/dist/chunks/{command-292cc9em.js → image-anr3pw30.js} +15 -15
- package/dist/chunks/{command-hf7hhz9b.js → image-arza43z3.js} +31 -31
- package/dist/chunks/{command-chazjjtm.js → image-awt48awe.js} +11 -11
- package/dist/chunks/{command-qygbw77c.js → image-b3f8fkhc.js} +5 -5
- package/dist/chunks/{command-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-ffsnjat1.js → image-b76x2m65.js} +11 -11
- package/dist/chunks/{command-ysa60zpw.js → image-bamz5q2k.js} +40 -40
- package/dist/chunks/{command-3krmkrdj.js → image-bft4sneq.js} +20 -20
- package/dist/chunks/{command-6z2ym5vj.js → image-brk5xemp.js} +2 -2
- package/dist/chunks/{command-6k0qcnf2.js → image-bsqg9vvc.js} +182 -182
- package/dist/chunks/{command-d1b68md1.js → image-bw1xjm31.js} +29 -29
- package/dist/chunks/{command-z6c3x22d.js → image-bx0gyb4h.js} +5 -5
- package/dist/chunks/{command-wae1eth8.js → image-bxrzb9dv.js} +16 -16
- package/dist/chunks/{command-7qqt47jk.js → image-c2yxxqq1.js} +12 -12
- package/dist/chunks/{command-5dkn69vz.js → image-c35597j6.js} +4 -4
- package/dist/chunks/{command-bc9jga2r.js → image-c8zhxc9r.js} +33 -33
- package/dist/chunks/{command-ts23464c.js → image-cfsekr6v.js} +4 -4
- package/dist/chunks/{command-kwpv2rkk.js → image-cqjcr0r6.js} +5 -5
- package/dist/chunks/image-d8brtrny.js +253 -0
- package/dist/chunks/{command-nn4dfddg.js → image-d8kez5rj.js} +14 -14
- package/dist/chunks/{command-3qaj4cxb.js → image-dbjvcwrz.js} +32 -32
- package/dist/chunks/{command-tdhfktd2.js → image-dgma0v0g.js} +3 -3
- package/dist/chunks/{command-qmqgtz8f.js → image-djszqvmq.js} +9 -9
- package/dist/chunks/{command-0cmn5rge.js → image-dk5yfsac.js} +7 -7
- package/dist/chunks/{command-fhh8xp70.js → image-dkrtd87p.js} +8 -8
- package/dist/chunks/{command-t72q4s7p.js → image-dyfd7p19.js} +72 -72
- package/dist/chunks/{command-v25eh54h.js → image-e2fft7m7.js} +27 -27
- package/dist/chunks/{command-h87jsb94.js → image-e31pc1r0.js} +11 -11
- package/dist/chunks/{command-84z82431.js → image-e5dmqxzh.js} +16 -16
- package/dist/chunks/{command-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-z1m5xnfc.js → image-efn550kk.js} +9 -9
- package/dist/chunks/{command-n7r13ptd.js → image-ekxgv8sm.js} +32 -32
- package/dist/chunks/{command-e8qyrgb1.js → image-emwywv8g.js} +5 -5
- package/dist/chunks/{command-g9hk75ce.js → image-eq3ahw1b.js} +6 -6
- package/dist/chunks/{command-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-qvc24n4z.js → image-ewjzx6jk.js} +32 -32
- package/dist/chunks/{command-h1fdpneg.js → image-ex2cbdg3.js} +43 -43
- package/dist/chunks/{command-523vynas.js → image-f241ft5h.js} +10 -10
- package/dist/chunks/{command-71az546q.js → image-f75zav2x.js} +2 -2
- package/dist/chunks/{command-3zcsje8y.js → image-fd0dxwga.js} +45 -45
- package/dist/chunks/{command-2krcd1rw.js → image-fkmw5y64.js} +36 -36
- package/dist/chunks/{command-gsc7b8kn.js → image-g064njaw.js} +3 -3
- package/dist/chunks/{command-w19d8598.js → image-g5w8qwbj.js} +7 -7
- package/dist/chunks/{command-tk14y25j.js → image-g6yfr6ja.js} +5 -5
- package/dist/chunks/{command-y4v8413a.js → image-g8hhgq6a.js} +13 -13
- package/dist/chunks/{command-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-0q1vk8yj.js → image-gfdh8bzj.js} +26 -26
- package/dist/chunks/{command-3sax2pat.js → image-gfrj34zz.js} +9 -9
- package/dist/chunks/{command-kwh6wrz7.js → image-ggk25htp.js} +23 -23
- package/dist/chunks/{command-8reemnws.js → image-gp3jnpha.js} +18 -18
- package/dist/chunks/{command-qdcexj3y.js → image-gsre9xy5.js} +35 -35
- package/dist/chunks/{command-hwnq7bgp.js → image-h13r9xpt.js} +35 -35
- package/dist/chunks/{command-f1jq0k88.js → image-h3texmss.js} +24 -24
- package/dist/chunks/{command-79mt7z1c.js → image-h6c7f36b.js} +11 -11
- package/dist/chunks/{command-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-1k9wxahb.js → image-h9f0bywq.js} +4 -4
- package/dist/chunks/{command-z8havtpn.js → image-hbghfsb3.js} +36 -36
- package/dist/chunks/{command-ra9x6was.js → image-hd61hmfw.js} +7 -7
- package/dist/chunks/{command-mcj5zvwd.js → image-hd6pkj63.js} +5 -5
- package/dist/chunks/{command-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{command-ncv10102.js → image-je5crjvy.js} +22 -22
- package/dist/chunks/{command-z5gm0zap.js → image-jervv9x6.js} +11 -11
- package/dist/chunks/{command-8pky2mqy.js → image-jjby5vjv.js} +13 -13
- package/dist/chunks/{command-mffyeyw6.js → image-jxgn0kws.js} +18 -18
- package/dist/chunks/{command-n8sna2wb.js → image-k70p9jzb.js} +9 -9
- package/dist/chunks/{command-b27vhd2z.js → image-k76krqzs.js} +4 -4
- package/dist/chunks/{command-qd4p8sqz.js → image-k967mgwg.js} +7 -7
- package/dist/chunks/{command-tyd32c2a.js → image-k9aczath.js} +32 -32
- package/dist/chunks/{command-9e5bzkjp.js → image-kb9j3d72.js} +3 -3
- package/dist/chunks/{command-57jasbpr.js → image-kddtsjha.js} +28 -28
- package/dist/chunks/{command-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-maan0pjm.js → image-m55qy151.js} +10 -10
- package/dist/chunks/{command-b859c47q.js → image-m5erm5rf.js} +13 -13
- package/dist/chunks/{command-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-mvfsc1pv.js → image-mhkvc446.js} +3 -3
- package/dist/chunks/{command-z3gyfksb.js → image-mjbndmwc.js} +13 -13
- package/dist/chunks/{command-zq90ax3z.js → image-mmvvpmn0.js} +15 -15
- package/dist/chunks/{command-w5bc32dk.js → image-mvd0spm1.js} +18 -18
- package/dist/chunks/{command-054fwxeq.js → image-mxdrjzrw.js} +1 -1
- package/dist/chunks/{command-2wqm2tex.js → image-mya2msdv.js} +4 -4
- package/dist/chunks/{command-pbg9y4q9.js → image-mzs2gyja.js} +14 -14
- package/dist/chunks/image-n3g6rkfy.js +26 -0
- package/dist/chunks/{command-3kpv6d7f.js → image-nbanbgc2.js} +25 -25
- package/dist/chunks/{command-0gs9ze8y.js → image-nc2cfpfm.js} +27 -27
- package/dist/chunks/{command-y5rf7nzv.js → image-ngyhb3xw.js} +4 -4
- package/dist/chunks/{command-g17zd597.js → image-nm427c8q.js} +9 -9
- package/dist/chunks/{command-m379zx38.js → image-nme1zdtk.js} +3 -3
- package/dist/chunks/{command-1e9w0668.js → image-nqdj7vdj.js} +11 -11
- package/dist/chunks/{command-6sr3ve8g.js → image-nrdmrqsx.js} +21 -21
- package/dist/chunks/{command-2zem7nw1.js → image-nrkkmtgp.js} +11 -11
- package/dist/chunks/{command-6jkfkrbh.js → image-nrx3kk23.js} +32 -32
- package/dist/chunks/{command-dpkg50ah.js → image-nxm207yx.js} +4 -4
- package/dist/chunks/{command-hcbkwrsn.js → image-p0249ayz.js} +14 -14
- package/dist/chunks/{command-h02p5s82.js → image-p4vrpbsj.js} +15 -15
- package/dist/chunks/{command-vrfdq27c.js → image-p6frxxff.js} +15 -15
- package/dist/chunks/{command-c41rsx0v.js → image-pb7necgd.js} +9 -9
- package/dist/chunks/image-pf31ssb9.js +18 -0
- package/dist/chunks/{command-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{command-wj76ss2k.js → image-pmwpe40e.js} +4 -4
- package/dist/chunks/{command-0j77ygfz.js → image-q0xm7vwc.js} +6 -6
- package/dist/chunks/{command-qa2zjcgn.js → image-q2n8xn6w.js} +20 -20
- package/dist/chunks/{command-r3d6wck8.js → image-qb3m0ycb.js} +5 -5
- package/dist/chunks/{command-enyc0kgt.js → image-qc8svym5.js} +22 -22
- package/dist/chunks/{command-bgh1tqpz.js → image-qkqectah.js} +8 -8
- package/dist/chunks/{command-qnc92qwc.js → image-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{command-r8xr0va3.js → image-r8xr0va3.js} +1 -1
- package/dist/chunks/{command-eqvgx5n8.js → image-rbnwgj7g.js} +45 -45
- package/dist/chunks/{command-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-9t7a50xb.js → image-rhjbct0v.js} +4 -4
- package/dist/chunks/{command-mwmn0x3x.js → image-rxncbpv0.js} +49 -49
- package/dist/chunks/{command-negjmbtp.js → image-s1a1jfkm.js} +23 -23
- package/dist/chunks/{command-8dsp7m33.js → image-s90f1sgn.js} +25 -25
- package/dist/chunks/{command-n724cj1w.js → image-s9e8vyty.js} +4 -4
- package/dist/chunks/{command-xjkjqcm9.js → image-skg22tjj.js} +11 -11
- package/dist/chunks/{command-d1xd2axh.js → image-skw899y8.js} +11 -11
- package/dist/chunks/{command-n0qmhpez.js → image-sp75dm4k.js} +8 -8
- package/dist/chunks/{command-h9rm1rrn.js → image-sqbb0ctm.js} +5 -5
- package/dist/chunks/{command-zvt5dnpc.js → image-t7n9q6bq.js} +4 -4
- package/dist/chunks/{command-v3wg6s96.js → image-t88vcfww.js} +6 -6
- package/dist/chunks/{command-ygz1yfbt.js → image-t9n9c00b.js} +11 -11
- package/dist/chunks/{command-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-606svsg5.js → image-tb43rk40.js} +32 -32
- package/dist/chunks/{command-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{command-tg7bkhef.js → image-tg7bkhef.js} +2 -2
- package/dist/chunks/{command-rh4gr708.js → image-tk3pg1an.js} +6 -6
- package/dist/chunks/{command-zvka5ftt.js → image-tnnwgabt.js} +22 -22
- package/dist/chunks/{command-kymrd3ak.js → image-ts2sd72x.js} +44 -44
- package/dist/chunks/{command-q41jnjxt.js → image-tvth849s.js} +25 -25
- package/dist/chunks/{command-nrtr3bxw.js → image-txz9qqe7.js} +40 -40
- package/dist/chunks/{command-d6kyyq6d.js → image-tynzv1y7.js} +5 -5
- package/dist/chunks/{command-vdxsb2wh.js → image-v35f36ck.js} +4 -4
- package/dist/chunks/{command-eqrshdx3.js → image-v4gm4ten.js} +7 -7
- package/dist/chunks/{command-whx7qtpm.js → image-v86s500e.js} +18 -18
- package/dist/chunks/{command-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{command-7895kkyh.js → image-vkns81cj.js} +23 -23
- package/dist/chunks/{command-bhybrfey.js → image-vrmmyqmt.js} +25 -25
- package/dist/chunks/{command-1e9rxs9s.js → image-vxbg6nr8.js} +9 -9
- package/dist/chunks/{command-fmcqyzhx.js → image-vynmvp9h.js} +9 -9
- package/dist/chunks/{command-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-w1eejvng.js → image-w1eejvng.js} +1 -1
- package/dist/chunks/{command-pf6898c8.js → image-w1xxyy7d.js} +22 -22
- package/dist/chunks/{command-vvccsdf3.js → image-w21bzq9q.js} +6 -6
- package/dist/chunks/{command-g6075nd9.js → image-w2t661dz.js} +2 -2
- package/dist/chunks/{command-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-833nsgwf.js → image-w9sf4be9.js} +25 -25
- package/dist/chunks/{command-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{command-4pkqdmes.js → image-wg4cdmsq.js} +4 -4
- package/dist/chunks/{command-9hnz87ww.js → image-wjc917hc.js} +38 -38
- package/dist/chunks/{command-ka8cnsmp.js → image-wmdmptdr.js} +13 -13
- package/dist/chunks/{command-8xs159sw.js → image-wt27nz7e.js} +28 -28
- package/dist/chunks/{command-sp1awmdz.js → image-wtvgb6mb.js} +15 -15
- package/dist/chunks/{command-8wnsn78t.js → image-x0aqyzcq.js} +10 -10
- package/dist/chunks/{command-93shjdj7.js → image-x1gcyfqe.js} +5 -5
- package/dist/chunks/{command-8z22cf2g.js → image-x2c6m9mw.js} +15 -15
- package/dist/chunks/{command-vg7eqwhf.js → image-x535bvex.js} +29 -29
- package/dist/chunks/{command-epq7rbn7.js → image-xby1wn0p.js} +34 -34
- package/dist/chunks/{command-zx2992et.js → image-xdkh3vb7.js} +3 -3
- package/dist/chunks/{command-xkntkrq7.js → image-xkntkrq7.js} +2 -2
- package/dist/chunks/{command-9w20bh8x.js → image-xrrp2a3c.js} +325 -325
- package/dist/chunks/{command-330p8r97.js → image-xtxja8j6.js} +9 -9
- package/dist/chunks/{command-xyafkbt0.js → image-xyafkbt0.js} +3 -3
- package/dist/chunks/{command-chnsmaqq.js → image-y0krzn8k.js} +8 -8
- package/dist/chunks/{command-5kwxvsns.js → image-y1btehaa.js} +21 -21
- package/dist/chunks/{command-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-svqhbxqt.js → image-ybwa87jg.js} +27 -27
- package/dist/chunks/{command-2zdt3ake.js → image-yg3wy2g6.js} +25 -25
- package/dist/chunks/{command-g7sjemkb.js → image-yh5dsb81.js} +8 -8
- package/dist/chunks/{command-rnej53bg.js → image-yjanq1b2.js} +37 -37
- package/dist/chunks/{command-r9w3djhf.js → image-yr715y08.js} +2 -2
- package/dist/chunks/{command-722r8bgj.js → image-yzhf6sg2.js} +21 -21
- package/dist/chunks/{command-6zsjsj6a.js → image-yzscdfym.js} +16 -16
- package/dist/chunks/{command-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-8rsg8px5.js → image-z5kqk1xz.js} +18 -18
- package/dist/chunks/{command-89j4xqgy.js → image-z8h2b6zj.js} +17 -17
- package/dist/chunks/{command-4bq005st.js → image-zaf7eyje.js} +4 -4
- package/dist/chunks/{command-gxnqckf7.js → image-zn1havqb.js} +35 -35
- package/dist/chunks/{command-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +80 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- 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 +100 -100
- 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 +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +76 -76
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- 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 +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +129 -129
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- 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/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- 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 +90 -90
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/command-44mcqb58.js +0 -253
- package/dist/chunks/command-4v7qdvcn.js +0 -18
- package/dist/chunks/command-szrr4m9g.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → image-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-bw78ga2c.js → image-bw78ga2c.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./image-e5dmqxzh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./image-p0249ayz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service73,
|
|
12
|
+
node76
|
|
13
|
+
} from "./image-nc2cfpfm.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./image-vxbg6nr8.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node69
|
|
20
|
+
} from "./image-0ctpqd57.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node70
|
|
27
|
+
} from "./image-6hfyv1b2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service68,
|
|
30
|
+
node71
|
|
31
|
+
} from "./image-4a0nv7mx.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./image-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event17,
|
|
46
|
+
ID: () => ID10,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service65,
|
|
55
55
|
Source: () => Source4,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node68
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event17 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID10 = Permission.ID;
|
|
68
68
|
var Source4 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID10.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID10,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID10,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID10
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service65 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service80;
|
|
132
|
+
const location = yield* Service77;
|
|
133
|
+
const agents = yield* Service73;
|
|
134
|
+
const sessions = yield* Service66;
|
|
135
|
+
const saved = yield* Service67;
|
|
136
|
+
const hooks = yield* Service68;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID10.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID10.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service65.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node68 = makeLocationNode({
|
|
303
|
+
service: Service65,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node84, node81, node76, node69, node70, node71]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID10, Source4, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service65, node68, exports_permission2, Rule3, Ruleset2, Event17 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info16,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info16 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info16, Status3, key2, exports_connection };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./image-c2yxxqq1.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make13 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service83;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
15
|
node: () => node31
|
|
16
16
|
});
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service28.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var node31 = makeGlobalNode({ service:
|
|
375
|
+
var node31 = makeGlobalNode({ service: Service28, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service28, makeLayer2, layer12, node31, exports_model_transport };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./image-nrkkmtgp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./image-e5dmqxzh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./image-w21bzq9q.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID14,
|
|
15
|
+
Service72
|
|
16
|
+
} from "./image-w9sf4be9.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./image-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./image-vxbg6nr8.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-kb9j3d72.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
45
|
-
const database = yield*
|
|
46
|
-
const bus = yield*
|
|
44
|
+
const instances = yield* Service46;
|
|
45
|
+
const database = yield* Service84;
|
|
46
|
+
const bus = yield* Service80;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service72;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID14.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service46;
|
|
77
|
+
const bus = yield* Service80;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service72;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID14.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID14.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./image-e5dmqxzh.js";
|
|
8
8
|
import {
|
|
9
9
|
Event18,
|
|
10
10
|
Service70,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node73
|
|
12
|
+
} from "./image-y1btehaa.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service77,
|
|
15
|
+
node81
|
|
16
|
+
} from "./image-p0249ayz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node78
|
|
20
|
+
} from "./image-7pfb1n47.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID6,
|
|
23
|
+
Service55,
|
|
24
|
+
node58
|
|
25
|
+
} from "./image-x535bvex.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service54,
|
|
34
|
+
node57
|
|
35
|
+
} from "./image-ybwa87jg.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./image-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service33,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node36
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,20 +103,20 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
114
|
+
var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service77;
|
|
116
|
+
const environment = yield* Service75;
|
|
117
|
+
const bus = yield* Service80;
|
|
118
|
+
const forms = yield* Service55;
|
|
119
|
+
const integration = yield* Service54;
|
|
120
120
|
const credentials = yield* Service70;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -129,7 +129,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID5.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -154,7 +154,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError2({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -166,7 +166,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID6.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service75, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -420,7 +420,7 @@ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service33.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service33,
|
|
536
|
+
layer: layer15(options),
|
|
537
|
+
deps: [node81, node78, node84, node58, node57, node73]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node36 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service33, Options3, layer15, configured3, node36, exports_mcp4 };
|