@opencode/core 0.0.0-dev-20766 → 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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{config-e695kjr2.js → image-041t82c7.js} +17 -17
- package/dist/chunks/{config-jhdf29st.js → image-075nkgpd.js} +1 -1
- package/dist/chunks/{config-nv8qaapz.js → image-09nybzg2.js} +56 -56
- package/dist/chunks/{config-nm5ttwdk.js → image-0awd3xbx.js} +23 -23
- package/dist/chunks/{config-fgpcp3jn.js → image-0ctpqd57.js} +14 -14
- package/dist/chunks/{config-wqxhcm17.js → image-0dygnakk.js} +4 -4
- package/dist/chunks/{config-2k8khapm.js → image-0jwsre1p.js} +5 -5
- package/dist/chunks/{config-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-fs4sb6d9.js → image-0s7nf1m3.js} +40 -40
- package/dist/chunks/{config-0vbcp93d.js → image-0vbcp93d.js} +2 -2
- package/dist/chunks/{config-35ec261r.js → image-0vch7je2.js} +9 -9
- package/dist/chunks/{config-gm34wx9t.js → image-10zndtjr.js} +21 -21
- package/dist/chunks/{config-m21a7pgw.js → image-15czwfxg.js} +12 -12
- package/dist/chunks/{config-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-pbtzf8de.js → image-1dnan4rb.js} +25 -25
- package/dist/chunks/{config-nzvbrgqt.js → image-1pskmaac.js} +5 -5
- package/dist/chunks/{config-p764ryq9.js → image-1yecq4ds.js} +35 -35
- package/dist/chunks/{config-1ygqh575.js → image-1ygqh575.js} +2 -2
- package/dist/chunks/{config-8a1cr60m.js → image-1yj6kr6p.js} +35 -35
- package/dist/chunks/{config-q2gyhqja.js → image-22vh467z.js} +65 -65
- package/dist/chunks/{config-x661k3y3.js → image-27wkeaxf.js} +4 -4
- package/dist/chunks/{config-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-ap92jadn.js → image-2ap47e6v.js} +8 -8
- package/dist/chunks/{config-ckhgt1vc.js → image-2h7yfs5w.js} +11 -11
- package/dist/chunks/{config-xe1h6dns.js → image-2nvxdapn.js} +23 -23
- package/dist/chunks/{config-6rc51w2n.js → image-2zwjzpyw.js} +50 -50
- package/dist/chunks/{config-14b825sb.js → image-3azbjbrk.js} +15 -15
- package/dist/chunks/{config-h2b79v29.js → image-3cegwx68.js} +2 -2
- package/dist/chunks/{config-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-a2knq291.js → image-3mvw8hwr.js} +92 -92
- package/dist/chunks/{config-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-n22p10jn.js → image-3y94rg0q.js} +1 -1
- package/dist/chunks/{config-61dzm470.js → image-3zktyf06.js} +13 -13
- package/dist/chunks/{config-3zsf4n22.js → image-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-kmcs8ksk.js → image-41ept3mq.js} +48 -48
- package/dist/chunks/{config-baqwpn71.js → image-440bjxhy.js} +19 -19
- package/dist/chunks/{config-04w0j1k1.js → image-44btjb7h.js} +18 -18
- package/dist/chunks/{config-xrh3t07a.js → image-481ys7d2.js} +22 -22
- package/dist/chunks/{config-vv3tzp0h.js → image-49aa9tv9.js} +7 -7
- package/dist/chunks/{config-jvnghvnw.js → image-4a0nv7mx.js} +8 -8
- package/dist/chunks/{config-xt193qyn.js → image-4ejkykhx.js} +13 -13
- package/dist/chunks/{config-hpfnr3ak.js → image-4rw0bag3.js} +14 -14
- package/dist/chunks/{config-dxepzvqa.js → image-4ssbvhhj.js} +20 -20
- package/dist/chunks/{config-2ccvkpx1.js → image-4ts7tf6z.js} +2 -2
- package/dist/chunks/{config-fpv7x386.js → image-4wqxch05.js} +4 -4
- package/dist/chunks/{config-54ma36ye.js → image-54ma36ye.js} +1 -1
- package/dist/chunks/{config-bt2zxg2k.js → image-5c9p8ghf.js} +25 -25
- package/dist/chunks/{config-22mv37ny.js → image-5deywexc.js} +14 -14
- package/dist/chunks/{config-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{config-41acwapz.js → image-5q4rawzp.js} +11 -11
- package/dist/chunks/{config-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-8txpr4xj.js → image-5tmevtes.js} +15 -15
- package/dist/chunks/{config-7mnrdeg6.js → image-5xxxbt3x.js} +11 -11
- package/dist/chunks/{config-9hn6k4tm.js → image-5yzzbxa7.js} +8 -8
- package/dist/chunks/{config-k222jejk.js → image-60y3b2sj.js} +26 -26
- package/dist/chunks/{config-p9my5m4v.js → image-675vp0tw.js} +30 -30
- package/dist/chunks/{config-7bbpew8e.js → image-677aqnj9.js} +19 -19
- package/dist/chunks/{config-xz1dg46x.js → image-6hfyv1b2.js} +15 -15
- package/dist/chunks/{config-qqw497c2.js → image-6remysx9.js} +3 -3
- package/dist/chunks/{config-8zyddq9b.js → image-6wc9syvb.js} +9 -9
- package/dist/chunks/{config-6xb47vfp.js → image-6xb47vfp.js} +1 -1
- package/dist/chunks/{config-xbfkaeh0.js → image-6ykges59.js} +8 -8
- package/dist/chunks/{config-3bsvwj44.js → image-7767gsxs.js} +19 -19
- package/dist/chunks/{config-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-s0fz801e.js → image-7nhwhv68.js} +13 -13
- package/dist/chunks/{config-2x93te4w.js → image-7pfb1n47.js} +24 -24
- package/dist/chunks/{config-qfan16kp.js → image-7vwbk804.js} +13 -13
- package/dist/chunks/{config-2awyr961.js → image-7vy9jfn1.js} +84 -84
- package/dist/chunks/{config-m3zza4qd.js → image-7w62dbd4.js} +8 -8
- package/dist/chunks/{config-nmce7ypv.js → image-836pvxvq.js} +20 -20
- package/dist/chunks/{config-1dvck2a7.js → image-84h8c373.js} +2 -2
- package/dist/chunks/{config-hj5ahk1q.js → image-8554gs04.js} +28 -28
- package/dist/chunks/{config-qc37zb4v.js → image-86yhqnec.js} +28 -28
- package/dist/chunks/{config-tcezcvh9.js → image-89znhe33.js} +4 -4
- package/dist/chunks/{config-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-w4keqygv.js → image-8eep2hv1.js} +13 -13
- package/dist/chunks/{config-drvhk1dt.js → image-8hat6psx.js} +26 -26
- package/dist/chunks/{config-8m6m0r52.js → image-8m6m0r52.js} +1 -1
- package/dist/chunks/{config-wmek8rd9.js → image-8mng3aqa.js} +18 -18
- package/dist/chunks/{config-tkx5k0gw.js → image-8q0jeynm.js} +33 -33
- package/dist/chunks/{config-eqpec96e.js → image-8qg44ggg.js} +5 -5
- package/dist/chunks/{config-m2s5vzws.js → image-8tjs3aj8.js} +16 -16
- package/dist/chunks/{config-1jgebffq.js → image-8wpfbzww.js} +11 -11
- package/dist/chunks/{config-2q1w0v5n.js → image-8yq4eec2.js} +13 -7
- package/dist/chunks/{config-gsj36hzn.js → image-9cf93m84.js} +35 -35
- package/dist/chunks/{config-zj2157xy.js → image-9ddkctfv.js} +6 -6
- package/dist/chunks/{config-sbhd1a18.js → image-9eprzpvb.js} +24 -24
- package/dist/chunks/{config-y78hnjb1.js → image-9m7vv79v.js} +24 -24
- package/dist/chunks/{config-1wcnksjp.js → image-9s6dvtc7.js} +4 -4
- package/dist/chunks/{config-znn7fbkr.js → image-9stqpfrt.js} +5 -5
- package/dist/chunks/{config-nrbk2kv0.js → image-9vtsvkk2.js} +6 -6
- package/dist/chunks/{config-0c7ahv2p.js → image-a5cdehyv.js} +11 -11
- package/dist/chunks/{config-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{config-atc8r2d3.js → image-acrzpgea.js} +15 -15
- package/dist/chunks/{config-15nepkqg.js → image-ahd542yp.js} +8 -8
- package/dist/chunks/{config-wv08sa89.js → image-anr3pw30.js} +17 -17
- package/dist/chunks/{config-f3h5npay.js → image-arza43z3.js} +35 -35
- package/dist/chunks/{config-kx1bweq0.js → image-awt48awe.js} +11 -11
- package/dist/chunks/{config-b3f8fkhc.js → image-b3f8fkhc.js} +2 -2
- package/dist/chunks/{config-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-tfsecrbt.js → image-b76x2m65.js} +8 -8
- package/dist/chunks/{config-1atdd0b7.js → image-bamz5q2k.js} +39 -39
- package/dist/chunks/{config-1vwg2gsv.js → image-bft4sneq.js} +22 -22
- package/dist/chunks/{config-5t5wrhde.js → image-brk5xemp.js} +2 -2
- package/dist/chunks/{config-y8hr7tb0.js → image-bsqg9vvc.js} +186 -186
- package/dist/chunks/{config-z9ena9kf.js → image-bw1xjm31.js} +26 -26
- package/dist/chunks/{config-n8vdnqrc.js → image-bx0gyb4h.js} +5 -5
- package/dist/chunks/{config-mb06xe31.js → image-bxrzb9dv.js} +16 -16
- package/dist/chunks/{config-rjdpmmn8.js → image-c2yxxqq1.js} +12 -12
- package/dist/chunks/{config-5dkn69vz.js → image-c35597j6.js} +4 -4
- package/dist/chunks/{config-vj8aes9x.js → image-c8zhxc9r.js} +33 -33
- package/dist/chunks/{config-py3kkmfq.js → image-cfsekr6v.js} +2 -2
- package/dist/chunks/{config-2yf289j0.js → image-cqjcr0r6.js} +5 -5
- package/dist/chunks/image-d8brtrny.js +253 -0
- package/dist/chunks/{config-32evdqn0.js → image-d8kez5rj.js} +11 -11
- package/dist/chunks/{config-wxbds3c3.js → image-dbjvcwrz.js} +32 -32
- package/dist/chunks/{config-pds74t41.js → image-dgma0v0g.js} +3 -3
- package/dist/chunks/{config-cwa6csj7.js → image-djszqvmq.js} +9 -9
- package/dist/chunks/{config-ts0kfjw3.js → image-dk5yfsac.js} +7 -7
- package/dist/chunks/{config-fzgxakwn.js → image-dkrtd87p.js} +6 -6
- package/dist/chunks/{config-ahbmaac7.js → image-dyfd7p19.js} +61 -61
- package/dist/chunks/{config-gdxkerjg.js → image-e2fft7m7.js} +25 -25
- package/dist/chunks/{config-4nwde0np.js → image-e31pc1r0.js} +11 -11
- package/dist/chunks/{config-q64gbrx0.js → image-e5dmqxzh.js} +12 -12
- package/dist/chunks/{config-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-0hr671vn.js → image-efn550kk.js} +6 -6
- package/dist/chunks/{config-q6j43mh0.js → image-ekxgv8sm.js} +19 -19
- package/dist/chunks/{config-f62qkzqr.js → image-emwywv8g.js} +5 -5
- package/dist/chunks/{config-6pegg9tv.js → image-eq3ahw1b.js} +6 -6
- package/dist/chunks/{config-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-5m1ag930.js → image-ewjzx6jk.js} +32 -32
- package/dist/chunks/{config-0en0bmy7.js → image-ex2cbdg3.js} +45 -45
- package/dist/chunks/{config-3gk02rwx.js → image-f241ft5h.js} +10 -10
- package/dist/chunks/{config-71az546q.js → image-f75zav2x.js} +2 -2
- package/dist/chunks/{config-mk0p703h.js → image-fd0dxwga.js} +49 -49
- package/dist/chunks/{config-nmgnd4xa.js → image-fkmw5y64.js} +36 -36
- package/dist/chunks/{config-9061k856.js → image-g064njaw.js} +3 -3
- package/dist/chunks/{config-xfkkasph.js → image-g5w8qwbj.js} +4 -4
- package/dist/chunks/{config-57myy5jh.js → image-g6yfr6ja.js} +5 -5
- package/dist/chunks/{config-59s1mvk1.js → image-g8hhgq6a.js} +10 -10
- package/dist/chunks/{config-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-2976515g.js → image-gfdh8bzj.js} +28 -28
- package/dist/chunks/{config-vearjgb9.js → image-gfrj34zz.js} +9 -9
- package/dist/chunks/{config-a1fvfax8.js → image-ggk25htp.js} +21 -21
- package/dist/chunks/{config-1ef8fw0f.js → image-gp3jnpha.js} +18 -18
- package/dist/chunks/{config-bjp5jdpx.js → image-gsre9xy5.js} +35 -35
- package/dist/chunks/{config-8k8g7sg3.js → image-h13r9xpt.js} +35 -35
- package/dist/chunks/{config-s87s977y.js → image-h3texmss.js} +24 -24
- package/dist/chunks/{config-npfk22w9.js → image-h6c7f36b.js} +11 -11
- package/dist/chunks/{config-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-rastk6vp.js → image-h9f0bywq.js} +4 -4
- package/dist/chunks/{config-2wbfhhqg.js → image-hbghfsb3.js} +36 -36
- package/dist/chunks/{config-9jge8gcd.js → image-hd61hmfw.js} +7 -7
- package/dist/chunks/{config-wdt31xjj.js → image-hd6pkj63.js} +5 -5
- package/dist/chunks/{config-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{config-h8tewr7c.js → image-je5crjvy.js} +19 -19
- package/dist/chunks/{config-sr810y7e.js → image-jervv9x6.js} +8 -8
- package/dist/chunks/{config-r6pdta0d.js → image-jjby5vjv.js} +10 -10
- package/dist/chunks/{config-3wbky03f.js → image-jxgn0kws.js} +17 -17
- package/dist/chunks/{config-srq8z0b0.js → image-k70p9jzb.js} +9 -9
- package/dist/chunks/{config-ratrq7cm.js → image-k76krqzs.js} +4 -4
- package/dist/chunks/{config-d0784n89.js → image-k967mgwg.js} +9 -9
- package/dist/chunks/{config-a3kkd9wz.js → image-k9aczath.js} +39 -39
- package/dist/chunks/{config-9e5bzkjp.js → image-kb9j3d72.js} +3 -3
- package/dist/chunks/{config-kc00vhas.js → image-kddtsjha.js} +28 -28
- package/dist/chunks/{config-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-xg76bbf7.js → image-m55qy151.js} +10 -10
- package/dist/chunks/{config-gxqstq58.js → image-m5erm5rf.js} +13 -13
- package/dist/chunks/{config-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-a1gpj94z.js → image-mhkvc446.js} +3 -3
- package/dist/chunks/{config-bw2fgvcj.js → image-mjbndmwc.js} +13 -13
- package/dist/chunks/{config-039b60eg.js → image-mmvvpmn0.js} +15 -15
- package/dist/chunks/{config-2cn6sq9q.js → image-mvd0spm1.js} +18 -18
- package/dist/chunks/{config-68y525ah.js → image-mxdrjzrw.js} +1 -1
- package/dist/chunks/{config-ydd2t6se.js → image-mya2msdv.js} +4 -4
- package/dist/chunks/{config-x2032hyc.js → image-mzs2gyja.js} +11 -11
- package/dist/chunks/image-n3g6rkfy.js +26 -0
- package/dist/chunks/{config-02yxw1dh.js → image-nbanbgc2.js} +17 -17
- package/dist/chunks/{config-jd05ewsb.js → image-nc2cfpfm.js} +24 -24
- package/dist/chunks/{config-29qym6xz.js → image-ngyhb3xw.js} +4 -4
- package/dist/chunks/{config-yjfgwzgf.js → image-nm427c8q.js} +9 -9
- package/dist/chunks/{config-x6gg7ebr.js → image-nme1zdtk.js} +3 -3
- package/dist/chunks/{config-9gg9s006.js → image-nqdj7vdj.js} +11 -11
- package/dist/chunks/{config-2pnhn36q.js → image-nrdmrqsx.js} +21 -21
- package/dist/chunks/{config-hkaedjzy.js → image-nrkkmtgp.js} +3 -3
- package/dist/chunks/{config-khqv75zh.js → image-nrx3kk23.js} +32 -32
- package/dist/chunks/{config-dpkg50ah.js → image-nxm207yx.js} +4 -4
- package/dist/chunks/{config-32cjppg2.js → image-p0249ayz.js} +14 -14
- package/dist/chunks/{config-ce6wrsp0.js → image-p4vrpbsj.js} +19 -19
- package/dist/chunks/{config-dvzj1xmf.js → image-p6frxxff.js} +11 -11
- package/dist/chunks/{config-16se5egg.js → image-pb7necgd.js} +9 -9
- package/dist/chunks/{config-pf31ssb9.js → image-pf31ssb9.js} +1 -1
- package/dist/chunks/{config-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{config-eahhehpg.js → image-pmwpe40e.js} +4 -4
- package/dist/chunks/{config-0j77ygfz.js → image-q0xm7vwc.js} +6 -6
- package/dist/chunks/{config-emjg2krs.js → image-q2n8xn6w.js} +22 -22
- package/dist/chunks/{config-wpza2y5d.js → image-qb3m0ycb.js} +5 -5
- package/dist/chunks/{config-8d5t07gy.js → image-qc8svym5.js} +19 -19
- package/dist/chunks/{config-bws74dgt.js → image-qkqectah.js} +11 -11
- package/dist/chunks/{config-qnc92qwc.js → image-qnc92qwc.js} +1 -1
- package/dist/chunks/{config-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{config-1acjjqhc.js → image-r8xr0va3.js} +4 -4
- package/dist/chunks/{config-ahmh36jn.js → image-rbnwgj7g.js} +39 -39
- package/dist/chunks/{config-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-0gdmqesm.js → image-rhjbct0v.js} +4 -4
- package/dist/chunks/{config-3vfy43nm.js → image-rxncbpv0.js} +49 -49
- package/dist/chunks/{config-7aj6kd9w.js → image-s1a1jfkm.js} +23 -23
- package/dist/chunks/{config-hj27zdey.js → image-s90f1sgn.js} +23 -23
- package/dist/chunks/{config-742w3qnp.js → image-s9e8vyty.js} +4 -4
- package/dist/chunks/{config-j1trcj9r.js → image-skg22tjj.js} +11 -11
- package/dist/chunks/{config-1grq6h62.js → image-skw899y8.js} +8 -8
- package/dist/chunks/{config-91pp1je3.js → image-sp75dm4k.js} +8 -8
- package/dist/chunks/{config-z2qbjhyn.js → image-sqbb0ctm.js} +5 -5
- package/dist/chunks/{config-k76fn4kw.js → image-t7n9q6bq.js} +4 -4
- package/dist/chunks/{config-teb55m4f.js → image-t88vcfww.js} +6 -6
- package/dist/chunks/{config-mhnyy3p3.js → image-t9n9c00b.js} +11 -11
- package/dist/chunks/{config-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-pjpf7z2e.js → image-tb43rk40.js} +32 -32
- package/dist/chunks/{config-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{config-fpecnkgp.js → image-tg7bkhef.js} +5 -5
- package/dist/chunks/{config-788kjrh1.js → image-tk3pg1an.js} +6 -6
- package/dist/chunks/{config-6abf4mqw.js → image-tnnwgabt.js} +22 -22
- package/dist/chunks/{config-c9c3gn5j.js → image-ts2sd72x.js} +43 -43
- package/dist/chunks/{config-xr475zsg.js → image-tvth849s.js} +34 -34
- package/dist/chunks/{config-txb09wt6.js → image-txz9qqe7.js} +50 -50
- package/dist/chunks/{config-067e4bat.js → image-tynzv1y7.js} +5 -5
- package/dist/chunks/{config-m85qxx4h.js → image-v35f36ck.js} +4 -4
- package/dist/chunks/{config-p3v8ywvt.js → image-v4gm4ten.js} +7 -7
- package/dist/chunks/{config-y7gk3f5k.js → image-v86s500e.js} +18 -18
- package/dist/chunks/{config-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{config-xe2bd73a.js → image-vkns81cj.js} +21 -21
- package/dist/chunks/{config-0pkwrnq9.js → image-vrmmyqmt.js} +25 -25
- package/dist/chunks/{config-r5z9qhwf.js → image-vxbg6nr8.js} +9 -9
- package/dist/chunks/{config-dda0p7y7.js → image-vynmvp9h.js} +9 -9
- package/dist/chunks/{config-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-84txncab.js → image-w1eejvng.js} +5 -5
- package/dist/chunks/{config-rxpvvxvj.js → image-w1xxyy7d.js} +15 -15
- package/dist/chunks/{config-0jkw1j53.js → image-w21bzq9q.js} +6 -6
- package/dist/chunks/{config-79nrha2v.js → image-w2t661dz.js} +2 -2
- package/dist/chunks/{config-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-rzj02yv6.js → image-w9sf4be9.js} +32 -32
- package/dist/chunks/{config-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{config-5js8eyvh.js → image-wg4cdmsq.js} +4 -4
- package/dist/chunks/{config-tjfpgrgh.js → image-wjc917hc.js} +45 -45
- package/dist/chunks/{config-7dask3qj.js → image-wmdmptdr.js} +12 -12
- package/dist/chunks/{config-036ct16z.js → image-wt27nz7e.js} +23 -23
- package/dist/chunks/{config-5veyabd2.js → image-wtvgb6mb.js} +15 -15
- package/dist/chunks/{config-k9nc079h.js → image-x0aqyzcq.js} +10 -10
- package/dist/chunks/{config-d36aja4c.js → image-x1gcyfqe.js} +5 -5
- package/dist/chunks/{config-s943tzbd.js → image-x2c6m9mw.js} +15 -15
- package/dist/chunks/{config-m5216ary.js → image-x535bvex.js} +29 -29
- package/dist/chunks/{config-6vgde3zk.js → image-xby1wn0p.js} +37 -37
- package/dist/chunks/{config-dcmbj32c.js → image-xdkh3vb7.js} +3 -3
- package/dist/chunks/{config-xkntkrq7.js → image-xkntkrq7.js} +2 -2
- package/dist/chunks/{config-yz8hgrcx.js → image-xrrp2a3c.js} +315 -315
- package/dist/chunks/{config-ptfemw22.js → image-xtxja8j6.js} +11 -11
- package/dist/chunks/{config-qxjc9qry.js → image-xyafkbt0.js} +3 -3
- package/dist/chunks/{config-hsx768q8.js → image-y0krzn8k.js} +5 -5
- package/dist/chunks/{config-sernq3xd.js → image-y1btehaa.js} +31 -31
- package/dist/chunks/{config-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-krr6399x.js → image-ybwa87jg.js} +29 -29
- package/dist/chunks/{config-zs3whrh5.js → image-yg3wy2g6.js} +25 -25
- package/dist/chunks/{config-v6w7gd7s.js → image-yh5dsb81.js} +8 -8
- package/dist/chunks/{config-d3gmsek4.js → image-yjanq1b2.js} +38 -38
- package/dist/chunks/{config-r9w3djhf.js → image-yr715y08.js} +2 -2
- package/dist/chunks/{config-9gg44h0f.js → image-yzhf6sg2.js} +31 -31
- package/dist/chunks/{config-hdghy7tf.js → image-yzscdfym.js} +16 -16
- package/dist/chunks/{config-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-xrx6c0nz.js → image-z5kqk1xz.js} +12 -12
- package/dist/chunks/{config-yfxcqzrv.js → image-z8h2b6zj.js} +17 -17
- package/dist/chunks/{config-51wqefvx.js → image-zaf7eyje.js} +4 -4
- package/dist/chunks/{config-esbsjr8h.js → image-zn1havqb.js} +37 -37
- package/dist/chunks/{config-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +133 -133
- 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 +124 -124
- 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 +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- 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 +84 -84
- package/dist/database/database.js +67 -67
- 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 +77 -77
- 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 +221 -221
- 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 +102 -102
- 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 +106 -106
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- 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 +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +120 -120
- 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 +75 -75
- package/dist/plugin/command.js +101 -101
- 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 +118 -118
- 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 +118 -118
- 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 +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- 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 +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/verbosity.js +92 -92
- 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 +2 -2
- 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 +221 -221
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- 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 +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- 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 +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +115 -115
- 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 +127 -127
- 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 +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +97 -97
- 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 +5 -5
- 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 +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/config-636tz5nb.js +0 -26
- package/dist/chunks/config-aa03k2gr.js +0 -253
- /package/dist/chunks/{config-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → image-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{config-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{config-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-bw78ga2c.js → image-bw78ga2c.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./image-e5dmqxzh.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-qc8svym5.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service43,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
24
|
+
available: () => available2,
|
|
25
|
+
configured: () => configured7,
|
|
26
|
+
layer: () => layer20,
|
|
27
|
+
node: () => node47
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,8 +35,8 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
+
var Options7 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,15 +46,15 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service43 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service80;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service43.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer20 = makeLayer();
|
|
263
|
+
var configured7 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service43,
|
|
265
|
+
layer: options === undefined ? layer20 : makeLayer(options),
|
|
266
|
+
deps: [node84, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node47 = configured7();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options7, UnavailableError3, NotFoundError5, Service43, layer20, configured7, node47, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./image-e5dmqxzh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service33,
|
|
7
|
+
node36
|
|
8
|
+
} from "./image-2zwjzpyw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service65,
|
|
11
|
+
node68
|
|
12
|
+
} from "./image-22vh467z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service37,
|
|
15
|
+
node41
|
|
16
|
+
} from "./image-vrmmyqmt.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
|
+
layer: () => layer14,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service32 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service33;
|
|
42
|
+
const tools = yield* Service37;
|
|
43
|
+
const bus = yield* Service80;
|
|
44
|
+
const permission = yield* Service65;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node35 = makeLocationNode({
|
|
124
|
+
service: Service32,
|
|
125
|
+
layer: layer14,
|
|
126
|
+
deps: [node41, node36, node84, node68]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name14,
|
|
129
|
+
export { namespace2, name14, Service32, layer14, node35, exports_mcp3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./image-p0249ayz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./image-fd0dxwga.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-yzhf6sg2.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin47
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin47 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service40;
|
|
35
|
+
const location = yield* Service77;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin47, exports_reference };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./image-x535bvex.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./image-22vh467z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./image-gfdh8bzj.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin24,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name7 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID7,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin24 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service65;
|
|
53
|
+
const forms = yield* Service55;
|
|
54
|
+
const websearch = yield* Service56;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name7];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name7, NO_RESULTS2, description5, Input7, Plugin24, exports_websearch };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-tvth849s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./image-p0249ayz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node68
|
|
14
|
+
} from "./image-22vh467z.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
node: () => node16,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service77;
|
|
55
|
+
const permission = yield* Service65;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service14.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node81, node68] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node40
|
|
5
|
+
} from "./image-qkqectah.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-c35597j6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node71
|
|
13
|
+
} from "./image-4a0nv7mx.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-22vh467z.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-e31pc1r0.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./image-vrmmyqmt.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./image-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service28,
|
|
28
|
+
node31
|
|
29
|
+
} from "./image-2h7yfs5w.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make16
|
|
32
|
+
} from "./image-g5w8qwbj.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./image-075nkgpd.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./image-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service27,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer11,
|
|
48
|
+
node: () => node30,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
class
|
|
158
|
+
class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
159
159
|
}
|
|
160
|
-
var
|
|
161
|
-
const hooks = yield*
|
|
162
|
-
const transport = yield*
|
|
160
|
+
var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
161
|
+
const hooks = yield* Service68;
|
|
162
|
+
const transport = yield* Service28;
|
|
163
163
|
const app = yield* Metadata2;
|
|
164
164
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
165
165
|
const session = input.session;
|
|
@@ -167,7 +167,7 @@ var layer10 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
167
167
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
168
168
|
const tools = input.tools ?? {
|
|
169
169
|
definitions: [],
|
|
170
|
-
execute: () => new
|
|
170
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
171
171
|
};
|
|
172
172
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
173
173
|
const shaped = yield* shape({
|
|
@@ -264,17 +264,17 @@ var layer10 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service27.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node30 = makeLocationNode({
|
|
275
|
+
service: Service27,
|
|
276
|
+
layer: layer11,
|
|
277
|
+
deps: [node71, node31, node40]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer11, node30, exports_model_request };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-22vh467z.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin6
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin6 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin6, exports_plan };
|