@opencode/core 0.0.0-dev-21524 → 0.0.0-dev-21530
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-02mvvr71.js → schema-02mvvr71.js} +3 -3
- package/dist/chunks/{model-x4wqyer7.js → schema-02ve1zyw.js} +19 -19
- package/dist/chunks/{model-78mjm5mv.js → schema-044xr5hv.js} +53 -53
- package/dist/chunks/{model-v210v162.js → schema-0bg0bx69.js} +7 -7
- package/dist/chunks/{model-s8d7rejh.js → schema-0gdmqesm.js} +4 -4
- package/dist/chunks/{model-7dqw4kz8.js → schema-0jwsre1p.js} +5 -5
- package/dist/chunks/{model-982vmajw.js → schema-0tn9bjc5.js} +21 -21
- package/dist/chunks/{model-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-85hqxn6b.js → schema-15esv6g5.js} +3 -3
- package/dist/chunks/{model-b41wgp24.js → schema-1afj0k1v.js} +13 -13
- package/dist/chunks/{model-j29dqnz3.js → schema-1dxbsdj5.js} +9 -9
- package/dist/chunks/{model-1pfpt4tm.js → schema-1g5hkw1w.js} +25 -25
- package/dist/chunks/{model-sxsnqyan.js → schema-1mx78vzr.js} +25 -25
- package/dist/chunks/{model-d2pvcv7q.js → schema-1svhfytg.js} +22 -22
- package/dist/chunks/{model-khmqacep.js → schema-1w2wqhfv.js} +4 -4
- package/dist/chunks/{model-cswhtaxk.js → schema-247gbw12.js} +3 -3
- package/dist/chunks/{model-q1xk2b8v.js → schema-25gmhyge.js} +1 -1
- package/dist/chunks/{model-1ep2p91f.js → schema-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-j00wdpt2.js → schema-2gta2q4r.js} +35 -35
- package/dist/chunks/{model-dhmh7aw6.js → schema-2vs2nh1n.js} +4 -4
- package/dist/chunks/schema-2xehkjwm.js +257 -0
- package/dist/chunks/{model-j1n1yte6.js → schema-2yr926wd.js} +13 -13
- package/dist/chunks/{model-m190hr7s.js → schema-38a6f3y0.js} +13 -13
- package/dist/chunks/{model-tbmac1c7.js → schema-3ewed21c.js} +4 -4
- package/dist/chunks/{model-gr0f51d3.js → schema-3ghrgbf8.js} +9 -9
- package/dist/chunks/{model-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → schema-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-zra0rasq.js → schema-3qb95gy8.js} +4 -4
- package/dist/chunks/{model-xq5wk8w5.js → schema-3qm998m2.js} +11 -11
- package/dist/chunks/{model-395q6j9z.js → schema-3t06g8dq.js} +6 -6
- package/dist/chunks/{model-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-k4s0h02e.js → schema-40ac0r3r.js} +11 -11
- package/dist/chunks/{model-p9ynbv9r.js → schema-42kdbcte.js} +25 -25
- package/dist/chunks/{model-3pkscm61.js → schema-47rxzzmb.js} +9 -9
- package/dist/chunks/{model-snpsxx8p.js → schema-4axgq110.js} +35 -35
- package/dist/chunks/{model-yb5mq618.js → schema-4c8ty7y6.js} +15 -15
- package/dist/chunks/{model-jtcz2vdp.js → schema-4g2jt153.js} +25 -25
- package/dist/chunks/{model-8ypwf7te.js → schema-4tsfkw9e.js} +11 -11
- package/dist/chunks/{model-r71c6ngf.js → schema-4w411070.js} +1 -1
- package/dist/chunks/{model-gx5mqccr.js → schema-4w9ygdqj.js} +18 -18
- package/dist/chunks/{model-54ma36ye.js → schema-54ma36ye.js} +1 -1
- package/dist/chunks/{model-52v62pe3.js → schema-56j2d20k.js} +8 -8
- package/dist/chunks/{model-s5vae3n3.js → schema-586k1tpv.js} +6 -6
- package/dist/chunks/{model-wq3ev71f.js → schema-5acb438f.js} +6 -6
- package/dist/chunks/{model-aj0k59hj.js → schema-5hzj2gnj.js} +1 -1
- package/dist/chunks/{model-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-k82vbxay.js → schema-5yqngkrh.js} +3 -3
- package/dist/chunks/{model-m8gvtb3w.js → schema-60bb96q1.js} +12 -12
- package/dist/chunks/{model-6827pfxn.js → schema-6827pfxn.js} +1 -1
- package/dist/chunks/{model-shttdtza.js → schema-6jk406cr.js} +30 -30
- package/dist/chunks/{model-py3kkmfq.js → schema-6pc27hjz.js} +6 -6
- package/dist/chunks/{model-p0wpjn6w.js → schema-6qbhemwa.js} +37 -37
- package/dist/chunks/{model-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-7myyj22h.js → schema-70xh0458.js} +19 -19
- package/dist/chunks/{model-775gj3j1.js → schema-775gj3j1.js} +2 -2
- package/dist/chunks/{model-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-zy04nmr9.js → schema-7ec2v9ed.js} +12 -12
- package/dist/chunks/{model-a4xe52vp.js → schema-7j1zf1qw.js} +15 -15
- package/dist/chunks/{model-zkvdcdcs.js → schema-7n76hb68.js} +12 -12
- package/dist/chunks/{model-h3fgmb1c.js → schema-7ph0n1vg.js} +20 -20
- package/dist/chunks/{model-ygp5nrda.js → schema-7q165t4g.js} +22 -24
- package/dist/chunks/{model-0taht25s.js → schema-7vdznjcr.js} +8 -8
- package/dist/chunks/{model-fh95s1e3.js → schema-7zafwtqv.js} +28 -28
- package/dist/chunks/{model-j1kq1abh.js → schema-88tf66q2.js} +9 -9
- package/dist/chunks/{model-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{model-8bc2ahr8.js → schema-8bc2ahr8.js} +1 -1
- package/dist/chunks/{model-dxjxmw6m.js → schema-8ce0521a.js} +15 -15
- package/dist/chunks/{model-wrmbd4ct.js → schema-8dj74pby.js} +3 -3
- package/dist/chunks/{model-n10am2gf.js → schema-8hdppygf.js} +22 -22
- package/dist/chunks/{model-yj7k2rcj.js → schema-8hej200e.js} +6 -6
- package/dist/chunks/{model-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-xxrcdmhk.js → schema-8mc7s0wd.js} +11 -11
- package/dist/chunks/{model-8mywswrd.js → schema-8mywswrd.js} +1 -1
- package/dist/chunks/{model-vpdzpye8.js → schema-8nbq5p6s.js} +15 -15
- package/dist/chunks/{model-xw9fg8fb.js → schema-8vcf4cwr.js} +2 -2
- package/dist/chunks/{model-32hg4evb.js → schema-9brafa5j.js} +18 -18
- package/dist/chunks/{model-45nvas02.js → schema-9fp5cy9e.js} +32 -45
- package/dist/chunks/{model-kbnh7qbc.js → schema-9fshpcpc.js} +28 -28
- package/dist/chunks/{model-0r3c1bmw.js → schema-9hwaqfsw.js} +5 -5
- package/dist/chunks/{model-93zp451d.js → schema-9m5m65a4.js} +29 -29
- package/dist/chunks/schema-9sh4wc5j.js +18 -0
- package/dist/chunks/{model-9wev2pgg.js → schema-9wev2pgg.js} +1 -1
- package/dist/chunks/{model-3zsxkakk.js → schema-a2950d4b.js} +11 -11
- package/dist/chunks/{model-addxnjmp.js → schema-addxnjmp.js} +1 -1
- package/dist/chunks/{model-034tev2y.js → schema-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-fmn3naam.js → schema-ajmz7z9n.js} +2 -2
- package/dist/chunks/{model-0z7r50za.js → schema-ap73x2p1.js} +4 -4
- package/dist/chunks/{model-36kcv1n0.js → schema-apm2b389.js} +1 -1
- package/dist/chunks/{model-tx9w5tca.js → schema-aq5y8b9e.js} +8 -8
- package/dist/chunks/{model-7dcyjm60.js → schema-atz56vhv.js} +24 -24
- package/dist/chunks/{model-wbbr97jc.js → schema-atzyg80d.js} +55 -56
- package/dist/chunks/{model-b11a7tx7.js → schema-b11a7tx7.js} +1 -1
- package/dist/chunks/{model-ehpng7sz.js → schema-b1vpyjsr.js} +6 -6
- package/dist/chunks/{model-n5m4rk1f.js → schema-b7az7nzg.js} +5 -5
- package/dist/chunks/{model-2bmg2vc4.js → schema-b82aynba.js} +15 -15
- package/dist/chunks/{model-237rnmz7.js → schema-b8y1c3zn.js} +18 -18
- package/dist/chunks/{model-366hmgxs.js → schema-bb2erevm.js} +2 -2
- package/dist/chunks/{model-vgx6weyf.js → schema-be7qvw84.js} +8 -8
- package/dist/chunks/{model-5vd2fz1r.js → schema-bjx4q2dn.js} +42 -42
- package/dist/chunks/{model-9my2wv8a.js → schema-bkrhp30v.js} +4 -4
- package/dist/chunks/{model-zw72nhpe.js → schema-bmheq9zx.js} +34 -34
- package/dist/chunks/{model-nr3qt1qj.js → schema-bnbbr2d0.js} +36 -36
- package/dist/chunks/{model-ammk3pd4.js → schema-bnjeam3m.js} +11 -11
- package/dist/chunks/{model-f9qpw35r.js → schema-bswnba0x.js} +4 -4
- package/dist/chunks/{model-bzeyqsqd.js → schema-bzeyqsqd.js} +1 -1
- package/dist/chunks/{model-2sejkfem.js → schema-c765mh8b.js} +9 -9
- package/dist/chunks/{model-nxqbvwsg.js → schema-cbmrewd6.js} +21 -21
- package/dist/chunks/{model-vxhbzv6h.js → schema-cbywt2p6.js} +37 -37
- package/dist/chunks/{model-8sfj8fnn.js → schema-cjrse1k0.js} +15 -15
- package/dist/chunks/{model-z5c3cgws.js → schema-cm7rzrpy.js} +4 -4
- package/dist/chunks/{model-vchaqpjh.js → schema-cmp3rkz8.js} +28 -28
- package/dist/chunks/{model-nz56sr1f.js → schema-cr9hweqv.js} +4 -3
- package/dist/chunks/{model-n6v6dc4x.js → schema-cs5q1j33.js} +5 -5
- package/dist/chunks/{model-138x3wa4.js → schema-d3cjz2rg.js} +36 -36
- package/dist/chunks/{model-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-jx5cnddy.js → schema-dqj1x724.js} +18 -18
- package/dist/chunks/{model-xfkkasph.js → schema-drwq78ky.js} +4 -4
- package/dist/chunks/{model-rn6wqvas.js → schema-dta6adxg.js} +15 -15
- package/dist/chunks/{model-998yhzzq.js → schema-dvj9ct8m.js} +3 -3
- package/dist/chunks/{model-pxxsc0qj.js → schema-dzz2f3za.js} +27 -27
- package/dist/chunks/{model-5qd3pb7m.js → schema-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-77enp1c1.js → schema-e6748pxh.js} +10 -10
- package/dist/chunks/{model-tde5hqcz.js → schema-ecz00bat.js} +13 -13
- package/dist/chunks/{model-eej6y6fw.js → schema-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-4tp8et91.js → schema-eh1n47qm.js} +33 -40
- package/dist/chunks/{model-fcy631f0.js → schema-fcy631f0.js} +1 -1
- package/dist/chunks/{model-es4zr9pq.js → schema-few1k6py.js} +5 -5
- package/dist/chunks/{model-rb179d86.js → schema-ftrv57z3.js} +30 -30
- package/dist/chunks/{model-zhbn17yy.js → schema-fwd7f3n7.js} +41 -42
- package/dist/chunks/{model-j7m3jefb.js → schema-g6kecgse.js} +86 -86
- package/dist/chunks/{model-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-chj6c0n9.js → schema-gd5ks2q2.js} +30 -30
- package/dist/chunks/{model-hw24m6dt.js → schema-gegxtyrp.js} +10 -10
- package/dist/chunks/{model-my4zabxr.js → schema-grqp3cmb.js} +3 -3
- package/dist/chunks/{model-2ctfzdhd.js → schema-gt4kt70v.js} +19 -19
- package/dist/chunks/{model-wx0b07pw.js → schema-gtt9vv4e.js} +5 -5
- package/dist/chunks/{model-t9ax25ae.js → schema-gtz7nked.js} +24 -24
- package/dist/chunks/{model-sn8sfdg7.js → schema-gymq2tgt.js} +9 -9
- package/dist/chunks/{model-bm9kjebc.js → schema-h6r4200x.js} +14 -14
- package/dist/chunks/{model-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-2abxxfn3.js → schema-hba2d548.js} +23 -23
- package/dist/chunks/{model-tr5tmnty.js → schema-hfjg8gb5.js} +22 -30
- package/dist/chunks/{model-hgz4x7wa.js → schema-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-q34ypbna.js → schema-j8qhg9bw.js} +1 -1
- package/dist/chunks/{model-2z7chnet.js → schema-jfh9q8qf.js} +14 -14
- package/dist/chunks/{model-x4yng9z3.js → schema-jh9qevh8.js} +27 -30
- package/dist/chunks/{model-jwhwgpnp.js → schema-jn3svvm7.js} +15 -15
- package/dist/chunks/{model-d78ak1q6.js → schema-jpypjf72.js} +22 -22
- package/dist/chunks/{model-jgddfxwr.js → schema-k6kw0x3x.js} +13 -13
- package/dist/chunks/{model-0y6p8wpj.js → schema-k8naqxk9.js} +8 -8
- package/dist/chunks/{model-jmca7p9y.js → schema-kbwg7qyy.js} +28 -28
- package/dist/chunks/{model-04w2mvty.js → schema-kdnmkssn.js} +4 -4
- package/dist/chunks/{model-s6w3zs6m.js → schema-kgjy8mzn.js} +23 -23
- package/dist/chunks/{model-y7nndgyc.js → schema-kjd40bgk.js} +9 -9
- package/dist/chunks/{model-nsnt4z7f.js → schema-kjqvt6c0.js} +4 -4
- package/dist/chunks/{model-c4q7v4g7.js → schema-kjxerx4y.js} +145 -145
- package/dist/chunks/{model-k2a3w999.js → schema-kmvrn13k.js} +10 -10
- package/dist/chunks/{model-5td63qzk.js → schema-kn8ed5j7.js} +19 -19
- package/dist/chunks/{model-nw91k3fh.js → schema-knevfgda.js} +4 -4
- package/dist/chunks/{model-7ea6gyb7.js → schema-krb84gwz.js} +26 -26
- package/dist/chunks/{model-dgz1jfsn.js → schema-ks795mkk.js} +12 -12
- package/dist/chunks/{model-kwb1v3vj.js → schema-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-v9qp1ycg.js → schema-kxbkpg81.js} +27 -27
- package/dist/chunks/{model-jejz1x9w.js → schema-kxf3nz33.js} +9 -9
- package/dist/chunks/{model-03p31ykv.js → schema-m1rbdz0y.js} +14 -14
- package/dist/chunks/{model-nthdcap5.js → schema-m71k82xx.js} +10 -10
- package/dist/chunks/{model-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → schema-maspj1v3.js} +1 -1
- package/dist/chunks/{model-z1r9xewk.js → schema-md39vkm3.js} +33 -37
- package/dist/chunks/{model-4q9fsd81.js → schema-mpd49xq9.js} +10 -10
- package/dist/chunks/{model-g4j5dqmm.js → schema-mt5v9ry9.js} +16 -16
- package/dist/chunks/{model-apng734m.js → schema-mych7xnr.js} +32 -32
- package/dist/chunks/{model-tx641jmv.js → schema-n2ew48d4.js} +32 -32
- package/dist/chunks/{model-whakkw5c.js → schema-n44fvqa5.js} +3 -3
- package/dist/chunks/{model-56jx3k9n.js → schema-nnsw46vg.js} +2 -2
- package/dist/chunks/{model-x9fa4xnb.js → schema-nxc81nce.js} +18 -18
- package/dist/chunks/{model-z44d18ne.js → schema-p33ckn3v.js} +9 -9
- package/dist/chunks/{model-2223rexw.js → schema-pgqyayq7.js} +13 -13
- package/dist/chunks/{model-0qcccqbx.js → schema-phdpwmhe.js} +12 -12
- package/dist/chunks/{model-br0tr5aq.js → schema-phstrbs2.js} +8 -8
- package/dist/chunks/{model-xtpp21nj.js → schema-phwvtd3y.js} +16 -16
- package/dist/chunks/{model-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{model-8ctdzpjq.js → schema-pp9nj0b2.js} +23 -23
- package/dist/chunks/{model-y0bjakjk.js → schema-prjrmqps.js} +50 -50
- package/dist/chunks/{model-1sb845w2.js → schema-q490b428.js} +26 -26
- package/dist/chunks/{model-rfnecwar.js → schema-q5eftdkn.js} +76 -76
- package/dist/chunks/{model-r3whvpya.js → schema-qb6nzafx.js} +2 -2
- package/dist/chunks/{model-ajxqx4ms.js → schema-qg6wj6c5.js} +22 -22
- package/dist/chunks/{model-hh9qf8x4.js → schema-qnk07h1p.js} +3 -3
- package/dist/chunks/{model-hdqa26x6.js → schema-qs4w04g8.js} +13 -13
- package/dist/chunks/{model-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{model-7yh6cecr.js → schema-qsr7754b.js} +32 -32
- package/dist/chunks/{model-p8ncetbn.js → schema-qvfnp1sk.js} +13 -13
- package/dist/chunks/{model-vtc2n9tc.js → schema-qymj231q.js} +2 -2
- package/dist/chunks/{model-w6zk8pbt.js → schema-r01t9b5y.js} +8 -8
- package/dist/chunks/{model-g3s5p3ce.js → schema-r0dp87ge.js} +26 -26
- package/dist/chunks/{model-f9k0h0ak.js → schema-r2kbwwh1.js} +6 -6
- package/dist/chunks/{model-jdjv7g0p.js → schema-r335j1fq.js} +26 -26
- package/dist/chunks/{model-pvj8mvr4.js → schema-r41txaew.js} +15 -15
- package/dist/chunks/{model-2trzfzeg.js → schema-r5wxxd2p.js} +48 -48
- package/dist/chunks/{model-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-mqqhst8y.js → schema-rkg4v3e5.js} +8 -8
- package/dist/chunks/{model-dm7d4a8z.js → schema-rxxgwrt9.js} +14 -14
- package/dist/chunks/{model-8sxctv71.js → schema-rztgzzkf.js} +26 -26
- package/dist/chunks/{model-3zbenxk9.js → schema-se052hy2.js} +3 -3
- package/dist/chunks/{model-seaswkff.js → schema-sf2p74k8.js} +24 -41
- package/dist/chunks/{model-81rrwaz0.js → schema-shrrr7kk.js} +10 -10
- package/dist/chunks/{model-4q4r5eys.js → schema-stbcvrcx.js} +20 -20
- package/dist/chunks/{model-sm9b1dk6.js → schema-sxswpjsy.js} +3 -3
- package/dist/chunks/{model-d216944b.js → schema-sxz6gkc3.js} +4 -4
- package/dist/chunks/{model-v8jfbz3g.js → schema-sxzvkvgj.js} +6 -6
- package/dist/chunks/{model-5qv5h1zk.js → schema-sy3r6n62.js} +32 -32
- package/dist/chunks/{model-6xw3seg4.js → schema-sykc9y4a.js} +5 -5
- package/dist/chunks/{model-syv4x271.js → schema-syv4x271.js} +1 -1
- package/dist/chunks/{model-z7yh2dxd.js → schema-t0jwwps0.js} +42 -44
- package/dist/chunks/{model-j18wnwp4.js → schema-t8w5j2tp.js} +12 -12
- package/dist/chunks/{model-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-bfyf7jfe.js → schema-tc11merm.js} +10 -10
- package/dist/chunks/{model-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{model-7e23ehrj.js → schema-thq5mtmm.js} +11 -11
- package/dist/chunks/{model-tpr917c7.js → schema-tmmkgp6g.js} +25 -25
- package/dist/chunks/{model-rpsmjfyf.js → schema-tnj6rg6w.js} +11 -11
- package/dist/chunks/{model-szszjrwy.js → schema-tp3t781r.js} +4 -4
- package/dist/chunks/{model-4h41swc2.js → schema-tqw72dge.js} +14 -17
- package/dist/chunks/{model-q25wacer.js → schema-tvcjbwgd.js} +14 -14
- package/dist/chunks/{model-tyytaxap.js → schema-tyytaxap.js} +1 -1
- package/dist/chunks/schema-v0yck56n.js +26 -0
- package/dist/chunks/{model-evw6zxwh.js → schema-v1d51sdw.js} +11 -11
- package/dist/chunks/{model-k5amtbxh.js → schema-v6gqda18.js} +13 -13
- package/dist/chunks/{model-v7p4zvkq.js → schema-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-7w2nkvmv.js → schema-v9ktrhzk.js} +14 -14
- package/dist/chunks/{model-np48z6yp.js → schema-vc0tgat8.js} +51 -51
- package/dist/chunks/{model-5g57z1ma.js → schema-vep9yay1.js} +4 -4
- package/dist/chunks/{model-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{model-b66zg7n1.js → schema-vnt3yn01.js} +22 -22
- package/dist/chunks/{model-ywm7vzgw.js → schema-vsgt0m8t.js} +6 -6
- package/dist/chunks/{model-9f3d5qaa.js → schema-vxqrmefd.js} +23 -23
- package/dist/chunks/{model-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-w1eejvng.js → schema-w1eejvng.js} +1 -1
- package/dist/chunks/{model-4bvsmycz.js → schema-w2bpkvh3.js} +11 -11
- package/dist/chunks/{model-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-1rh4yqvv.js → schema-wbt9zsn3.js} +9 -9
- package/dist/chunks/{model-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{model-wh6zw745.js → schema-wh6zw745.js} +2 -2
- package/dist/chunks/{model-y9b0tqk5.js → schema-wk0f6cnb.js} +7 -7
- package/dist/chunks/{model-n1xdyw2d.js → schema-wvyymv1h.js} +8 -8
- package/dist/chunks/{model-03ysqxec.js → schema-x13wf28v.js} +16 -16
- package/dist/chunks/{model-rmymfw9c.js → schema-x5by4g9q.js} +345 -345
- package/dist/chunks/{model-mcm8q642.js → schema-x9xt4rzp.js} +13 -13
- package/dist/chunks/{model-jz851vma.js → schema-xb2raker.js} +3 -3
- package/dist/chunks/{model-wzekn62n.js → schema-xqyrxmej.js} +17 -17
- package/dist/chunks/{model-662wmyj4.js → schema-xtxypabt.js} +12 -12
- package/dist/chunks/{model-twdpq1df.js → schema-xyd93zwz.js} +46 -46
- package/dist/chunks/{model-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-3swakehk.js → schema-y38m9zb5.js} +13 -13
- package/dist/chunks/{model-y56ehv6b.js → schema-y56ehv6b.js} +2 -2
- package/dist/chunks/{model-91vccmjy.js → schema-yc36fn85.js} +7 -7
- package/dist/chunks/{model-h9eg9w87.js → schema-ycefwdcs.js} +8 -8
- package/dist/chunks/{model-jxf1ya3g.js → schema-yds4b9yz.js} +43 -43
- package/dist/chunks/{model-60yc8kfz.js → schema-ygxsryh2.js} +38 -39
- package/dist/chunks/{model-xtqhbb9e.js → schema-ykw333za.js} +5 -5
- package/dist/chunks/{model-s5t6xt4x.js → schema-ys6xw3x7.js} +21 -21
- package/dist/chunks/{model-jpgepvgj.js → schema-ysbkpfh3.js} +16 -16
- package/dist/chunks/{model-6h8x4cfa.js → schema-ysy9ysqp.js} +61 -61
- package/dist/chunks/{model-ywt8jp22.js → schema-ywt8jp22.js} +2 -2
- package/dist/chunks/{model-tnq17713.js → schema-yxxhm6wn.js} +55 -81
- package/dist/chunks/{model-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z18fegx4.js → schema-z18fegx4.js} +1 -1
- package/dist/chunks/{model-dv8ssvc2.js → schema-zctrycv6.js} +96 -96
- package/dist/chunks/{model-z6pj4dcy.js → schema-zdjfzqgx.js} +25 -25
- package/dist/chunks/{model-ehm8gabj.js → schema-zdvv5291.js} +2 -2
- package/dist/chunks/{model-hxvkjxz4.js → schema-zhpk82ba.js} +11 -11
- package/dist/chunks/{model-azfq4cq8.js → schema-zjznsnv6.js} +14 -14
- package/dist/chunks/{model-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-hx3e3ka9.js → schema-zv150g5a.js} +25 -25
- package/dist/chunks/{model-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-0szsamay.js → schema-zxxfwhgr.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +86 -86
- 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 +114 -114
- 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 +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- 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 +81 -81
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +3 -3
- package/dist/filesystem/search.js +101 -107
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -17
- package/dist/filesystem.js +106 -112
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- 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 +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- 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 +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -90
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -123
- 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 +5 -5
- package/dist/plugin/internal.js +332 -332
- 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 +104 -104
- 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.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 +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- 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 +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- 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 +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- 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 +91 -91
- package/dist/repository-cache.js +81 -81
- 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 +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 +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +120 -120
- package/dist/session/model-transport.js +7 -7
- 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 +101 -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 +5 -5
- 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 +89 -89
- 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 +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +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 +95 -95
- 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 +118 -118
- package/dist/tool/plugin/mcp-resource.js +126 -126
- 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 +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- 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 +16 -16
- package/dist/types/filesystem/search.d.ts +4 -8
- package/dist/types/filesystem/watcher.d.ts +6 -49
- package/dist/types/filesystem.d.ts +11 -13
- package/dist/types/permission/saved.d.ts +14 -22
- package/dist/types/permission.d.ts +14 -39
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +5 -5
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/model-7fj5dwt0.js +0 -18
- package/dist/chunks/model-b8bsqqcp.js +0 -257
- package/dist/chunks/model-tgfdy5x8.js +0 -26
- /package/dist/chunks/{model-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5fjb7ams.js → schema-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → schema-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → schema-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./schema-38a6f3y0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./schema-phwvtd3y.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
24
|
External: () => External2,
|
|
25
25
|
ID: () => ID16,
|
|
26
26
|
Info: () => Info26,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service81,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node85
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -41,7 +41,7 @@ var OAuth3 = Credential.OAuth;
|
|
|
41
41
|
var Key4 = Credential.Key;
|
|
42
42
|
var External2 = Credential.External;
|
|
43
43
|
var Value2 = Credential.Value;
|
|
44
|
-
var
|
|
44
|
+
var Event19 = Credential.Event;
|
|
45
45
|
|
|
46
46
|
class Info26 extends Schema.Class("Credential.Info")({
|
|
47
47
|
id: ID16,
|
|
@@ -51,11 +51,11 @@ class Info26 extends Schema.Class("Credential.Info")({
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service81 extends Context.Service()("@opencode/Credential") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const db = (yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
57
|
+
const db = (yield* Service86).db;
|
|
58
|
+
const bus = yield* Service85;
|
|
59
59
|
const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
|
|
60
60
|
const stored = (row) => {
|
|
61
61
|
if (!row.integration_id)
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
71
71
|
const credential = stored(row);
|
|
72
72
|
return credential ? [credential] : [];
|
|
73
73
|
});
|
|
74
|
-
return
|
|
74
|
+
return Service81.of({
|
|
75
75
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
77
77
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
111
111
|
type: credential.value.type,
|
|
112
112
|
active: activated
|
|
113
113
|
});
|
|
114
|
-
yield* bus.publish(
|
|
114
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
115
115
|
if (activated)
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
117
117
|
return credential;
|
|
118
118
|
}),
|
|
119
119
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
133
133
|
})), Effect.orDie);
|
|
134
134
|
if (integrationID) {
|
|
135
135
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
136
|
-
yield* bus.publish(
|
|
136
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
137
137
|
}
|
|
138
138
|
}),
|
|
139
139
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
165
165
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
166
166
|
});
|
|
167
167
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
168
|
-
yield* bus.publish(
|
|
168
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
169
169
|
}),
|
|
170
170
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
171
171
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
198
198
|
active: removed.switched,
|
|
199
199
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
200
200
|
});
|
|
201
|
-
yield* bus.publish(
|
|
201
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
202
202
|
if (removed.switched)
|
|
203
|
-
yield* bus.publish(
|
|
203
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
}));
|
|
207
|
-
var
|
|
207
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node90, node89] });
|
|
208
208
|
|
|
209
|
-
export { ID16, OAuth3, Key4, External2, Value2,
|
|
209
|
+
export { ID16, OAuth3, Key4, External2, Value2, Event19, Info26, Service81, node85, exports_credential };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./schema-phwvtd3y.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-addxnjmp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./schema-krb84gwz.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-vxqrmefd.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./schema-q490b428.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-qnk07h1p.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service78;
|
|
30
|
+
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service85,
|
|
4
|
+
node89
|
|
5
|
+
} from "./schema-phwvtd3y.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make18,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-0gdmqesm.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-rdw6cm16.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event6,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options4,
|
|
27
|
+
Service: () => Service36,
|
|
28
|
+
configured: () => configured4,
|
|
29
|
+
layer: () => layer17,
|
|
30
|
+
node: () => node39
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,18 +39,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event6 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options4 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service36 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service85;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -69,9 +69,9 @@ var layer19 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make18({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer19 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service36.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer19 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured4(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service36,
|
|
107
|
+
layer: layer17(options),
|
|
108
|
+
deps: [node89]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node39 = configured4();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event6, Options4, Service36, layer17, configured4, node39, exports_instruction_discovery };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./schema-phwvtd3y.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-1g5hkw1w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service19,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./schema-dzz2f3za.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
41
|
+
const modelsDev = yield* Service19;
|
|
42
|
+
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./schema-zjznsnv6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./schema-yxxhm6wn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output10,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name15,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name15 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output10 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service80;
|
|
57
|
+
const permission = yield* Service48;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name15,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output10,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name15, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./schema-044xr5hv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./schema-atzyg80d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin6,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin6 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service53;
|
|
28
|
+
const mcp = yield* Service34;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin6, register2, exports_mcp };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,33 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./schema-38a6f3y0.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service85,
|
|
10
|
+
node89
|
|
11
|
+
} from "./schema-phwvtd3y.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
SessionSchema2
|
|
20
|
-
} from "./model-my4zabxr.js";
|
|
17
|
+
} from "./schema-gftt206x.js";
|
|
21
18
|
import {
|
|
22
19
|
SessionMessageTable2,
|
|
23
20
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
21
|
+
} from "./schema-dvj9ct8m.js";
|
|
25
22
|
import {
|
|
26
23
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./schema-tqw72dge.js";
|
|
28
25
|
import {
|
|
29
26
|
__export
|
|
30
|
-
} from "./
|
|
27
|
+
} from "./schema-9rqn6x4v.js";
|
|
31
28
|
|
|
32
29
|
// src/session/inbox.ts
|
|
33
30
|
var exports_inbox = {};
|
|
@@ -35,12 +32,12 @@ __export(exports_inbox, {
|
|
|
35
32
|
Compaction: () => Compaction2,
|
|
36
33
|
CompactionPayload: () => CompactionPayload2,
|
|
37
34
|
Delivery: () => Delivery2,
|
|
38
|
-
Info: () =>
|
|
35
|
+
Info: () => Info7,
|
|
39
36
|
Item: () => Item2,
|
|
40
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
41
38
|
Move: () => Move2,
|
|
42
39
|
MovePayload: () => MovePayload2,
|
|
43
|
-
Service: () =>
|
|
40
|
+
Service: () => Service41,
|
|
44
41
|
SessionInbox: () => exports_inbox,
|
|
45
42
|
Synthetic: () => Synthetic2,
|
|
46
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -48,12 +45,12 @@ __export(exports_inbox, {
|
|
|
48
45
|
UserPayload: () => UserPayload2,
|
|
49
46
|
find: () => find2,
|
|
50
47
|
has: () => has2,
|
|
51
|
-
layer: () =>
|
|
48
|
+
layer: () => layer19,
|
|
52
49
|
list: () => list3,
|
|
53
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
54
51
|
moveIDs: () => moveIDs2,
|
|
55
52
|
nextPromotable: () => nextPromotable2,
|
|
56
|
-
node: () =>
|
|
53
|
+
node: () => node43,
|
|
57
54
|
projectAdmitted: () => projectAdmitted2,
|
|
58
55
|
projectCancelled: () => projectCancelled2,
|
|
59
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -68,7 +65,7 @@ import {
|
|
|
68
65
|
Compaction as Compaction2,
|
|
69
66
|
CompactionPayload as CompactionPayload2,
|
|
70
67
|
Delivery as Delivery2,
|
|
71
|
-
Info as
|
|
68
|
+
Info as Info7,
|
|
72
69
|
Item as Item2,
|
|
73
70
|
Move as Move2,
|
|
74
71
|
MovePayload as MovePayload2,
|
|
@@ -97,8 +94,8 @@ function matches(stored, request) {
|
|
|
97
94
|
}
|
|
98
95
|
var fromRow = (row) => {
|
|
99
96
|
const base = {
|
|
100
|
-
id:
|
|
101
|
-
sessionID:
|
|
97
|
+
id: row.id,
|
|
98
|
+
sessionID: row.session_id,
|
|
102
99
|
time: { created: DateTime.makeUnsafe(row.time_created) }
|
|
103
100
|
};
|
|
104
101
|
if (row.type === "compaction")
|
|
@@ -162,12 +159,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
162
159
|
});
|
|
163
160
|
});
|
|
164
161
|
|
|
165
|
-
class
|
|
162
|
+
class Service41 extends Context.Service()("@opencode/SessionInbox") {
|
|
166
163
|
}
|
|
167
|
-
var
|
|
168
|
-
const database = yield*
|
|
164
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
165
|
+
const database = yield* Service86;
|
|
169
166
|
const db = database.db;
|
|
170
|
-
const bus = yield*
|
|
167
|
+
const bus = yield* Service85;
|
|
171
168
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
172
169
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
173
170
|
if (existing === undefined)
|
|
@@ -184,7 +181,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
184
181
|
inboxID: request.id,
|
|
185
182
|
sessionID: request.sessionID,
|
|
186
183
|
item: request.item
|
|
187
|
-
}).pipe(Effect.map((event) =>
|
|
184
|
+
}).pipe(Effect.map((event) => Info7.make({
|
|
188
185
|
id: request.id,
|
|
189
186
|
sessionID: request.sessionID,
|
|
190
187
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -210,7 +207,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
210
207
|
return yield* admit({
|
|
211
208
|
id: input.id,
|
|
212
209
|
sessionID: input.sessionID,
|
|
213
|
-
item: { type: "compaction", payload: {}, delivery:
|
|
210
|
+
item: { type: "compaction", payload: {}, delivery: input.delivery }
|
|
214
211
|
});
|
|
215
212
|
}));
|
|
216
213
|
});
|
|
@@ -238,8 +235,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
238
235
|
queue
|
|
239
236
|
};
|
|
240
237
|
});
|
|
241
|
-
var
|
|
242
|
-
var
|
|
238
|
+
var layer19 = Layer.effect(Service41, make16());
|
|
239
|
+
var node43 = makeGlobalNode({ service: Service41, layer: layer19, deps: [node90, node89] });
|
|
243
240
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
244
241
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
245
242
|
if (message !== undefined)
|
|
@@ -300,13 +297,12 @@ var has2 = Effect.fn("SessionInbox.has")(function* (db, sessionID, scope) {
|
|
|
300
297
|
var publishMutation = (input, effect) => serialized2(input.sessionID, effect).pipe(Effect.asVoid, Effect.catchDefect((defect) => defect instanceof LifecycleConflict2 ? Effect.fail(defect) : Effect.die(defect)));
|
|
301
298
|
var publish = Effect.fn("SessionInbox.publish")(function* (db, bus, sessionID, rows) {
|
|
302
299
|
yield* Effect.forEach(rows, (row) => {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
return Effect.die(new LifecycleConflict2({ id: entry.id }));
|
|
300
|
+
if (row.type !== "move" && row.type !== "user" && row.type !== "synthetic")
|
|
301
|
+
return Effect.die(new LifecycleConflict2({ id: row.id }));
|
|
306
302
|
return bus.publish(SessionEvent2.InboxDelivered, {
|
|
307
303
|
sessionID,
|
|
308
|
-
inboxID:
|
|
309
|
-
}).pipe(Effect.catchDefect((defect) => defect instanceof LifecycleConflict2 ? promotedFromMessage(db, sessionID,
|
|
304
|
+
inboxID: row.id
|
|
305
|
+
}).pipe(Effect.catchDefect((defect) => defect instanceof LifecycleConflict2 ? promotedFromMessage(db, sessionID, row.id, row.delivery).pipe(Effect.flatMap((stored) => stored !== undefined ? Effect.void : Effect.die(defect)), Effect.orDie) : Effect.die(defect)));
|
|
310
306
|
}, { discard: true });
|
|
311
307
|
return rows.length;
|
|
312
308
|
});
|
|
@@ -337,4 +333,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
337
333
|
return rows;
|
|
338
334
|
}));
|
|
339
335
|
|
|
340
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
336
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service41, make16, layer19, node43, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|