@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,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./mime-6m3a3zsn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-zws091p9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service16
|
|
11
|
+
} from "./mime-t2p18p8e.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service65
|
|
14
|
+
} from "./mime-mppfm4c6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./mime-h5ww2p3w.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
29
|
Output: () => Output2,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin2,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name2,
|
|
33
33
|
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -49,23 +49,23 @@ var Output2 = Schema.Struct({
|
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin2 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service18;
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service54;
|
|
58
|
+
const formatter = yield* Service16;
|
|
59
|
+
const permission = yield* Service65;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
68
|
+
input: Input2,
|
|
69
69
|
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin2, exports_write };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-3nx13vd1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./mime-mppfm4c6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./mime-h5ww2p3w.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info4,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-x4nc1tme.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./mime-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin7,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin7 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service18;
|
|
104
|
+
const permission = yield* Service65;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin43 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info4,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin7, exports_opencode };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-pzb6m0c1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service85,
|
|
10
|
+
node89
|
|
11
|
+
} from "./mime-4bgv566w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service84,
|
|
14
|
+
node88
|
|
15
|
+
} from "./mime-3nx13vd1.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service83,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node87,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service83 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,11 +98,11 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service84;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service85;
|
|
106
106
|
const db = (yield* Service86).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
187
187
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID17.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -304,20 +304,20 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
304
304
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service83.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node87 = makeGlobalNode({
|
|
310
|
+
service: Service83,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service83;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node87]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service83, node87, sweepNode2, exports_project };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service82
|
|
13
|
+
} from "./mime-51swzj6t.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-q20qzr42.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin34,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin34 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service82;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin34, exports_hg };
|
|
@@ -2,43 +2,43 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service82
|
|
8
|
+
} from "./mime-51swzj6t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service54
|
|
11
|
+
} from "./mime-6m3a3zsn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./mime-t2p18p8e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service17,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-zws091p9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./mime-mppfm4c6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service18,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-h5ww2p3w.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./mime-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
38
|
Input: () => Input5,
|
|
39
|
-
Output: () =>
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin5,
|
|
42
42
|
name: () => name5,
|
|
43
43
|
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent3 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin5 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service54;
|
|
112
|
+
const access = yield* Service18;
|
|
113
|
+
const fileMutation = yield* Service17;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const permission = yield* Service65;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
121
|
input: Input5,
|
|
122
|
-
output:
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export { name5, Input5, Applied2,
|
|
329
|
+
export { name5, Input5, Applied2, Output4, toModelContent3, Plugin5, exports_patch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service10,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node12
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service10 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node12 = makeLocationNode({
|
|
19
|
+
service: Service10,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service10, Service10.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service10, node12, bound2, exports_instance2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|