@opencode/core 0.0.0-dev-20384 → 0.0.0-dev-20386
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-cache-4pmjbv1q.js → bus-057z78dy.js} +24 -24
- package/dist/chunks/{repository-cache-jpeemenq.js → bus-0b07cytw.js} +4 -4
- package/dist/chunks/{repository-cache-dzydyd9h.js → bus-0b4yhjxs.js} +48 -48
- package/dist/chunks/{repository-cache-395chjsb.js → bus-0dhvyftb.js} +32 -32
- package/dist/chunks/{repository-cache-0rts7qdn.js → bus-0gjptt89.js} +57 -57
- package/dist/chunks/{repository-cache-j5w2yx54.js → bus-0jkw1j53.js} +6 -6
- package/dist/chunks/{repository-cache-jv2beyhx.js → bus-0mpp7kje.js} +11 -11
- package/dist/chunks/{repository-cache-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-s13yc4gs.js → bus-12yh3v9m.js} +43 -43
- package/dist/chunks/{repository-cache-ffmrpess.js → bus-137fdrk4.js} +8 -8
- package/dist/chunks/bus-187kn7r0.js +507 -0
- package/dist/chunks/{repository-cache-f2n192rq.js → bus-1acjjqhc.js} +4 -4
- package/dist/chunks/{repository-cache-73tb2d7t.js → bus-1bbkgx8g.js} +3 -3
- package/dist/chunks/{repository-cache-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-ad4vgpbm.js → bus-1egn70ga.js} +32 -32
- package/dist/chunks/{repository-cache-jgrnma6d.js → bus-1g721s8n.js} +3 -3
- package/dist/chunks/{repository-cache-t1262myw.js → bus-1g8mdag0.js} +10 -10
- package/dist/chunks/{repository-cache-3w0edgpr.js → bus-1sf8sswz.js} +16 -16
- package/dist/chunks/{repository-cache-1ygqh575.js → bus-1ygqh575.js} +2 -2
- package/dist/chunks/{repository-cache-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-dgg5hry3.js → bus-26qjdhj3.js} +14 -14
- package/dist/chunks/{repository-cache-da443km9.js → bus-29jjt28q.js} +88 -88
- package/dist/chunks/{repository-cache-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-aeexf8fc.js → bus-2e474cp7.js} +17 -17
- package/dist/chunks/{repository-cache-d858xzj7.js → bus-2k71kv7p.js} +4 -4
- package/dist/chunks/{repository-cache-bsxd6m7c.js → bus-2ta68rf2.js} +7 -7
- package/dist/chunks/{repository-cache-0qb7pa1n.js → bus-2txne078.js} +8 -8
- package/dist/chunks/{repository-cache-k0dvd39k.js → bus-2y7xnc52.js} +9 -9
- package/dist/chunks/{repository-cache-h0h78a5e.js → bus-32sa0c0w.js} +16 -16
- package/dist/chunks/{repository-cache-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-tyk6hpg1.js → bus-3nyxp4kt.js} +23 -23
- package/dist/chunks/{repository-cache-cwapn2kk.js → bus-3rg5dt53.js} +17 -17
- package/dist/chunks/{repository-cache-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-974w5737.js → bus-3w2p8hyx.js} +23 -23
- package/dist/chunks/{repository-cache-mjd5dqnw.js → bus-3y3ca60k.js} +3 -3
- package/dist/chunks/{repository-cache-rnqxsqdw.js → bus-3y6qv6fa.js} +33 -33
- package/dist/chunks/{repository-cache-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-3556dn8t.js → bus-427t97hr.js} +1 -1
- package/dist/chunks/{repository-cache-ksbnj448.js → bus-453dwvt0.js} +181 -181
- package/dist/chunks/{repository-cache-5888xk6a.js → bus-46gydz25.js} +51 -51
- package/dist/chunks/{repository-cache-ss0epz44.js → bus-48dkvn4f.js} +11 -11
- package/dist/chunks/{repository-cache-37ea9c2d.js → bus-4a0nv7mx.js} +8 -8
- package/dist/chunks/{repository-cache-3vetqjk1.js → bus-4bj1y1rr.js} +36 -36
- package/dist/chunks/{repository-cache-hjhp6xxc.js → bus-4m9tr61w.js} +16 -16
- package/dist/chunks/{repository-cache-qsr9synt.js → bus-4n607a2z.js} +5 -5
- package/dist/chunks/{repository-cache-m0ecvezt.js → bus-4pbr4a79.js} +19 -19
- package/dist/chunks/{repository-cache-1kr9zwgv.js → bus-4tk06fn7.js} +20 -20
- package/dist/chunks/{repository-cache-be0emam3.js → bus-4zxcbstk.js} +31 -31
- package/dist/chunks/{repository-cache-54ma36ye.js → bus-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-6bn6zw9m.js → bus-5ehga51n.js} +3 -3
- package/dist/chunks/{repository-cache-kzhakyvk.js → bus-5gre4vbt.js} +2 -2
- package/dist/chunks/{repository-cache-e3qxr5gk.js → bus-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-cache-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-mspkneqr.js → bus-62hy5w4k.js} +11 -11
- package/dist/chunks/{repository-cache-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-hh9dckdz.js → bus-6ktds10y.js} +12 -12
- package/dist/chunks/{repository-cache-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cache-vxhhv58t.js → bus-6nt1sgah.js} +24 -24
- package/dist/chunks/{repository-cache-2nsj23ry.js → bus-78dcfyc2.js} +15 -15
- package/dist/chunks/{repository-cache-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-1krrpkdr.js → bus-7ehz94ke.js} +12 -12
- package/dist/chunks/{repository-cache-k1hwpwtt.js → bus-7hk1a9kn.js} +15 -15
- package/dist/chunks/{repository-cache-6bkwpg0x.js → bus-7q81yew2.js} +12 -12
- package/dist/chunks/{repository-cache-x0vh4z3y.js → bus-7vq335ge.js} +28 -28
- package/dist/chunks/{repository-cache-rf6qq5pr.js → bus-7vqcmx4q.js} +9 -9
- package/dist/chunks/{repository-cache-66qv7stq.js → bus-7zqrex6v.js} +16 -16
- package/dist/chunks/{repository-cache-1f653fp7.js → bus-80s1qpja.js} +24 -24
- package/dist/chunks/{repository-cache-cxp51yks.js → bus-825bw704.js} +42 -42
- package/dist/chunks/{repository-cache-1nz9djp5.js → bus-840n79mv.js} +15 -15
- package/dist/chunks/{repository-cache-w1eejvng.js → bus-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-v20d2acs.js → bus-87ayqzvj.js} +20 -20
- package/dist/chunks/{repository-cache-h26wjtqz.js → bus-894m4bqb.js} +11 -11
- package/dist/chunks/{repository-cache-f9qv40sy.js → bus-8arr1g8f.js} +42 -42
- package/dist/chunks/{repository-cache-vbzc55dd.js → bus-8c24f6ff.js} +17 -17
- package/dist/chunks/{repository-cache-2mfzxht7.js → bus-8c50268e.js} +5 -5
- package/dist/chunks/{repository-cache-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-cy6ws55e.js → bus-8h0ahnmn.js} +20 -20
- package/dist/chunks/{repository-cache-ydgy0jv4.js → bus-8hbfdwcy.js} +8 -8
- package/dist/chunks/{repository-cache-8evgpfva.js → bus-8qp06k83.js} +11 -11
- package/dist/chunks/{repository-cache-xct5fsjt.js → bus-8t16g276.js} +20 -20
- package/dist/chunks/{repository-cache-0w8x28sf.js → bus-8wy1n625.js} +43 -43
- package/dist/chunks/{repository-cache-q53c2jgr.js → bus-8y86t981.js} +11 -11
- package/dist/chunks/{repository-cache-g9xsh2b9.js → bus-8ywrnqjj.js} +23 -23
- package/dist/chunks/{repository-cache-a6b6yrq3.js → bus-92ssfs48.js} +24 -24
- package/dist/chunks/{repository-cache-94ek1h2f.js → bus-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-cache-qnpxmzp3.js → bus-96mdvajj.js} +24 -24
- package/dist/chunks/{repository-cache-1kzhj9ac.js → bus-98pprt8f.js} +15 -15
- package/dist/chunks/{repository-cache-w3bkza1g.js → bus-9eg4jjgq.js} +8 -8
- package/dist/chunks/{repository-cache-afed7ext.js → bus-9g3kc011.js} +12 -12
- package/dist/chunks/{repository-cache-5xtgfte3.js → bus-9hn6k4tm.js} +8 -8
- package/dist/chunks/{repository-cache-rtb06bvf.js → bus-9j1htrj5.js} +3 -3
- package/dist/chunks/{repository-cache-1n8qs01n.js → bus-9r1zvxbf.js} +4 -4
- package/dist/chunks/{repository-cache-tnhf2k51.js → bus-a4n3shsa.js} +30 -30
- package/dist/chunks/{repository-cache-2pnhn36q.js → bus-a8bn8zg0.js} +21 -21
- package/dist/chunks/{repository-cache-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-5jz776c3.js → bus-abem9yh0.js} +21 -21
- package/dist/chunks/{repository-cache-ead3g9p8.js → bus-af04s6ss.js} +5 -5
- package/dist/chunks/{repository-cache-c2capq82.js → bus-af88mf9m.js} +26 -26
- package/dist/chunks/{repository-cache-22f357wt.js → bus-aj9wrhbp.js} +9 -9
- package/dist/chunks/{repository-cache-5etd2cz8.js → bus-aw4ks25e.js} +13 -13
- package/dist/chunks/{repository-cache-jbjr1a4g.js → bus-awaee7qt.js} +4 -4
- package/dist/chunks/{repository-cache-yx9af1wb.js → bus-awaqrqtp.js} +33 -33
- package/dist/chunks/{repository-cache-t098exxm.js → bus-ax6ghwwf.js} +33 -33
- package/dist/chunks/bus-axpe2ek8.js +252 -0
- package/dist/chunks/{repository-cache-srk5s9w6.js → bus-b1nmpyb4.js} +20 -20
- package/dist/chunks/{repository-cache-vb911m41.js → bus-b26wtfeh.js} +18 -18
- package/dist/chunks/{repository-cache-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-ca7w653e.js → bus-baaqp4zd.js} +4 -4
- package/dist/chunks/{repository-cache-r9q3mv0t.js → bus-bavs97tk.js} +47 -47
- package/dist/chunks/{repository-cache-h9mky73t.js → bus-bddt2pqj.js} +12 -12
- package/dist/chunks/{repository-cache-2y1vgr31.js → bus-bhqygd8k.js} +15 -15
- package/dist/chunks/{repository-cache-rvb1ky6f.js → bus-bm36gav2.js} +3 -3
- package/dist/chunks/{repository-cache-yfxk6ps6.js → bus-btjm13ym.js} +10 -10
- package/dist/chunks/{repository-cache-gm597rkn.js → bus-bv7gpt9b.js} +9 -9
- package/dist/chunks/{repository-cache-cmbk0xqe.js → bus-c52sabfa.js} +21 -21
- package/dist/chunks/{repository-cache-1cn3ven4.js → bus-c7w8kqar.js} +4 -4
- package/dist/chunks/{repository-cache-6163btsh.js → bus-c8ahp79r.js} +30 -30
- package/dist/chunks/{repository-cache-w4rh11p9.js → bus-cdwjrg5z.js} +9 -9
- package/dist/chunks/{repository-cache-zf6k16wx.js → bus-cjmb3pa7.js} +6 -6
- package/dist/chunks/{repository-cache-q1prep5a.js → bus-cjtbz79v.js} +5 -5
- package/dist/chunks/{repository-cache-ckecvw8r.js → bus-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-cache-ysypycvb.js → bus-cm3spbj7.js} +1 -1
- package/dist/chunks/{repository-cache-c765mh8b.js → bus-cpneeje0.js} +8 -8
- package/dist/chunks/{repository-cache-hz7s10xd.js → bus-crsj3ebw.js} +4 -4
- package/dist/chunks/{repository-cache-5xmatmkw.js → bus-cxzq7vxy.js} +24 -24
- package/dist/chunks/{repository-cache-cy1erk79.js → bus-cyqrzhgj.js} +20 -20
- package/dist/chunks/{repository-cache-768tacq1.js → bus-d135fm4j.js} +54 -54
- package/dist/chunks/{repository-cache-t5sbgpcp.js → bus-dbq3dcxy.js} +18 -18
- package/dist/chunks/{repository-cache-57ez7d0k.js → bus-dc6tzc5b.js} +9 -9
- package/dist/chunks/{repository-cache-qq11w61w.js → bus-dfe8djrf.js} +4 -4
- package/dist/chunks/{repository-cache-3cfzdc8e.js → bus-dj9sq318.js} +5 -5
- package/dist/chunks/{repository-cache-xkntkrq7.js → bus-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-cache-2evjqgve.js → bus-dn8m779r.js} +71 -71
- package/dist/chunks/{repository-cache-mpk0rfs5.js → bus-dnxkq42g.js} +4 -4
- package/dist/chunks/{repository-cache-5pm33tn0.js → bus-dyf2220y.js} +24 -24
- package/dist/chunks/{repository-cache-msa4er6y.js → bus-e8npv53b.js} +22 -22
- package/dist/chunks/{repository-cache-y31vjpwk.js → bus-edc927t6.js} +18 -18
- package/dist/chunks/{repository-cache-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-sq2td1wp.js → bus-eqhv3z84.js} +24 -24
- package/dist/chunks/{repository-cache-19hqn2h9.js → bus-er3kxcsq.js} +22 -22
- package/dist/chunks/{repository-cache-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-85mhr6td.js → bus-f35csz83.js} +18 -18
- package/dist/chunks/{repository-cache-qc1x1f66.js → bus-f9rm78b5.js} +5 -5
- package/dist/chunks/{repository-cache-wk5z6jzv.js → bus-fdms3n6w.js} +9 -9
- package/dist/chunks/{repository-cache-b8kqzbny.js → bus-ff50tnq2.js} +20 -20
- package/dist/chunks/{repository-cache-qg78ryn2.js → bus-fjakxwt0.js} +9 -9
- package/dist/chunks/{repository-cache-xrt7n2v3.js → bus-fq8xtrbp.js} +17 -17
- package/dist/chunks/{repository-cache-85y232q2.js → bus-ft6sq6ge.js} +12 -12
- package/dist/chunks/{repository-cache-ray2z7pb.js → bus-fwvczyet.js} +20 -20
- package/dist/chunks/{repository-cache-194h8ws8.js → bus-fym2qhys.js} +1 -1
- package/dist/chunks/{repository-cache-y0wxh08b.js → bus-fzyjevma.js} +15 -15
- package/dist/chunks/{repository-cache-xvp1j2dc.js → bus-g5agzp2h.js} +5 -5
- package/dist/chunks/{repository-cache-806j49yq.js → bus-g8d3gcyj.js} +7 -7
- package/dist/chunks/{repository-cache-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-wabdchgd.js → bus-gfnd1j1q.js} +5 -5
- package/dist/chunks/{repository-cache-n2ev6tjf.js → bus-gsr3rt87.js} +17 -17
- package/dist/chunks/{repository-cache-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-cache-nt0m1awr.js → bus-gw3qt7kb.js} +18 -18
- package/dist/chunks/{repository-cache-wmvwkbff.js → bus-gxjy6dfa.js} +5 -5
- package/dist/chunks/{repository-cache-s6tfkdwg.js → bus-h0sz092a.js} +10 -10
- package/dist/chunks/{repository-cache-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-5q7t082n.js → bus-h9t1bzna.js} +26 -26
- package/dist/chunks/{repository-cache-p2y3dfrn.js → bus-hagpnyr2.js} +5 -5
- package/dist/chunks/{repository-cache-jmdz0xnc.js → bus-hbpa88t1.js} +23 -23
- package/dist/chunks/{repository-cache-5yrmw3zp.js → bus-hkagz2yt.js} +6 -6
- package/dist/chunks/{repository-cache-kcz65p5n.js → bus-hng35392.js} +36 -36
- package/dist/chunks/{repository-cache-aja34zf0.js → bus-ht29xtmx.js} +25 -25
- package/dist/chunks/{repository-cache-a46jvrgv.js → bus-j0vmqhvn.js} +11 -11
- package/dist/chunks/{repository-cache-e3ac5n3c.js → bus-j36k01a4.js} +8 -8
- package/dist/chunks/{repository-cache-qg0jgkcp.js → bus-j3s2z371.js} +9 -9
- package/dist/chunks/{repository-cache-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-w957gz27.js → bus-j6peaycv.js} +9 -9
- package/dist/chunks/{repository-cache-e7z5m3qb.js → bus-jbg63639.js} +4 -4
- package/dist/chunks/{repository-cache-8451t691.js → bus-jesf17xq.js} +41 -41
- package/dist/chunks/{repository-cache-t74f4gsm.js → bus-jg5vcgv5.js} +85 -85
- package/dist/chunks/{repository-cache-bpf208j3.js → bus-jgjn4qh1.js} +11 -11
- package/dist/chunks/{repository-cache-httqwp5x.js → bus-jva0abwr.js} +13 -13
- package/dist/chunks/{repository-cache-5m5yrm4y.js → bus-k1qrnqst.js} +8 -8
- package/dist/chunks/{repository-cache-v954s5ta.js → bus-k2cd168e.js} +15 -15
- package/dist/chunks/{repository-cache-k3c624dm.js → bus-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-cache-6x1xjyfa.js → bus-k4z41wd4.js} +10 -10
- package/dist/chunks/bus-k62abecv.js +26 -0
- package/dist/chunks/{repository-cache-3ym1w18d.js → bus-k9jhqx46.js} +10 -10
- package/dist/chunks/{repository-cache-1cr71hfs.js → bus-kape24d0.js} +10 -10
- package/dist/chunks/{repository-cache-kb6vbnxp.js → bus-kb6gw2zp.js} +4 -4
- package/dist/chunks/{repository-cache-78phanfd.js → bus-knpd28bd.js} +10 -10
- package/dist/chunks/{repository-cache-stcaqmwb.js → bus-kpack14v.js} +4 -4
- package/dist/chunks/{repository-cache-hftftmrk.js → bus-kw3tvbv2.js} +42 -42
- package/dist/chunks/{repository-cache-efv4s0g0.js → bus-kxpygcw9.js} +4 -4
- package/dist/chunks/{repository-cache-kbegyq1c.js → bus-ky3seynh.js} +2 -2
- package/dist/chunks/{repository-cache-1mv2y61c.js → bus-m0jez0qq.js} +10 -10
- package/dist/chunks/{repository-cache-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-m58kmhef.js → bus-m58kmhef.js} +2 -2
- package/dist/chunks/{repository-cache-s47h6278.js → bus-m5k1y86b.js} +11 -11
- package/dist/chunks/{repository-cache-3xqhjr40.js → bus-m708tn22.js} +17 -17
- package/dist/chunks/{repository-cache-ckgjktd6.js → bus-m9fjd327.js} +31 -31
- package/dist/chunks/{repository-cache-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-4cxwmwzv.js → bus-mksw1wy2.js} +8 -8
- package/dist/chunks/{repository-cache-76ymgwed.js → bus-mphgtbj1.js} +9 -9
- package/dist/chunks/{repository-cache-mx04v3d0.js → bus-mr56zc53.js} +23 -23
- package/dist/chunks/{repository-cache-n1ka8r9d.js → bus-mvksx64m.js} +4 -4
- package/dist/chunks/{repository-cache-cb680df9.js → bus-mxbrm02f.js} +9 -9
- package/dist/chunks/{repository-cache-rvyqxt9n.js → bus-n6hmrgxn.js} +6 -6
- package/dist/chunks/{repository-cache-mvgvez97.js → bus-n8m4h8vv.js} +25 -25
- package/dist/chunks/{repository-cache-m3txq9h1.js → bus-nf7503gn.js} +5 -5
- package/dist/chunks/{repository-cache-vzqaq3ze.js → bus-nkxydt3a.js} +31 -31
- package/dist/chunks/{repository-cache-wmsa3mqy.js → bus-nmt80txx.js} +24 -24
- package/dist/chunks/{repository-cache-q6e2qxqk.js → bus-nps70g5m.js} +27 -27
- package/dist/chunks/{repository-cache-3b5480dd.js → bus-nxrqtpaw.js} +15 -15
- package/dist/chunks/{repository-cache-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-sjwzrrye.js → bus-pp173efe.js} +11 -11
- package/dist/chunks/{repository-cache-0mgqdngq.js → bus-ppbeg2ft.js} +39 -39
- package/dist/chunks/{repository-cache-0wpsqe1j.js → bus-pphvfzc9.js} +20 -20
- package/dist/chunks/{repository-cache-wwf55qdz.js → bus-ps6629h5.js} +25 -25
- package/dist/chunks/{repository-cache-rkprpv83.js → bus-py3kkmfq.js} +2 -2
- package/dist/chunks/{repository-cache-bxntr1t7.js → bus-pyc5j42v.js} +35 -35
- package/dist/chunks/{repository-cache-btec747f.js → bus-q17z9dx8.js} +5 -5
- package/dist/chunks/{repository-cache-63f8h98j.js → bus-qbx0tcre.js} +32 -32
- package/dist/chunks/{repository-cache-etqwhcmh.js → bus-qeqbv4aj.js} +11 -11
- package/dist/chunks/{repository-cache-qgn6gcr1.js → bus-qgn6gcr1.js} +1 -1
- package/dist/chunks/{repository-cache-kfk5w719.js → bus-qhmaerxs.js} +43 -43
- package/dist/chunks/{repository-cache-qte5z7bc.js → bus-qjnxxf51.js} +5 -5
- package/dist/chunks/{repository-cache-vd179j24.js → bus-qm58jeay.js} +3 -3
- package/dist/chunks/{repository-cache-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-rft60nn9.js → bus-qt2a3bcw.js} +11 -11
- package/dist/chunks/{repository-cache-rh8c8h0e.js → bus-qvf0fb0d.js} +20 -20
- package/dist/chunks/{repository-cache-m3zza4qd.js → bus-r9t00hsy.js} +8 -8
- package/dist/chunks/bus-rap9a73h.js +18 -0
- package/dist/chunks/{repository-cache-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-bqjmek8f.js → bus-rh8c4axs.js} +11 -11
- package/dist/chunks/{repository-cache-t550f9t1.js → bus-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-cache-7xkvsncw.js → bus-rq0cynag.js} +9 -9
- package/dist/chunks/{repository-cache-54gykf4q.js → bus-sedacm6d.js} +4 -4
- package/dist/chunks/{repository-cache-7jkksj7z.js → bus-sj42pf2p.js} +15 -15
- package/dist/chunks/{repository-cache-8aaqm6qj.js → bus-sm965ndy.js} +8 -8
- package/dist/chunks/{repository-cache-4z58m4b4.js → bus-syf57q56.js} +4 -4
- package/dist/chunks/{repository-cache-e9266ee7.js → bus-t5ymyahf.js} +24 -24
- package/dist/chunks/{repository-cache-pavnatfc.js → bus-t69extwx.js} +6 -6
- package/dist/chunks/{repository-cache-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-0ee6f9jy.js → bus-v46pt5zw.js} +14 -14
- package/dist/chunks/{repository-cache-h6310vsd.js → bus-v7z2bvyd.js} +4 -4
- package/dist/chunks/{repository-cache-f453btn2.js → bus-vcwt96gk.js} +10 -10
- package/dist/chunks/{repository-cache-jq8b4me5.js → bus-vefpeqf1.js} +12 -12
- package/dist/chunks/{repository-cache-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-p08dfpvf.js → bus-vwjrrz0m.js} +22 -22
- package/dist/chunks/{repository-cache-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-233fp5d4.js → bus-w0j0ze2a.js} +26 -26
- package/dist/chunks/{repository-cache-46zxvhk8.js → bus-w22vg6hf.js} +13 -13
- package/dist/chunks/{repository-cache-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-57kcybrc.js → bus-w5v07rgg.js} +5 -5
- package/dist/chunks/{repository-cache-e6m5dm35.js → bus-w9c7z483.js} +21 -21
- package/dist/chunks/{repository-cache-wd3x2cqz.js → bus-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-cache-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-dh57vbnz.js → bus-x2z7greh.js} +44 -44
- package/dist/chunks/{repository-cache-3zm2v763.js → bus-x37017eb.js} +11 -11
- package/dist/chunks/{repository-cache-qgn1c80m.js → bus-x62hmsgp.js} +11 -11
- package/dist/chunks/{repository-cache-h9rbv32p.js → bus-x6wr6p94.js} +3 -3
- package/dist/chunks/{repository-cache-eb1y8z6f.js → bus-xapvk9pt.js} +13 -13
- package/dist/chunks/{repository-cache-drwq78ky.js → bus-xfkkasph.js} +4 -4
- package/dist/chunks/{repository-cache-3ezfeh6y.js → bus-xgmmm5ws.js} +8 -8
- package/dist/chunks/{repository-cache-d5c7pv19.js → bus-xjj8bw77.js} +303 -303
- package/dist/chunks/{repository-cache-n7d88tpn.js → bus-xxynqx5z.js} +3 -3
- package/dist/chunks/{repository-cache-b2nsx1md.js → bus-xzne595f.js} +26 -26
- package/dist/chunks/{repository-cache-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-8n5abwtw.js → bus-y5dj3dxk.js} +6 -6
- package/dist/chunks/{repository-cache-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{repository-cache-zyr433b0.js → bus-y7x142mt.js} +11 -11
- package/dist/chunks/{repository-cache-dngwpm44.js → bus-yhyck5ts.js} +23 -23
- package/dist/chunks/{repository-cache-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-s4enseaf.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-cache-z07pqspn.js → bus-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-cache-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-29x78va6.js → bus-z63w68vq.js} +6 -6
- package/dist/chunks/{repository-cache-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cache-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-mp2sm6hx.js → bus-zrb90v6x.js} +35 -35
- package/dist/chunks/{repository-cache-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-cache-e1wpnkfg.js → bus-zzmzhkbe.js} +36 -36
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/repository-cache-4pfd6v8k.js +0 -507
- package/dist/chunks/repository-cache-eygf1jp4.js +0 -252
- package/dist/chunks/repository-cache-pdhzdjhf.js +0 -26
- package/dist/chunks/repository-cache-v1faaxn9.js +0 -18
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin47,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin47 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin45 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin47, exports_opencode };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./bus-8wy1n625.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./bus-46gydz25.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin34,
|
|
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 Plugin34 = 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* Service44;
|
|
28
|
+
const mcp = yield* Service40;
|
|
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 { Plugin34, register2, exports_mcp2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./bus-xjj8bw77.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-cjmb3pa7.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 = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-5ehga51n.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-jbg63639.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service80,
|
|
14
|
+
node84
|
|
15
|
+
} from "./bus-9g3kc011.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-dc6tzc5b.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info32,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service78,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service78 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,9 +95,9 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service80;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
102
|
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID16.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event19.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID16.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID16.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID16.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID16.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service78.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node82 = makeGlobalNode({
|
|
288
|
+
service: Service78,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node84, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service78, node82, exports_project };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry3,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info13,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info13, exports_lsp };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-xxynqx5z.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./bus-c8ahp79r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./bus-8wy1n625.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-cjmb3pa7.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service44;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./bus-t5ymyahf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./bus-8wy1n625.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-hkagz2yt.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin20
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin20 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service44;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service45;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin21 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin20, exports_compatibility };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-jbg63639.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-dnxkq42g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./bus-4tk06fn7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./bus-057z78dy.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service74
|
|
16
|
+
} from "./bus-xjj8bw77.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./bus-hbpa88t1.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
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*
|
|
29
|
+
const providers = yield* Service74;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
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(Event18.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
|
});
|