@opencode/core 0.0.0-dev-20872 → 0.0.0-dev-20881
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{wellknown-5jpxv3wq.js → file-access-048dg1q1.js} +20 -20
- package/dist/chunks/{wellknown-h7y8yq7c.js → file-access-0996j27y.js} +18 -18
- package/dist/chunks/{wellknown-7eav30cb.js → file-access-0az8jfhv.js} +35 -35
- package/dist/chunks/{wellknown-v0es1rhs.js → file-access-0bg0bx69.js} +5 -5
- package/dist/chunks/{wellknown-44ypcyhf.js → file-access-0brq2jxt.js} +4 -4
- package/dist/chunks/{wellknown-7jdd4trd.js → file-access-0c4n6ehw.js} +4 -4
- package/dist/chunks/{wellknown-1rzeabtp.js → file-access-0ebkhaww.js} +7 -7
- package/dist/chunks/{wellknown-2k8khapm.js → file-access-0jwsre1p.js} +5 -5
- package/dist/chunks/{wellknown-0vbcp93d.js → file-access-0vbcp93d.js} +2 -2
- package/dist/chunks/{wellknown-f8afkh6h.js → file-access-0xydnfy0.js} +43 -43
- package/dist/chunks/{wellknown-87a3742k.js → file-access-0y8qz4tc.js} +10 -10
- package/dist/chunks/{wellknown-4v92t2pn.js → file-access-136xvk4g.js} +5 -5
- package/dist/chunks/{wellknown-8jd55ga2.js → file-access-13y28twm.js} +11 -11
- package/dist/chunks/{wellknown-6hjpjx9d.js → file-access-18x10m8s.js} +21 -21
- package/dist/chunks/{wellknown-1acjjqhc.js → file-access-1acjjqhc.js} +1 -1
- package/dist/chunks/{wellknown-cayvg8x6.js → file-access-1j626q9f.js} +4 -4
- package/dist/chunks/{wellknown-5a6hjq36.js → file-access-1q6h5e96.js} +39 -39
- package/dist/chunks/{wellknown-rz2jrfe4.js → file-access-1xtm2zgn.js} +30 -30
- package/dist/chunks/{wellknown-tjvac8q7.js → file-access-22d1dh2a.js} +16 -16
- package/dist/chunks/{wellknown-y09582g8.js → file-access-2s0a30gw.js} +29 -29
- package/dist/chunks/{wellknown-q2s74pq3.js → file-access-3e93frrs.js} +26 -26
- package/dist/chunks/{wellknown-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-yqkkz5be.js → file-access-3hesyp2p.js} +6 -6
- package/dist/chunks/{wellknown-3hwn7j4h.js → file-access-3hwn7j4h.js} +2 -2
- package/dist/chunks/{wellknown-9xymn140.js → file-access-3q95jmjr.js} +25 -25
- package/dist/chunks/{wellknown-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-3zsf4n22.js → file-access-3zsf4n22.js} +1 -1
- package/dist/chunks/{wellknown-8jzpbyjn.js → file-access-40xnfwfw.js} +46 -46
- package/dist/chunks/{wellknown-92azg307.js → file-access-4drgpw32.js} +5 -5
- package/dist/chunks/{wellknown-wykmqqgk.js → file-access-4hc0rj7b.js} +328 -328
- package/dist/chunks/{wellknown-9qdnvnvk.js → file-access-4nssqvjp.js} +24 -24
- package/dist/chunks/{wellknown-y8bbj09g.js → file-access-4nvgp7n5.js} +17 -17
- package/dist/chunks/{wellknown-t48gjkh9.js → file-access-4rpmq0gy.js} +10 -10
- package/dist/chunks/{wellknown-swbz5y4e.js → file-access-4s3dfb2j.js} +11 -11
- package/dist/chunks/{wellknown-4ts7tf6z.js → file-access-4ts7tf6z.js} +2 -2
- package/dist/chunks/{wellknown-c9wbyant.js → file-access-4xkcgd99.js} +4 -4
- package/dist/chunks/{wellknown-54ma36ye.js → file-access-54ma36ye.js} +1 -1
- package/dist/chunks/{wellknown-drwq78ky.js → file-access-57b9ws8p.js} +5 -5
- package/dist/chunks/{wellknown-f0n7ca9n.js → file-access-58kgsrwr.js} +13 -13
- package/dist/chunks/{wellknown-5m9w47nd.js → file-access-5m9w47nd.js} +1 -1
- package/dist/chunks/{wellknown-pth052ay.js → file-access-61mt751v.js} +6 -6
- package/dist/chunks/{wellknown-98apdav4.js → file-access-6afn1j2f.js} +27 -27
- package/dist/chunks/{wellknown-6qw56swe.js → file-access-6cwz3yre.js} +10 -10
- package/dist/chunks/{wellknown-k4f8qsde.js → file-access-6nx5eb34.js} +11 -11
- package/dist/chunks/{wellknown-6xb47vfp.js → file-access-6xb47vfp.js} +1 -1
- package/dist/chunks/{wellknown-6nc1k023.js → file-access-6yrvyhas.js} +3 -3
- package/dist/chunks/{wellknown-xvc808r4.js → file-access-75cf00gp.js} +5 -5
- package/dist/chunks/{wellknown-2vvh33eb.js → file-access-775gj3j1.js} +9 -3
- package/dist/chunks/{wellknown-fdq890yw.js → file-access-7b71byjj.js} +15 -15
- package/dist/chunks/{wellknown-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-32skt9r7.js → file-access-7dknjm6k.js} +21 -21
- package/dist/chunks/{wellknown-hm9rg0cf.js → file-access-7p43bsgp.js} +9 -9
- package/dist/chunks/{wellknown-a2e4j1v6.js → file-access-7ws6qndy.js} +4 -4
- package/dist/chunks/{wellknown-12r6e903.js → file-access-7x2zck9f.js} +33 -33
- package/dist/chunks/{wellknown-wmtzr228.js → file-access-7y0h7tfm.js} +19 -19
- package/dist/chunks/{wellknown-ghpm9gw4.js → file-access-7y6n2aky.js} +19 -19
- package/dist/chunks/file-access-84h0zvm6.js +26 -0
- package/dist/chunks/{wellknown-84txncab.js → file-access-84txncab.js} +1 -1
- package/dist/chunks/{wellknown-ck9a2j6e.js → file-access-85twavks.js} +11 -11
- package/dist/chunks/{wellknown-tcezcvh9.js → file-access-89znhe33.js} +4 -4
- package/dist/chunks/{wellknown-8m6m0r52.js → file-access-8m6m0r52.js} +1 -1
- package/dist/chunks/{wellknown-e1gs9x0e.js → file-access-8n22xprd.js} +14 -14
- package/dist/chunks/{wellknown-sz15zhhw.js → file-access-97aeaand.js} +4 -4
- package/dist/chunks/{wellknown-6smyg7me.js → file-access-99z9zg9e.js} +23 -23
- package/dist/chunks/{wellknown-gj71zhbs.js → file-access-9hwaqfsw.js} +5 -5
- package/dist/chunks/{wellknown-kj7bxxe6.js → file-access-9qaf42c8.js} +30 -30
- package/dist/chunks/{wellknown-7efppc7n.js → file-access-9v3zftw3.js} +27 -27
- package/dist/chunks/{wellknown-mcax4ssf.js → file-access-9z4knqn6.js} +90 -90
- package/dist/chunks/file-access-9zdhvgqs.js +18 -0
- package/dist/chunks/{wellknown-8q14vt7q.js → file-access-a1d4wr68.js} +3 -3
- package/dist/chunks/{wellknown-cejwsrvv.js → file-access-a8pvjcdf.js} +29 -29
- package/dist/chunks/{wellknown-db2wf4at.js → file-access-addxnjmp.js} +4 -4
- package/dist/chunks/{wellknown-f6t8zy6q.js → file-access-ak9nxzt9.js} +27 -27
- package/dist/chunks/{wellknown-5m84d531.js → file-access-am6f2qjv.js} +8 -8
- package/dist/chunks/{wellknown-8kdvsjhm.js → file-access-apzb49za.js} +29 -29
- package/dist/chunks/{wellknown-2tvsdrfp.js → file-access-at6df953.js} +13 -13
- package/dist/chunks/{wellknown-68rkg0ha.js → file-access-b3x2bcz3.js} +45 -45
- package/dist/chunks/{wellknown-xpgrsy6s.js → file-access-b58cry0v.js} +5 -5
- package/dist/chunks/{wellknown-z9qyhhpt.js → file-access-b9grawmm.js} +6 -6
- package/dist/chunks/{wellknown-8rf0kzav.js → file-access-bcw6cn9v.js} +14 -14
- package/dist/chunks/{wellknown-dgpcwjyr.js → file-access-bepc4jha.js} +7 -7
- package/dist/chunks/{wellknown-rpjgfq5s.js → file-access-bkxyw0dr.js} +9 -9
- package/dist/chunks/{wellknown-qr41fj7g.js → file-access-bm13kvhf.js} +24 -24
- package/dist/chunks/{wellknown-8fcpx6fd.js → file-access-bprgs97j.js} +8 -8
- package/dist/chunks/{wellknown-9qa7tgq7.js → file-access-btgcmbzv.js} +5 -5
- package/dist/chunks/{wellknown-7mmrfg78.js → file-access-bwccqm6j.js} +29 -29
- package/dist/chunks/{wellknown-ss358qx3.js → file-access-c2sed5cq.js} +3 -3
- package/dist/chunks/{wellknown-rj3eygr5.js → file-access-c41wscbt.js} +2 -2
- package/dist/chunks/{wellknown-sa8ekw3f.js → file-access-c8ax2afj.js} +2 -2
- package/dist/chunks/{wellknown-7zen39vj.js → file-access-cap6c1x0.js} +15 -15
- package/dist/chunks/{wellknown-s0v6p2yw.js → file-access-cf0apvch.js} +32 -32
- package/dist/chunks/{wellknown-w07ceyf6.js → file-access-ckacr8qp.js} +11 -11
- package/dist/chunks/{wellknown-r8p69s1c.js → file-access-d2gv4akw.js} +25 -25
- package/dist/chunks/{wellknown-7bv32vg5.js → file-access-d48vtfkp.js} +18 -18
- package/dist/chunks/{wellknown-g6q9qykm.js → file-access-d4he2qe1.js} +9 -9
- package/dist/chunks/{wellknown-pf22mz8r.js → file-access-d5xh5z6d.js} +9 -9
- package/dist/chunks/{wellknown-4h43dkdc.js → file-access-dexacah2.js} +3 -3
- package/dist/chunks/{wellknown-nzpx1vcj.js → file-access-dfj37skf.js} +16 -16
- package/dist/chunks/{wellknown-hpprjz2x.js → file-access-dfq2h1zq.js} +86 -86
- package/dist/chunks/{wellknown-j12d2378.js → file-access-dhcaxbkm.js} +13 -13
- package/dist/chunks/{wellknown-9fnvw4me.js → file-access-dkhqf1q0.js} +11 -11
- package/dist/chunks/{wellknown-jwcy2c2z.js → file-access-dpkg50ah.js} +4 -4
- package/dist/chunks/{wellknown-dqxsqydv.js → file-access-dqxsqydv.js} +1 -1
- package/dist/chunks/{wellknown-4a4brprq.js → file-access-dw28k738.js} +15 -15
- package/dist/chunks/{wellknown-eebwej4h.js → file-access-dygjvfrp.js} +9 -9
- package/dist/chunks/{wellknown-sa65s65v.js → file-access-dzbmxh5c.js} +32 -32
- package/dist/chunks/{wellknown-02nrjc1r.js → file-access-eaj1djv9.js} +4 -4
- package/dist/chunks/{wellknown-sxcaecc0.js → file-access-ed1g29hy.js} +3 -3
- package/dist/chunks/{wellknown-hb15wvdc.js → file-access-edv1g30z.js} +20 -20
- package/dist/chunks/{wellknown-eej6y6fw.js → file-access-eej6y6fw.js} +2 -2
- package/dist/chunks/{wellknown-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{wellknown-wby3r2te.js → file-access-efss0yr1.js} +11 -11
- package/dist/chunks/{wellknown-c1fqxshp.js → file-access-es1vcfrp.js} +3 -3
- package/dist/chunks/{wellknown-cwbr2z2s.js → file-access-f5xdkyf5.js} +24 -24
- package/dist/chunks/{wellknown-b71vccdc.js → file-access-fa3fxms1.js} +14 -14
- package/dist/chunks/{wellknown-g0bsnk2d.js → file-access-faydtw9x.js} +26 -26
- package/dist/chunks/{wellknown-t03ww8yv.js → file-access-ffmtf96p.js} +8 -8
- package/dist/chunks/{wellknown-dmz80tty.js → file-access-fpcyfj4p.js} +10 -10
- package/dist/chunks/{wellknown-44dr8ap3.js → file-access-g1sxm558.js} +8 -8
- package/dist/chunks/{wellknown-5ywcvhgz.js → file-access-g5aztb9w.js} +1 -1
- package/dist/chunks/{wellknown-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-x9f80hf5.js → file-access-ggmp41wd.js} +15 -15
- package/dist/chunks/{wellknown-bvt1dkk7.js → file-access-gjwgnwyt.js} +36 -36
- package/dist/chunks/{wellknown-750nsdt5.js → file-access-gqvrx0k4.js} +12 -12
- package/dist/chunks/{wellknown-977ek0nq.js → file-access-gwfvn308.js} +8 -8
- package/dist/chunks/{wellknown-c6g25emx.js → file-access-gxcpmwxq.js} +42 -42
- package/dist/chunks/{wellknown-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-31xfzrxg.js → file-access-h7s7r6s9.js} +5 -5
- package/dist/chunks/{wellknown-xs59c258.js → file-access-hcqrq8nm.js} +11 -11
- package/dist/chunks/{wellknown-kzpcyh9m.js → file-access-hfe3etvx.js} +4 -4
- package/dist/chunks/{wellknown-hgz4x7wa.js → file-access-hgz4x7wa.js} +1 -1
- package/dist/chunks/{wellknown-91qna3x0.js → file-access-j09zfasm.js} +3 -3
- package/dist/chunks/{wellknown-kpyhj2m1.js → file-access-j2zn7p5s.js} +54 -54
- package/dist/chunks/{wellknown-ywem5egc.js → file-access-j73xaykt.js} +50 -50
- package/dist/chunks/{wellknown-h63k1jxz.js → file-access-j8vs3k5w.js} +26 -26
- package/dist/chunks/{wellknown-94jgxf6b.js → file-access-jhf3jymm.js} +6 -6
- package/dist/chunks/{wellknown-d6wrpmsf.js → file-access-jqm0p7na.js} +46 -46
- package/dist/chunks/{wellknown-dxcm25gw.js → file-access-jvb9xte8.js} +9 -9
- package/dist/chunks/{wellknown-pf41e8d6.js → file-access-k1st3y5b.js} +14 -14
- package/dist/chunks/{wellknown-vezvmmkc.js → file-access-k1szzmcz.js} +30 -30
- package/dist/chunks/{wellknown-sfnv3k5q.js → file-access-k4k4514v.js} +17 -17
- package/dist/chunks/{wellknown-88sfk2zz.js → file-access-k9hzba59.js} +13 -13
- package/dist/chunks/{wellknown-m4xp7g9h.js → file-access-kd5678n6.js} +11 -11
- package/dist/chunks/{wellknown-fsfgp9zc.js → file-access-kdvfx77d.js} +4 -4
- package/dist/chunks/{wellknown-0r5qpn88.js → file-access-kdz0rk07.js} +8 -8
- package/dist/chunks/{wellknown-1w2wqhfv.js → file-access-khmqacep.js} +4 -4
- package/dist/chunks/{wellknown-z34a3zms.js → file-access-kmcktn5j.js} +4 -4
- package/dist/chunks/{wellknown-6h75mtqq.js → file-access-kn5tafaf.js} +24 -24
- package/dist/chunks/{wellknown-c9dqxpa8.js → file-access-ky0k6zys.js} +17 -17
- package/dist/chunks/{wellknown-zj26n4p5.js → file-access-m0nv8qas.js} +11 -11
- package/dist/chunks/{wellknown-1fb6z7fy.js → file-access-m0p4awvf.js} +20 -20
- package/dist/chunks/{wellknown-rwm5vee1.js → file-access-m70sbz6t.js} +4 -4
- package/dist/chunks/{wellknown-12h9p0wn.js → file-access-m7kegrcq.js} +36 -36
- package/dist/chunks/{wellknown-f5twkvtp.js → file-access-m928h0gj.js} +10 -10
- package/dist/chunks/{wellknown-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-maspj1v3.js → file-access-maspj1v3.js} +1 -1
- package/dist/chunks/{wellknown-63db42yp.js → file-access-mb14aw74.js} +2 -2
- package/dist/chunks/{wellknown-dv49h3ab.js → file-access-mbjvzahx.js} +11 -11
- package/dist/chunks/{wellknown-fc1p3qhs.js → file-access-mjwk6wfx.js} +8 -8
- package/dist/chunks/{wellknown-y29hd157.js → file-access-mjyfvzvk.js} +6 -6
- package/dist/chunks/{wellknown-s3whsmn8.js → file-access-mpt1m363.js} +42 -42
- package/dist/chunks/{wellknown-dxk0v5jy.js → file-access-n2erk2qq.js} +73 -73
- package/dist/chunks/{wellknown-c0szj8mg.js → file-access-n31904rg.js} +11 -11
- package/dist/chunks/{wellknown-nkjfer5e.js → file-access-n3dz8fb2.js} +1 -1
- package/dist/chunks/{wellknown-fkz2hbrj.js → file-access-n8yw2qpj.js} +14 -14
- package/dist/chunks/{wellknown-ry7acwm0.js → file-access-nb5065av.js} +8 -8
- package/dist/chunks/{wellknown-2t3pe3ay.js → file-access-nfvkw1mm.js} +5 -5
- package/dist/chunks/{wellknown-e8vwfchq.js → file-access-ngyrtr94.js} +6 -6
- package/dist/chunks/{wellknown-aj69q5m7.js → file-access-nhkznqrv.js} +18 -18
- package/dist/chunks/{wellknown-dfqan8cb.js → file-access-nnpypz22.js} +35 -33
- package/dist/chunks/{wellknown-j6a8aq46.js → file-access-npjgym32.js} +13 -13
- package/dist/chunks/{wellknown-arsaz79s.js → file-access-nqv9yqds.js} +36 -36
- package/dist/chunks/{wellknown-agns0eqw.js → file-access-nvjdyy3z.js} +2 -2
- package/dist/chunks/{wellknown-aqrn4nva.js → file-access-pbahfm5x.js} +22 -22
- package/dist/chunks/{wellknown-wc6jcbfj.js → file-access-pbkhx8jc.js} +6 -6
- package/dist/chunks/{wellknown-ed5vbj39.js → file-access-pbxbebnn.js} +3 -3
- package/dist/chunks/{wellknown-tkcrbpkc.js → file-access-pes7pnh1.js} +6 -6
- package/dist/chunks/{wellknown-vjtqbry4.js → file-access-pf5ssx8n.js} +35 -35
- package/dist/chunks/{wellknown-m270m2xy.js → file-access-ph104vey.js} +14 -14
- package/dist/chunks/{wellknown-6s2tmc11.js → file-access-ph2th0nb.js} +26 -26
- package/dist/chunks/{wellknown-bp37m2rz.js → file-access-ph2x0fg2.js} +13 -13
- package/dist/chunks/{wellknown-br0tr5aq.js → file-access-phstrbs2.js} +8 -8
- package/dist/chunks/{wellknown-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-q5e7cmwt.js → file-access-pnzf6mjf.js} +1 -1
- package/dist/chunks/{wellknown-x8gz1y8e.js → file-access-ppbmqrvr.js} +8 -8
- package/dist/chunks/{wellknown-pmqt8xvq.js → file-access-pqz03z8g.js} +13 -13
- package/dist/chunks/{wellknown-wsz42k4c.js → file-access-pyhps8rr.js} +15 -15
- package/dist/chunks/{wellknown-q0xm7vwc.js → file-access-q0xm7vwc.js} +2 -2
- package/dist/chunks/{wellknown-3wjs679v.js → file-access-q866mrsk.js} +11 -11
- package/dist/chunks/{wellknown-k0w1apbg.js → file-access-qjx1ax0j.js} +5 -5
- package/dist/chunks/{wellknown-6jes1v8p.js → file-access-qk0trefb.js} +27 -27
- package/dist/chunks/{wellknown-qnc92qwc.js → file-access-qnc92qwc.js} +1 -1
- package/dist/chunks/{wellknown-feandh7w.js → file-access-qs5g4tjy.js} +11 -11
- package/dist/chunks/{wellknown-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-eq0qj5km.js → file-access-qvn3sktm.js} +15 -15
- package/dist/chunks/{wellknown-a7hgzxnm.js → file-access-r5tn31vm.js} +20 -20
- package/dist/chunks/{wellknown-sdcvfepd.js → file-access-rapc5ygk.js} +34 -34
- package/dist/chunks/{wellknown-dfswbqxy.js → file-access-rdb5mbw2.js} +5 -5
- package/dist/chunks/{wellknown-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{wellknown-0ea8b062.js → file-access-rj7vaynp.js} +6 -6
- package/dist/chunks/{wellknown-k6xe77vp.js → file-access-rn3dpxc7.js} +26 -26
- package/dist/chunks/{wellknown-7b6r8ck4.js → file-access-rq3fykv0.js} +11 -11
- package/dist/chunks/{wellknown-kwebw1f9.js → file-access-rv3vf44n.js} +20 -20
- package/dist/chunks/{wellknown-hne6wryx.js → file-access-s5dv59ce.js} +11 -11
- package/dist/chunks/{wellknown-w5nnqvt9.js → file-access-se7f09tz.js} +14 -14
- package/dist/chunks/{wellknown-rf6cmkn1.js → file-access-ssabpyyc.js} +11 -11
- package/dist/chunks/{wellknown-k2enwv2b.js → file-access-svqj1re3.js} +11 -11
- package/dist/chunks/{wellknown-syv4x271.js → file-access-syv4x271.js} +1 -1
- package/dist/chunks/{wellknown-1d5nnay3.js → file-access-t66kkf9x.js} +7 -7
- package/dist/chunks/{wellknown-6yf3rgd4.js → file-access-t7991sab.js} +22 -22
- package/dist/chunks/{wellknown-5sbjbr1z.js → file-access-ta9h6rc8.js} +17 -17
- package/dist/chunks/{wellknown-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-dxkbh67h.js → file-access-tb41x54d.js} +183 -180
- package/dist/chunks/{wellknown-8xe6bs0v.js → file-access-td4xfqsh.js} +24 -24
- package/dist/chunks/{wellknown-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-en4xvc85.js → file-access-tg1sa0zd.js} +11 -11
- package/dist/chunks/{wellknown-bc3jdwdt.js → file-access-tgd5gdg0.js} +21 -21
- package/dist/chunks/{wellknown-hntzpe8x.js → file-access-tjh2ebqe.js} +46 -46
- package/dist/chunks/{wellknown-rert0e01.js → file-access-tkb22qbm.js} +2 -2
- package/dist/chunks/{wellknown-tkmwgdpd.js → file-access-tkmwgdpd.js} +1 -1
- package/dist/chunks/{wellknown-406d5y7e.js → file-access-tky9nxkg.js} +11 -11
- package/dist/chunks/{wellknown-tm0kqsz3.js → file-access-tm0kqsz3.js} +1 -1
- package/dist/chunks/{wellknown-ephdpjpk.js → file-access-tsf7jqnv.js} +11 -11
- package/dist/chunks/{wellknown-2qfbznn4.js → file-access-tvhzy6at.js} +7 -7
- package/dist/chunks/{wellknown-tyytaxap.js → file-access-tyytaxap.js} +1 -1
- package/dist/chunks/{wellknown-5bh0z814.js → file-access-v5fpz4k6.js} +17 -17
- package/dist/chunks/{wellknown-q41j192t.js → file-access-v7j34b1q.js} +34 -34
- package/dist/chunks/{wellknown-v7p4zvkq.js → file-access-v7p4zvkq.js} +2 -2
- package/dist/chunks/{wellknown-wy10hgka.js → file-access-v7vqgwnw.js} +13 -13
- package/dist/chunks/{wellknown-nk2rh2kv.js → file-access-vegf0t4s.js} +22 -22
- package/dist/chunks/{wellknown-k0w6pc3q.js → file-access-veqsm63q.js} +16 -16
- package/dist/chunks/{wellknown-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-gxs5ae2m.js → file-access-vg6c8hx6.js} +19 -19
- package/dist/chunks/{wellknown-pbr5vsn4.js → file-access-vmvedq7t.js} +11 -11
- package/dist/chunks/{wellknown-fcfgbxy0.js → file-access-vwnm4pgh.js} +18 -18
- package/dist/chunks/{wellknown-bbj58qrh.js → file-access-vyqay02k.js} +21 -21
- package/dist/chunks/{wellknown-vzs5sf6e.js → file-access-vzs5sf6e.js} +1 -1
- package/dist/chunks/{wellknown-k0sbsg2j.js → file-access-w1c1cf4j.js} +38 -38
- package/dist/chunks/{wellknown-w39jehkq.js → file-access-w39jehkq.js} +2 -2
- package/dist/chunks/{wellknown-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-kjyb9yg1.js → file-access-w54rakr2.js} +17 -17
- package/dist/chunks/{wellknown-6pc27hjz.js → file-access-w92k2e0p.js} +4 -4
- package/dist/chunks/{wellknown-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-zyk1yjk8.js → file-access-wecqtg5s.js} +5 -5
- package/dist/chunks/{wellknown-tbmac1c7.js → file-access-wj76ss2k.js} +4 -4
- package/dist/chunks/{wellknown-me2jwsw7.js → file-access-wkxs5zxa.js} +4 -4
- package/dist/chunks/{wellknown-m1thq6y5.js → file-access-wv5qhq9f.js} +32 -32
- package/dist/chunks/{wellknown-v3r6gn43.js → file-access-wyrb85n5.js} +4 -4
- package/dist/chunks/{wellknown-3564f6e1.js → file-access-x1ppmybn.js} +15 -15
- package/dist/chunks/{wellknown-a2rpfkac.js → file-access-x3gqap9d.js} +4 -4
- package/dist/chunks/file-access-x3hek3ek.js +253 -0
- package/dist/chunks/{wellknown-5dvvye93.js → file-access-x634pv7c.js} +11 -11
- package/dist/chunks/{wellknown-8wjq8j5g.js → file-access-xgdprf3q.js} +5 -5
- package/dist/chunks/{wellknown-fq2evrb4.js → file-access-xj676ht6.js} +32 -32
- package/dist/chunks/{wellknown-jz3cw5kw.js → file-access-xjh793w0.js} +10 -10
- package/dist/chunks/{wellknown-ya8pshrk.js → file-access-xyxdq3nn.js} +57 -57
- package/dist/chunks/{wellknown-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-phz50fbd.js → file-access-y7nndgyc.js} +9 -9
- package/dist/chunks/{wellknown-tdnbqpcs.js → file-access-yae8t1qx.js} +12 -12
- package/dist/chunks/{wellknown-xvtj7wm9.js → file-access-yg2fry7j.js} +9 -9
- package/dist/chunks/{wellknown-f29mbr7f.js → file-access-yrcj3v3g.js} +4 -4
- package/dist/chunks/{wellknown-ywt8jp22.js → file-access-ywt8jp22.js} +2 -2
- package/dist/chunks/{wellknown-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-q1r88088.js → file-access-z12amds2.js} +18 -18
- package/dist/chunks/{wellknown-7vgpq361.js → file-access-z393mc3q.js} +13 -13
- package/dist/chunks/{wellknown-dzvamb5e.js → file-access-z3wfwvnq.js} +22 -22
- package/dist/chunks/{wellknown-sdh9qj8n.js → file-access-zhkxd4p1.js} +18 -18
- package/dist/chunks/{wellknown-e0cy15x4.js → file-access-zja718nw.js} +13 -13
- package/dist/chunks/{wellknown-77j65bfh.js → file-access-zn6q40y3.js} +32 -32
- package/dist/chunks/{wellknown-j72j475b.js → file-access-znvgkdeh.js} +19 -19
- package/dist/chunks/{wellknown-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-qfhpm3qc.js → file-access-zrfr384z.js} +24 -24
- package/dist/chunks/{wellknown-8pmdn921.js → file-access-zrkpefyn.js} +3 -3
- package/dist/chunks/{wellknown-zxq2ej10.js → file-access-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 +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- 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 +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +105 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +108 -108
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/provider.d.ts +7 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/wellknown-d6p37nrf.js +0 -253
- package/dist/chunks/wellknown-ht5y0zrb.js +0 -18
- package/dist/chunks/wellknown-jrfynmv6.js +0 -26
- /package/dist/chunks/{wellknown-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2bv980vf.js → file-access-2bv980vf.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3t0ybcrp.js → file-access-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-6q2bdcd1.js → file-access-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-84wd9syh.js → file-access-84wd9syh.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → file-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hcxmzztb.js → file-access-hcxmzztb.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jze0r7bz.js → file-access-jze0r7bz.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-m18g726c.js → file-access-m18g726c.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-pkyv6v7h.js → file-access-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{wellknown-pyv0edze.js → file-access-pyv0edze.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-ve7vex1e.js → file-access-ve7vex1e.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wjj7prxr.js → file-access-wjj7prxr.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z5v4ffb3.js → file-access-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node89
|
|
7
|
+
} from "./file-access-4s3dfb2j.js";
|
|
8
8
|
import {
|
|
9
9
|
Service84,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
node88
|
|
11
|
+
} from "./file-access-hcqrq8nm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-vmvedq7t.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
19
19
|
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-0bg0bx69.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-access-c41wscbt.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-c8ax2afj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-access-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,7 +40,7 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
46
|
node: () => node85,
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service82;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service84;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
173
173
|
if (!row)
|
|
174
174
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
190
|
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service81.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
309
|
var node85 = makeGlobalNode({
|
|
310
|
-
service:
|
|
310
|
+
service: Service81,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node86, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service81;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
320
|
deps: [node85]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2,
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service81, node85, sweepNode2, exports_project };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-access-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -43,10 +43,10 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
122
|
-
changed:
|
|
121
|
+
initial: render3,
|
|
122
|
+
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make15, exports_instructions5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node10, exports_location_watcher_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./file-access-jhf3jymm.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9zdhvgqs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./file-access-tjh2ebqe.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-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* Service37;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-btgcmbzv.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
11
|
Service44,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node46
|
|
13
|
+
} from "./file-access-npjgym32.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
Service: () => Service29,
|
|
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";
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service29 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
65
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
66
66
|
const skills = yield* Service44;
|
|
67
|
-
return
|
|
67
|
+
return Service29.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(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: Key4.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(Service26, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node46] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service29, node33, exports_instructions4 };
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-access-4s3dfb2j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-access-m0nv8qas.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./file-access-k1szzmcz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID11,
|
|
17
|
+
Service68,
|
|
18
|
+
node72
|
|
19
|
+
} from "./file-access-pbahfm5x.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-access-ngyrtr94.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-access-eaj1djv9.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-access-yrcj3v3g.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-access-nb5065av.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service65,
|
|
34
|
+
node69
|
|
35
|
+
} from "./file-access-zja718nw.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
39
|
-
import {
|
|
40
|
-
make13
|
|
41
|
-
} from "./wellknown-7bv32vg5.js";
|
|
42
|
-
import {
|
|
43
|
-
Service36,
|
|
44
|
-
node39
|
|
45
|
-
} from "./wellknown-6s2tmc11.js";
|
|
46
|
-
import {
|
|
47
|
-
Service25,
|
|
48
|
-
node29
|
|
49
|
-
} from "./wellknown-4a4brprq.js";
|
|
38
|
+
} from "./file-access-xyxdq3nn.js";
|
|
50
39
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./wellknown-qfhpm3qc.js";
|
|
40
|
+
make15
|
|
41
|
+
} from "./file-access-d48vtfkp.js";
|
|
54
42
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
43
|
+
Service83,
|
|
44
|
+
node87
|
|
45
|
+
} from "./file-access-ph2th0nb.js";
|
|
58
46
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
47
|
+
Service22,
|
|
48
|
+
node26
|
|
49
|
+
} from "./file-access-dw28k738.js";
|
|
62
50
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
51
|
+
Service48,
|
|
52
|
+
node50
|
|
53
|
+
} from "./file-access-zrfr384z.js";
|
|
66
54
|
import {
|
|
67
55
|
Service26,
|
|
68
56
|
node30
|
|
69
|
-
} from "./
|
|
57
|
+
} from "./file-access-9qaf42c8.js";
|
|
58
|
+
import {
|
|
59
|
+
Service25,
|
|
60
|
+
node29
|
|
61
|
+
} from "./file-access-vegf0t4s.js";
|
|
70
62
|
import {
|
|
71
63
|
Service23,
|
|
72
64
|
node27
|
|
73
|
-
} from "./
|
|
65
|
+
} from "./file-access-vwnm4pgh.js";
|
|
66
|
+
import {
|
|
67
|
+
Service29,
|
|
68
|
+
node33
|
|
69
|
+
} from "./file-access-dfj37skf.js";
|
|
74
70
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
71
|
+
Service24,
|
|
72
|
+
node28
|
|
73
|
+
} from "./file-access-k1st3y5b.js";
|
|
74
|
+
import {
|
|
75
|
+
Service27,
|
|
76
|
+
node31
|
|
77
|
+
} from "./file-access-bwccqm6j.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service36,
|
|
80
|
+
node38
|
|
81
|
+
} from "./file-access-z393mc3q.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./file-access-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service21,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node25
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service21 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service68;
|
|
99
|
+
const builtins = yield* Service22;
|
|
100
|
+
const model = yield* Service75;
|
|
101
101
|
const db = (yield* Service85).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
102
|
+
const discovery = yield* Service83;
|
|
103
|
+
const entries = yield* Service24;
|
|
104
|
+
const location = yield* Service80;
|
|
105
|
+
const mcpInstructions = yield* Service25;
|
|
106
|
+
const mcpTools = yield* Service26;
|
|
107
|
+
const models = yield* Service36;
|
|
108
|
+
const request = yield* Service27;
|
|
109
|
+
const referenceInstructions = yield* Service23;
|
|
110
|
+
const skillInstructions = yield* Service29;
|
|
111
|
+
const store = yield* Service65;
|
|
112
|
+
const registry = yield* Service48;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID11.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make15(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service21.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node25 = makeLocationNode({
|
|
195
|
+
service: Service21,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
node82,
|
|
199
198
|
node72,
|
|
200
|
-
|
|
199
|
+
node79,
|
|
200
|
+
node89,
|
|
201
|
+
node26,
|
|
202
|
+
node87,
|
|
203
|
+
node28,
|
|
204
|
+
node84,
|
|
201
205
|
node29,
|
|
202
|
-
|
|
206
|
+
node30,
|
|
203
207
|
node27,
|
|
204
|
-
|
|
205
|
-
node22,
|
|
208
|
+
node38,
|
|
206
209
|
node31,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
node80,
|
|
211
|
-
node30,
|
|
212
|
-
node48
|
|
210
|
+
node69,
|
|
211
|
+
node33,
|
|
212
|
+
node50
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service21, node25, exports_context };
|