@opencode/core 0.0.0-dev-20328 → 0.0.0-dev-20329
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{command-zg0g1dmr.js → location-activity-077m8v1r.js} +11 -11
- package/dist/chunks/{command-zzn75vcn.js → location-activity-0b2zk8pd.js} +31 -31
- package/dist/chunks/{command-93r6kb0j.js → location-activity-0e9rs99r.js} +8 -8
- package/dist/chunks/{command-57ez7d0k.js → location-activity-0ke265bw.js} +5 -5
- package/dist/chunks/{command-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-gmjj820p.js → location-activity-0seget7c.js} +25 -25
- package/dist/chunks/{command-nd3zz1gr.js → location-activity-0xg64tzr.js} +5 -5
- package/dist/chunks/{command-ga3d7eyp.js → location-activity-13m3jm1s.js} +53 -53
- package/dist/chunks/{command-1bbkgx8g.js → location-activity-1bbkgx8g.js} +1 -1
- package/dist/chunks/{command-2j34hmmc.js → location-activity-1bvqb18g.js} +9 -9
- package/dist/chunks/{command-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-bq6be9me.js → location-activity-1e8xy3zp.js} +14 -14
- package/dist/chunks/{command-9jbvj98d.js → location-activity-1gfgk62c.js} +8 -8
- package/dist/chunks/{command-0f00b5dx.js → location-activity-1h24k1r9.js} +17 -17
- package/dist/chunks/{command-f7arvf55.js → location-activity-1mfhpedz.js} +6 -6
- package/dist/chunks/{command-tsbqqcav.js → location-activity-1smqcxb3.js} +4 -4
- package/dist/chunks/{command-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{command-j6y5gsxd.js → location-activity-229kgytr.js} +21 -21
- package/dist/chunks/{command-bqwcv1te.js → location-activity-266vcxgd.js} +3 -3
- package/dist/chunks/{command-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-4c2df9zx.js → location-activity-2aet7wja.js} +8 -8
- package/dist/chunks/{command-kfv2zn0s.js → location-activity-2bdac0n9.js} +28 -28
- package/dist/chunks/{command-nxawm2f0.js → location-activity-2h7z08qc.js} +21 -21
- package/dist/chunks/{command-55mw5dew.js → location-activity-2k05be8x.js} +6 -6
- package/dist/chunks/{command-pgfgfh2x.js → location-activity-2mp83jfq.js} +22 -22
- package/dist/chunks/{command-44pdqs77.js → location-activity-30krspkn.js} +4 -4
- package/dist/chunks/{command-ctmf4cjh.js → location-activity-34n5sbfk.js} +9 -9
- package/dist/chunks/{command-tahyjvza.js → location-activity-3a1krv2k.js} +23 -23
- package/dist/chunks/{command-67a3m4yw.js → location-activity-3ejw8a3m.js} +5 -5
- package/dist/chunks/{command-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-gfkmrq4p.js → location-activity-3myc71jt.js} +22 -22
- package/dist/chunks/{command-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-2qp6y8xf.js → location-activity-3w0fmcng.js} +5 -5
- package/dist/chunks/{command-yb94rfg9.js → location-activity-3w9g5he6.js} +9 -9
- package/dist/chunks/{command-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-wwm9drsm.js → location-activity-40dbptmr.js} +30 -30
- package/dist/chunks/{command-zmj32qq0.js → location-activity-41drvpt3.js} +8 -8
- package/dist/chunks/{command-x4qspy2c.js → location-activity-47n28gsq.js} +31 -31
- package/dist/chunks/{command-h9wp8z5w.js → location-activity-4j4tgtq5.js} +4 -4
- package/dist/chunks/{command-0jq9fyba.js → location-activity-4nj4bn9q.js} +9 -9
- package/dist/chunks/{command-pmmvzvq4.js → location-activity-4p75gkfp.js} +92 -92
- package/dist/chunks/{command-ytws7ykb.js → location-activity-4r30jxym.js} +2 -2
- package/dist/chunks/{command-9bye45vx.js → location-activity-4vzdpms5.js} +22 -22
- package/dist/chunks/{command-5wtwrezn.js → location-activity-50mzsvk4.js} +21 -21
- package/dist/chunks/{command-12wyshmk.js → location-activity-52p88gvx.js} +12 -12
- package/dist/chunks/{command-7cqkmc07.js → location-activity-53hmgd1n.js} +13 -13
- package/dist/chunks/{command-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
- package/dist/chunks/{command-54tcyq79.js → location-activity-54tcyq79.js} +2 -2
- package/dist/chunks/{command-tea88xkw.js → location-activity-575d2e68.js} +92 -92
- package/dist/chunks/{command-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{command-gkgr9f8v.js → location-activity-5hjckbc2.js} +29 -29
- package/dist/chunks/{command-e3qxr5gk.js → location-activity-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-a7xxapnj.js → location-activity-5rg3wxb4.js} +8 -8
- package/dist/chunks/{command-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-p1s99nq8.js → location-activity-63nhzkyw.js} +11 -11
- package/dist/chunks/{command-407bfz6x.js → location-activity-63xbqhd3.js} +54 -54
- package/dist/chunks/{command-zfa7ynd8.js → location-activity-659sfxq9.js} +20 -20
- package/dist/chunks/{command-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{command-35zdg7pf.js → location-activity-6fzbf4p9.js} +27 -27
- package/dist/chunks/{command-nsdyb8pw.js → location-activity-6jpm1nv0.js} +18 -18
- package/dist/chunks/{command-0jq7xanq.js → location-activity-6kagehp5.js} +8 -8
- package/dist/chunks/{command-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-fdjp4t8r.js → location-activity-6pmchycv.js} +11 -11
- package/dist/chunks/{command-6z9y85k1.js → location-activity-6s622yr1.js} +12 -12
- package/dist/chunks/{command-eyhtqccb.js → location-activity-6xe4fgg8.js} +7 -7
- package/dist/chunks/{command-atk3new3.js → location-activity-74knqbzz.js} +33 -33
- package/dist/chunks/{command-q5ekdvah.js → location-activity-75szhmtc.js} +33 -33
- package/dist/chunks/{command-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-mm5kxf07.js → location-activity-7f85ph34.js} +8 -8
- package/dist/chunks/{command-cca4q062.js → location-activity-809qe8sk.js} +25 -25
- package/dist/chunks/{command-84txncab.js → location-activity-84txncab.js} +1 -1
- package/dist/chunks/{command-1a79m22w.js → location-activity-8a197mr1.js} +9 -9
- package/dist/chunks/{command-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-tn9j577v.js → location-activity-8p54jxc6.js} +11 -11
- package/dist/chunks/{command-5xampkzv.js → location-activity-8vbndzfj.js} +21 -21
- package/dist/chunks/{command-nx1xqst5.js → location-activity-8w7jzeqg.js} +3 -3
- package/dist/chunks/{command-nzj20ack.js → location-activity-8z7pc6r1.js} +19 -19
- package/dist/chunks/{command-h0z3n8yt.js → location-activity-8zb08g4c.js} +12 -12
- package/dist/chunks/{command-c3btd4vx.js → location-activity-8zr3m3wh.js} +35 -35
- package/dist/chunks/{command-133zd6pq.js → location-activity-908jv299.js} +10 -10
- package/dist/chunks/{command-vy4zg7qh.js → location-activity-965ggptx.js} +12 -12
- package/dist/chunks/{command-p64sp65g.js → location-activity-97q6njzc.js} +43 -43
- package/dist/chunks/location-activity-9brjy31v.js +18 -0
- package/dist/chunks/{command-f38wsw69.js → location-activity-9kmbd9mt.js} +2 -2
- package/dist/chunks/{command-d8jep961.js → location-activity-9mkc24xa.js} +6 -6
- package/dist/chunks/{command-v556y4yv.js → location-activity-9rkayaet.js} +20 -20
- package/dist/chunks/{command-w0a3dsx5.js → location-activity-9spd21z5.js} +11 -11
- package/dist/chunks/{command-ad1se6we.js → location-activity-9x5rebw7.js} +8 -8
- package/dist/chunks/{command-1h6krnfg.js → location-activity-a5w17s0s.js} +24 -24
- package/dist/chunks/{command-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{command-eeavwd92.js → location-activity-ac5dy6fj.js} +6 -6
- package/dist/chunks/{command-rpg9c19m.js → location-activity-afdssyjb.js} +4 -4
- package/dist/chunks/{command-jcvmways.js → location-activity-amzv4cj8.js} +43 -43
- package/dist/chunks/{command-knpa7q1k.js → location-activity-aq2adzr3.js} +43 -43
- package/dist/chunks/{command-0grgek18.js → location-activity-ats5qnf8.js} +30 -30
- package/dist/chunks/{command-m18nzyk6.js → location-activity-b14v52mz.js} +43 -43
- package/dist/chunks/{command-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-ezw3czwx.js → location-activity-b9zav7zg.js} +48 -48
- package/dist/chunks/{command-92a4ap4w.js → location-activity-bgxcxs0p.js} +5 -5
- package/dist/chunks/{command-bjtzbw4r.js → location-activity-bjtzbw4r.js} +3 -3
- package/dist/chunks/{command-mpc5v7rs.js → location-activity-bvbj4v5c.js} +38 -38
- package/dist/chunks/{command-gkkss05z.js → location-activity-c1cem4ms.js} +4 -4
- package/dist/chunks/{command-v9chgcj3.js → location-activity-c2xxqq54.js} +12 -12
- package/dist/chunks/{command-pppvxay8.js → location-activity-c3nwvhvh.js} +30 -30
- package/dist/chunks/{command-vr9bpkcp.js → location-activity-cfgnezqe.js} +20 -20
- package/dist/chunks/{command-mmeqzzre.js → location-activity-chsg2cca.js} +21 -21
- package/dist/chunks/{command-2p8k3371.js → location-activity-cn1v2m3x.js} +8 -8
- package/dist/chunks/{command-3njz9hw1.js → location-activity-cnxgg46z.js} +5 -5
- package/dist/chunks/{command-wr1nh5zj.js → location-activity-cpwtdbzf.js} +8 -8
- package/dist/chunks/{command-7gvwkz6m.js → location-activity-cr07tj7n.js} +5 -5
- package/dist/chunks/{command-gjwgx2c5.js → location-activity-cwa6csj7.js} +9 -9
- package/dist/chunks/{command-26wd49eb.js → location-activity-cx7facz5.js} +24 -24
- package/dist/chunks/{command-3hfr6h8q.js → location-activity-czfptnv9.js} +8 -8
- package/dist/chunks/{command-qw2yw8z7.js → location-activity-d2zsdd4d.js} +19 -19
- package/dist/chunks/{command-a49t4mpe.js → location-activity-d7ajkdyx.js} +25 -25
- package/dist/chunks/{command-y875hksg.js → location-activity-d8nm787w.js} +36 -36
- package/dist/chunks/location-activity-dcr8cv6d.js +26 -0
- package/dist/chunks/{command-an7cqtb7.js → location-activity-dfe8djrf.js} +4 -4
- package/dist/chunks/{command-jygjpmnc.js → location-activity-dfj6fbnh.js} +15 -15
- package/dist/chunks/{command-xkntkrq7.js → location-activity-dmqcgk4z.js} +5 -5
- package/dist/chunks/{command-nzyyvfzd.js → location-activity-dnvd7z42.js} +57 -57
- package/dist/chunks/{command-y71avatq.js → location-activity-dpkg50ah.js} +4 -4
- package/dist/chunks/{command-57b9ws8p.js → location-activity-drwq78ky.js} +5 -5
- package/dist/chunks/{command-sp6nzw66.js → location-activity-dth4y816.js} +25 -25
- package/dist/chunks/{command-20g5pfhx.js → location-activity-dzzshj1y.js} +10 -10
- package/dist/chunks/{command-sb221pn8.js → location-activity-e01wyxnv.js} +32 -32
- package/dist/chunks/{command-qz49fwgp.js → location-activity-e6hd9jay.js} +6 -6
- package/dist/chunks/{command-rhjbct0v.js → location-activity-eaj1djv9.js} +8 -8
- package/dist/chunks/{command-ecfe7b91.js → location-activity-ecfe7b91.js} +2 -2
- package/dist/chunks/{command-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-w2z5746y.js → location-activity-emdw47k5.js} +19 -19
- package/dist/chunks/{command-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-68g7trhf.js → location-activity-evkwanfq.js} +6 -6
- package/dist/chunks/{command-mfz89tqk.js → location-activity-f5f62g8d.js} +30 -30
- package/dist/chunks/{command-ehzgjc3e.js → location-activity-f72pbp8a.js} +15 -15
- package/dist/chunks/{command-3yrc8p0f.js → location-activity-f8g6ptxf.js} +30 -30
- package/dist/chunks/{command-s53bx6aa.js → location-activity-ffg6pth4.js} +16 -16
- package/dist/chunks/{command-32eqhqc9.js → location-activity-fnvysv06.js} +29 -29
- package/dist/chunks/{command-0hf9g8pg.js → location-activity-fwhqfwqn.js} +6 -6
- package/dist/chunks/{command-f3c11mr4.js → location-activity-fx11cx3p.js} +171 -171
- package/dist/chunks/{command-r6q2c161.js → location-activity-g1ff065m.js} +11 -11
- package/dist/chunks/{command-e73y8s3p.js → location-activity-g554a1q9.js} +13 -13
- package/dist/chunks/{command-g5agzp2h.js → location-activity-g5agzp2h.js} +2 -2
- package/dist/chunks/{command-hpjjk0gj.js → location-activity-gcbp8h4n.js} +5 -5
- package/dist/chunks/{command-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-gfvb90ym.js → location-activity-gfvb90ym.js} +2 -2
- package/dist/chunks/{command-md4m2kyr.js → location-activity-gjw6p9rk.js} +14 -14
- package/dist/chunks/{command-0tsnk9s4.js → location-activity-gmf3x8bs.js} +26 -26
- package/dist/chunks/{command-41kk9vt4.js → location-activity-gnbk51kj.js} +32 -32
- package/dist/chunks/{command-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{command-g5g6qkd8.js → location-activity-gvrb3dy5.js} +5 -5
- package/dist/chunks/{command-k8zgzs4j.js → location-activity-h5670nt2.js} +7 -7
- package/dist/chunks/{command-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-t4g45am5.js → location-activity-ha607pgt.js} +6 -6
- package/dist/chunks/{command-t2445nzz.js → location-activity-hc9qtajb.js} +28 -28
- package/dist/chunks/{command-znsx74x0.js → location-activity-hd8vw2pw.js} +1 -1
- package/dist/chunks/location-activity-he76kwyv.js +252 -0
- package/dist/chunks/{command-6t2wbhs5.js → location-activity-hgnyq8n3.js} +4 -4
- package/dist/chunks/{command-ahnc2hpr.js → location-activity-hmm5qybx.js} +11 -11
- package/dist/chunks/{command-aze5dktd.js → location-activity-hmqsdwnf.js} +30 -30
- package/dist/chunks/{command-n9p09fbd.js → location-activity-hrw20ktp.js} +29 -29
- package/dist/chunks/{command-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{command-nr8aa75s.js → location-activity-j8n6cjcw.js} +35 -35
- package/dist/chunks/{command-vptby8qv.js → location-activity-j9n98th9.js} +11 -11
- package/dist/chunks/{command-yybzjk8b.js → location-activity-jg41maze.js} +5 -5
- package/dist/chunks/{command-173e3mya.js → location-activity-jnvevjvm.js} +3 -3
- package/dist/chunks/{command-y5rf7nzv.js → location-activity-jpqeh2wc.js} +4 -4
- package/dist/chunks/{command-nzks3jc8.js → location-activity-k3c624dm.js} +3 -3
- package/dist/chunks/{command-zz0gf2gv.js → location-activity-kh303gds.js} +13 -13
- package/dist/chunks/{command-qd8zrxrt.js → location-activity-kjst15yx.js} +7 -7
- package/dist/chunks/{command-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-08rawchj.js → location-activity-mf9m2v67.js} +2 -2
- package/dist/chunks/{command-56gdpj1q.js → location-activity-mfqp6xfm.js} +6 -6
- package/dist/chunks/{command-5tc03052.js → location-activity-mk1y78ps.js} +4 -4
- package/dist/chunks/{command-mpk0rfs5.js → location-activity-mpk0rfs5.js} +1 -1
- package/dist/chunks/{command-ccq9v9cm.js → location-activity-n0a780pf.js} +11 -11
- package/dist/chunks/{command-3pe7sts8.js → location-activity-n35d2xk4.js} +9 -9
- package/dist/chunks/{command-8hgfhrm0.js → location-activity-nbzsj80d.js} +11 -11
- package/dist/chunks/{command-0z8vjex2.js → location-activity-ndqtf2h8.js} +9 -9
- package/dist/chunks/{command-kha295zz.js → location-activity-nt99nghq.js} +12 -12
- package/dist/chunks/{command-9tw8yaak.js → location-activity-nw4x666j.js} +11 -11
- package/dist/chunks/{command-achky8s5.js → location-activity-nx24f48e.js} +41 -41
- package/dist/chunks/{command-0bbg5mgz.js → location-activity-p3whrt10.js} +11 -11
- package/dist/chunks/{command-17zy7cfp.js → location-activity-p4ba9kby.js} +16 -16
- package/dist/chunks/{command-wbbwn8b4.js → location-activity-p8zyjhbq.js} +17 -17
- package/dist/chunks/{command-w37rjecm.js → location-activity-pgbr8qsq.js} +36 -36
- package/dist/chunks/{command-5fr28cxv.js → location-activity-pj04vm81.js} +15 -15
- package/dist/chunks/{command-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{command-vb1y33sc.js → location-activity-pnxxqgm9.js} +11 -11
- package/dist/chunks/{command-psazpmmj.js → location-activity-psazpmmj.js} +2 -2
- package/dist/chunks/{command-3b9qt4hj.js → location-activity-q0raz0xt.js} +9 -9
- package/dist/chunks/{command-z3kd0n8s.js → location-activity-q13vczj5.js} +32 -32
- package/dist/chunks/{command-bk7jaeqh.js → location-activity-q7azfttr.js} +4 -4
- package/dist/chunks/{command-b06mxnn4.js → location-activity-qacn8y7r.js} +23 -23
- package/dist/chunks/{command-qkpjvsg2.js → location-activity-qdg2ycbc.js} +11 -11
- package/dist/chunks/{command-7dqw4kz8.js → location-activity-qgn6gcr1.js} +5 -5
- package/dist/chunks/{command-sk5hhzgy.js → location-activity-qnvreqxt.js} +25 -25
- package/dist/chunks/{command-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{command-b7b4ctej.js → location-activity-qvreyy9g.js} +5 -5
- package/dist/chunks/{command-yf10kn3d.js → location-activity-qw3tzrgn.js} +8 -8
- package/dist/chunks/{command-e1cpzhmy.js → location-activity-qwwggkzn.js} +23 -23
- package/dist/chunks/{command-t7pash87.js → location-activity-r2wsw91e.js} +5 -5
- package/dist/chunks/{command-dzqgar42.js → location-activity-r322y1ma.js} +24 -24
- package/dist/chunks/{command-8p6hdx4a.js → location-activity-r46t4cz6.js} +50 -50
- package/dist/chunks/{command-5ysec52w.js → location-activity-r8tqkv0e.js} +24 -24
- package/dist/chunks/location-activity-r9mxrrsd.js +507 -0
- package/dist/chunks/{command-vyxeydcn.js → location-activity-raa6wmpj.js} +21 -21
- package/dist/chunks/{command-g8k5egew.js → location-activity-rcbgpb4r.js} +19 -19
- package/dist/chunks/{command-w9kg2djp.js → location-activity-rdnpkcaj.js} +19 -19
- package/dist/chunks/{command-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-t0xpt4yf.js → location-activity-regtqa0k.js} +25 -25
- package/dist/chunks/{command-1p07q0wb.js → location-activity-rkprpv83.js} +4 -4
- package/dist/chunks/{command-p7j22ek7.js → location-activity-s7jdknsc.js} +11 -11
- package/dist/chunks/{command-2r6ezsm1.js → location-activity-s7xe57j0.js} +18 -18
- package/dist/chunks/{command-tcdggtwa.js → location-activity-s9rg3eta.js} +20 -20
- package/dist/chunks/{command-1g734vay.js → location-activity-sfnhvteh.js} +18 -18
- package/dist/chunks/{command-yk71r04e.js → location-activity-sk4ctnjz.js} +20 -20
- package/dist/chunks/{command-jjc9h9gx.js → location-activity-sm7q614n.js} +10 -10
- package/dist/chunks/{command-s4x18w05.js → location-activity-sp1hxvt0.js} +1 -1
- package/dist/chunks/{command-fraeex00.js → location-activity-t74kfxm5.js} +5 -5
- package/dist/chunks/{command-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{command-jewzahs7.js → location-activity-tfzngn12.js} +4 -4
- package/dist/chunks/{command-19vf66h0.js → location-activity-tkmwgdpd.js} +7 -7
- package/dist/chunks/{command-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{command-kpycjfkz.js → location-activity-twevnpth.js} +40 -40
- package/dist/chunks/{command-gjbqwzd2.js → location-activity-v31wc8m3.js} +46 -46
- package/dist/chunks/{command-mqafpt2f.js → location-activity-v9vs3966.js} +1 -1
- package/dist/chunks/{command-ykzc6cfj.js → location-activity-vantngra.js} +11 -11
- package/dist/chunks/{command-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{command-3h2pgdn1.js → location-activity-vfarcj8v.js} +13 -13
- package/dist/chunks/{command-w7kn78ad.js → location-activity-vg61q99b.js} +32 -32
- package/dist/chunks/{command-j6q1cfcf.js → location-activity-vve92bbj.js} +7 -7
- package/dist/chunks/{command-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-r7cqnzm4.js → location-activity-w7p1gzy6.js} +24 -24
- package/dist/chunks/{command-6p36spce.js → location-activity-w9tybd38.js} +9 -9
- package/dist/chunks/{command-1k3w44xe.js → location-activity-wd22x1ac.js} +27 -27
- package/dist/chunks/{command-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{command-rcj1qd62.js → location-activity-wkw0swf1.js} +74 -74
- package/dist/chunks/{command-tyq8797k.js → location-activity-wxtgkjpy.js} +40 -40
- package/dist/chunks/{command-k458ssz6.js → location-activity-wyc9ts9v.js} +17 -17
- package/dist/chunks/{command-x7va2pbz.js → location-activity-wyktqry7.js} +10 -10
- package/dist/chunks/{command-2vgzs72b.js → location-activity-wz5tj16h.js} +5 -5
- package/dist/chunks/{command-4xb4td9x.js → location-activity-x0jksney.js} +21 -21
- package/dist/chunks/{command-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-2ta6pfy2.js → location-activity-xgr1zbnh.js} +12 -12
- package/dist/chunks/{command-hk140s3y.js → location-activity-xq60nwxf.js} +22 -22
- package/dist/chunks/{command-5gydy8qd.js → location-activity-xvh8c9bc.js} +13 -13
- package/dist/chunks/{command-36pz7r0j.js → location-activity-y0yzcz58.js} +27 -27
- package/dist/chunks/{command-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-ak9msbxp.js → location-activity-y38ja4bc.js} +6 -6
- package/dist/chunks/{command-xezhsny9.js → location-activity-y5p0b48k.js} +3 -3
- package/dist/chunks/{command-sf4638mk.js → location-activity-y7fz84ff.js} +20 -20
- package/dist/chunks/{command-d8xd8q6j.js → location-activity-y7jk5301.js} +13 -13
- package/dist/chunks/{command-s4b4q9yc.js → location-activity-y90p0pz1.js} +20 -20
- package/dist/chunks/{command-rpabj4tm.js → location-activity-y9wkp7y4.js} +15 -15
- package/dist/chunks/{command-edgjk5pb.js → location-activity-ycse678a.js} +15 -15
- package/dist/chunks/{command-9x57qh30.js → location-activity-ydzw58ph.js} +18 -18
- package/dist/chunks/{command-phsdeme5.js → location-activity-ye6hvepj.js} +18 -18
- package/dist/chunks/{command-1acjjqhc.js → location-activity-yp2x3t23.js} +4 -4
- package/dist/chunks/{command-brbc9hym.js → location-activity-ypczpx3e.js} +17 -17
- package/dist/chunks/{command-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-s4enseaf.js → location-activity-yrznvahk.js} +2 -2
- package/dist/chunks/{command-fmsg4ra7.js → location-activity-ystbhy0h.js} +29 -29
- package/dist/chunks/{command-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-1awajp9d.js → location-activity-z5v99h50.js} +8 -8
- package/dist/chunks/{command-29x78va6.js → location-activity-z63w68vq.js} +6 -6
- package/dist/chunks/{command-52tmng8s.js → location-activity-z6makp0e.js} +23 -23
- package/dist/chunks/{command-jc8cd7se.js → location-activity-z6nst2md.js} +7 -7
- package/dist/chunks/{command-81pgz9gn.js → location-activity-z966pbtj.js} +5 -5
- package/dist/chunks/{command-3ce9fkjd.js → location-activity-zd8paa4v.js} +17 -17
- package/dist/chunks/{command-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-a4jz5h7x.js → location-activity-zm7ccgde.js} +20 -20
- package/dist/chunks/{command-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-1p8321re.js → location-activity-ztweh0jg.js} +4 -4
- package/dist/chunks/{command-ks2axvh4.js → location-activity-zvnak894.js} +18 -18
- package/dist/chunks/{command-rw4kw2hm.js → location-activity-zvsgve89.js} +6 -6
- package/dist/chunks/{command-55149hb6.js → location-activity-zwg4j557.js} +19 -19
- package/dist/chunks/{command-m6bfk4mw.js → location-activity-zxbtycr0.js} +19 -19
- package/dist/chunks/{command-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/command-achjr09z.js +0 -26
- package/dist/chunks/command-ht5y0zrb.js +0 -18
- package/dist/chunks/command-mp2jdty2.js +0 -252
- package/dist/chunks/command-vtyptmt5.js +0 -507
- /package/dist/chunks/{command-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-activity-p4ba9kby.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-activity-1e8xy3zp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service66,
|
|
12
|
+
node68
|
|
13
|
+
} from "./location-activity-y0yzcz58.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-6xe4fgg8.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node67
|
|
20
|
+
} from "./location-activity-p8zyjhbq.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
node60
|
|
27
|
-
} from "./command-ks2axvh4.js";
|
|
28
|
-
import {
|
|
29
|
-
Service63,
|
|
25
|
+
Service64,
|
|
30
26
|
node66
|
|
31
|
-
} from "./
|
|
27
|
+
} from "./location-activity-zvnak894.js";
|
|
28
|
+
import {
|
|
29
|
+
Service67,
|
|
30
|
+
node69
|
|
31
|
+
} from "./location-activity-1gfgk62c.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event12,
|
|
46
|
+
ID: () => ID7,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
|
-
Permission: () =>
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service63,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node65
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID10.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service63 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service82;
|
|
132
|
+
const location = yield* Service79;
|
|
133
|
+
const agents = yield* Service66;
|
|
134
|
+
const sessions = yield* Service65;
|
|
135
|
+
const saved = yield* Service64;
|
|
136
|
+
const hooks = yield* Service67;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service63.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node65 = makeLocationNode({
|
|
303
|
+
service: Service63,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node86, node83, node68, node67, node66, node69]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service63, node65, exports_permission2, Rule3, Ruleset2, Event12 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./location-activity-fwhqfwqn.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9brjy31v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service29
|
|
9
|
+
} from "./location-activity-r46t4cz6.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service61;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service29), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-activity-6fzbf4p9.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info32,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service79,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service79, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service80;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service79.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service79,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info32, Ref4, response2,
|
|
43
|
+
export { Info32, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service67,
|
|
10
|
+
node: () => node69
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service67 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service67.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node69 = makeLocationNode({ service: Service67, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service67, node69, exports_hooks };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
node72
|
|
7
|
+
} from "./location-activity-y7jk5301.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-mf9m2v67.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service62,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node64
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service62 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service69;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service62.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service62, make18);
|
|
362
|
+
var node64 = makeGlobalNode({ service: Service62, layer, deps: [node72] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service62, make18, node64, exports_job };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-6pmchycv.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin24,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
16
|
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin24 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -73,4 +73,4 @@ var Plugin40 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export { endpoint6,
|
|
76
|
+
export { endpoint6, Plugin24, exports_tinyfish };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./location-activity-r8tqkv0e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service45;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-6pmchycv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-activity-p4ba9kby.js";
|
|
7
7
|
import {
|
|
8
8
|
ID14,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event18,
|
|
11
|
+
Service75
|
|
12
|
+
} from "./location-activity-47n28gsq.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-mpk0rfs5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-c3nwvhvh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-40dbptmr.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID11,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Info25
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-activity-f5f62g8d.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-activity-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID12.openai;
|
|
45
|
+
var integrationID = ID13.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -171,8 +171,8 @@ function listen(server) {
|
|
|
171
171
|
var ChatGPTPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const bus = yield*
|
|
175
|
-
const credentials = yield*
|
|
174
|
+
const bus = yield* Service82;
|
|
175
|
+
const credentials = yield* Service75;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info25.default(ID12.openai, ID11.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./location-activity-40dbptmr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID12.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service30,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node33
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service30 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service30, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service30.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service46, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node33 = makeGlobalNode({ service: Service30, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service30, node33, exports_environment };
|