@opencode/core 0.0.0-dev-21307 → 0.0.0-dev-21309
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 +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-cache-vd7s5kxy.js → form-01w6r3jz.js} +5 -5
- package/dist/chunks/{repository-cache-7ep8m250.js → form-01yb7a9a.js} +17 -17
- package/dist/chunks/{repository-cache-y45edm1f.js → form-0592574k.js} +8 -8
- package/dist/chunks/{repository-cache-bghdg7bn.js → form-09rh3qbs.js} +19 -19
- package/dist/chunks/{repository-cache-kxz1hg5v.js → form-0ab2r5bc.js} +15 -15
- package/dist/chunks/{repository-cache-3mkjzvwp.js → form-0n8a0ffz.js} +6 -6
- package/dist/chunks/{repository-cache-20tcdtxb.js → form-0rtp69vm.js} +10 -10
- package/dist/chunks/{repository-cache-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-cache-f1qq7sr1.js → form-0y3k7j43.js} +1 -1
- package/dist/chunks/{repository-cache-pdp9s7c9.js → form-149ww98r.js} +8 -8
- package/dist/chunks/{repository-cache-ja1fgew7.js → form-159j6g8a.js} +50 -50
- package/dist/chunks/{repository-cache-yp2x3t23.js → form-1acjjqhc.js} +4 -4
- package/dist/chunks/{repository-cache-bzeyqsqd.js → form-1ep4rre3.js} +4 -4
- package/dist/chunks/{repository-cache-vp0bfksy.js → form-1j8r0rfw.js} +2 -2
- package/dist/chunks/{repository-cache-v45pkn04.js → form-1rydqggj.js} +43 -43
- package/dist/chunks/{repository-cache-t406dmjj.js → form-1tmtn4f0.js} +33 -33
- package/dist/chunks/{repository-cache-khmqacep.js → form-1w2wqhfv.js} +4 -4
- package/dist/chunks/{repository-cache-36ceq5gy.js → form-21r3m04z.js} +14 -14
- package/dist/chunks/{repository-cache-3k5zc895.js → form-293yhkqp.js} +5 -5
- package/dist/chunks/{repository-cache-7dqw4kz8.js → form-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-cache-nhf4vs0f.js → form-2q9fknbq.js} +12 -12
- package/dist/chunks/{repository-cache-cyzjpqgc.js → form-2r00bf87.js} +25 -25
- package/dist/chunks/{repository-cache-c765mh8b.js → form-2sejkfem.js} +9 -9
- package/dist/chunks/{repository-cache-fyv9rghq.js → form-2xh5ht5h.js} +3 -3
- package/dist/chunks/{repository-cache-dqkkx36v.js → form-2yt4cmmc.js} +4 -4
- package/dist/chunks/{repository-cache-atfxxx72.js → form-2ztv3xbn.js} +3 -3
- package/dist/chunks/{repository-cache-9fkx84pm.js → form-31fkayz7.js} +22 -22
- package/dist/chunks/{repository-cache-4y6kwa1w.js → form-3a2zxt72.js} +8 -8
- package/dist/chunks/{repository-cache-dsc6dxmh.js → form-3cswzw9g.js} +7 -7
- package/dist/chunks/{repository-cache-p8qee5dd.js → form-3d7d73y7.js} +6 -6
- package/dist/chunks/{repository-cache-z4ev155g.js → form-3e4a7xxm.js} +11 -11
- package/dist/chunks/{repository-cache-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{repository-cache-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-w4twd3tw.js → form-43xx6kda.js} +25 -25
- package/dist/chunks/{repository-cache-ahgrg4fe.js → form-440je11f.js} +36 -36
- package/dist/chunks/{repository-cache-mh32msp7.js → form-4553w93m.js} +2 -2
- package/dist/chunks/{repository-cache-04se7enf.js → form-46wtzjjz.js} +5 -5
- package/dist/chunks/{repository-cache-0ar81yxa.js → form-4jctyxs9.js} +27 -27
- package/dist/chunks/{repository-cache-g14xsv6s.js → form-50rkvycx.js} +23 -23
- package/dist/chunks/{repository-cache-xjqn2mzm.js → form-522p3b9e.js} +5 -5
- package/dist/chunks/{repository-cache-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-hzrfc1p4.js → form-58072hz9.js} +3 -3
- package/dist/chunks/{repository-cache-j2wmg2r4.js → form-5b351nnx.js} +9 -9
- package/dist/chunks/{repository-cache-m5ac8kwq.js → form-5c36xey0.js} +29 -29
- package/dist/chunks/{repository-cache-pg4vymq4.js → form-5hmkpywb.js} +31 -31
- package/dist/chunks/{repository-cache-n882j125.js → form-5kmmw6ns.js} +31 -31
- package/dist/chunks/{repository-cache-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-e3qxr5gk.js → form-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-cache-92e46w1f.js → form-5tp7cf11.js} +12 -12
- package/dist/chunks/{repository-cache-z3eyvff3.js → form-5vfyv2px.js} +20 -20
- package/dist/chunks/{repository-cache-fnkj6y17.js → form-64hwtt3x.js} +9 -9
- package/dist/chunks/{repository-cache-frp158f6.js → form-65f8ybtn.js} +10 -10
- package/dist/chunks/{repository-cache-6827pfxn.js → form-6827pfxn.js} +1 -1
- package/dist/chunks/{repository-cache-c38fscx1.js → form-6emxyc9g.js} +1 -1
- package/dist/chunks/{repository-cache-59m3023s.js → form-6f7em8tn.js} +13 -13
- package/dist/chunks/{repository-cache-gbx5w9e0.js → form-6jgeearj.js} +14 -14
- package/dist/chunks/{repository-cache-e1mscf3d.js → form-6s0a03gm.js} +29 -29
- package/dist/chunks/form-6wr7nzx9.js +257 -0
- package/dist/chunks/{repository-cache-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-cache-ye1k03a4.js → form-6yfxq52g.js} +3 -3
- package/dist/chunks/{repository-cache-axharnyz.js → form-7049gnx3.js} +32 -32
- package/dist/chunks/{repository-cache-b2492xjg.js → form-745spws3.js} +28 -28
- package/dist/chunks/{repository-cache-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{repository-cache-nqx608f1.js → form-79kzwjp8.js} +11 -11
- package/dist/chunks/{repository-cache-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-xaf8j326.js → form-7c4aq7s6.js} +13 -13
- package/dist/chunks/{repository-cache-rjpvqnxg.js → form-7cs0wf9y.js} +9 -9
- package/dist/chunks/{repository-cache-80gay8fv.js → form-7evdcjn1.js} +4 -4
- package/dist/chunks/{repository-cache-314kp7wc.js → form-7nqnfc0d.js} +20 -20
- package/dist/chunks/{repository-cache-d5n8aweh.js → form-7p3wxydp.js} +29 -29
- package/dist/chunks/{repository-cache-d0m33awg.js → form-7pqmk9b7.js} +11 -11
- package/dist/chunks/{repository-cache-b3pexw4z.js → form-7t193933.js} +5 -5
- package/dist/chunks/{repository-cache-q3s5c4wd.js → form-7y1apa1f.js} +12 -12
- package/dist/chunks/{repository-cache-ntcd7r2c.js → form-7ztexanv.js} +15 -15
- package/dist/chunks/{repository-cache-84txncab.js → form-84txncab.js} +1 -1
- package/dist/chunks/{repository-cache-vpshk9t2.js → form-88yja26d.js} +11 -11
- package/dist/chunks/{repository-cache-sfq9t108.js → form-8a6hh32g.js} +18 -18
- package/dist/chunks/{repository-cache-pjxggghw.js → form-8fd1zqwe.js} +81 -81
- package/dist/chunks/{repository-cache-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{repository-cache-8mywswrd.js → form-8mywswrd.js} +1 -1
- package/dist/chunks/{repository-cache-vnqzk1gb.js → form-8p4v04p7.js} +3 -3
- package/dist/chunks/{repository-cache-z6jgmdqw.js → form-8tp1gwdj.js} +32 -32
- package/dist/chunks/{repository-cache-gy6q8pjn.js → form-8xnpz133.js} +5 -5
- package/dist/chunks/form-960ccn17.js +517 -0
- package/dist/chunks/{repository-cache-srv5nkk5.js → form-9bj0dwv2.js} +7 -7
- package/dist/chunks/{repository-cache-6dg8hvxd.js → form-9pkymny3.js} +21 -21
- package/dist/chunks/{repository-cache-px1ksxsk.js → form-9q9cc4yk.js} +15 -15
- package/dist/chunks/{repository-cache-a20pjse5.js → form-a20pjse5.js} +3 -3
- package/dist/chunks/{repository-cache-b89y6y9w.js → form-a6rgdr89.js} +32 -32
- package/dist/chunks/{repository-cache-6yncxzed.js → form-a8nkje97.js} +11 -11
- package/dist/chunks/{repository-cache-x661k3y3.js → form-addxnjmp.js} +4 -4
- package/dist/chunks/{repository-cache-h1532brx.js → form-admdf9qy.js} +24 -24
- package/dist/chunks/{repository-cache-ycy3dsx4.js → form-apsw5g4h.js} +9 -9
- package/dist/chunks/{repository-cache-w29cs0xs.js → form-as472svt.js} +16 -16
- package/dist/chunks/{repository-cache-kd5hk5hb.js → form-aspe32j5.js} +18 -18
- package/dist/chunks/{repository-cache-vc7fmfhz.js → form-b12fh71z.js} +12 -12
- package/dist/chunks/{repository-cache-z6c3x22d.js → form-b674v2dg.js} +5 -5
- package/dist/chunks/{repository-cache-b47jeb7t.js → form-b7jha8hs.js} +7 -7
- package/dist/chunks/{repository-cache-1b45vsnf.js → form-bc1hz80r.js} +16 -16
- package/dist/chunks/{repository-cache-a2rpfkac.js → form-bgc5ggmx.js} +4 -4
- package/dist/chunks/{repository-cache-7yyqgw31.js → form-bkschzhq.js} +13 -13
- package/dist/chunks/{repository-cache-6mwbv2j4.js → form-bmdqnj6f.js} +11 -11
- package/dist/chunks/{repository-cache-d0ky7b2n.js → form-bt0xk3k9.js} +40 -40
- package/dist/chunks/{repository-cache-xhfr7w54.js → form-bvr6saty.js} +28 -28
- package/dist/chunks/{repository-cache-1r08b1ze.js → form-byehbd7c.js} +11 -11
- package/dist/chunks/{repository-cache-c1fqxshp.js → form-c1fqxshp.js} +3 -3
- package/dist/chunks/{repository-cache-wnr41wz0.js → form-ccjfg0tr.js} +38 -38
- package/dist/chunks/{repository-cache-xf58effc.js → form-cg02sn39.js} +13 -13
- package/dist/chunks/{repository-cache-sjmbs52b.js → form-csrxhvh8.js} +59 -59
- package/dist/chunks/{repository-cache-76ehfx7y.js → form-d5hbq9vh.js} +48 -48
- package/dist/chunks/{repository-cache-g686f6pq.js → form-d7x0sh0y.js} +9 -9
- package/dist/chunks/{repository-cache-rccq1xcq.js → form-da7xf5ay.js} +29 -29
- package/dist/chunks/{repository-cache-avhvgy5k.js → form-ddjvg64n.js} +14 -14
- package/dist/chunks/{repository-cache-rma03sff.js → form-dgct1c5d.js} +9 -9
- package/dist/chunks/{repository-cache-0rytgdhm.js → form-djdfaxd1.js} +32 -32
- package/dist/chunks/{repository-cache-161qchch.js → form-dke6jjmt.js} +1 -1
- package/dist/chunks/{repository-cache-dpkg50ah.js → form-dpkg50ah.js} +1 -1
- package/dist/chunks/{repository-cache-kmj26603.js → form-dq407baf.js} +3 -3
- package/dist/chunks/{repository-cache-hv879400.js → form-dys7k0s0.js} +7 -7
- package/dist/chunks/{repository-cache-2r2p8fzx.js → form-e0qnmsg8.js} +28 -28
- package/dist/chunks/{repository-cache-jwc1ahma.js → form-e3abpcc4.js} +29 -29
- package/dist/chunks/{repository-cache-b07jp80w.js → form-e6pqykgy.js} +4 -4
- package/dist/chunks/{repository-cache-4r9nnegq.js → form-e86gnere.js} +23 -23
- package/dist/chunks/{repository-cache-v7h4apfv.js → form-e9hz0076.js} +14 -14
- package/dist/chunks/{repository-cache-ghbjgsw7.js → form-ec9r64eb.js} +44 -44
- package/dist/chunks/{repository-cache-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{repository-cache-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-0cg871e2.js → form-eh6ej367.js} +5 -5
- package/dist/chunks/{repository-cache-vbybff9w.js → form-evdvhfzx.js} +23 -23
- package/dist/chunks/{repository-cache-7cd0cd1q.js → form-exp1944n.js} +19 -19
- package/dist/chunks/{repository-cache-dn36g5j0.js → form-ezrgp273.js} +28 -28
- package/dist/chunks/{repository-cache-vktwk5kv.js → form-f0ftzx98.js} +9 -9
- package/dist/chunks/{repository-cache-vppn3xvj.js → form-f532e7gj.js} +27 -27
- package/dist/chunks/{repository-cache-3cs3gdnf.js → form-f6adby2b.js} +33 -33
- package/dist/chunks/{repository-cache-zxcvat1v.js → form-f8bcsxje.js} +2 -2
- package/dist/chunks/{repository-cache-69wpfr64.js → form-f93vdewn.js} +6 -6
- package/dist/chunks/{repository-cache-fcy631f0.js → form-fcy631f0.js} +1 -1
- package/dist/chunks/{repository-cache-5mv65mph.js → form-fn8k43nn.js} +20 -20
- package/dist/chunks/{repository-cache-qj368rjp.js → form-fs6b610g.js} +11 -11
- package/dist/chunks/{repository-cache-kvp13sbf.js → form-fv12q9k0.js} +13 -13
- package/dist/chunks/{repository-cache-c63mpyjp.js → form-fww2ha2b.js} +10 -10
- package/dist/chunks/{repository-cache-d4ex4t7m.js → form-g091zayf.js} +26 -26
- package/dist/chunks/{repository-cache-abshngws.js → form-g2jr9t01.js} +15 -15
- package/dist/chunks/{repository-cache-kb4h046s.js → form-g66bevh5.js} +10 -10
- package/dist/chunks/{repository-cache-v5ysgbsj.js → form-gcywmqd1.js} +11 -11
- package/dist/chunks/{repository-cache-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-86m4f4y9.js → form-gnzn9cn5.js} +1 -1
- package/dist/chunks/{repository-cache-ry5vqzb9.js → form-gr6bp44c.js} +15 -15
- package/dist/chunks/{repository-cache-zqfakkws.js → form-gyv5agwd.js} +4 -4
- package/dist/chunks/{repository-cache-xyx20s09.js → form-h4bnd9mc.js} +11 -11
- package/dist/chunks/{repository-cache-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-qkpkhkva.js → form-hdzv5k9p.js} +14 -14
- package/dist/chunks/{repository-cache-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{repository-cache-3frchmgr.js → form-jdmw2rsk.js} +26 -26
- package/dist/chunks/{repository-cache-1yek6bdb.js → form-jh2ps5wy.js} +14 -14
- package/dist/chunks/{repository-cache-htyafsv3.js → form-jkjnadar.js} +12 -12
- package/dist/chunks/{repository-cache-mj2j2ta6.js → form-jxvnzpw8.js} +23 -23
- package/dist/chunks/{repository-cache-0dq0w1jq.js → form-jytfn6ja.js} +8 -8
- package/dist/chunks/{repository-cache-8qk5d3q5.js → form-jz13mca3.js} +25 -25
- package/dist/chunks/{repository-cache-tyhwyzay.js → form-k35dez0d.js} +11 -11
- package/dist/chunks/{repository-cache-xn26nr4q.js → form-k5yp4jza.js} +38 -38
- package/dist/chunks/{repository-cache-4xahkvr1.js → form-k9hrtvd5.js} +22 -22
- package/dist/chunks/{repository-cache-6yz0wx8n.js → form-kjdm35cs.js} +5 -5
- package/dist/chunks/{repository-cache-56chjs90.js → form-kjf4kcws.js} +15 -15
- package/dist/chunks/{repository-cache-zvjhkatg.js → form-kk8h1mek.js} +8 -8
- package/dist/chunks/{repository-cache-2kpvexxf.js → form-kn8ghv8t.js} +182 -182
- package/dist/chunks/{repository-cache-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
- package/dist/chunks/{repository-cache-bwva9967.js → form-m0j93tdc.js} +43 -43
- package/dist/chunks/{repository-cache-vt8aqadh.js → form-m1z5ek08.js} +8 -8
- package/dist/chunks/{repository-cache-5zh2xrv1.js → form-m2ymgz0z.js} +35 -35
- package/dist/chunks/{repository-cache-8egray66.js → form-m40er8qz.js} +11 -11
- package/dist/chunks/{repository-cache-5w4193mt.js → form-m7nc2rpb.js} +54 -54
- package/dist/chunks/{repository-cache-1n5bn1zm.js → form-m8xah3g8.js} +17 -17
- package/dist/chunks/{repository-cache-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-f1mpmm74.js → form-mnxav5te.js} +3 -3
- package/dist/chunks/{repository-cache-8z19p36t.js → form-mpzfxbse.js} +3 -3
- package/dist/chunks/{repository-cache-52bg0ad9.js → form-mr25sape.js} +30 -30
- package/dist/chunks/{repository-cache-q4fmv0xv.js → form-mtrbqqrq.js} +5 -5
- package/dist/chunks/{repository-cache-qeew10aa.js → form-mtxvdp9r.js} +20 -20
- package/dist/chunks/{repository-cache-g0yf6pzc.js → form-my6mv4rd.js} +30 -30
- package/dist/chunks/{repository-cache-zt0s3nmc.js → form-mysqzpg8.js} +5 -5
- package/dist/chunks/{repository-cache-thsfkehz.js → form-n8nt0na6.js} +22 -22
- package/dist/chunks/form-n95b3jav.js +18 -0
- package/dist/chunks/{repository-cache-3g0wgjny.js → form-nem0pv7t.js} +25 -25
- package/dist/chunks/{repository-cache-7sdjsr81.js → form-njv48zzv.js} +18 -18
- package/dist/chunks/{repository-cache-p7a39gy5.js → form-nzq7ck9f.js} +6 -6
- package/dist/chunks/{repository-cache-scnkw924.js → form-p008bemp.js} +20 -20
- package/dist/chunks/{repository-cache-pa8pe2x7.js → form-p4mj4rdp.js} +8 -8
- package/dist/chunks/{repository-cache-213xhah1.js → form-p4ye8mev.js} +3 -3
- package/dist/chunks/{repository-cache-ne4p9z9f.js → form-p5y15tvy.js} +16 -16
- package/dist/chunks/{repository-cache-s8pfr3sa.js → form-pcymg39e.js} +20 -20
- package/dist/chunks/{repository-cache-68kcj400.js → form-pf1b2z5t.js} +32 -32
- package/dist/chunks/{repository-cache-4rjz15yc.js → form-phf263fg.js} +42 -42
- package/dist/chunks/{repository-cache-y0pqx9ee.js → form-phtk6n36.js} +45 -45
- package/dist/chunks/{repository-cache-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-dp622nh3.js → form-pkbhwwsm.js} +21 -21
- package/dist/chunks/{repository-cache-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-qdgns3yy.js → form-ppf9jb57.js} +11 -11
- package/dist/chunks/{repository-cache-n2bfkdv4.js → form-prcpq60y.js} +5 -5
- package/dist/chunks/{repository-cache-cyd8k6yp.js → form-pw1h6ks1.js} +25 -25
- package/dist/chunks/{repository-cache-1xcax4md.js → form-px6wq6dz.js} +26 -26
- package/dist/chunks/{repository-cache-rkprpv83.js → form-py3kkmfq.js} +2 -2
- package/dist/chunks/{repository-cache-9mwy3bj8.js → form-q47bt154.js} +14 -14
- package/dist/chunks/{repository-cache-5d10bvnq.js → form-qha5ekyp.js} +4 -4
- package/dist/chunks/{repository-cache-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-cache-8eb4w425.js → form-qpkfbzpg.js} +15 -15
- package/dist/chunks/{repository-cache-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-sd1g7zk7.js → form-r9vpxkp0.js} +47 -47
- package/dist/chunks/{repository-cache-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-rert0e01.js → form-rert0e01.js} +2 -2
- package/dist/chunks/{repository-cache-8bk6jfgk.js → form-rgy0q2mm.js} +11 -11
- package/dist/chunks/{repository-cache-0gdmqesm.js → form-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-cache-rj3eygr5.js → form-rj3eygr5.js} +2 -2
- package/dist/chunks/{repository-cache-2xfc23b2.js → form-rmb1gw6x.js} +21 -21
- package/dist/chunks/{repository-cache-tz4n1mmd.js → form-rwm5vee1.js} +4 -4
- package/dist/chunks/{repository-cache-fm2qvscf.js → form-ryr25ayn.js} +4 -4
- package/dist/chunks/{repository-cache-azxbdxcx.js → form-s12ckd47.js} +10 -10
- package/dist/chunks/{repository-cache-sa8ekw3f.js → form-sa8ekw3f.js} +2 -2
- package/dist/chunks/{repository-cache-ggn007s3.js → form-sd97kvfg.js} +21 -21
- package/dist/chunks/{repository-cache-2hmm1e15.js → form-se8s5apy.js} +20 -20
- package/dist/chunks/{repository-cache-e80seqcp.js → form-sxcaecc0.js} +3 -3
- package/dist/chunks/{repository-cache-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{repository-cache-xdf0ykp7.js → form-t16svwyk.js} +23 -23
- package/dist/chunks/{repository-cache-x91navb3.js → form-t2gndjp3.js} +7 -7
- package/dist/chunks/{repository-cache-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-qbqbaz6q.js → form-tbmac1c7.js} +4 -4
- package/dist/chunks/{repository-cache-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{repository-cache-f8k7tqpr.js → form-ttfrdszx.js} +22 -22
- package/dist/chunks/{repository-cache-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{repository-cache-v13b12ef.js → form-v13b12ef.js} +2 -2
- package/dist/chunks/{repository-cache-v210v162.js → form-v210v162.js} +2 -2
- package/dist/chunks/{repository-cache-ntm1cgex.js → form-v5rm5t0z.js} +18 -18
- package/dist/chunks/{repository-cache-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{repository-cache-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-6t9tjhsk.js → form-vygwap6r.js} +3 -3
- package/dist/chunks/{repository-cache-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-1n1cqex2.js → form-w56rxd4n.js} +16 -16
- package/dist/chunks/{repository-cache-21fhc1jw.js → form-w78b8eew.js} +11 -11
- package/dist/chunks/{repository-cache-vht2c7bf.js → form-w8reh54w.js} +6 -6
- package/dist/chunks/{repository-cache-045nn9pc.js → form-waskdk5r.js} +8 -8
- package/dist/chunks/{repository-cache-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-n0qazxv2.js → form-weqnn3ye.js} +91 -91
- package/dist/chunks/{repository-cache-drfn6gwd.js → form-wfa292tn.js} +9 -9
- package/dist/chunks/{repository-cache-5cd6vznj.js → form-wj1kajne.js} +8 -8
- package/dist/chunks/{repository-cache-sd8vqtn7.js → form-ww5ckzyq.js} +37 -37
- package/dist/chunks/{repository-cache-fkkvv55g.js → form-x07jzsrz.js} +16 -16
- package/dist/chunks/{repository-cache-drwq78ky.js → form-xfkkasph.js} +4 -4
- package/dist/chunks/{repository-cache-0f8kejsb.js → form-xp2zd69v.js} +22 -22
- package/dist/chunks/{repository-cache-kg45811x.js → form-xqqvwv5j.js} +11 -11
- package/dist/chunks/{repository-cache-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-y56ehv6b.js → form-y56ehv6b.js} +2 -2
- package/dist/chunks/{repository-cache-ht6gncry.js → form-y98rys2n.js} +11 -11
- package/dist/chunks/{repository-cache-m3n8w99j.js → form-ybax1fzm.js} +2 -2
- package/dist/chunks/{repository-cache-92m64p6f.js → form-ycwe7tdf.js} +15 -15
- package/dist/chunks/{repository-cache-1d5acrpd.js → form-ydgbnz16.js} +1 -1
- package/dist/chunks/{repository-cache-rvjhec0b.js → form-yf054wvd.js} +28 -28
- package/dist/chunks/{repository-cache-td613cjm.js → form-ysn0w3pq.js} +70 -70
- package/dist/chunks/{repository-cache-ywt8jp22.js → form-ywt8jp22.js} +2 -2
- package/dist/chunks/{repository-cache-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-z18fegx4.js → form-z18fegx4.js} +1 -1
- package/dist/chunks/{repository-cache-v8jthr7x.js → form-z3yspz9a.js} +21 -21
- package/dist/chunks/{repository-cache-qh8vdwx1.js → form-z9qyhhpt.js} +8 -8
- package/dist/chunks/{repository-cache-8hht930z.js → form-zc34vfrd.js} +11 -11
- package/dist/chunks/{repository-cache-593nqyk2.js → form-ze4ea8mz.js} +11 -11
- package/dist/chunks/{repository-cache-8s4zq5p9.js → form-ze75yzft.js} +8 -8
- package/dist/chunks/{repository-cache-f78sms3n.js → form-zhgq12gm.js} +30 -30
- package/dist/chunks/{repository-cache-bb4j8mte.js → form-zjfytr3m.js} +18 -18
- package/dist/chunks/{repository-cache-pjhexp1d.js → form-zk2qw2pd.js} +13 -13
- package/dist/chunks/{repository-cache-8xebk442.js → form-zn6cgmq1.js} +37 -37
- package/dist/chunks/{repository-cache-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-xt3a7zk5.js → form-zt93p4vm.js} +21 -21
- package/dist/chunks/{repository-cache-95ncemsy.js → form-zx85k7gh.js} +9 -9
- package/dist/chunks/{repository-cache-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-cache-ysasxc1a.js → form-zygegkxh.js} +19 -19
- 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 +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 +206 -206
- 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 +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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +104 -104
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +101 -101
- 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 +82 -82
- 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 +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 +136 -136
- 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 +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- 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 +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- 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 +114 -114
- 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 +123 -123
- 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 +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +168 -168
- package/dist/plugin/sdk.js +74 -74
- 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 +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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- 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 +131 -131
- 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 +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- 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 +164 -164
- 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 +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- 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 +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/repository-cache-1x11rq2a.js +0 -18
- package/dist/chunks/repository-cache-87b1qs38.js +0 -517
- package/dist/chunks/repository-cache-n48d28kv.js +0 -257
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-6yfxq52g.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ConflictError: () => ConflictError2,
|
|
17
|
-
ID: () =>
|
|
18
|
-
Info: () =>
|
|
19
|
-
ListInput: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
17
|
+
ID: () => ID11,
|
|
18
|
+
Info: () => Info20,
|
|
19
|
+
ListInput: () => ListInput5,
|
|
20
|
+
NotFoundError: () => NotFoundError10,
|
|
21
21
|
PermissionSaved: () => exports_saved,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UpdateInput: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service75,
|
|
23
|
+
UpdateInput: () => UpdateInput3,
|
|
24
|
+
node: () => node78
|
|
25
25
|
});
|
|
26
26
|
import { eq } from "drizzle-orm";
|
|
27
27
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -29,9 +29,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
29
29
|
import { Project } from "@opencode/schema/project";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
32
|
+
var ID11 = PermissionSaved.ID;
|
|
33
|
+
var Info20 = PermissionSaved.Info;
|
|
34
|
+
var ListInput5 = Schema.Struct({
|
|
35
35
|
projectID: Project.ID.pipe(Schema.optional)
|
|
36
36
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
37
37
|
var AddInput2 = Schema.Struct({
|
|
@@ -39,27 +39,27 @@ var AddInput2 = Schema.Struct({
|
|
|
39
39
|
action: Schema.String,
|
|
40
40
|
resources: Schema.Array(Schema.String)
|
|
41
41
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
42
|
-
var
|
|
43
|
-
id:
|
|
42
|
+
var UpdateInput3 = Schema.Struct({
|
|
43
|
+
id: ID11,
|
|
44
44
|
action: Schema.String.pipe(Schema.optional),
|
|
45
45
|
resource: Schema.String.pipe(Schema.optional)
|
|
46
46
|
}).annotate({ identifier: "PermissionSaved.UpdateInput" });
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
id:
|
|
48
|
+
class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
49
|
+
id: ID11
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
54
|
-
id:
|
|
54
|
+
id: ID11,
|
|
55
55
|
action: Schema.String,
|
|
56
56
|
resource: Schema.String
|
|
57
57
|
}) {
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service75 extends Context.Service()("@opencode/PermissionSaved") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
63
63
|
const db = (yield* Service86).db;
|
|
64
64
|
const list = Effect.fnUntraced(function* (input) {
|
|
65
65
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
69
69
|
if (!input.resources.length)
|
|
70
70
|
return;
|
|
71
71
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
72
|
-
id:
|
|
72
|
+
id: ID11.create(),
|
|
73
73
|
project_id: input.projectID,
|
|
74
74
|
action: input.action,
|
|
75
75
|
resource
|
|
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
78
78
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
79
79
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
80
80
|
if (!current)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
82
82
|
const action = input.action ?? current.action;
|
|
83
83
|
const resource = input.resource ?? current.resource;
|
|
84
84
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
85
85
|
if (!updated)
|
|
86
|
-
return yield* new
|
|
86
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
87
87
|
return info(updated);
|
|
88
88
|
});
|
|
89
89
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
90
90
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
91
91
|
});
|
|
92
|
-
return
|
|
92
|
+
return Service75.of({ list, add, update, remove });
|
|
93
93
|
}));
|
|
94
94
|
var isUniqueViolation = (error) => {
|
|
95
95
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -107,6 +107,6 @@ var info = (row) => ({
|
|
|
107
107
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var
|
|
110
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [node90] });
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { ID11, Info20, ListInput5, AddInput2, UpdateInput3, NotFoundError10, ConflictError2, Service75, node78, exports_saved };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./form-ttfrdszx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-f8bcsxje.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./form-k5yp4jza.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service45
|
|
16
|
+
} from "./form-50rkvycx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin29
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin29 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service45;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service53;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
43
|
const location = yield* Service82;
|
|
44
|
-
const watcher = yield*
|
|
44
|
+
const watcher = yield* Service54;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -174,4 +174,4 @@ function isUrl(source) {
|
|
|
174
174
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export {
|
|
177
|
+
export { Plugin29, exports_instruction };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./form-k5yp4jza.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./form-phf263fg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-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: () => Plugin22,
|
|
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 Plugin22 = 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* Service38;
|
|
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 { Plugin22, register2, exports_mcp };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-f8bcsxje.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./form-k5yp4jza.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-6s0a03gm.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin21 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service53;
|
|
35
35
|
const location = yield* Service82;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin21, exports_reference };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-6yfxq52g.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info7,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info7 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service37 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make18({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service37.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node41 = makeLocationNode({ service: Service37, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service37, node41, exports_instruction_entry };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./form-7p3wxydp.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-w8reh54w.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID9.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service46
|
|
7
|
+
} from "./form-my6mv4rd.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-58072hz9.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-3d7d73y7.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service46;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./form-z3yspz9a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./form-csrxhvh8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-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: () => Input15,
|
|
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 Input15 = 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* Service73;
|
|
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: Input15,
|
|
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, Input15, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|