@opencode/core 0.0.0-dev-21116 → 0.0.0-dev-21119
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +77 -77
- package/dist/chunks/{location-activity-7w4bhta1.js → mime-06x7m6q7.js} +10 -10
- package/dist/chunks/{location-activity-fdms3n6w.js → mime-0996nyz8.js} +9 -9
- package/dist/chunks/{location-activity-0yqms5a8.js → mime-0edhjb9w.js} +8 -8
- package/dist/chunks/{location-activity-7dqw4kz8.js → mime-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-activity-h3ybnmqn.js → mime-0khdd13p.js} +11 -11
- package/dist/chunks/{location-activity-zywexam0.js → mime-0qq6emnd.js} +20 -20
- package/dist/chunks/{location-activity-6zb95cqr.js → mime-0tfsyrpf.js} +32 -32
- package/dist/chunks/{location-activity-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/mime-0wya7vgq.js +257 -0
- package/dist/chunks/{location-activity-vtt0yr3x.js → mime-1813d5zh.js} +11 -11
- package/dist/chunks/{location-activity-1acjjqhc.js → mime-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-activity-rpbdp672.js → mime-1mbcpngz.js} +9 -9
- package/dist/chunks/{location-activity-khmqacep.js → mime-1w2wqhfv.js} +4 -4
- package/dist/chunks/{location-activity-885zk358.js → mime-1x42nc8n.js} +7 -7
- package/dist/chunks/{location-activity-rm208tkv.js → mime-1xdv5cb7.js} +21 -21
- package/dist/chunks/{location-activity-y0wce1wp.js → mime-1yj8069v.js} +9 -9
- package/dist/chunks/{location-activity-tnqpd6ph.js → mime-1zgyk884.js} +1 -1
- package/dist/chunks/{location-activity-1r0das4r.js → mime-24ame65w.js} +14 -14
- package/dist/chunks/{location-activity-7v4rj60x.js → mime-257nsbrj.js} +7 -7
- package/dist/chunks/{location-activity-br8seaqv.js → mime-26dnwpme.js} +14 -14
- package/dist/chunks/{location-activity-hqdpz7fd.js → mime-26y8f33d.js} +20 -20
- package/dist/chunks/{location-activity-kwg053h0.js → mime-2fj7aagk.js} +9 -9
- package/dist/chunks/{location-activity-n8y2sw7q.js → mime-2qt261xr.js} +20 -20
- package/dist/chunks/{location-activity-1hrt62ka.js → mime-2tvk5mtz.js} +15 -15
- package/dist/chunks/{location-activity-an90y2fs.js → mime-2xfyb4sf.js} +21 -21
- package/dist/chunks/{location-activity-ftf3f56w.js → mime-32wnc05c.js} +42 -42
- package/dist/chunks/{location-activity-7xn692r2.js → mime-379cp2gh.js} +11 -11
- package/dist/chunks/{location-activity-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-pnzf6mjf.js → mime-3g8j9he4.js} +1 -1
- package/dist/chunks/{location-activity-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-3hwn7j4h.js → mime-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-activity-jbpe00gr.js → mime-3knwk2yy.js} +14 -14
- package/dist/chunks/{location-activity-g8mv3vbb.js → mime-3nx13vd1.js} +12 -12
- package/dist/chunks/{location-activity-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-m7dgb5ss.js → mime-48291crv.js} +37 -37
- package/dist/chunks/{location-activity-rd2439jy.js → mime-4bgv566w.js} +14 -14
- package/dist/chunks/{location-activity-pct1c8gm.js → mime-4bm5ja14.js} +4 -4
- package/dist/chunks/{location-activity-dr5eah27.js → mime-4k6knvkg.js} +14 -14
- package/dist/chunks/{location-activity-n0vg39hr.js → mime-4mbxkd0d.js} +29 -29
- package/dist/chunks/{location-activity-bbwqysz6.js → mime-4mswrkyv.js} +26 -26
- package/dist/chunks/{location-activity-6kgr2hwn.js → mime-50jpykkh.js} +26 -26
- package/dist/chunks/{location-activity-tp9y33dj.js → mime-50rk2r5x.js} +21 -21
- package/dist/chunks/{location-activity-mmw1r56x.js → mime-51swzj6t.js} +16 -16
- package/dist/chunks/{location-activity-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{location-activity-31nf1cay.js → mime-5aqx2gjb.js} +15 -15
- package/dist/chunks/{location-activity-qxwe9s5s.js → mime-5e8xnemz.js} +17 -17
- package/dist/chunks/{location-activity-z3a68ehz.js → mime-5em1s5yr.js} +5 -5
- package/dist/chunks/{location-activity-vkzwbzz6.js → mime-5m6ycn5p.js} +82 -82
- package/dist/chunks/{location-activity-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-activity-22hz2n1y.js → mime-5mvk3qhm.js} +19 -19
- package/dist/chunks/{location-activity-y0mc46pw.js → mime-5rnnm2b5.js} +9 -9
- package/dist/chunks/{location-activity-3fcqhnqr.js → mime-62k4brkg.js} +16 -16
- package/dist/chunks/{location-activity-98wndak7.js → mime-645fnesv.js} +11 -11
- package/dist/chunks/{location-activity-twek10b7.js → mime-6a038xxq.js} +22 -22
- package/dist/chunks/{location-activity-82pp9sjz.js → mime-6cge8e85.js} +2 -2
- package/dist/chunks/{location-activity-mektfmfm.js → mime-6kc7f11n.js} +27 -27
- package/dist/chunks/{location-activity-z2zdhp3c.js → mime-6keqpt4k.js} +11 -11
- package/dist/chunks/{location-activity-9hwaqfsw.js → mime-6kzp9tjq.js} +5 -5
- package/dist/chunks/{location-activity-r293zhq8.js → mime-6m3a3zsn.js} +24 -24
- package/dist/chunks/{location-activity-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-activity-dqa0467r.js → mime-73gwzncq.js} +26 -26
- package/dist/chunks/{location-activity-775gj3j1.js → mime-775gj3j1.js} +2 -2
- package/dist/chunks/{location-activity-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-v99ca67s.js → mime-7bmy2p1c.js} +15 -15
- package/dist/chunks/{location-activity-barbp01x.js → mime-7jrnfsmg.js} +28 -28
- package/dist/chunks/{location-activity-q0em4q9h.js → mime-7p8kjgkc.js} +26 -26
- package/dist/chunks/{location-activity-0fr598ry.js → mime-7pt9bbzt.js} +15 -15
- package/dist/chunks/{location-activity-zrq598sk.js → mime-7tz1q255.js} +41 -41
- package/dist/chunks/{location-activity-1y9egncj.js → mime-87c632vd.js} +9 -9
- package/dist/chunks/{location-activity-c1q3d8y0.js → mime-8fj009t0.js} +27 -27
- package/dist/chunks/{location-activity-8m6m0r52.js → mime-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-activity-8sze2n9a.js → mime-8sze2n9a.js} +2 -2
- package/dist/chunks/{location-activity-p37cw4rj.js → mime-8v6pyhej.js} +8 -8
- package/dist/chunks/{location-activity-91qna3x0.js → mime-91qna3x0.js} +3 -3
- package/dist/chunks/{location-activity-jqd662qe.js → mime-937wgehq.js} +18 -18
- package/dist/chunks/{location-activity-2vgzs72b.js → mime-94s48bjb.js} +5 -5
- package/dist/chunks/{location-activity-awamcnwp.js → mime-98gc68s0.js} +13 -13
- package/dist/chunks/{location-activity-y980df25.js → mime-9cadjba2.js} +86 -86
- package/dist/chunks/{location-activity-qsvg0cyx.js → mime-9cjck60g.js} +4 -4
- package/dist/chunks/{location-activity-2yv7e28z.js → mime-9gcbmtf6.js} +3 -3
- package/dist/chunks/{location-activity-r5wgqceq.js → mime-9gea571p.js} +6 -6
- package/dist/chunks/{location-activity-78bfm08k.js → mime-9mn7ecp3.js} +3 -3
- package/dist/chunks/{location-activity-h4v92jj0.js → mime-9tbmg4zs.js} +13 -13
- package/dist/chunks/{location-activity-v1xxcb82.js → mime-a44gt5xs.js} +6 -6
- package/dist/chunks/{location-activity-gkc0tfr5.js → mime-abdpmft5.js} +20 -20
- package/dist/chunks/{location-activity-p9ze2szk.js → mime-ad7pw1ct.js} +187 -187
- package/dist/chunks/{location-activity-zee1rnkq.js → mime-afdssyjb.js} +4 -4
- package/dist/chunks/{location-activity-cz443yjj.js → mime-ajfzj4mk.js} +14 -14
- package/dist/chunks/{location-activity-my4zabxr.js → mime-arz7hw7x.js} +2 -2
- package/dist/chunks/{location-activity-bryf1yr4.js → mime-b4gdj7tp.js} +21 -21
- package/dist/chunks/{location-activity-233xfx3m.js → mime-b9hathhj.js} +8 -8
- package/dist/chunks/{location-activity-6xpqw604.js → mime-bbhm8a06.js} +4 -4
- package/dist/chunks/{location-activity-n61013np.js → mime-bfegkxfd.js} +8 -8
- package/dist/chunks/{location-activity-9jsva79f.js → mime-bg9zqf96.js} +17 -17
- package/dist/chunks/{location-activity-97aeaand.js → mime-bmr56wjg.js} +4 -4
- package/dist/chunks/{location-activity-manp0cpy.js → mime-bw6webpe.js} +5 -5
- package/dist/chunks/{location-activity-25ngyhh1.js → mime-bzt58wjm.js} +19 -19
- package/dist/chunks/{location-activity-g6pg53te.js → mime-c0gq0h7y.js} +36 -36
- package/dist/chunks/{location-activity-c1fqxshp.js → mime-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-activity-szypmy25.js → mime-c26ykrmf.js} +15 -15
- package/dist/chunks/{location-activity-76rvckpe.js → mime-c41dsvxf.js} +5 -5
- package/dist/chunks/{location-activity-v0t9gzb7.js → mime-cqrkz9q1.js} +23 -23
- package/dist/chunks/{location-activity-47dscvsd.js → mime-d2w1n2xf.js} +36 -36
- package/dist/chunks/{location-activity-p2rqntxx.js → mime-dk1p6m61.js} +28 -28
- package/dist/chunks/{location-activity-1jy6aa9g.js → mime-dnb4mhww.js} +22 -22
- package/dist/chunks/{location-activity-dqxsqydv.js → mime-dqxsqydv.js} +1 -1
- package/dist/chunks/{location-activity-dssbfrwz.js → mime-dssbfrwz.js} +2 -2
- package/dist/chunks/{location-activity-r9y2scxt.js → mime-dt9n2fs7.js} +11 -11
- package/dist/chunks/{location-activity-fdq4gg28.js → mime-e1n2jcbz.js} +19 -19
- package/dist/chunks/{location-activity-1rpe38qp.js → mime-e49kr0d2.js} +17 -17
- package/dist/chunks/{location-activity-rhjbct0v.js → mime-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-activity-nma959mg.js → mime-ed1g29hy.js} +3 -3
- package/dist/chunks/{location-activity-82xtqdka.js → mime-ede5wcxf.js} +30 -30
- package/dist/chunks/{location-activity-eej6y6fw.js → mime-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-activity-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-efjne1a4.js → mime-f07m8da5.js} +8 -8
- package/dist/chunks/{location-activity-c623tzsd.js → mime-f1k01428.js} +11 -11
- package/dist/chunks/mime-f81tjggh.js +18 -0
- package/dist/chunks/{location-activity-fcy631f0.js → mime-fcy631f0.js} +1 -1
- package/dist/chunks/{location-activity-bqwheb6v.js → mime-fnnem5xq.js} +11 -11
- package/dist/chunks/{location-activity-1j5n3hjk.js → mime-frg9ysna.js} +11 -11
- package/dist/chunks/{location-activity-djszqvmq.js → mime-ft3hqk2c.js} +9 -9
- package/dist/chunks/{location-activity-9rbp3pn9.js → mime-g3y3bf0v.js} +11 -11
- package/dist/chunks/{location-activity-8m2c8qms.js → mime-g7mjwrhf.js} +45 -45
- package/dist/chunks/{location-activity-pvr43m5y.js → mime-ga6ws227.js} +9 -9
- package/dist/chunks/{location-activity-6j14smeq.js → mime-gbkm41tc.js} +10 -10
- package/dist/chunks/{location-activity-pgcnz5as.js → mime-gbsbg1ag.js} +23 -23
- package/dist/chunks/{location-activity-qbb5stmg.js → mime-gbwdknbb.js} +55 -55
- package/dist/chunks/{location-activity-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-j03v8vxq.js → mime-gfzd9sc2.js} +29 -29
- package/dist/chunks/{location-activity-38zq9yk1.js → mime-ggvv84e1.js} +21 -21
- package/dist/chunks/{location-activity-yn1vw9j7.js → mime-ghyvahys.js} +9 -9
- package/dist/chunks/{location-activity-z519dwkd.js → mime-gj67bzc6.js} +5 -5
- package/dist/chunks/{location-activity-hz1863me.js → mime-gmzhfpxm.js} +14 -14
- package/dist/chunks/{location-activity-2vpkc821.js → mime-gpexb2qm.js} +29 -29
- package/dist/chunks/{location-activity-7s451enq.js → mime-gs3s1a1g.js} +8 -8
- package/dist/chunks/{location-activity-4tg28d5s.js → mime-h0yj29dc.js} +17 -17
- package/dist/chunks/{location-activity-sjyxjbds.js → mime-h5ww2p3w.js} +18 -18
- package/dist/chunks/{location-activity-vfne55rr.js → mime-h61sdrsw.js} +42 -42
- package/dist/chunks/{location-activity-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-h7s7r6s9.js → mime-h7s7r6s9.js} +2 -2
- package/dist/chunks/{location-activity-8pg99v9w.js → mime-h8j41t1h.js} +9 -9
- package/dist/chunks/{location-activity-hgz4x7wa.js → mime-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-activity-ywf9yrgb.js → mime-hpm76wxx.js} +13 -13
- package/dist/chunks/{location-activity-xrpc30gv.js → mime-httwf4x1.js} +34 -34
- package/dist/chunks/{location-activity-jt44cy80.js → mime-j3n52w2v.js} +11 -11
- package/dist/chunks/{location-activity-veegnczg.js → mime-j5ha55bj.js} +3 -3
- package/dist/chunks/mime-j94ke91x.js +26 -0
- package/dist/chunks/{location-activity-jnwc4tf5.js → mime-jddvfw47.js} +37 -37
- package/dist/chunks/{location-activity-sspzjg12.js → mime-jfnf3v9x.js} +5 -5
- package/dist/chunks/{location-activity-31ec5fg2.js → mime-k5ftg1z4.js} +9 -9
- package/dist/chunks/{location-activity-b5xgzcz6.js → mime-k8y1s9ga.js} +5 -5
- package/dist/chunks/{location-activity-dx0ejjx2.js → mime-kce0d8a1.js} +29 -29
- package/dist/chunks/{location-activity-2e69v126.js → mime-kgj449h0.js} +11 -11
- package/dist/chunks/{location-activity-bxqk5pf5.js → mime-kjd40bgk.js} +5 -5
- package/dist/chunks/{location-activity-v5ahde79.js → mime-kspfg2w0.js} +4 -4
- package/dist/chunks/{location-activity-kwb1v3vj.js → mime-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-activity-2hdb6mm3.js → mime-kwx1ww77.js} +17 -17
- package/dist/chunks/{location-activity-f26h5a57.js → mime-kwy55srt.js} +33 -33
- package/dist/chunks/{location-activity-xnmwrw5h.js → mime-kybkkqm3.js} +3 -3
- package/dist/chunks/{location-activity-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-maspj1v3.js → mime-maspj1v3.js} +1 -1
- package/dist/chunks/{location-activity-q4mdckp6.js → mime-mcr03ndm.js} +18 -18
- package/dist/chunks/{location-activity-89qg3k4f.js → mime-mnfrh10z.js} +3 -3
- package/dist/chunks/{location-activity-rs1b2vfm.js → mime-mppfm4c6.js} +48 -48
- package/dist/chunks/{location-activity-bjvwxt6s.js → mime-msc0gva9.js} +4 -4
- package/dist/chunks/{location-activity-fjphygzd.js → mime-n11d0hkw.js} +74 -74
- package/dist/chunks/{location-activity-yrcj3v3g.js → mime-n1n192bv.js} +4 -4
- package/dist/chunks/{location-activity-6d7ejtsn.js → mime-n9p66jfm.js} +13 -13
- package/dist/chunks/{location-activity-3g642jy4.js → mime-nh0tmm0e.js} +10 -10
- package/dist/chunks/mime-nkb1n3j8.js +513 -0
- package/dist/chunks/{location-activity-hn5gzqc5.js → mime-nnakm2hx.js} +50 -50
- package/dist/chunks/{location-activity-drnf6xwf.js → mime-nqxj0yn4.js} +2 -2
- package/dist/chunks/{location-activity-n42sq3vz.js → mime-nyvydp7b.js} +28 -28
- package/dist/chunks/{location-activity-hm5ta7zn.js → mime-nz6b6nz3.js} +13 -13
- package/dist/chunks/{location-activity-0w4k4zt4.js → mime-p89y30xc.js} +14 -14
- package/dist/chunks/{location-activity-k2cvta92.js → mime-pa1hga7e.js} +50 -50
- package/dist/chunks/{location-activity-ahwgwbxt.js → mime-phgdbqsx.js} +22 -22
- package/dist/chunks/{location-activity-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-w7hve04s.js → mime-ppz59prq.js} +16 -16
- package/dist/chunks/{location-activity-c0xfb54r.js → mime-prhbs91y.js} +30 -30
- package/dist/chunks/{location-activity-nra7v7m3.js → mime-pzb6m0c1.js} +3 -3
- package/dist/chunks/{location-activity-mseqsb80.js → mime-q20qzr42.js} +24 -24
- package/dist/chunks/{location-activity-et9nh4c6.js → mime-q3973q30.js} +22 -22
- package/dist/chunks/{location-activity-25yddszk.js → mime-qb8tpnra.js} +6 -6
- package/dist/chunks/{location-activity-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-activity-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-y4xa9smp.js → mime-r90f5gsb.js} +27 -27
- package/dist/chunks/{location-activity-3qzc4gfk.js → mime-rbqssanr.js} +20 -20
- package/dist/chunks/{location-activity-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-rert0e01.js → mime-rert0e01.js} +2 -2
- package/dist/chunks/{location-activity-em4ktxs4.js → mime-rgt06mxm.js} +22 -22
- package/dist/chunks/{location-activity-rj3eygr5.js → mime-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-activity-8wbxkt1z.js → mime-rk7s9xkn.js} +4 -4
- package/dist/chunks/{location-activity-2h4ac7ep.js → mime-rqb9q7tr.js} +47 -47
- package/dist/chunks/{location-activity-f5d0tsy6.js → mime-rsxy8r8z.js} +15 -15
- package/dist/chunks/{location-activity-sdtvkdp6.js → mime-s569btnn.js} +28 -28
- package/dist/chunks/{location-activity-j19cg7pc.js → mime-s72s616d.js} +21 -21
- package/dist/chunks/{location-activity-sa8ekw3f.js → mime-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-activity-m0pwfdpy.js → mime-sdk5aha4.js} +29 -29
- package/dist/chunks/{location-activity-x63kpka7.js → mime-sg28zk34.js} +5 -5
- package/dist/chunks/{location-activity-jy2t3mh2.js → mime-sytmb9b1.js} +11 -11
- package/dist/chunks/{location-activity-syv4x271.js → mime-syv4x271.js} +1 -1
- package/dist/chunks/{location-activity-en0t88xb.js → mime-t2p18p8e.js} +15 -15
- package/dist/chunks/{location-activity-bhghsj2q.js → mime-t2tc6qww.js} +14 -14
- package/dist/chunks/{location-activity-mc713d6r.js → mime-t5m4kp94.js} +10 -10
- package/dist/chunks/{location-activity-8rqycdgd.js → mime-t6vsspdg.js} +4 -4
- package/dist/chunks/{location-activity-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-ajyyt86f.js → mime-tg2qy3g7.js} +13 -13
- package/dist/chunks/{location-activity-qc8q5r6e.js → mime-tjcf3m8y.js} +23 -23
- package/dist/chunks/{location-activity-ajr01xrm.js → mime-tkkjm4kc.js} +29 -29
- package/dist/chunks/{location-activity-tm0kqsz3.js → mime-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-activity-a3jrx5p6.js → mime-tmzf0vky.js} +5 -5
- package/dist/chunks/{location-activity-84dxpqh8.js → mime-tn1s5sxh.js} +43 -43
- package/dist/chunks/{location-activity-5wcxjks5.js → mime-tn4cnehs.js} +16 -16
- package/dist/chunks/{location-activity-9rwahqfc.js → mime-ttq7y0x6.js} +24 -24
- package/dist/chunks/{location-activity-yj7k2rcj.js → mime-txssyqt7.js} +3 -3
- package/dist/chunks/{location-activity-tyytaxap.js → mime-tyytaxap.js} +1 -1
- package/dist/chunks/{location-activity-6g7e4dd5.js → mime-v0es1rhs.js} +7 -7
- package/dist/chunks/{location-activity-rbnf5ncb.js → mime-v0fwbcvh.js} +4 -4
- package/dist/chunks/{location-activity-pggf9bed.js → mime-v2eevsp4.js} +50 -50
- package/dist/chunks/{location-activity-y0n857rf.js → mime-v5bqs9gq.js} +6 -6
- package/dist/chunks/{location-activity-v7p4zvkq.js → mime-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-activity-zkr320b2.js → mime-v8k6c2sz.js} +8 -8
- package/dist/chunks/{location-activity-fzk4sesx.js → mime-vc8hkr0r.js} +8 -8
- package/dist/chunks/{location-activity-3x1kfvnn.js → mime-vd49e9sn.js} +19 -19
- package/dist/chunks/{location-activity-1yzxaxqf.js → mime-vehbq5rr.js} +17 -17
- package/dist/chunks/{location-activity-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-g7xgz7cz.js → mime-vg78qacp.js} +15 -15
- package/dist/chunks/{location-activity-s4aas6an.js → mime-vmx6qkmp.js} +46 -46
- package/dist/chunks/{location-activity-m2zns23q.js → mime-vpxh7gmj.js} +47 -47
- package/dist/chunks/{location-activity-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-qmms8yr0.js → mime-w0yh619h.js} +5 -5
- package/dist/chunks/{location-activity-84txncab.js → mime-w1eejvng.js} +5 -5
- package/dist/chunks/{location-activity-68zb2d1e.js → mime-w3fq0kf0.js} +13 -13
- package/dist/chunks/{location-activity-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-sm965ndy.js → mime-w3x9v1nk.js} +8 -8
- package/dist/chunks/{location-activity-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-kqx1b4hy.js → mime-wg81ww38.js} +4 -4
- package/dist/chunks/{location-activity-kv7y7kmv.js → mime-wm7g79fc.js} +5 -5
- package/dist/chunks/{location-activity-kn99t3mh.js → mime-wp861k42.js} +11 -11
- package/dist/chunks/{location-activity-xw7ne2dg.js → mime-wv5dgd5c.js} +4 -4
- package/dist/chunks/{location-activity-7njqhrxd.js → mime-wxhg1m6e.js} +17 -17
- package/dist/chunks/{location-activity-sg9tey31.js → mime-x4nc1tme.js} +39 -39
- package/dist/chunks/{location-activity-x661k3y3.js → mime-x661k3y3.js} +1 -1
- package/dist/chunks/{location-activity-9y4mg71e.js → mime-xaa6nkpb.js} +30 -30
- package/dist/chunks/{location-activity-7zxw3sb1.js → mime-xfdjfhs2.js} +4 -4
- package/dist/chunks/{location-activity-xfkkasph.js → mime-xfkkasph.js} +1 -1
- package/dist/chunks/{location-activity-8hganbw3.js → mime-xptcm9df.js} +10 -10
- package/dist/chunks/{location-activity-t5q4szeh.js → mime-xrjwaapg.js} +1 -1
- package/dist/chunks/{location-activity-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-2gzjhff6.js → mime-y38ndvg9.js} +10 -10
- package/dist/chunks/{location-activity-y71avatq.js → mime-y71avatq.js} +1 -1
- package/dist/chunks/{location-activity-q9d5bjb0.js → mime-ya2r76cd.js} +25 -25
- package/dist/chunks/{location-activity-4adxw2q2.js → mime-yemq3d8b.js} +6 -6
- package/dist/chunks/{location-activity-gax0f08y.js → mime-yk2gwjmj.js} +8 -8
- package/dist/chunks/{location-activity-qg8v50jt.js → mime-yn1nj20k.js} +19 -19
- package/dist/chunks/{location-activity-jc6byasy.js → mime-yp81pb47.js} +24 -24
- package/dist/chunks/{location-activity-d4qncd37.js → mime-ysc50fz4.js} +3 -3
- package/dist/chunks/{location-activity-bjx1sjef.js → mime-ywt8jp22.js} +9 -9
- package/dist/chunks/{location-activity-a1cb12rc.js → mime-yz3m3e59.js} +6 -6
- package/dist/chunks/{location-activity-4dqk114x.js → mime-yzk6999y.js} +4 -4
- package/dist/chunks/{location-activity-z8b913aa.js → mime-z08vcpzb.js} +32 -32
- package/dist/chunks/{location-activity-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-fqt7gvew.js → mime-z0dmr40s.js} +8 -8
- package/dist/chunks/{location-activity-54m28db1.js → mime-z23ev5gv.js} +22 -22
- package/dist/chunks/{location-activity-z79jzbz0.js → mime-z8gx3bdb.js} +30 -30
- package/dist/chunks/{location-activity-683n0b2x.js → mime-zhwhac1k.js} +4 -4
- package/dist/chunks/{location-activity-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-6qxjh0j7.js → mime-zrrn2jt3.js} +24 -24
- package/dist/chunks/{location-activity-0xkdrm0x.js → mime-zv5p76hg.js} +20 -20
- package/dist/chunks/{location-activity-ezgv0xay.js → mime-zws091p9.js} +13 -13
- package/dist/chunks/{location-activity-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/location-activity-3ec4kbm9.js +0 -26
- package/dist/chunks/location-activity-be4816py.js +0 -257
- package/dist/chunks/location-activity-q509s3k3.js +0 -18
- package/dist/chunks/location-activity-r1tpvc7s.js +0 -513
- /package/dist/chunks/{location-activity-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → mime-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-activity-pyv0edze.js → mime-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wjj7prxr.js → mime-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-x661k3y3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./mime-4bgv566w.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./mime-gpexb2qm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-xaa6nkpb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./mime-prhbs91y.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./mime-kwy55srt.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-ghyvahys.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-06x7m6q7.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./mime-b4gdj7tp.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./mime-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service75;
|
|
167
|
+
const bus = yield* Service85;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID13.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID13.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID13.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./mime-h61sdrsw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./mime-5rnnm2b5.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin15
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin15 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
|
+
const image = yield* Service50;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin23 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin15, exports_image };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-pa1hga7e.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin39
|
|
3
|
+
} from "./mime-z0dmr40s.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin38
|
|
6
|
+
} from "./mime-ga6ws227.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin36
|
|
9
|
+
} from "./mime-yz3m3e59.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./mime-f07m8da5.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin40
|
|
15
|
+
} from "./mime-3knwk2yy.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin39,
|
|
20
|
+
Plugin38,
|
|
21
|
+
Plugin36,
|
|
22
|
+
Plugin37,
|
|
23
|
+
Plugin40
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./mime-4bgv566w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./mime-51swzj6t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service49,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node52
|
|
13
|
+
} from "./mime-rsxy8r8z.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service14,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node16
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
|
+
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service14 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service85;
|
|
61
|
+
const location = yield* Service82;
|
|
62
|
+
const shell = yield* Service49;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service14.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node16 = makeLocationNode({
|
|
273
|
+
service: Service14,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node89, node86, node52]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-mppfm4c6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-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: () => Plugin47
|
|
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 Plugin47 = 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 { Plugin47, exports_plan };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-51swzj6t.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service63,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node66,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node66 = LayerNode.unbound(Service63, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service63;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service63, node66, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./mime-3nx13vd1.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service84;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./mime-51swzj6t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./mime-6m3a3zsn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-zws091p9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./mime-t2p18p8e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service65
|
|
17
|
+
} from "./mime-mppfm4c6.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service18,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-h5ww2p3w.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
34
|
Output: () => Output5,
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
35
|
+
Plugin: () => Plugin8,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -190,20 +190,20 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin8 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service18;
|
|
197
|
+
const fileMutation = yield* Service17;
|
|
198
|
+
const environment = yield* Service54;
|
|
199
|
+
const formatter = yield* Service16;
|
|
200
|
+
const location = yield* Service82;
|
|
201
|
+
const permission = yield* Service65;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name7,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
206
|
+
input: Input7,
|
|
207
207
|
output: Output5,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
@@ -276,4 +276,4 @@ var Plugin45 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Output5, Plugin8, exports_edit };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./mime-h61sdrsw.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin28
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin28 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service47;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin33 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin28, exports_websearch2 };
|