@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-jbg63639.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
Event21
|
|
7
|
+
} from "./bus-b26wtfeh.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin36,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin36 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service81;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin49 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event21.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin36, exports_plugin };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-5ehga51n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./bus-0jkw1j53.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-rap9a73h.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-syf57q56.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-894m4bqb.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-awaqrqtp.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./bus-jg5vcgv5.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service53;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-5ehga51n.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load5
|
|
12
|
+
} from "./bus-894m4bqb.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-ky3seynh.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service65,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node68
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service65 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service65.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node68 = makeGlobalNode({ service: Service65, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput4,
|
|
130
|
+
export { ListInput4, Service65, node68, exports_store };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID11,
|
|
3
|
+
Info24,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-xxynqx5z.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-5ehga51n.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-jbg63639.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./bus-kw3tvbv2.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service53,
|
|
24
|
+
node55
|
|
25
|
+
} from "./bus-0jkw1j53.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./bus-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-z07pqspn.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node53
|
|
34
|
+
} from "./bus-dbq3dcxy.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./bus-mvksx64m.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-sj42pf2p.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node36
|
|
47
|
+
} from "./bus-f35csz83.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node74
|
|
51
|
+
} from "./bus-jgjn4qh1.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./bus-aj9wrhbp.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service65,
|
|
68
|
+
node68
|
|
69
|
+
} from "./bus-26qjdhj3.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service54,
|
|
72
|
+
node56
|
|
73
|
+
} from "./bus-fq8xtrbp.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service49,
|
|
76
|
+
node52
|
|
77
|
+
} from "./bus-zzmzhkbe.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./bus-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service36,
|
|
83
|
+
node39
|
|
84
|
+
} from "./bus-pp173efe.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./bus-1sf8sswz.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./bus-xgmmm5ws.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service63,
|
|
93
|
+
node66
|
|
94
|
+
} from "./bus-j6peaycv.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service27,
|
|
100
|
+
node30
|
|
101
|
+
} from "./bus-d135fm4j.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service38,
|
|
104
|
+
node41
|
|
105
|
+
} from "./bus-sm965ndy.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make14
|
|
108
|
+
} from "./bus-ax6ghwwf.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./bus-rh8c4axs.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./bus-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info24,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service26,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node29
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput4;
|
|
152
|
-
class
|
|
152
|
+
class Service26 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service78;
|
|
160
|
+
const execution = yield* Service49;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service36;
|
|
163
|
+
const store = yield* Service65;
|
|
164
|
+
const instances = yield* Service53;
|
|
165
|
+
const moves = yield* Service27;
|
|
166
|
+
const jobs = yield* Service54;
|
|
167
|
+
const environments = yield* Service38;
|
|
168
|
+
const locations = yield* Service63;
|
|
169
|
+
const sessions = yield* make14();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service26.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service53, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node29 = Node.makeGlobalNode({
|
|
331
|
+
service: Service26,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node56,
|
|
335
|
+
node41,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node82,
|
|
339
|
+
node52,
|
|
340
|
+
node39,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
342
|
+
node68,
|
|
343
|
+
node55,
|
|
344
|
+
node53,
|
|
345
|
+
node30,
|
|
344
346
|
node36,
|
|
345
|
-
|
|
346
|
-
node24,
|
|
347
|
-
node54,
|
|
347
|
+
node66,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node74
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service26, node29, exports_session };
|
|
@@ -1,29 +1,29 @@
|
|
|
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
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-057z78dy.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-xjj8bw77.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID14.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID14.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID13.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID13.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
|
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
233
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
234
|
-
}), { providerID:
|
|
234
|
+
}), { providerID: ID13.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin16,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin16 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin16, exports_identity };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|