@opencode/core 0.0.0-dev-20328 → 0.0.0-dev-20332
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{command-h0z3n8yt.js → location-02e6a1xr.js} +10 -10
- package/dist/chunks/{command-tahyjvza.js → location-0550q54d.js} +20 -20
- package/dist/chunks/{command-n9p09fbd.js → location-05fwr9d3.js} +23 -23
- package/dist/chunks/{command-1awajp9d.js → location-0a9efqg1.js} +11 -11
- package/dist/chunks/{command-gfkmrq4p.js → location-0j8kvx79.js} +22 -22
- package/dist/chunks/{command-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-tsbqqcav.js → location-0xr4jven.js} +4 -4
- package/dist/chunks/{command-gmjj820p.js → location-1858jtnb.js} +20 -20
- package/dist/chunks/{command-1bbkgx8g.js → location-1bbkgx8g.js} +1 -1
- package/dist/chunks/{command-t4g45am5.js → location-1bfsfmvc.js} +6 -6
- package/dist/chunks/{command-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-hk140s3y.js → location-1jwd9cqs.js} +16 -16
- package/dist/chunks/{command-5fr28cxv.js → location-1k7nw2np.js} +13 -13
- package/dist/chunks/{command-qw2yw8z7.js → location-1me2azay.js} +22 -22
- package/dist/chunks/{command-407bfz6x.js → location-1pcjwpaa.js} +48 -48
- package/dist/chunks/{command-mpc5v7rs.js → location-1pz63znb.js} +32 -32
- package/dist/chunks/{command-6p36spce.js → location-1s5awsvd.js} +9 -9
- package/dist/chunks/{command-93r6kb0j.js → location-1v2cpr56.js} +8 -8
- package/dist/chunks/{command-56gdpj1q.js → location-1ygqh575.js} +9 -9
- package/dist/chunks/{command-1k3w44xe.js → location-1z0tyxgk.js} +22 -22
- package/dist/chunks/{command-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{command-w37rjecm.js → location-221tqkqe.js} +30 -30
- package/dist/chunks/{command-0z8vjex2.js → location-23sxaqwc.js} +9 -9
- package/dist/chunks/{command-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-yybzjk8b.js → location-2a9ws08k.js} +5 -5
- package/dist/chunks/{command-3njz9hw1.js → location-2c22wpxs.js} +5 -5
- package/dist/chunks/{command-68g7trhf.js → location-2d5t5e6c.js} +6 -6
- package/dist/chunks/{command-w2z5746y.js → location-2dk0h958.js} +16 -16
- package/dist/chunks/{command-sf4638mk.js → location-2gh0pne0.js} +15 -15
- package/dist/chunks/{command-2r6ezsm1.js → location-2rhe9xp4.js} +18 -18
- package/dist/chunks/{command-0jq7xanq.js → location-2y8jjtjh.js} +8 -8
- package/dist/chunks/{command-vptby8qv.js → location-2yjkx9rh.js} +9 -9
- package/dist/chunks/{command-eyhtqccb.js → location-32ymn5e1.js} +7 -7
- package/dist/chunks/{command-kpycjfkz.js → location-33fcxst2.js} +27 -27
- package/dist/chunks/{command-z3kd0n8s.js → location-359gy9a3.js} +30 -30
- package/dist/chunks/{command-p1s99nq8.js → location-3cteaq89.js} +11 -11
- package/dist/chunks/{command-ad1se6we.js → location-3d6pamsn.js} +8 -8
- package/dist/chunks/{command-3h2pgdn1.js → location-3f0ygkn9.js} +11 -11
- package/dist/chunks/{command-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-vyxeydcn.js → location-3frysrkz.js} +14 -14
- package/dist/chunks/{command-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-7cqkmc07.js → location-3pswvgk6.js} +13 -13
- package/dist/chunks/{command-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-26wd49eb.js → location-3sy0yjgf.js} +22 -22
- package/dist/chunks/{command-fmsg4ra7.js → location-3taabba9.js} +29 -29
- package/dist/chunks/{command-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-rw4kw2hm.js → location-405thefk.js} +9 -9
- package/dist/chunks/{command-nzj20ack.js → location-42f0htzm.js} +13 -13
- package/dist/chunks/{command-bqwcv1te.js → location-45ev0h4b.js} +3 -3
- package/dist/chunks/{command-9jbvj98d.js → location-4e8vs6eh.js} +8 -8
- package/dist/chunks/{command-1g734vay.js → location-4etn4a9t.js} +16 -16
- package/dist/chunks/{command-wr1nh5zj.js → location-4t90qbzd.js} +4 -4
- package/dist/chunks/{command-md4m2kyr.js → location-4tyy50z7.js} +18 -18
- package/dist/chunks/{command-y5rf7nzv.js → location-4v7ngy20.js} +4 -4
- package/dist/chunks/{command-ehzgjc3e.js → location-4wm3hfb6.js} +24 -24
- package/dist/chunks/{command-6t2wbhs5.js → location-4zx2nvpt.js} +4 -4
- package/dist/chunks/{command-5wtwrezn.js → location-50mzsvk4.js} +21 -21
- package/dist/chunks/{command-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{command-54tcyq79.js → location-54tcyq79.js} +2 -2
- package/dist/chunks/{command-57ez7d0k.js → location-57ez7d0k.js} +2 -2
- package/dist/chunks/location-57v02fd6.js +26 -0
- package/dist/chunks/{command-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{command-5ysec52w.js → location-5fjen55d.js} +21 -21
- package/dist/chunks/{command-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-e73y8s3p.js → location-631cxsgm.js} +13 -13
- package/dist/chunks/{command-ctmf4cjh.js → location-65y5gv5n.js} +7 -7
- package/dist/chunks/{command-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{command-qz49fwgp.js → location-6anwy9fs.js} +6 -6
- package/dist/chunks/{command-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-k8zgzs4j.js → location-6zx481ey.js} +7 -7
- package/dist/chunks/{command-c3btd4vx.js → location-72fr57kk.js} +22 -22
- package/dist/chunks/{command-wbbwn8b4.js → location-74cpa34g.js} +14 -14
- package/dist/chunks/{command-2p8k3371.js → location-768gsh1v.js} +3 -3
- package/dist/chunks/{command-f3c11mr4.js → location-7b3n6txb.js} +169 -169
- package/dist/chunks/{command-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-d8xd8q6j.js → location-7et7x3nj.js} +10 -10
- package/dist/chunks/{command-7gvwkz6m.js → location-7gvwkz6m.js} +2 -2
- package/dist/chunks/{command-mfz89tqk.js → location-7hg2a0kf.js} +23 -23
- package/dist/chunks/{command-x4qspy2c.js → location-7jp52wrn.js} +24 -24
- package/dist/chunks/{command-mmeqzzre.js → location-7w64dbzf.js} +25 -25
- package/dist/chunks/{command-08rawchj.js → location-7w99qc9d.js} +3 -3
- package/dist/chunks/{command-qd8zrxrt.js → location-84j8m7e3.js} +7 -7
- package/dist/chunks/{command-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{command-jewzahs7.js → location-86qzxe6p.js} +4 -4
- package/dist/chunks/{command-q5ekdvah.js → location-872key08.js} +28 -28
- package/dist/chunks/{command-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-gkgr9f8v.js → location-8zefm95q.js} +31 -31
- package/dist/chunks/{command-8p6hdx4a.js → location-913tdmgz.js} +35 -35
- package/dist/chunks/{command-9tw8yaak.js → location-95cvvvyw.js} +11 -11
- package/dist/chunks/{command-ks2axvh4.js → location-96rcg50q.js} +15 -15
- package/dist/chunks/{command-v556y4yv.js → location-9gjvh9w7.js} +11 -11
- package/dist/chunks/{command-4xb4td9x.js → location-9h352b91.js} +23 -23
- package/dist/chunks/{command-173e3mya.js → location-a0j7zc8d.js} +3 -3
- package/dist/chunks/{command-19vf66h0.js → location-a2ew8a62.js} +4 -4
- package/dist/chunks/{command-bq6be9me.js → location-a3b6bg5k.js} +2 -2
- package/dist/chunks/{command-w9kg2djp.js → location-a9mb7h9k.js} +17 -17
- package/dist/chunks/{command-52tmng8s.js → location-aad20b43.js} +21 -21
- package/dist/chunks/{command-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{command-jygjpmnc.js → location-aaryx3hz.js} +15 -15
- package/dist/chunks/{command-s4x18w05.js → location-ahsxsgn9.js} +1 -1
- package/dist/chunks/{command-fraeex00.js → location-ams685p7.js} +5 -5
- package/dist/chunks/{command-nr8aa75s.js → location-ap0c1ha6.js} +28 -28
- package/dist/chunks/{command-32eqhqc9.js → location-asr5c240.js} +30 -30
- package/dist/chunks/{command-zzn75vcn.js → location-b2jxfxck.js} +22 -22
- package/dist/chunks/{command-0f00b5dx.js → location-b68jqyy9.js} +17 -17
- package/dist/chunks/{command-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-an7cqtb7.js → location-bf0ztrs3.js} +4 -4
- package/dist/chunks/{command-gjbqwzd2.js → location-bf6j3zq6.js} +40 -40
- package/dist/chunks/{command-bjtzbw4r.js → location-bjtzbw4r.js} +3 -3
- package/dist/chunks/{command-mqafpt2f.js → location-bnzwt7hj.js} +1 -1
- package/dist/chunks/{command-w0a3dsx5.js → location-bvxa250g.js} +11 -11
- package/dist/chunks/{command-achky8s5.js → location-c0c4g6cm.js} +31 -31
- package/dist/chunks/{command-cca4q062.js → location-c8q14vds.js} +18 -18
- package/dist/chunks/{command-55149hb6.js → location-cbh6g861.js} +20 -20
- package/dist/chunks/{command-81pgz9gn.js → location-cc748a61.js} +5 -5
- package/dist/chunks/{command-jcvmways.js → location-ccmvvhm9.js} +32 -32
- package/dist/chunks/{command-brbc9hym.js → location-cy820888.js} +15 -15
- package/dist/chunks/{command-g8k5egew.js → location-d4tjmbxj.js} +13 -13
- package/dist/chunks/{command-y875hksg.js → location-d5s762pw.js} +27 -27
- package/dist/chunks/{command-gkkss05z.js → location-d956t663.js} +4 -4
- package/dist/chunks/{command-41kk9vt4.js → location-dchp67v4.js} +13 -13
- package/dist/chunks/{command-nzyyvfzd.js → location-dgchpn2c.js} +47 -47
- package/dist/chunks/{command-j6q1cfcf.js → location-dh3xf11m.js} +10 -10
- package/dist/chunks/{command-xkntkrq7.js → location-dmqcgk4z.js} +5 -5
- package/dist/chunks/{command-mpk0rfs5.js → location-dnxkq42g.js} +4 -4
- package/dist/chunks/{command-r7cqnzm4.js → location-e003b4c3.js} +24 -24
- package/dist/chunks/{command-f7arvf55.js → location-e19eaq7y.js} +9 -9
- package/dist/chunks/{command-aze5dktd.js → location-e9gcwejs.js} +24 -24
- package/dist/chunks/{command-tcdggtwa.js → location-eab37ged.js} +12 -12
- package/dist/chunks/{command-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{command-t0xpt4yf.js → location-ed9n86pt.js} +26 -26
- package/dist/chunks/{command-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-vtyptmt5.js → location-et1vwb50.js} +319 -319
- package/dist/chunks/{command-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-zz0gf2gv.js → location-ewjxmwng.js} +13 -13
- package/dist/chunks/{command-pgfgfh2x.js → location-f00515wj.js} +16 -16
- package/dist/chunks/{command-1p8321re.js → location-f1bvh024.js} +4 -4
- package/dist/chunks/{command-h9wp8z5w.js → location-f29mbr7f.js} +4 -4
- package/dist/chunks/{command-0jq9fyba.js → location-fdms3n6w.js} +9 -9
- package/dist/chunks/{command-yb94rfg9.js → location-fsq7s6yz.js} +9 -9
- package/dist/chunks/{command-tn9j577v.js → location-fw3ksk4v.js} +11 -11
- package/dist/chunks/{command-m6bfk4mw.js → location-g11yarsy.js} +17 -17
- package/dist/chunks/{command-nsdyb8pw.js → location-g52yw51c.js} +11 -11
- package/dist/chunks/{command-ytws7ykb.js → location-g60qj5yf.js} +2 -2
- package/dist/chunks/{command-ga3d7eyp.js → location-g86wtp00.js} +47 -47
- package/dist/chunks/{command-0tsnk9s4.js → location-g9nkqj1a.js} +22 -22
- package/dist/chunks/{command-44pdqs77.js → location-gc4fb455.js} +4 -4
- package/dist/chunks/{command-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-k458ssz6.js → location-gecshvrx.js} +15 -15
- package/dist/chunks/{command-gfvb90ym.js → location-gfvb90ym.js} +2 -2
- package/dist/chunks/{command-gjwgx2c5.js → location-gjwgx2c5.js} +2 -2
- package/dist/chunks/{command-vy4zg7qh.js → location-gmjq4p6e.js} +5 -5
- package/dist/chunks/{command-nxawm2f0.js → location-gq4sc612.js} +26 -26
- package/dist/chunks/{command-4c2df9zx.js → location-grxcxy9j.js} +7 -7
- package/dist/chunks/{command-5xampkzv.js → location-gv420m70.js} +20 -20
- package/dist/chunks/{command-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{command-dzqgar42.js → location-gx3evx6p.js} +16 -16
- package/dist/chunks/{command-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-5gydy8qd.js → location-hcr9xn5j.js} +12 -12
- package/dist/chunks/{command-pmmvzvq4.js → location-hh3smdyr.js} +83 -83
- package/dist/chunks/{command-jjc9h9gx.js → location-hv4bgzk9.js} +8 -8
- package/dist/chunks/{command-9x57qh30.js → location-j1ep2ape.js} +15 -15
- package/dist/chunks/{command-3pe7sts8.js → location-j3s2z371.js} +9 -9
- package/dist/chunks/{command-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{command-3yrc8p0f.js → location-jjxrrmfz.js} +19 -19
- package/dist/chunks/{command-a49t4mpe.js → location-jpqr5ghe.js} +23 -23
- package/dist/chunks/{command-zmj32qq0.js → location-jwpvd8r9.js} +5 -5
- package/dist/chunks/{command-rpabj4tm.js → location-jwwfgh84.js} +13 -13
- package/dist/chunks/{command-yf10kn3d.js → location-k1qrnqst.js} +8 -8
- package/dist/chunks/{command-t2445nzz.js → location-k31jet3a.js} +23 -23
- package/dist/chunks/{command-vb1y33sc.js → location-k57g4mqh.js} +11 -11
- package/dist/chunks/{command-atk3new3.js → location-k75d9tpj.js} +30 -30
- package/dist/chunks/{command-3b9qt4hj.js → location-k7myrtme.js} +9 -9
- package/dist/chunks/{command-knpa7q1k.js → location-kc0d3shj.js} +42 -42
- package/dist/chunks/{command-s4b4q9yc.js → location-kx2dxvka.js} +12 -12
- package/dist/chunks/{command-zfa7ynd8.js → location-ky6yw5g0.js} +15 -15
- package/dist/chunks/{command-36pz7r0j.js → location-kytmjyy3.js} +24 -24
- package/dist/chunks/{command-133zd6pq.js → location-m32f1x6e.js} +13 -13
- package/dist/chunks/{command-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/location-m8n3k53h.js +252 -0
- package/dist/chunks/{command-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-2vgzs72b.js → location-ma15yhyh.js} +5 -5
- package/dist/chunks/{command-qkpjvsg2.js → location-mcvtpcr6.js} +11 -11
- package/dist/chunks/{command-pppvxay8.js → location-mdngnccz.js} +24 -24
- package/dist/chunks/{command-ccq9v9cm.js → location-meh18akk.js} +11 -11
- package/dist/chunks/{command-0grgek18.js → location-mytbjss0.js} +20 -20
- package/dist/chunks/{command-bk7jaeqh.js → location-mzywpf3p.js} +4 -4
- package/dist/chunks/{command-vr9bpkcp.js → location-n4q62pja.js} +18 -18
- package/dist/chunks/{command-1a79m22w.js → location-n51wg4q9.js} +9 -9
- package/dist/chunks/{command-6z9y85k1.js → location-na0xys1v.js} +12 -12
- package/dist/chunks/{command-ezw3czwx.js → location-nbx7psha.js} +48 -48
- package/dist/chunks/{command-8hgfhrm0.js → location-nbzsj80d.js} +11 -11
- package/dist/chunks/{command-p7j22ek7.js → location-nfjrmqy5.js} +11 -11
- package/dist/chunks/{command-hpjjk0gj.js → location-nkbr3xyj.js} +5 -5
- package/dist/chunks/{command-f38wsw69.js → location-nng2ktcm.js} +2 -2
- package/dist/chunks/{command-rcj1qd62.js → location-nsj03r65.js} +62 -62
- package/dist/chunks/{command-x7va2pbz.js → location-nt4ws43p.js} +10 -10
- package/dist/chunks/{command-nzks3jc8.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{command-3hfr6h8q.js → location-p37cw4rj.js} +8 -8
- package/dist/chunks/{command-kha295zz.js → location-p5gnfa3n.js} +10 -10
- package/dist/chunks/{command-b06mxnn4.js → location-p5vt4w12.js} +16 -16
- package/dist/chunks/{command-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{command-t7pash87.js → location-pnkgaxte.js} +3 -3
- package/dist/chunks/{command-g5g6qkd8.js → location-prse58hf.js} +3 -3
- package/dist/chunks/{command-psazpmmj.js → location-psazpmmj.js} +2 -2
- package/dist/chunks/{command-1p07q0wb.js → location-py3kkmfq.js} +4 -4
- package/dist/chunks/{command-sp6nzw66.js → location-q4t44wz3.js} +23 -23
- package/dist/chunks/{command-yk71r04e.js → location-q78ntncr.js} +20 -20
- package/dist/chunks/{command-5tc03052.js → location-qcewvjcq.js} +4 -4
- package/dist/chunks/{command-m18nzyk6.js → location-qcn3qcd0.js} +41 -41
- package/dist/chunks/{command-b7b4ctej.js → location-qdbakdjh.js} +5 -5
- package/dist/chunks/{command-jc8cd7se.js → location-qe750zdm.js} +10 -10
- package/dist/chunks/{command-7dqw4kz8.js → location-qgn6gcr1.js} +5 -5
- package/dist/chunks/{command-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{command-a7xxapnj.js → location-r3ewmwtm.js} +8 -8
- package/dist/chunks/{command-a4jz5h7x.js → location-r4vt6ek9.js} +26 -26
- package/dist/chunks/{command-1acjjqhc.js → location-r8xr0va3.js} +4 -4
- package/dist/chunks/location-rap9a73h.js +18 -0
- package/dist/chunks/{command-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-znsx74x0.js → location-rk1r2hx8.js} +1 -1
- package/dist/chunks/{command-nx1xqst5.js → location-ryry5wbd.js} +3 -3
- package/dist/chunks/{command-tea88xkw.js → location-s083egkz.js} +78 -78
- package/dist/chunks/{command-1h6krnfg.js → location-s22kpthy.js} +18 -18
- package/dist/chunks/{command-tyq8797k.js → location-s5wrztbh.js} +35 -35
- package/dist/chunks/{command-rhjbct0v.js → location-s8d7rejh.js} +4 -4
- package/dist/chunks/{command-0hf9g8pg.js → location-shrpy2d8.js} +6 -6
- package/dist/chunks/{command-35zdg7pf.js → location-smb7m2tf.js} +8 -8
- package/dist/chunks/{command-sb221pn8.js → location-snvbww7e.js} +25 -25
- package/dist/chunks/{command-kfv2zn0s.js → location-sq9hdhx4.js} +25 -25
- package/dist/chunks/{command-sk5hhzgy.js → location-sv9zqnbr.js} +20 -20
- package/dist/chunks/{command-55mw5dew.js → location-svzh0x98.js} +3 -3
- package/dist/chunks/{command-e1cpzhmy.js → location-t3th97kz.js} +26 -26
- package/dist/chunks/{command-eeavwd92.js → location-t6z4h4ef.js} +3 -3
- package/dist/chunks/{command-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-12wyshmk.js → location-tcc6ccqd.js} +15 -15
- package/dist/chunks/{command-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{command-67a3m4yw.js → location-tg37w3py.js} +5 -5
- package/dist/chunks/{command-rpg9c19m.js → location-ttqh24zm.js} +4 -4
- package/dist/chunks/{command-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{command-p64sp65g.js → location-tvyjc43w.js} +45 -45
- package/dist/chunks/{command-9bye45vx.js → location-v47bnj70.js} +20 -20
- package/dist/chunks/{command-g5agzp2h.js → location-vd7rzxqf.js} +5 -5
- package/dist/chunks/{command-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{command-nd3zz1gr.js → location-vmwz11wz.js} +5 -5
- package/dist/chunks/{command-20g5pfhx.js → location-vsgdn61q.js} +10 -10
- package/dist/chunks/{command-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-ykzc6cfj.js → location-w9gb1mzf.js} +11 -11
- package/dist/chunks/{command-92a4ap4w.js → location-wbkyxrgf.js} +5 -5
- package/dist/chunks/{command-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{command-xezhsny9.js → location-wm5q5x5p.js} +3 -3
- package/dist/chunks/{command-fdjp4t8r.js → location-wr5k3gxd.js} +8 -8
- package/dist/chunks/{command-2j34hmmc.js → location-wtebr0tv.js} +9 -9
- package/dist/chunks/{command-2ta6pfy2.js → location-wvjbag1w.js} +12 -12
- package/dist/chunks/{command-d8jep961.js → location-wx12zf4r.js} +6 -6
- package/dist/chunks/{command-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-57b9ws8p.js → location-xfkkasph.js} +7 -7
- package/dist/chunks/{command-s53bx6aa.js → location-xx2ckhja.js} +16 -16
- package/dist/chunks/{command-ak9msbxp.js → location-xxk5ry2v.js} +6 -6
- package/dist/chunks/{command-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-3ce9fkjd.js → location-y5bmmmc5.js} +20 -20
- package/dist/chunks/{command-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{command-r6q2c161.js → location-yataeycs.js} +11 -11
- package/dist/chunks/{command-j6y5gsxd.js → location-ypahm2w0.js} +22 -22
- package/dist/chunks/{command-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-s4enseaf.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{command-phsdeme5.js → location-yy0n8m79.js} +14 -14
- package/dist/chunks/{command-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-2qp6y8xf.js → location-z3pw5915.js} +5 -5
- package/dist/chunks/{command-ahnc2hpr.js → location-z42abtxa.js} +11 -11
- package/dist/chunks/{command-29x78va6.js → location-z63w68vq.js} +6 -6
- package/dist/chunks/{command-17zy7cfp.js → location-zaj0f5yc.js} +4 -4
- package/dist/chunks/{command-mm5kxf07.js → location-ze5v0a14.js} +8 -8
- package/dist/chunks/{command-edgjk5pb.js → location-zefk2w7j.js} +13 -13
- package/dist/chunks/{command-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-0bbg5mgz.js → location-zfhqhftv.js} +11 -11
- package/dist/chunks/{command-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zg0g1dmr.js → location-zt2wse74.js} +3 -3
- package/dist/chunks/{command-v9chgcj3.js → location-zt4c6sfd.js} +10 -10
- package/dist/chunks/{command-wwm9drsm.js → location-zwxq93tf.js} +23 -23
- package/dist/chunks/{command-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-w7kn78ad.js → location-zyxd3cry.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +132 -132
- 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 +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- 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 +81 -81
- package/dist/database/database.js +66 -66
- 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.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 +76 -76
- 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 +1 -1
- 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 +70 -70
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- 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 +132 -132
- 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 +81 -81
- 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 +127 -127
- 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 +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +99 -99
- 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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +5 -5
- 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 +122 -122
- 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 +122 -122
- 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 +76 -76
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- 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 +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 +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 +230 -230
- 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 +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +3 -3
- 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 +2 -2
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- 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 +80 -80
- 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 +89 -89
- package/dist/worktree.js +94 -94
- 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-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service46,
|
|
12
|
+
node50
|
|
13
|
+
} from "./location-g9nkqj1a.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
21
|
Service: () => Service30,
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
|
+
node: () => node33
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID6,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -63,11 +63,11 @@ var update = (previous, current) => {
|
|
|
63
63
|
class Service30 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
65
|
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
66
|
-
const skills = yield*
|
|
66
|
+
const skills = yield* Service46;
|
|
67
67
|
return Service30.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
70
|
+
return make21({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [node50] });
|
|
84
84
|
|
|
85
|
-
export { Service30,
|
|
85
|
+
export { Service30, node33, exports_instructions4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-zt2wse74.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-bjtzbw4r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service35,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service35 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service35.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service35, node38, exports_instruction_entry };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info9,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-g9nkqj1a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./location-bf6j3zq6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin10,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin10 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info9.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info9.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service59;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin10, exports_skill };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./location-aad20b43.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./location-shrpy2d8.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-rap9a73h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service54;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./location-bf6j3zq6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service9
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-gjwgx2c5.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
16
16
|
__export(exports_location_watcher, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin34
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin34 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service59;
|
|
26
26
|
const policy = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin13 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin34, exports_location_watcher };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-7w99qc9d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -21,7 +21,7 @@ __export(exports_error, {
|
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
22
|
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2,
|
|
119
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node45
|
|
5
|
+
} from "./location-wr5k3gxd.js";
|
|
6
6
|
import {
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-zaj0f5yc.js";
|
|
10
10
|
import {
|
|
11
11
|
native2,
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
aisdk2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-zwxq93tf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-7hg2a0kf.js";
|
|
20
20
|
import {
|
|
21
21
|
resolve2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-svzh0x98.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service62,
|
|
25
|
+
node66
|
|
26
|
+
} from "./location-7et7x3nj.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/models-dev.ts
|
|
32
32
|
var exports_models_dev = {};
|
|
@@ -35,11 +35,11 @@ __export(exports_models_dev, {
|
|
|
35
35
|
Event: () => Event2,
|
|
36
36
|
ModelsDev: () => exports_models_dev,
|
|
37
37
|
Options: () => Options2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service14,
|
|
39
39
|
bodyDigest: () => bodyDigest2,
|
|
40
40
|
configured: () => configured2,
|
|
41
41
|
layer: () => layer8,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node16
|
|
43
43
|
});
|
|
44
44
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
45
45
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
@@ -63,7 +63,7 @@ function nativePackage(provider, model) {
|
|
|
63
63
|
function normalize(input) {
|
|
64
64
|
const providers = [];
|
|
65
65
|
for (const item of Object.values(input)) {
|
|
66
|
-
const providerID =
|
|
66
|
+
const providerID = ID13.make(item.id);
|
|
67
67
|
const packageName = nativePackage(item);
|
|
68
68
|
const info = {
|
|
69
69
|
id: providerID,
|
|
@@ -75,12 +75,12 @@ function normalize(input) {
|
|
|
75
75
|
const models = [];
|
|
76
76
|
for (const model of Object.values(item.models)) {
|
|
77
77
|
const baseCost = cost(model.cost);
|
|
78
|
-
const id =
|
|
78
|
+
const id = ID12.make(model.id);
|
|
79
79
|
const base = modelInfo(item, id, model, { cost: baseCost });
|
|
80
80
|
const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
|
|
81
81
|
models.push({ ...base, variants });
|
|
82
82
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
83
|
-
const modeID =
|
|
83
|
+
const modeID = ID12.make(`${model.id}-${mode}`);
|
|
84
84
|
models.push(modelInfo(item, modeID, model, {
|
|
85
85
|
name: modeName(model, mode),
|
|
86
86
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -164,7 +164,7 @@ function supports(model) {
|
|
|
164
164
|
return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
|
|
165
165
|
}
|
|
166
166
|
function modelInfo(provider, id, model, input = {}) {
|
|
167
|
-
const providerID =
|
|
167
|
+
const providerID = ID13.make(provider.id);
|
|
168
168
|
const pkg = model.provider?.npm ? nativePackage(provider, model) : undefined;
|
|
169
169
|
const settings = {
|
|
170
170
|
...model.provider?.api ? { baseURL: model.provider.api } : {},
|
|
@@ -172,7 +172,7 @@ function modelInfo(provider, id, model, input = {}) {
|
|
|
172
172
|
};
|
|
173
173
|
return {
|
|
174
174
|
id,
|
|
175
|
-
modelID:
|
|
175
|
+
modelID: ID12.make(model.id),
|
|
176
176
|
providerID,
|
|
177
177
|
name: input.name ?? model.name,
|
|
178
178
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -205,7 +205,7 @@ var Options2 = Schema.Struct({
|
|
|
205
205
|
snapshot: Schema.optional(Schema.Boolean)
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
class
|
|
208
|
+
class Service14 extends Context.Service()("@opencode/ModelsDev") {
|
|
209
209
|
}
|
|
210
210
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
211
211
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -228,11 +228,11 @@ function cacheKey(source) {
|
|
|
228
228
|
function bodyDigest2(text) {
|
|
229
229
|
return Hash.sha256(text);
|
|
230
230
|
}
|
|
231
|
-
var layer8 = (options) => Layer.effect(
|
|
231
|
+
var layer8 = (options) => Layer.effect(Service14, Effect.gen(function* () {
|
|
232
232
|
const fs = yield* FSUtil.Service;
|
|
233
233
|
const bus = yield* Service83;
|
|
234
234
|
const app = yield* Metadata2;
|
|
235
|
-
const kv = yield*
|
|
235
|
+
const kv = yield* Service62;
|
|
236
236
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
237
237
|
retryOn: "errors-and-responses",
|
|
238
238
|
times: 2,
|
|
@@ -312,15 +312,15 @@ var layer8 = (options) => Layer.effect(Service15, Effect.gen(function* () {
|
|
|
312
312
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
313
313
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
314
314
|
}
|
|
315
|
-
return
|
|
315
|
+
return Service14.of({ get, refresh });
|
|
316
316
|
}));
|
|
317
317
|
function configured2(options) {
|
|
318
318
|
return makeGlobalNode({
|
|
319
|
-
service:
|
|
319
|
+
service: Service14,
|
|
320
320
|
layer: layer8(options),
|
|
321
|
-
deps: [FSUtil.node, node87,
|
|
321
|
+
deps: [FSUtil.node, node87, node45, node66, httpClient]
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
|
-
var
|
|
324
|
+
var node16 = configured2();
|
|
325
325
|
|
|
326
|
-
export { CatalogModelStatus2, Options2,
|
|
326
|
+
export { CatalogModelStatus2, Options2, Service14, bodyDigest2, layer8, configured2, node16, exports_models_dev, Event2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-a3b6bg5k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./location-5fjen55d.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service18,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-631cxsgm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service23
|
|
14
|
+
} from "./location-yy0n8m79.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service70
|
|
17
|
+
} from "./location-g86wtp00.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service22,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-j1ep2ape.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input5,
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin41,
|
|
36
|
+
name: () => name5
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name5 = "edit";
|
|
43
|
+
var Input5 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin41 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service22;
|
|
110
|
+
const fileMutation = yield* Service18;
|
|
111
|
+
const environment = yield* Service49;
|
|
112
|
+
const formatter = yield* Service23;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service70;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name5,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input5,
|
|
120
|
+
output: Output4,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin21 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name5, Input5, Output4, Plugin41, exports_edit };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./location-bf6j3zq6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./location-k7myrtme.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin28
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service59;
|
|
26
|
+
const image = yield* Service41;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin10 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin28, exports_image };
|