@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
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service40
|
|
4
|
+
} from "./image-fd0dxwga.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service36
|
|
7
|
+
} from "./image-t9n9c00b.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin34 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service40;
|
|
27
|
+
const output = yield* Service36;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin41 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin34, exports_tool_output };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info19,
|
|
6
|
+
ID9,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-675vp0tw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service40
|
|
11
|
+
} from "./image-fd0dxwga.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin17,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin17 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info19.make({
|
|
434
|
+
id: ID9.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info19.make({
|
|
441
|
+
id: ID9.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service40;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin17, exports_skill };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service35,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node38
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service35 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service35, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service35.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service39, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node38 = makeGlobalNode({ service: Service35, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service35, node38, exports_environment };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-qkqectah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./image-e5dmqxzh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./image-y1btehaa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID5,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-ybwa87jg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID4
|
|
17
|
+
} from "./image-gsre9xy5.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID3,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-1yecq4ds.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID4.make("digitalocean");
|
|
31
|
+
var integrationID = ID5.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service80;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID3.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./image-e5dmqxzh.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
7
|
-
node85
|
|
8
|
-
} from "./config-rjdpmmn8.js";
|
|
8
|
+
} from "./image-c2yxxqq1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./image-p0249ayz.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-pf31ssb9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service41,
|
|
18
|
+
node45
|
|
19
|
+
} from "./image-9m7vv79v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./image-jxgn0kws.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service10,
|
|
25
|
+
node12
|
|
26
|
+
} from "./image-djszqvmq.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service8,
|
|
36
|
+
node: () => node10
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service77;
|
|
47
|
+
const watcher = yield* Service41;
|
|
48
|
+
const bus = yield* Service80;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
|
+
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service8.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node10 = makeLocationNode({
|
|
106
|
+
service: Service8,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node45, FSUtil.node, node81, node87, node84, node20, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service8, node10, exports_location_watcher };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID4,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-gsre9xy5.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service50,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node53
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID4,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service50 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service50.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node53 = makeLocationNode({ service: Service50, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service50, locationLayer2, node53, exports_aisdk };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service40
|
|
4
|
+
} from "./image-fd0dxwga.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./image-w9sf4be9.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin45 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service40;
|
|
27
|
+
const snapshot = yield* Service72;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-nrkkmtgp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./image-e5dmqxzh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node72
|
|
12
|
+
} from "./image-yzscdfym.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service46,
|
|
15
|
+
node49
|
|
16
|
+
} from "./image-w21bzq9q.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./image-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service45
|
|
26
|
+
} from "./image-t7n9q6bq.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service66,
|
|
29
|
+
node69
|
|
30
|
+
} from "./image-0ctpqd57.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-hd6pkj63.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./image-wt27nz7e.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./image-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service44,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer21,
|
|
47
|
+
node: () => node48,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service44 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer21 = Layer.effect(Service44, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service66;
|
|
64
|
+
const instances = yield* Service46;
|
|
65
|
+
const bus = yield* Service80;
|
|
66
|
+
const jobs = yield* Service69;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer18 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make18({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service44.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node48 = makeGlobalNode({
|
|
127
|
+
service: Service44,
|
|
128
|
+
layer: layer21,
|
|
129
|
+
deps: [node69, node49, node84, node88, node72]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service50, Service50.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service44, terminal2, layer21, node48, noopLayer2, exports_execution };
|