@opencode/core 0.0.0-dev-21677 → 0.0.0-dev-21681
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{state-pc1v25hk.js → ripgrep-033a0jkt.js} +3 -3
- package/dist/chunks/{state-aj7mw0zk.js → ripgrep-034tev2y.js} +2 -2
- package/dist/chunks/{state-4xy1pe9v.js → ripgrep-0bzett23.js} +18 -18
- package/dist/chunks/{state-dkq45v8d.js → ripgrep-0gka690g.js} +6 -6
- package/dist/chunks/{state-s7ea1dqv.js → ripgrep-0t2h4nxf.js} +5 -5
- package/dist/chunks/{state-44m02g6g.js → ripgrep-0w2ve4np.js} +31 -31
- package/dist/chunks/{state-697v9084.js → ripgrep-0xt5rh38.js} +13 -13
- package/dist/chunks/{state-s7kyse9r.js → ripgrep-173t91w5.js} +9 -9
- package/dist/chunks/{state-172kwg3m.js → ripgrep-19nkwpt0.js} +17 -17
- package/dist/chunks/{state-vqd344gs.js → ripgrep-1b015yat.js} +11 -11
- package/dist/chunks/{state-27w5k9zf.js → ripgrep-1ep2p91f.js} +2 -2
- package/dist/chunks/{state-a4bn6z71.js → ripgrep-1fxyteqg.js} +93 -93
- package/dist/chunks/{state-8g0yjqch.js → ripgrep-1gn07jkh.js} +50 -50
- package/dist/chunks/{state-k9b99h6a.js → ripgrep-1kzr7jgm.js} +21 -14
- package/dist/chunks/{state-twe99j6z.js → ripgrep-1m0sdz90.js} +43 -43
- package/dist/chunks/{state-1x2knyw4.js → ripgrep-1x2knyw4.js} +1 -1
- package/dist/chunks/{state-jgdcf8mk.js → ripgrep-2553426h.js} +55 -55
- package/dist/chunks/{state-6q7w75th.js → ripgrep-294s6qh9.js} +14 -14
- package/dist/chunks/{state-xaknme5b.js → ripgrep-2c9g8tdm.js} +16 -16
- package/dist/chunks/{state-dek4cct4.js → ripgrep-2j72hntm.js} +23 -23
- package/dist/chunks/{state-qdz8jb55.js → ripgrep-2k3taesa.js} +11 -11
- package/dist/chunks/{state-k1na0zkx.js → ripgrep-2sj7hqj2.js} +25 -25
- package/dist/chunks/{state-2z1j29yd.js → ripgrep-2z1j29yd.js} +1 -1
- package/dist/chunks/{state-nz16ptw2.js → ripgrep-30v5g7xx.js} +5 -5
- package/dist/chunks/{state-xyygv393.js → ripgrep-310tqm6v.js} +1 -1
- package/dist/chunks/{state-fwm6gfkk.js → ripgrep-3g7mg7sy.js} +15 -15
- package/dist/chunks/{state-1rfxem6r.js → ripgrep-3gzarg29.js} +6 -6
- package/dist/chunks/{state-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-e71bb87j.js → ripgrep-3kk2jwp7.js} +8 -8
- package/dist/chunks/{state-26rstsyj.js → ripgrep-3mzdfzhq.js} +6 -6
- package/dist/chunks/{state-3nnrz6f6.js → ripgrep-3nnrz6f6.js} +1 -1
- package/dist/chunks/{state-eqr22vcz.js → ripgrep-40xdmnq6.js} +40 -40
- package/dist/chunks/{state-40za9wsf.js → ripgrep-40za9wsf.js} +2 -2
- package/dist/chunks/{state-c22sd85a.js → ripgrep-41scb8pj.js} +24 -24
- package/dist/chunks/{state-617k3a07.js → ripgrep-45zwd69n.js} +32 -32
- package/dist/chunks/{state-vw0xqtsc.js → ripgrep-4fht16ez.js} +35 -35
- package/dist/chunks/{state-b5120fys.js → ripgrep-4fjhw8k6.js} +6 -6
- package/dist/chunks/ripgrep-4my81qaj.js +18 -0
- package/dist/chunks/{state-gcn4eed3.js → ripgrep-4ssvmfsy.js} +13 -13
- package/dist/chunks/{state-4v008n1t.js → ripgrep-4v008n1t.js} +1 -1
- package/dist/chunks/{state-4xvmh7wp.js → ripgrep-4xvmh7wp.js} +3 -3
- package/dist/chunks/{state-r8dac9hr.js → ripgrep-50vfe0ee.js} +29 -29
- package/dist/chunks/{state-dj5majz4.js → ripgrep-5as2v2bz.js} +11 -11
- package/dist/chunks/{state-y0zshknz.js → ripgrep-5g9sd2wr.js} +5 -5
- package/dist/chunks/{state-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{state-en0q6wa2.js → ripgrep-5xp2x48q.js} +50 -50
- package/dist/chunks/{state-0z6vy9th.js → ripgrep-5yps8vga.js} +2 -2
- package/dist/chunks/{state-q036w687.js → ripgrep-69qhactm.js} +11 -11
- package/dist/chunks/{state-xrsvkqaj.js → ripgrep-6cg3ssar.js} +30 -30
- package/dist/chunks/{state-1zryh94y.js → ripgrep-6cjq3rwx.js} +14 -14
- package/dist/chunks/{state-49rs4jgp.js → ripgrep-6cmhwkbz.js} +9 -9
- package/dist/chunks/{state-6esdw8yj.js → ripgrep-6esdw8yj.js} +1 -1
- package/dist/chunks/{state-330ptwd3.js → ripgrep-6ha07q56.js} +336 -336
- package/dist/chunks/{state-aw3jaa69.js → ripgrep-6nracgmf.js} +194 -194
- package/dist/chunks/{state-e8w4nwgj.js → ripgrep-6p7ksc7d.js} +14 -14
- package/dist/chunks/{state-3zwfmt1r.js → ripgrep-6paamakb.js} +14 -14
- package/dist/chunks/{state-6pjqjmy2.js → ripgrep-6pjqjmy2.js} +1 -1
- package/dist/chunks/{state-xfgh3jy3.js → ripgrep-6w73wc21.js} +17 -17
- package/dist/chunks/{state-12qba4r3.js → ripgrep-6xjhb3qk.js} +17 -17
- package/dist/chunks/{state-s2x7krsf.js → ripgrep-73h6c5mr.js} +11 -11
- package/dist/chunks/{state-76cb1hcw.js → ripgrep-76cb1hcw.js} +1 -1
- package/dist/chunks/{state-nah043kf.js → ripgrep-770pw0s1.js} +4 -4
- package/dist/chunks/{state-hcgm01z1.js → ripgrep-77w2yzyb.js} +11 -11
- package/dist/chunks/{state-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-044qwh7v.js → ripgrep-7dbx9kd5.js} +12 -12
- package/dist/chunks/{state-5rya34s6.js → ripgrep-7hw2cvx7.js} +27 -27
- package/dist/chunks/{state-q0m6jj65.js → ripgrep-7kqnvg9k.js} +22 -22
- package/dist/chunks/{state-6r7v16zt.js → ripgrep-7nn3h2cy.js} +42 -42
- package/dist/chunks/{state-7w2ypzdf.js → ripgrep-7w2ypzdf.js} +1 -1
- package/dist/chunks/{state-q9dgbjd9.js → ripgrep-7za0dwv2.js} +7 -7
- package/dist/chunks/{state-xrdxc1gc.js → ripgrep-883mde3e.js} +47 -47
- package/dist/chunks/{state-ancq0kt2.js → ripgrep-8922dvha.js} +25 -25
- package/dist/chunks/{state-6g7wb8pj.js → ripgrep-8bm7axdr.js} +11 -11
- package/dist/chunks/{state-tc25ehwb.js → ripgrep-8cpd998p.js} +13 -13
- package/dist/chunks/{state-z6vkvca5.js → ripgrep-8krb2gbb.js} +9 -9
- package/dist/chunks/{state-8wtp7s3z.js → ripgrep-8wtp7s3z.js} +1 -1
- package/dist/chunks/{state-qek2023v.js → ripgrep-8yamfpxb.js} +30 -30
- package/dist/chunks/{state-91rj84md.js → ripgrep-91rj84md.js} +1 -1
- package/dist/chunks/{state-67vajddp.js → ripgrep-94drbbkf.js} +30 -30
- package/dist/chunks/{state-nkh6rh9e.js → ripgrep-94ggdtye.js} +12 -12
- package/dist/chunks/{state-c3cfh5w6.js → ripgrep-9562mf0m.js} +9 -9
- package/dist/chunks/{state-4jkzeynr.js → ripgrep-95gg0e1q.js} +23 -23
- package/dist/chunks/{state-dvj9ct8m.js → ripgrep-998yhzzq.js} +3 -3
- package/dist/chunks/{state-es3s6s73.js → ripgrep-9b28cy4d.js} +5 -5
- package/dist/chunks/{state-m0rn1g2h.js → ripgrep-9ejpa58f.js} +8 -8
- package/dist/chunks/{state-v82fj2wn.js → ripgrep-a17pc1jp.js} +6 -6
- package/dist/chunks/{state-d47qntqb.js → ripgrep-a1tbznxp.js} +11 -11
- package/dist/chunks/{state-2128mz7a.js → ripgrep-a8m490ta.js} +53 -48
- package/dist/chunks/{state-3vfjjjh8.js → ripgrep-ab2zewxm.js} +11 -11
- package/dist/chunks/{state-d1r5081s.js → ripgrep-aeb4sny1.js} +5 -5
- package/dist/chunks/{state-psdm5k4e.js → ripgrep-aqb8zn2t.js} +35 -35
- package/dist/chunks/{state-sa0dwrka.js → ripgrep-atet4mee.js} +14 -14
- package/dist/chunks/{state-3cbjf1nt.js → ripgrep-ayjs7tqn.js} +2 -2
- package/dist/chunks/{state-b0mv4wxm.js → ripgrep-b0mv4wxm.js} +2 -2
- package/dist/chunks/{state-b6vsg801.js → ripgrep-b6vsg801.js} +2 -2
- package/dist/chunks/{state-esj00h2k.js → ripgrep-bayr563p.js} +19 -19
- package/dist/chunks/{state-14kme7tc.js → ripgrep-bf166mt2.js} +29 -29
- package/dist/chunks/{state-w3vrex7x.js → ripgrep-bkwbn9k7.js} +12 -12
- package/dist/chunks/{state-9r0x1bva.js → ripgrep-bqwdyg2t.js} +2 -2
- package/dist/chunks/{state-bstexjd6.js → ripgrep-bstexjd6.js} +1 -1
- package/dist/chunks/{state-1915y0wf.js → ripgrep-bsxvja55.js} +21 -21
- package/dist/chunks/{state-srpk9j1a.js → ripgrep-bt7pct3b.js} +23 -23
- package/dist/chunks/{state-xcq2y651.js → ripgrep-c4fe50v7.js} +16 -16
- package/dist/chunks/{state-w0dmea0f.js → ripgrep-ca5mcr31.js} +12 -12
- package/dist/chunks/{state-fy6jsj22.js → ripgrep-cc3tw12v.js} +6 -6
- package/dist/chunks/{state-njsbtr8g.js → ripgrep-cckz6hvv.js} +16 -16
- package/dist/chunks/{state-xhqrarz2.js → ripgrep-cvdn796p.js} +11 -11
- package/dist/chunks/{state-yfwy0123.js → ripgrep-cxsv7r2q.js} +21 -21
- package/dist/chunks/{state-hvcnescj.js → ripgrep-cza8pqvg.js} +6 -6
- package/dist/chunks/{state-bjhzkqyk.js → ripgrep-d1v2vbzt.js} +4 -4
- package/dist/chunks/{state-sg11w837.js → ripgrep-d2455waf.js} +20 -20
- package/dist/chunks/{state-c9t2ty9q.js → ripgrep-d2887f8n.js} +4 -4
- package/dist/chunks/{state-49cvc3c9.js → ripgrep-d4ctf4tn.js} +4 -4
- package/dist/chunks/{state-d4v9tmah.js → ripgrep-d4v9tmah.js} +2 -2
- package/dist/chunks/{state-smz3qfre.js → ripgrep-dj23h38q.js} +17 -17
- package/dist/chunks/{state-cfkc8wvf.js → ripgrep-dk5xnaxx.js} +4 -4
- package/dist/chunks/ripgrep-dnqjcqs4.js +257 -0
- package/dist/chunks/{state-dwh0pt33.js → ripgrep-drxfbsjt.js} +23 -23
- package/dist/chunks/{state-ec2dc8dw.js → ripgrep-dsnzvv9e.js} +1 -1
- package/dist/chunks/{state-syh9frb4.js → ripgrep-dvg9k2dh.js} +29 -29
- package/dist/chunks/{state-r9x1a239.js → ripgrep-e70s01gt.js} +7 -7
- package/dist/chunks/{state-e834z07m.js → ripgrep-e834z07m.js} +1 -1
- package/dist/chunks/{state-dgmfjgtz.js → ripgrep-ebjg363t.js} +4 -4
- package/dist/chunks/{state-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-ee9c368m.js → ripgrep-ev4vjjv8.js} +12 -12
- package/dist/chunks/{state-07sd7cjb.js → ripgrep-f4wjqfv3.js} +11 -11
- package/dist/chunks/{state-77vk6v4z.js → ripgrep-f80yq6ab.js} +11 -11
- package/dist/chunks/{state-qzjk3zq0.js → ripgrep-favmj1rd.js} +11 -11
- package/dist/chunks/{state-fffv3p7h.js → ripgrep-fffv3p7h.js} +1 -1
- package/dist/chunks/{state-yws5p2hn.js → ripgrep-fhbtev1x.js} +21 -21
- package/dist/chunks/{state-s7hry362.js → ripgrep-fkjeaz1p.js} +91 -91
- package/dist/chunks/{state-s27kve8r.js → ripgrep-fx9xfnkv.js} +9 -9
- package/dist/chunks/{state-q9gvrhhm.js → ripgrep-g15zpze4.js} +25 -25
- package/dist/chunks/{state-1bvftq1p.js → ripgrep-g1d2dsmd.js} +13 -13
- package/dist/chunks/{state-cc3fa17z.js → ripgrep-g33nfd42.js} +9 -9
- package/dist/chunks/{state-g5h9c0rr.js → ripgrep-g5h9c0rr.js} +2 -2
- package/dist/chunks/{state-zfyb5tr4.js → ripgrep-g9ndtp1p.js} +4 -4
- package/dist/chunks/{state-tc831k31.js → ripgrep-gb9ye6vs.js} +25 -25
- package/dist/chunks/{state-v32krhk0.js → ripgrep-gk7y8xcq.js} +4 -4
- package/dist/chunks/{state-mkh464f3.js → ripgrep-gybx331m.js} +18 -18
- package/dist/chunks/{state-mpcws20e.js → ripgrep-h3r7ht18.js} +35 -35
- package/dist/chunks/{state-msrrdpv7.js → ripgrep-he4vfjva.js} +28 -28
- package/dist/chunks/{state-dc38nx3a.js → ripgrep-heq6tkdz.js} +18 -18
- package/dist/chunks/{state-914jfpmk.js → ripgrep-ht9phm2k.js} +5 -5
- package/dist/chunks/{state-haf5xzvt.js → ripgrep-hyjk9r55.js} +22 -22
- package/dist/chunks/{state-nvxqht09.js → ripgrep-hzrfc1p4.js} +2 -2
- package/dist/chunks/{state-j113cymg.js → ripgrep-j113cymg.js} +1 -1
- package/dist/chunks/{state-m9168hv5.js → ripgrep-j3eb93p8.js} +37 -37
- package/dist/chunks/{state-vrcsa8qx.js → ripgrep-j5e0tcqv.js} +9 -9
- package/dist/chunks/{state-4vswmwyp.js → ripgrep-j7xyg8fd.js} +33 -33
- package/dist/chunks/{state-8ykqf5wm.js → ripgrep-jae53m2x.js} +11 -11
- package/dist/chunks/{state-e5dqjz6v.js → ripgrep-jchrqzf6.js} +4 -4
- package/dist/chunks/{state-v3ntmnn8.js → ripgrep-jfy2z3aw.js} +24 -24
- package/dist/chunks/{state-nbyn5sh0.js → ripgrep-jkacm1w4.js} +3 -3
- package/dist/chunks/{state-eqmkrg1f.js → ripgrep-jnztxn4f.js} +24 -24
- package/dist/chunks/{state-vm2jz6zq.js → ripgrep-jpqadng4.js} +17 -17
- package/dist/chunks/{state-gczz9yj9.js → ripgrep-jqy0757m.js} +10 -10
- package/dist/chunks/{state-dkm83r25.js → ripgrep-jrcyk1qp.js} +48 -48
- package/dist/chunks/{state-zztrcv6s.js → ripgrep-jxr5ks98.js} +6 -6
- package/dist/chunks/{state-f4q3f8d1.js → ripgrep-k1yj6xhg.js} +22 -22
- package/dist/chunks/{state-q18facvz.js → ripgrep-k28jwpmn.js} +1 -1
- package/dist/chunks/{state-ezbq2hxf.js → ripgrep-k47d96va.js} +5 -5
- package/dist/chunks/{state-4skqtp9p.js → ripgrep-k5aja770.js} +8 -8
- package/dist/chunks/{state-6bt41jr7.js → ripgrep-k60h0mqe.js} +15 -15
- package/dist/chunks/{state-k814nvkf.js → ripgrep-k814nvkf.js} +1 -1
- package/dist/chunks/{state-7k31ezqp.js → ripgrep-kd1werbb.js} +12 -12
- package/dist/chunks/{state-wr1xkt7e.js → ripgrep-kp2rkay2.js} +26 -26
- package/dist/chunks/{state-ksn4rs0j.js → ripgrep-kxt91f54.js} +37 -37
- package/dist/chunks/{state-fwp9mfc9.js → ripgrep-ky596kc3.js} +4 -4
- package/dist/chunks/{state-14k2p94z.js → ripgrep-kya6vn2v.js} +6 -6
- package/dist/chunks/{state-m1714858.js → ripgrep-m1714858.js} +1 -1
- package/dist/chunks/{state-7pbzmqpv.js → ripgrep-m1qkddhn.js} +2 -2
- package/dist/chunks/{state-0gwh7h4t.js → ripgrep-m1tk4nd6.js} +49 -49
- package/dist/chunks/{state-5prd5q9g.js → ripgrep-m7t05s3q.js} +10 -10
- package/dist/chunks/{state-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-maspj1v3.js → ripgrep-maspj1v3.js} +1 -1
- package/dist/chunks/{state-43znyb7f.js → ripgrep-mbaagm2q.js} +26 -26
- package/dist/chunks/{state-3y5c7d8s.js → ripgrep-mnad9545.js} +47 -47
- package/dist/chunks/{state-rt3cvzdv.js → ripgrep-mrcj6822.js} +4 -4
- package/dist/chunks/{state-jcn8ehqj.js → ripgrep-msfasjrs.js} +20 -20
- package/dist/chunks/{state-9f8ska64.js → ripgrep-mvt93af7.js} +32 -32
- package/dist/chunks/{state-85e2d6ej.js → ripgrep-mxf70ac4.js} +4 -4
- package/dist/chunks/{state-n0p0277s.js → ripgrep-n0p0277s.js} +1 -1
- package/dist/chunks/{state-dbmp929s.js → ripgrep-n6v2b7cw.js} +5 -5
- package/dist/chunks/{state-phfzhb8b.js → ripgrep-nbsqgbhj.js} +22 -22
- package/dist/chunks/{state-ayw644re.js → ripgrep-npgkeycb.js} +14 -14
- package/dist/chunks/{state-16tzwtzk.js → ripgrep-ny49cbs5.js} +33 -33
- package/dist/chunks/{state-p015t6z3.js → ripgrep-p015t6z3.js} +2 -2
- package/dist/chunks/{state-9d31p0t1.js → ripgrep-p0e8hqgq.js} +38 -38
- package/dist/chunks/{state-1yq9hg58.js → ripgrep-p7vhpwh8.js} +5 -5
- package/dist/chunks/{state-d1d7qngs.js → ripgrep-pb1qprq3.js} +28 -28
- package/dist/chunks/{state-073kka4g.js → ripgrep-pef6w6b4.js} +19 -19
- package/dist/chunks/{state-zsyhkwp4.js → ripgrep-pj2bksq9.js} +11 -11
- package/dist/chunks/{state-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{state-m5bvs3x7.js → ripgrep-pw806jn0.js} +22 -22
- package/dist/chunks/{state-v38w2q2a.js → ripgrep-pyrm1t89.js} +19 -19
- package/dist/chunks/{state-8k817ta6.js → ripgrep-q5ksxkha.js} +6 -6
- package/dist/chunks/{state-w60hkx9t.js → ripgrep-q6v380sb.js} +12 -12
- package/dist/chunks/{state-yr9cnj92.js → ripgrep-qaxt5sce.js} +4 -4
- package/dist/chunks/{state-yh1v4sg4.js → ripgrep-qh12k8gp.js} +1 -1
- package/dist/chunks/{state-16cjxvjr.js → ripgrep-qj3jeqzz.js} +61 -61
- package/dist/chunks/{state-8jztxfpf.js → ripgrep-qjgzc4b4.js} +4 -4
- package/dist/chunks/{state-8x5fa4pj.js → ripgrep-qqtfakpy.js} +10 -10
- package/dist/chunks/{state-8k8s1td8.js → ripgrep-qvw98tg0.js} +5 -5
- package/dist/chunks/{state-r0yr0wbs.js → ripgrep-r0yr0wbs.js} +1 -1
- package/dist/chunks/{state-z3zsr4pa.js → ripgrep-r1h56z6d.js} +15 -15
- package/dist/chunks/{state-rerepda3.js → ripgrep-r2nqe40b.js} +14 -14
- package/dist/chunks/{state-35y8wyjz.js → ripgrep-r4zhn8a3.js} +8 -8
- package/dist/chunks/{state-93xm1b5s.js → ripgrep-r96bqt38.js} +7 -7
- package/dist/chunks/{state-ajd7a4ft.js → ripgrep-r991pz9h.js} +17 -17
- package/dist/chunks/{state-rb9dy4dg.js → ripgrep-rb9dy4dg.js} +1 -1
- package/dist/chunks/{state-ncagyvky.js → ripgrep-rgsds9qv.js} +11 -11
- package/dist/chunks/{state-qcdew78b.js → ripgrep-rjb5m6wk.js} +21 -21
- package/dist/chunks/{state-rt5dr6hb.js → ripgrep-rt5dr6hb.js} +1 -1
- package/dist/chunks/{state-m3ssbqdv.js → ripgrep-rvr9nrxj.js} +18 -18
- package/dist/chunks/{state-hgk34cm5.js → ripgrep-rvv5zxkv.js} +12 -12
- package/dist/chunks/{state-9nkjg9qd.js → ripgrep-rwvswa9y.js} +6 -6
- package/dist/chunks/{state-st7p3hwb.js → ripgrep-rxrz6b15.js} +2 -2
- package/dist/chunks/{state-xavhsc1g.js → ripgrep-rzbnf15d.js} +13 -13
- package/dist/chunks/{state-fv3nkzgx.js → ripgrep-s0kw0bab.js} +21 -21
- package/dist/chunks/{state-5292rdv0.js → ripgrep-s2p2k57b.js} +15 -15
- package/dist/chunks/{state-err1h8pn.js → ripgrep-s62g5239.js} +50 -50
- package/dist/chunks/{state-xed0bk1y.js → ripgrep-sda31fcg.js} +26 -26
- package/dist/chunks/{state-s5kcmw61.js → ripgrep-sfw989kw.js} +2 -2
- package/dist/chunks/{state-7b2q1d31.js → ripgrep-sgywbgaj.js} +38 -38
- package/dist/chunks/{state-k5yr72j3.js → ripgrep-sp56zrrh.js} +33 -33
- package/dist/chunks/{state-sqjzf8x2.js → ripgrep-sqjzf8x2.js} +1 -1
- package/dist/chunks/{state-vywg2bcd.js → ripgrep-sxnrxfca.js} +18 -18
- package/dist/chunks/{state-ct0qct1p.js → ripgrep-t9q01d30.js} +29 -29
- package/dist/chunks/{state-mt3ysty9.js → ripgrep-tasvem1v.js} +6 -6
- package/dist/chunks/{state-tczq8hjw.js → ripgrep-tczq8hjw.js} +1 -1
- package/dist/chunks/{state-1myz4yam.js → ripgrep-tdd1rwdg.js} +5 -5
- package/dist/chunks/{state-5dy8ae48.js → ripgrep-tdzaz51m.js} +8 -8
- package/dist/chunks/{state-tg1vr1qt.js → ripgrep-tg1vr1qt.js} +1 -1
- package/dist/chunks/{state-yzq7xqav.js → ripgrep-tnf39wvh.js} +51 -51
- package/dist/chunks/{state-0421tmwc.js → ripgrep-tpm1qpxt.js} +9 -9
- package/dist/chunks/{state-tw8zr1ps.js → ripgrep-tw8zr1ps.js} +1 -1
- package/dist/chunks/{state-twv2r8f4.js → ripgrep-twv2r8f4.js} +2 -2
- package/dist/chunks/{state-3jbgv2q6.js → ripgrep-txe6hs0a.js} +8 -8
- package/dist/chunks/{state-v2r1d0zg.js → ripgrep-v2r1d0zg.js} +1 -1
- package/dist/chunks/{state-1j60aste.js → ripgrep-vb6v44n7.js} +22 -22
- package/dist/chunks/{state-vd3b3yk9.js → ripgrep-vd3b3yk9.js} +1 -1
- package/dist/chunks/{state-gn44pbev.js → ripgrep-vd41439j.js} +20 -20
- package/dist/chunks/{state-sz2ee4nr.js → ripgrep-vdsdnjgz.js} +30 -30
- package/dist/chunks/{state-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{state-sj5xbg4q.js → ripgrep-vgjn3sfz.js} +8 -8
- package/dist/chunks/{state-m37sd98t.js → ripgrep-vmfhgzt5.js} +4 -4
- package/dist/chunks/{state-h24qrdq3.js → ripgrep-vtr9dtkz.js} +13 -13
- package/dist/chunks/{state-h5mfmrme.js → ripgrep-vtz4zgjw.js} +9 -9
- package/dist/chunks/{state-dmq3ym5w.js → ripgrep-w2c2mnmy.js} +17 -17
- package/dist/chunks/{state-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-wr3re1en.js → ripgrep-w687dnns.js} +4 -4
- package/dist/chunks/{state-y5bgxahe.js → ripgrep-w7svd9fv.js} +27 -27
- package/dist/chunks/{state-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{state-pgz5fff2.js → ripgrep-wg9ke37f.js} +35 -35
- package/dist/chunks/{state-vtxf8xbz.js → ripgrep-wj025wy7.js} +4 -4
- package/dist/chunks/{state-qqg9c0kv.js → ripgrep-wmjzvx4b.js} +4 -4
- package/dist/chunks/{state-kk6mskxb.js → ripgrep-wnvea4fe.js} +8 -8
- package/dist/chunks/{state-aq0ejh1v.js → ripgrep-wy7xqtjs.js} +25 -25
- package/dist/chunks/{state-7q9q1gy8.js → ripgrep-x3h41a9f.js} +7 -7
- package/dist/chunks/{state-56n8k00e.js → ripgrep-xngkbgfx.js} +17 -17
- package/dist/chunks/{state-yhgkr2m9.js → ripgrep-xwxay0k0.js} +44 -44
- package/dist/chunks/{state-8cbvmr14.js → ripgrep-xyh4h3t6.js} +5 -5
- package/dist/chunks/{state-52y2wpbm.js → ripgrep-xzvgcsw6.js} +9 -9
- package/dist/chunks/{state-kgtnj03x.js → ripgrep-y4vtynzt.js} +19 -19
- package/dist/chunks/{state-vrd3ahjy.js → ripgrep-y5qe5mc0.js} +23 -23
- package/dist/chunks/{state-yb20nhc3.js → ripgrep-yb20nhc3.js} +1 -1
- package/dist/chunks/{state-dbdfhpvc.js → ripgrep-ycgbrrj2.js} +11 -11
- package/dist/chunks/{state-prtgnnd9.js → ripgrep-ye7j7sbs.js} +32 -32
- package/dist/chunks/{state-2jta7gtx.js → ripgrep-ygj7qvsn.js} +30 -30
- package/dist/chunks/{state-thtr5m16.js → ripgrep-yh0e7xz8.js} +34 -34
- package/dist/chunks/{state-kkfb8c0y.js → ripgrep-yyjmamy7.js} +14 -14
- package/dist/chunks/{state-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-z38nccrw.js → ripgrep-z38nccrw.js} +1 -1
- package/dist/chunks/{state-axjjc5wn.js → ripgrep-z6mg6m9w.js} +4 -4
- package/dist/chunks/{state-kr19zgz3.js → ripgrep-zjner7m4.js} +11 -11
- package/dist/chunks/{state-zkg84ctx.js → ripgrep-zkg84ctx.js} +1 -1
- package/dist/chunks/{state-35gjm3y2.js → ripgrep-zpmv8s4j.js} +3 -3
- package/dist/chunks/{state-eh870njm.js → ripgrep-zs0pprga.js} +29 -29
- package/dist/chunks/{state-f4ng6gb6.js → ripgrep-zssrpzfh.js} +74 -74
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +361 -361
- package/dist/instruction-discovery.js +84 -84
- 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 +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- 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 +101 -101
- package/dist/model-retry.js +1 -1
- 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 +84 -84
- 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 +90 -90
- 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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +333 -333
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- 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 +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- 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 +224 -224
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +139 -139
- 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 +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +84 -84
- 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 +82 -82
- 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 +102 -102
- package/package.json +8 -8
- package/dist/chunks/state-2dkjcnxp.js +0 -18
- package/dist/chunks/state-4dbr8w8g.js +0 -257
- /package/dist/chunks/{state-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5fjb7ams.js → ripgrep-5fjb7ams.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a058387c.js → ripgrep-a058387c.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → ripgrep-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-pkyv6v7h.js → ripgrep-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wjj7prxr.js → ripgrep-wjj7prxr.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
package/dist/bus.js
CHANGED
|
@@ -6,91 +6,91 @@ import {
|
|
|
6
6
|
durable2,
|
|
7
7
|
ephemeral2,
|
|
8
8
|
isSynced2,
|
|
9
|
-
|
|
9
|
+
Service85,
|
|
10
10
|
configured12,
|
|
11
|
-
|
|
11
|
+
node89,
|
|
12
12
|
exports_bus
|
|
13
|
-
} from "./chunks/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
63
|
-
import"./chunks/
|
|
64
|
-
import"./chunks/
|
|
65
|
-
import"./chunks/
|
|
66
|
-
import"./chunks/
|
|
67
|
-
import"./chunks/
|
|
68
|
-
import"./chunks/
|
|
69
|
-
import"./chunks/
|
|
70
|
-
import"./chunks/
|
|
71
|
-
import"./chunks/
|
|
72
|
-
import"./chunks/
|
|
73
|
-
import"./chunks/
|
|
74
|
-
import"./chunks/
|
|
75
|
-
import"./chunks/
|
|
76
|
-
import"./chunks/
|
|
77
|
-
import"./chunks/
|
|
78
|
-
import"./chunks/
|
|
79
|
-
import"./chunks/
|
|
80
|
-
import"./chunks/
|
|
81
|
-
import"./chunks/
|
|
82
|
-
import"./chunks/
|
|
83
|
-
import"./chunks/
|
|
13
|
+
} from "./chunks/ripgrep-c4fe50v7.js";
|
|
14
|
+
import"./chunks/ripgrep-2710q6r3.js";
|
|
15
|
+
import"./chunks/ripgrep-qjgzc4b4.js";
|
|
16
|
+
import"./chunks/ripgrep-69qhactm.js";
|
|
17
|
+
import"./chunks/ripgrep-jkacm1w4.js";
|
|
18
|
+
import"./chunks/ripgrep-5xp2x48q.js";
|
|
19
|
+
import"./chunks/ripgrep-mp448xyj.js";
|
|
20
|
+
import"./chunks/ripgrep-atq7p7m5.js";
|
|
21
|
+
import"./chunks/ripgrep-hk9envan.js";
|
|
22
|
+
import"./chunks/ripgrep-jwfs4k6c.js";
|
|
23
|
+
import"./chunks/ripgrep-4knz6hnm.js";
|
|
24
|
+
import"./chunks/ripgrep-f6n9ztr4.js";
|
|
25
|
+
import"./chunks/ripgrep-7akdwqpd.js";
|
|
26
|
+
import"./chunks/ripgrep-sdp7kfr6.js";
|
|
27
|
+
import"./chunks/ripgrep-359p4xyc.js";
|
|
28
|
+
import"./chunks/ripgrep-msx8hqn2.js";
|
|
29
|
+
import"./chunks/ripgrep-n3j8tn72.js";
|
|
30
|
+
import"./chunks/ripgrep-jzg6c2d5.js";
|
|
31
|
+
import"./chunks/ripgrep-fd410y7t.js";
|
|
32
|
+
import"./chunks/ripgrep-43n2bw4t.js";
|
|
33
|
+
import"./chunks/ripgrep-d9jj8t3e.js";
|
|
34
|
+
import"./chunks/ripgrep-df08tz66.js";
|
|
35
|
+
import"./chunks/ripgrep-8n3pysct.js";
|
|
36
|
+
import"./chunks/ripgrep-jr7sbwjy.js";
|
|
37
|
+
import"./chunks/ripgrep-cvy3z8tj.js";
|
|
38
|
+
import"./chunks/ripgrep-qrg20bc0.js";
|
|
39
|
+
import"./chunks/ripgrep-qb87gjwd.js";
|
|
40
|
+
import"./chunks/ripgrep-53557ph1.js";
|
|
41
|
+
import"./chunks/ripgrep-9a4afbnw.js";
|
|
42
|
+
import"./chunks/ripgrep-m18g726c.js";
|
|
43
|
+
import"./chunks/ripgrep-q74kybfr.js";
|
|
44
|
+
import"./chunks/ripgrep-17cy0kzp.js";
|
|
45
|
+
import"./chunks/ripgrep-ssg3fenm.js";
|
|
46
|
+
import"./chunks/ripgrep-g86h250q.js";
|
|
47
|
+
import"./chunks/ripgrep-a6k6eb26.js";
|
|
48
|
+
import"./chunks/ripgrep-d9fn303g.js";
|
|
49
|
+
import"./chunks/ripgrep-j2ntwpah.js";
|
|
50
|
+
import"./chunks/ripgrep-wtztk69x.js";
|
|
51
|
+
import"./chunks/ripgrep-e5kj55wp.js";
|
|
52
|
+
import"./chunks/ripgrep-84wd9syh.js";
|
|
53
|
+
import"./chunks/ripgrep-n05xt0ee.js";
|
|
54
|
+
import"./chunks/ripgrep-w803qqfp.js";
|
|
55
|
+
import"./chunks/ripgrep-7m9af43g.js";
|
|
56
|
+
import"./chunks/ripgrep-rcb2kzg1.js";
|
|
57
|
+
import"./chunks/ripgrep-8wj87zfr.js";
|
|
58
|
+
import"./chunks/ripgrep-bkyjaxrp.js";
|
|
59
|
+
import"./chunks/ripgrep-ygaqb7jw.js";
|
|
60
|
+
import"./chunks/ripgrep-z9919s4g.js";
|
|
61
|
+
import"./chunks/ripgrep-y8f7s663.js";
|
|
62
|
+
import"./chunks/ripgrep-1cnp2v09.js";
|
|
63
|
+
import"./chunks/ripgrep-bmr6ed5q.js";
|
|
64
|
+
import"./chunks/ripgrep-2c3vjs8z.js";
|
|
65
|
+
import"./chunks/ripgrep-aqzs7mqg.js";
|
|
66
|
+
import"./chunks/ripgrep-wer8tq1h.js";
|
|
67
|
+
import"./chunks/ripgrep-q3sfg36h.js";
|
|
68
|
+
import"./chunks/ripgrep-njntx4h6.js";
|
|
69
|
+
import"./chunks/ripgrep-0zkw76rk.js";
|
|
70
|
+
import"./chunks/ripgrep-xyh4h3t6.js";
|
|
71
|
+
import"./chunks/ripgrep-3mzdfzhq.js";
|
|
72
|
+
import"./chunks/ripgrep-qh12k8gp.js";
|
|
73
|
+
import"./chunks/ripgrep-m1qkddhn.js";
|
|
74
|
+
import"./chunks/ripgrep-x3h41a9f.js";
|
|
75
|
+
import"./chunks/ripgrep-7bmhse3q.js";
|
|
76
|
+
import"./chunks/ripgrep-m9w0rfyh.js";
|
|
77
|
+
import"./chunks/ripgrep-cf4snx6d.js";
|
|
78
|
+
import"./chunks/ripgrep-822emrt2.js";
|
|
79
|
+
import"./chunks/ripgrep-w3wsvvr9.js";
|
|
80
|
+
import"./chunks/ripgrep-f0mxakyp.js";
|
|
81
|
+
import"./chunks/ripgrep-wd87259q.js";
|
|
82
|
+
import"./chunks/ripgrep-emrn6kk6.js";
|
|
83
|
+
import"./chunks/ripgrep-pkyv6v7h.js";
|
|
84
84
|
export {
|
|
85
85
|
exports_bus as Bus,
|
|
86
86
|
InvalidDurableEventError2 as InvalidDurableEventError,
|
|
87
|
-
|
|
87
|
+
Service85 as Service,
|
|
88
88
|
configured12 as configured,
|
|
89
89
|
durable2 as durable,
|
|
90
90
|
ephemeral2 as ephemeral,
|
|
91
91
|
isSynced2 as isSynced,
|
|
92
92
|
latestSequence2 as latestSequence,
|
|
93
|
-
|
|
93
|
+
node89 as node,
|
|
94
94
|
reserveSequence2 as reserveSequence,
|
|
95
95
|
versionedType2 as versionedType
|
|
96
96
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
9
|
-
function
|
|
9
|
+
function make9(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make9 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-173t91w5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./ripgrep-jae53m2x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info13
|
|
12
|
+
} from "./ripgrep-wmjzvx4b.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./ripgrep-9b28cy4d.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-p7vhpwh8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info14
|
|
21
|
+
} from "./ripgrep-n6v2b7cw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-wj025wy7.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
440
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
441
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
442
442
|
return [];
|
|
443
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
444
444
|
if (provider === undefined)
|
|
445
445
|
return [];
|
|
446
446
|
const destination = providerID2(name);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-vmfhgzt5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./ripgrep-0w2ve4np.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./ripgrep-c4fe50v7.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-d1v2vbzt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID15,
|
|
14
|
+
Service81,
|
|
15
|
+
node85,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-bf166mt2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node81
|
|
21
|
+
} from "./ripgrep-w2c2mnmy.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -30,13 +30,13 @@ __export(exports_provider3, {
|
|
|
30
30
|
Compaction: () => Compaction3,
|
|
31
31
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
32
32
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
|
+
ID: () => ID12,
|
|
35
|
+
Info: () => Info21,
|
|
36
36
|
LoadError: () => LoadError3,
|
|
37
37
|
Provider: () => exports_provider3,
|
|
38
38
|
Request: () => Request3,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service76,
|
|
40
40
|
Settings: () => Settings2,
|
|
41
41
|
Transport: () => Transport2,
|
|
42
42
|
aisdk: () => aisdk2,
|
|
@@ -48,7 +48,7 @@ __export(exports_provider3, {
|
|
|
48
48
|
mergeOverlay: () => mergeOverlay2,
|
|
49
49
|
modelSettings: () => modelSettings2,
|
|
50
50
|
nativeSettings: () => nativeSettings2,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node80,
|
|
52
52
|
packageName: () => packageName2,
|
|
53
53
|
timeout: () => timeout2,
|
|
54
54
|
timeouts: () => timeouts2
|
|
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
323
323
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
324
324
|
|
|
325
325
|
// src/provider.ts
|
|
326
|
-
import { Event as
|
|
327
|
-
var
|
|
326
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
327
|
+
var ID12 = Provider.ID;
|
|
328
328
|
var AISDK_PREFIX2 = "aisdk:";
|
|
329
329
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
330
330
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -538,9 +538,9 @@ var Request3 = Provider.Request;
|
|
|
538
538
|
var Compaction3 = Provider.Compaction;
|
|
539
539
|
var Transport2 = Provider.Transport;
|
|
540
540
|
var Settings2 = Provider.Settings;
|
|
541
|
-
var
|
|
541
|
+
var Info21 = Provider.Info;
|
|
542
542
|
|
|
543
|
-
class
|
|
543
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
544
544
|
}
|
|
545
545
|
var definitions = new WeakMap;
|
|
546
546
|
function index(providerID, models) {
|
|
@@ -553,10 +553,10 @@ function index(providerID, models) {
|
|
|
553
553
|
definitions.set(models, indexes);
|
|
554
554
|
return result;
|
|
555
555
|
}
|
|
556
|
-
var layer = Layer.effect(
|
|
557
|
-
const bus = yield*
|
|
558
|
-
const integrations = yield*
|
|
559
|
-
const location = yield*
|
|
556
|
+
var layer = Layer.effect(Service76, Effect2.gen(function* () {
|
|
557
|
+
const bus = yield* Service85;
|
|
558
|
+
const integrations = yield* Service81;
|
|
559
|
+
const location = yield* Service77;
|
|
560
560
|
const state = create3({
|
|
561
561
|
name: "provider",
|
|
562
562
|
initial: () => new Map,
|
|
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
567
567
|
const current = records.get(id);
|
|
568
568
|
if (current)
|
|
569
569
|
return current;
|
|
570
|
-
const added = { provider:
|
|
570
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
571
571
|
records.set(id, added);
|
|
572
572
|
maps.add(added.models);
|
|
573
573
|
return added;
|
|
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
648
648
|
const available = Array.from(records.values()).filter((record) => {
|
|
649
649
|
if (record.provider.activation === "disabled")
|
|
650
650
|
return false;
|
|
651
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
651
|
+
const integration = byID.get(record.provider.integrationID ?? ID15.make(record.provider.id));
|
|
652
652
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
653
653
|
return false;
|
|
654
654
|
if (record.provider.activation === "enabled")
|
|
@@ -675,7 +675,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
675
675
|
});
|
|
676
676
|
});
|
|
677
677
|
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
678
|
-
return
|
|
678
|
+
return Service76.of({
|
|
679
679
|
transform: state.transform,
|
|
680
680
|
reload: state.reload,
|
|
681
681
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
684
684
|
snapshot
|
|
685
685
|
});
|
|
686
686
|
}));
|
|
687
|
-
var
|
|
687
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node89, node85, node81] });
|
|
688
688
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
689
689
|
const module = yield* Effect2.tryPromise({
|
|
690
690
|
try: () => {
|
|
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
706
706
|
return module;
|
|
707
707
|
});
|
|
708
708
|
|
|
709
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
709
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service76, node80, exports_provider3, Event15 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./ripgrep-69qhactm.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service79,
|
|
17
|
+
node: () => node83
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service79 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service86).db;
|
|
26
|
+
return Service79.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node90] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service79, node83, exports_kv };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info16,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule2
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info16, exports_permission };
|