@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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./bus-t5ymyahf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make3
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service45;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./bus-0jkw1j53.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-aj9wrhbp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./bus-96mdvajj.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service53;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./bus-kw3tvbv2.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service77,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node81,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service77 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node81 = LayerNode.unbound(Service77, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service77, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service78;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service77.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service77,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node82]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service77, node81, boundNode2, exports_location };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./bus-9g3kc011.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./bus-h0sz092a.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service72,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node76,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service72 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service82;
|
|
110
|
+
return Service72.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node76 = makeGlobalNode({
|
|
171
|
+
service: Service72,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node86]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service72, isError2, validateBranch2, node76, exports_repository_cache };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./bus-eqhv3z84.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info10
|
|
9
|
+
} from "./bus-y7x142mt.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-c7w8kqar.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./bus-8wy1n625.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin24
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info10);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin24 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service44;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin25 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin24, exports_agent2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-jgjn4qh1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-jbg63639.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./bus-4tk06fn7.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-dnxkq42g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-057z78dy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service13
|
|
21
|
+
} from "./bus-k1qrnqst.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-xjj8bw77.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
ID3,
|
|
29
|
+
Input13,
|
|
30
30
|
Response2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-n8m4h8vv.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/opencode.ts
|
|
34
34
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var methodID = MethodID2.make("device");
|
|
|
44
44
|
var RemoteResponse = Schema.Struct({
|
|
45
45
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
46
46
|
websearch: Schema.Struct({
|
|
47
|
-
providerID:
|
|
47
|
+
providerID: ID3
|
|
48
48
|
}).pipe(Schema.optional),
|
|
49
49
|
mcp: Schema.Struct({
|
|
50
50
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -96,7 +96,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
96
96
|
}
|
|
97
97
|
function oauth(http) {
|
|
98
98
|
return {
|
|
99
|
-
integrationID:
|
|
99
|
+
integrationID: ID14.make("opencode"),
|
|
100
100
|
method: {
|
|
101
101
|
id: methodID,
|
|
102
102
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
|
|
|
163
163
|
const bus = yield* Service83;
|
|
164
164
|
const client = yield* HttpClient.HttpClient;
|
|
165
165
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
166
|
-
const managed = yield*
|
|
166
|
+
const managed = yield* Service13;
|
|
167
167
|
const scope = yield* Scope.Scope;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
providers.update(providerID, (provider) => {
|
|
213
213
|
if (source && source.provider !== provider)
|
|
214
214
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
215
|
-
provider.integrationID =
|
|
215
|
+
provider.integrationID = ID14.make("opencode");
|
|
216
216
|
if (item.canonical !== undefined)
|
|
217
217
|
provider.canonical = item.canonical;
|
|
218
218
|
if (item.name !== undefined)
|
|
@@ -282,7 +282,7 @@ var OpencodePlugin2 = define({
|
|
|
282
282
|
sourceConnection: snapshot.connection
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
|
-
const item = providers.get(
|
|
285
|
+
const item = providers.get(ID13.opencode);
|
|
286
286
|
if (!item)
|
|
287
287
|
return;
|
|
288
288
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -294,7 +294,7 @@ var OpencodePlugin2 = define({
|
|
|
294
294
|
});
|
|
295
295
|
});
|
|
296
296
|
yield* ctx.model.transform((models) => {
|
|
297
|
-
const item = models.provider.get(
|
|
297
|
+
const item = models.provider.get(ID13.opencode);
|
|
298
298
|
if (!item)
|
|
299
299
|
return;
|
|
300
300
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
329
329
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
330
330
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
331
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
331
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
332
332
|
query: input.query,
|
|
333
333
|
providerID: descriptor.providerID
|
|
334
334
|
}));
|
|
@@ -383,10 +383,10 @@ var OpencodePlugin2 = define({
|
|
|
383
383
|
});
|
|
384
384
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
385
385
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
386
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
386
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
387
387
|
});
|
|
388
388
|
yield* guard(snapshot);
|
|
389
|
-
yield* bus.subscribe(
|
|
389
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
390
390
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
391
391
|
})
|
|
392
392
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./bus-xjj8bw77.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-jbg63639.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./bus-8ywrnqjj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./bus-kw3tvbv2.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node81
|
|
17
|
+
} from "./bus-32sa0c0w.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-j6peaycv.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service64,
|
|
26
|
+
node67
|
|
27
|
+
} from "./bus-0gjptt89.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node72
|
|
31
|
+
} from "./bus-840n79mv.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service62,
|
|
41
|
+
node: () => node65
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service62 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
|
+
const permission = yield* Service64;
|
|
54
|
+
const forms = yield* Service79;
|
|
55
|
+
const rpc = yield* Service69;
|
|
56
|
+
const project = yield* Service78;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service62.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node65 = makeLocationNode({
|
|
84
|
+
service: Service62,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87,
|
|
86
|
+
deps: [node87, node81, node67, node82, node83, node72]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service62, node65, exports_location_lifecycle };
|