@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
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-access-g5aztb9w.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-access-a1d4wr68.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./file-access-nnpypz22.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID13.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID13.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID13.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -14,12 +14,18 @@ __export(exports_app_node_platform, {
|
|
|
14
14
|
webSocketConstructor: () => webSocketConstructor2
|
|
15
15
|
});
|
|
16
16
|
import { LLMClient, RequestExecutor } from "@opencode/ai/route";
|
|
17
|
+
import { Effect, Layer } from "effect";
|
|
18
|
+
import { FetchHttpClient, HttpClient } from "effect/http";
|
|
17
19
|
import { Socket } from "effect/socket";
|
|
18
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
21
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
22
|
+
var withoutBunTimeout = Layer.effect(HttpClient.HttpClient, Effect.gen(function* () {
|
|
23
|
+
const client = yield* HttpClient.HttpClient;
|
|
24
|
+
return HttpClient.transformResponse(client, Effect.provideService(FetchHttpClient.RequestInit, { timeout: false }));
|
|
25
|
+
}));
|
|
20
26
|
var requestExecutor2 = makeGlobalNode({
|
|
21
27
|
service: RequestExecutor.Service,
|
|
22
|
-
layer: RequestExecutor.layer,
|
|
28
|
+
layer: RequestExecutor.layer.pipe(Layer.provide(withoutBunTimeout)),
|
|
23
29
|
deps: [httpClient]
|
|
24
30
|
});
|
|
25
31
|
var llmClient2 = makeGlobalNode({ service: LLMClient.Service, layer: LLMClient.layer, deps: [requestExecutor2] });
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-hcqrq8nm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./file-access-a8pvjcdf.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-zrfr384z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./file-access-ssabpyyc.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-ngyrtr94.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-access-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-access-btgcmbzv.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-access-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-access-dexacah2.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-wecqtg5s.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-access-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -58,8 +58,8 @@ var INPUT_INCOMPLETE = {
|
|
|
58
58
|
var make3 = Effect.gen(function* () {
|
|
59
59
|
const bus = yield* Service84;
|
|
60
60
|
const llm = yield* LLMClient.Service;
|
|
61
|
-
const snapshots = yield*
|
|
62
|
-
const toolOutput = yield*
|
|
61
|
+
const snapshots = yield* Service32;
|
|
62
|
+
const toolOutput = yield* Service41;
|
|
63
63
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
64
64
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
65
65
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-access-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-access-hcqrq8nm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command5 = {};
|
|
14
14
|
__export(exports_command5, {
|
|
15
15
|
Command: () => exports_command5,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
18
|
+
Info: () => Info14,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service56,
|
|
21
21
|
layer: () => layer22,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node60
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info14 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service56 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var layer22 = Layer.effect(
|
|
44
|
+
var layer22 = Layer.effect(Service56, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service84;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info14.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service56.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
74
|
+
var node60 = makeLocationNode({
|
|
75
|
+
service: Service56,
|
|
76
76
|
layer: layer22,
|
|
77
|
-
deps: [
|
|
77
|
+
deps: [node88]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info14, NotFoundError6, ExecutionError2, Service56, layer22, node60, exports_command5, Event10 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-m0nv8qas.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service60,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node64,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service60 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service60, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node64 = LayerNode.unbound(Service60, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service60;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service60, node64, reload2, canonical3, exports_location_service_map };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-access-tm0kqsz3.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-access-nnpypz22.js";
|
|
9
9
|
import {
|
|
10
10
|
Capabilities2,
|
|
11
11
|
compatibility2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-k1szzmcz.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/v1/config/migrate.ts
|
|
18
18
|
var exports_migrate = {};
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-4s3dfb2j.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-hcqrq8nm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service37
|
|
9
|
+
} from "./file-access-jhf3jymm.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-ngyrtr94.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-access-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service65
|
|
29
|
+
} from "./file-access-zja718nw.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service35
|
|
34
|
+
} from "./file-access-j8vs3k5w.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service33
|
|
37
|
+
} from "./file-access-nqv9yqds.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-access-bcw6cn9v.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./file-access-048dg1q1.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-access-d5xh5z6d.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./file-access-0ebkhaww.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./file-access-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make13
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service65;
|
|
69
|
+
const instances = yield* Service37;
|
|
70
|
+
const execution = yield* Service33;
|
|
71
|
+
const admission = yield* Service35;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service37, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service37, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service37, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service84, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make13, exports_session2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-efss0yr1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-hcqrq8nm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./file-access-1xtm2zgn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-ak9nxzt9.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-access-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-nnpypz22.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-access-54ma36ye.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-access-pbkhx8jc.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID14.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID14.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID13.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID13.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID13.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
|
|
|
236
236
|
}));
|
|
237
237
|
evt.headers.originator = "opencode";
|
|
238
238
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID13.openai });
|
|
240
240
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
241
241
|
delete evt.options.maxTokens;
|
|
242
242
|
});
|
|
243
243
|
for (const name of ["context", "compaction"])
|
|
244
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
244
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(
|
|
246
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
function headers(contentType, app) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-vmvedq7t.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service71,
|
|
16
|
+
node75
|
|
17
|
+
} from "./file-access-svqj1re3.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-access-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service70,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node74,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service70 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service71;
|
|
110
|
+
return Service70.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node74 = makeGlobalNode({
|
|
171
|
+
service: Service70,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node75]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service70, isError2, validateBranch2, node74, exports_repository_cache };
|