@opencode/core 0.0.0-dev-216 → 0.0.0-dev-220
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 +91 -90
- package/dist/aisdk-native.js +99 -98
- package/dist/aisdk.js +105 -104
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -76
- package/dist/chunks/{managed-policy-s2ftej4p.js → kv-012zgee3.js} +3 -3
- package/dist/chunks/{managed-policy-034tev2y.js → kv-034tev2y.js} +2 -2
- package/dist/chunks/{managed-policy-bw1xzdqa.js → kv-04ha61zj.js} +10 -10
- package/dist/chunks/{managed-policy-shb3taz0.js → kv-0a14bvbq.js} +12 -12
- package/dist/chunks/kv-0ae5074t.js +257 -0
- package/dist/chunks/{managed-policy-xmx7xj34.js → kv-0ahs07zn.js} +4 -4
- package/dist/chunks/{managed-policy-r9e8mhxe.js → kv-0c5200xg.js} +25 -25
- package/dist/chunks/{managed-policy-7tghhr5w.js → kv-0w2jttgf.js} +2 -2
- package/dist/chunks/{managed-policy-cm18kf9d.js → kv-12cn17wj.js} +18 -18
- package/dist/chunks/{managed-policy-6twykydk.js → kv-18g90bpv.js} +9 -9
- package/dist/chunks/{managed-policy-1ep2p91f.js → kv-1ep2p91f.js} +2 -2
- package/dist/chunks/{managed-policy-9n4vggc2.js → kv-1r7af8ee.js} +3 -3
- package/dist/chunks/{managed-policy-1x2knyw4.js → kv-1x2knyw4.js} +1 -1
- package/dist/chunks/{managed-policy-a6k8x5h8.js → kv-1xvmkwc1.js} +12 -12
- package/dist/chunks/{managed-policy-204s3925.js → kv-204s3925.js} +1 -1
- package/dist/chunks/{managed-policy-bjzqk2n8.js → kv-25xb6pe7.js} +60 -25
- package/dist/chunks/{managed-policy-xwpb2nvc.js → kv-26hpmn7d.js} +15 -15
- package/dist/chunks/{managed-policy-mp336wd6.js → kv-2ftpkp9m.js} +9 -9
- package/dist/chunks/{managed-policy-h6ng9pwv.js → kv-2jzckm7x.js} +46 -46
- package/dist/chunks/{managed-policy-n9crm0th.js → kv-2rd32aej.js} +21 -21
- package/dist/chunks/{managed-policy-4wgh4n97.js → kv-2vyekkkc.js} +21 -21
- package/dist/chunks/{managed-policy-vb80j1wh.js → kv-2zp5a6yg.js} +3 -3
- package/dist/chunks/{managed-policy-yknvw4w2.js → kv-34jrcrfp.js} +13 -13
- package/dist/chunks/{managed-policy-zz8kz1cz.js → kv-3bn85y8g.js} +36 -36
- package/dist/chunks/{managed-policy-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-2y6dz9f0.js → kv-3hsgvtvz.js} +30 -30
- package/dist/chunks/{managed-policy-3bgf9gas.js → kv-3jymkt4s.js} +4 -4
- package/dist/chunks/{managed-policy-3nnrz6f6.js → kv-3nnrz6f6.js} +1 -1
- package/dist/chunks/{managed-policy-egvkbdb0.js → kv-3qx2d3by.js} +28 -28
- package/dist/chunks/{managed-policy-db9bcw6m.js → kv-3ynrmz35.js} +22 -22
- package/dist/chunks/{managed-policy-2eaepfht.js → kv-4847f668.js} +16 -16
- package/dist/chunks/{managed-policy-grsxt8dy.js → kv-4g429xmd.js} +18 -18
- package/dist/chunks/{managed-policy-4pyp9zr9.js → kv-4pyp9zr9.js} +1 -1
- package/dist/chunks/{managed-policy-3zpkprm0.js → kv-4qy1z7f6.js} +18 -18
- package/dist/chunks/{managed-policy-hvvf9qw8.js → kv-4sbgv4xb.js} +6 -6
- package/dist/chunks/{managed-policy-9tvpxs1q.js → kv-4tqs0jzk.js} +4 -4
- package/dist/chunks/{managed-policy-4v008n1t.js → kv-4v008n1t.js} +1 -1
- package/dist/chunks/{managed-policy-yad05gqx.js → kv-4ye3148g.js} +87 -87
- package/dist/chunks/{managed-policy-z3vwn5pv.js → kv-52t9gqeq.js} +30 -30
- package/dist/chunks/{managed-policy-nf3nsvxh.js → kv-57rxwkwv.js} +4 -4
- package/dist/chunks/{managed-policy-eqebhpz4.js → kv-599a1s2w.js} +9 -9
- package/dist/chunks/{managed-policy-c5creg6z.js → kv-5a22xwpn.js} +9 -9
- package/dist/chunks/{managed-policy-vjqm51em.js → kv-5bt48bf8.js} +24 -24
- package/dist/chunks/{managed-policy-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
- package/dist/chunks/{managed-policy-x48bv8h6.js → kv-5mm8f81r.js} +5 -5
- package/dist/chunks/{managed-policy-b6vsg801.js → kv-5nnwax6m.js} +5 -5
- package/dist/chunks/{managed-policy-dz3xg6q8.js → kv-5v7cas5c.js} +15 -15
- package/dist/chunks/{managed-policy-xwtecabs.js → kv-5ybmaaxe.js} +24 -24
- package/dist/chunks/{managed-policy-9kd02d4m.js → kv-61frstw0.js} +30 -30
- package/dist/chunks/{managed-policy-1qnvpg4t.js → kv-61thn005.js} +20 -20
- package/dist/chunks/{managed-policy-bap3ksvb.js → kv-633sd1y2.js} +17 -17
- package/dist/chunks/{managed-policy-cv75k6pt.js → kv-63krpghe.js} +29 -29
- package/dist/chunks/{managed-policy-kjgnzevm.js → kv-64a4dgx4.js} +9 -9
- package/dist/chunks/{managed-policy-4gg4ddc9.js → kv-65qthyj5.js} +19 -19
- package/dist/chunks/{managed-policy-6hv1p7wn.js → kv-69shnrg3.js} +17 -17
- package/dist/chunks/{managed-policy-ntp93fke.js → kv-6ajg7n55.js} +5 -5
- package/dist/chunks/{managed-policy-98n8hmv5.js → kv-6bzdkscq.js} +30 -30
- package/dist/chunks/{managed-policy-6esdw8yj.js → kv-6esdw8yj.js} +1 -1
- package/dist/chunks/{managed-policy-9p4f82fn.js → kv-6zzadmn7.js} +11 -11
- package/dist/chunks/kv-731rr8nf.js +26 -0
- package/dist/chunks/{managed-policy-42aa8r78.js → kv-74mpvf4f.js} +8 -8
- package/dist/chunks/{managed-policy-76cb1hcw.js → kv-76cb1hcw.js} +1 -1
- package/dist/chunks/{managed-policy-nah043kf.js → kv-770pw0s1.js} +4 -4
- package/dist/chunks/{managed-policy-bj5qwy1k.js → kv-78a6ksdd.js} +15 -15
- package/dist/chunks/{managed-policy-bw7qwmzq.js → kv-7a3c5r1g.js} +4 -4
- package/dist/chunks/{managed-policy-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-fpbj6hj1.js → kv-7gsvdv77.js} +8 -8
- package/dist/chunks/{managed-policy-33wts4m2.js → kv-7tq5dytk.js} +20 -20
- package/dist/chunks/{managed-policy-07kkcbvt.js → kv-7vppvan5.js} +5 -5
- package/dist/chunks/{managed-policy-k7xwzbsq.js → kv-7vqmw3sn.js} +13 -13
- package/dist/chunks/{managed-policy-7w2ypzdf.js → kv-7w2ypzdf.js} +1 -1
- package/dist/chunks/{managed-policy-7h0rt7c4.js → kv-8bhp05y1.js} +78 -78
- package/dist/chunks/{managed-policy-8jztxfpf.js → kv-8jztxfpf.js} +1 -1
- package/dist/chunks/{managed-policy-avgzkss2.js → kv-8p5baybq.js} +5 -5
- package/dist/chunks/{managed-policy-nbwfspyj.js → kv-8pffgsza.js} +13 -13
- package/dist/chunks/{managed-policy-neary136.js → kv-8rgb2cvr.js} +11 -11
- package/dist/chunks/{managed-policy-412bywns.js → kv-8vbymk7s.js} +9 -9
- package/dist/chunks/{managed-policy-8wtp7s3z.js → kv-8wtp7s3z.js} +1 -1
- package/dist/chunks/{managed-policy-37z7t7n3.js → kv-8x5yjrep.js} +13 -13
- package/dist/chunks/{managed-policy-09w9rp09.js → kv-8y4f3b6m.js} +9 -9
- package/dist/chunks/{managed-policy-90zstvax.js → kv-90zstvax.js} +1 -1
- package/dist/chunks/{managed-policy-mtrbqqrq.js → kv-92azg307.js} +5 -5
- package/dist/chunks/{managed-policy-95sp4hdf.js → kv-95sp4hdf.js} +1 -1
- package/dist/chunks/{managed-policy-3sf2e76y.js → kv-9gj0w5vn.js} +7 -7
- package/dist/chunks/{managed-policy-x9heceqt.js → kv-9s28vret.js} +25 -25
- package/dist/chunks/{managed-policy-nz0merk7.js → kv-9svpjq3a.js} +3 -3
- package/dist/chunks/{managed-policy-2gk94sz8.js → kv-9swetm95.js} +11 -11
- package/dist/chunks/{managed-policy-e2w7x0d9.js → kv-9xhmkd72.js} +9 -9
- package/dist/chunks/{managed-policy-43hxaq7r.js → kv-9xm13q7e.js} +12 -12
- package/dist/chunks/{managed-policy-vf28gzax.js → kv-a42ahrx1.js} +3 -3
- package/dist/chunks/{managed-policy-e1ym7zmg.js → kv-aa2ns65p.js} +13 -13
- package/dist/chunks/{managed-policy-nm44szyp.js → kv-adxkyhe2.js} +6 -6
- package/dist/chunks/{managed-policy-agqd6nxz.js → kv-agqd6nxz.js} +2 -2
- package/dist/chunks/{managed-policy-rsxkyc7q.js → kv-ajcpcdxh.js} +13 -13
- package/dist/chunks/{managed-policy-jmgpwxbk.js → kv-at3qw7wz.js} +14 -14
- package/dist/chunks/{managed-policy-9p5d80zf.js → kv-av2nmxmh.js} +16 -16
- package/dist/chunks/{managed-policy-ayjs7tqn.js → kv-ayjs7tqn.js} +2 -2
- package/dist/chunks/{managed-policy-gtn9c16a.js → kv-b0npgc9t.js} +6 -6
- package/dist/chunks/{managed-policy-c9t2ty9q.js → kv-b1pn0vxn.js} +4 -4
- package/dist/chunks/{managed-policy-f85p8vjg.js → kv-b702c733.js} +4 -4
- package/dist/chunks/{managed-policy-266g2ee2.js → kv-b7gscnqx.js} +17 -17
- package/dist/chunks/{managed-policy-xmz2c5c9.js → kv-bf66261d.js} +2 -2
- package/dist/chunks/{managed-policy-wxtdy279.js → kv-bg484meh.js} +27 -27
- package/dist/chunks/{managed-policy-bstexjd6.js → kv-bstexjd6.js} +1 -1
- package/dist/chunks/{managed-policy-2cvzdrfc.js → kv-c2fax6kv.js} +4 -4
- package/dist/chunks/{managed-policy-c46s9eb3.js → kv-c46s9eb3.js} +2 -2
- package/dist/chunks/{managed-policy-y7kwza11.js → kv-ckem8rwf.js} +12 -12
- package/dist/chunks/{managed-policy-cwrgdav8.js → kv-cwrgdav8.js} +2 -2
- package/dist/chunks/{managed-policy-d4v9tmah.js → kv-d4v9tmah.js} +2 -2
- package/dist/chunks/{managed-policy-f52hekk8.js → kv-d7akxsfc.js} +6 -6
- package/dist/chunks/{managed-policy-v8jvz7pd.js → kv-d94yyeb9.js} +21 -21
- package/dist/chunks/{managed-policy-qtkqedvd.js → kv-daj7chhq.js} +25 -25
- package/dist/chunks/{managed-policy-9n82mgqh.js → kv-dgf6zq35.js} +16 -16
- package/dist/chunks/{managed-policy-150dhjmr.js → kv-dnkd09hs.js} +19 -19
- package/dist/chunks/{managed-policy-q8gkaxn0.js → kv-dqha5xxy.js} +24 -24
- package/dist/chunks/{managed-policy-767v337v.js → kv-ds7s58c2.js} +3 -3
- package/dist/chunks/{managed-policy-dt77769w.js → kv-dt77769w.js} +1 -1
- package/dist/chunks/{managed-policy-evr1eg8m.js → kv-dxzgq9mt.js} +11 -11
- package/dist/chunks/{managed-policy-r94gekwm.js → kv-e07q2w5p.js} +4 -4
- package/dist/chunks/{managed-policy-q4nd2ya6.js → kv-e5p345z4.js} +3 -3
- package/dist/chunks/{managed-policy-86kf6kwz.js → kv-e6dfer8c.js} +33 -33
- package/dist/chunks/{managed-policy-8r963mc5.js → kv-e72jqpxh.js} +32 -32
- package/dist/chunks/{managed-policy-e834z07m.js → kv-e834z07m.js} +1 -1
- package/dist/chunks/{managed-policy-aqqtfdwz.js → kv-e86zhykr.js} +19 -19
- package/dist/chunks/{managed-policy-66bbatvw.js → kv-ea0rn8y9.js} +5 -5
- package/dist/chunks/{managed-policy-cbvth98t.js → kv-eamxt9ya.js} +23 -23
- package/dist/chunks/{managed-policy-622qny3f.js → kv-efaww74b.js} +2 -2
- package/dist/chunks/{managed-policy-y702q9ad.js → kv-egwx6sc7.js} +19 -19
- package/dist/chunks/{managed-policy-1z710ehv.js → kv-egz82r8a.js} +8 -8
- package/dist/chunks/{managed-policy-z41mzh4z.js → kv-ephaerw8.js} +1 -1
- package/dist/chunks/{managed-policy-h5swxdgv.js → kv-ewym2d35.js} +24 -24
- package/dist/chunks/{managed-policy-dh3287tk.js → kv-f37hb3vx.js} +6 -6
- package/dist/chunks/{managed-policy-rx9gnge7.js → kv-f6m9q3z5.js} +7 -7
- package/dist/chunks/{managed-policy-hm7fe3gd.js → kv-f9bjw1xa.js} +56 -44
- package/dist/chunks/{managed-policy-n46x9jgs.js → kv-fejsg08h.js} +21 -21
- package/dist/chunks/{managed-policy-fffv3p7h.js → kv-fffv3p7h.js} +1 -1
- package/dist/chunks/{managed-policy-tfc1rrc7.js → kv-fzb1j6q3.js} +4 -4
- package/dist/chunks/{managed-policy-kmd587sr.js → kv-g4a9tkat.js} +4 -4
- package/dist/chunks/{managed-policy-2rph8h54.js → kv-gbeftx2c.js} +30 -30
- package/dist/chunks/{managed-policy-85s6fvbh.js → kv-gbgp8t9w.js} +25 -25
- package/dist/chunks/{managed-policy-4rddwp2j.js → kv-gfge5jvq.js} +4 -4
- package/dist/chunks/{managed-policy-ycw2m91r.js → kv-gmcaypba.js} +45 -45
- package/dist/chunks/{managed-policy-vz5jpjpa.js → kv-h1fd1zdz.js} +3 -3
- package/dist/chunks/{managed-policy-0qfymv80.js → kv-h6f1yd3e.js} +37 -37
- package/dist/chunks/{managed-policy-7b97r4gm.js → kv-h9gr7s7t.js} +9 -9
- package/dist/chunks/{managed-policy-rdv8wnp0.js → kv-hc58cmaw.js} +10 -10
- package/dist/chunks/{managed-policy-x3a29hta.js → kv-hgkkk3en.js} +142 -142
- package/dist/chunks/{managed-policy-eka8qb2s.js → kv-hjfa1fnd.js} +5 -5
- package/dist/chunks/{managed-policy-rzdmkq6d.js → kv-hknpeeyr.js} +19 -19
- package/dist/chunks/{managed-policy-hpg1pkwy.js → kv-hpg1pkwy.js} +1 -1
- package/dist/chunks/{managed-policy-amrj7qc1.js → kv-hryaegyv.js} +6 -6
- package/dist/chunks/{managed-policy-zgd8t41s.js → kv-hvy79q2t.js} +9 -9
- package/dist/chunks/{managed-policy-t628qfe2.js → kv-hynthsg4.js} +51 -17
- package/dist/chunks/{managed-policy-jx9m0dx7.js → kv-j1rmbcb1.js} +25 -25
- package/dist/chunks/{managed-policy-r3j3kg8w.js → kv-j6bs70x1.js} +27 -27
- package/dist/chunks/{managed-policy-rfkx5d30.js → kv-j6q561b5.js} +5 -5
- package/dist/chunks/{managed-policy-0pqx6czk.js → kv-j83smehp.js} +3 -3
- package/dist/chunks/{managed-policy-cfssf86b.js → kv-jchkmxa0.js} +11 -11
- package/dist/chunks/{managed-policy-sd8cy1y7.js → kv-jcpk82zm.js} +3 -3
- package/dist/chunks/{managed-policy-jfaecv01.js → kv-jfaecv01.js} +1 -1
- package/dist/chunks/{managed-policy-hm96abet.js → kv-jhcvgvr6.js} +21 -21
- package/dist/chunks/{managed-policy-dwxz8etj.js → kv-jmydtm9v.js} +30 -30
- package/dist/chunks/{managed-policy-yt69br7b.js → kv-js46qwqq.js} +36 -36
- package/dist/chunks/{managed-policy-kcg78dnn.js → kv-jscvymgc.js} +5 -5
- package/dist/chunks/{managed-policy-jtnps1zs.js → kv-jtnps1zs.js} +2 -2
- package/dist/chunks/{managed-policy-d1ejqyaz.js → kv-jx1rt6bm.js} +33 -33
- package/dist/chunks/{managed-policy-y9rgzqvj.js → kv-jxda6dbt.js} +26 -26
- package/dist/chunks/{managed-policy-dd57nsvn.js → kv-k7fcp7vh.js} +8 -8
- package/dist/chunks/{managed-policy-k814nvkf.js → kv-k814nvkf.js} +1 -1
- package/dist/chunks/{managed-policy-recrykrw.js → kv-k98kmmbk.js} +13 -13
- package/dist/chunks/{managed-policy-gnan7e3f.js → kv-kahm3ndg.js} +17 -17
- package/dist/chunks/{managed-policy-wa4kp388.js → kv-kd2z5z9c.js} +9 -9
- package/dist/chunks/{managed-policy-jvwj74kk.js → kv-kgc898hj.js} +11 -11
- package/dist/chunks/{managed-policy-egrbahm2.js → kv-kgvyhc3g.js} +10 -10
- package/dist/chunks/{managed-policy-5mszzwxq.js → kv-kkzv3wph.js} +6 -6
- package/dist/chunks/{managed-policy-7a3114f4.js → kv-ks9peych.js} +27 -27
- package/dist/chunks/{managed-policy-kt3bjfbg.js → kv-kt3bjfbg.js} +1 -1
- package/dist/chunks/{managed-policy-g583fxgy.js → kv-kx2hsc0a.js} +6 -6
- package/dist/chunks/{managed-policy-m1714858.js → kv-m1714858.js} +1 -1
- package/dist/chunks/{managed-policy-m37sd98t.js → kv-m37sd98t.js} +1 -1
- package/dist/chunks/{managed-policy-8s5gsqh9.js → kv-m4dmg5tq.js} +7 -7
- package/dist/chunks/{managed-policy-c5kjsz6q.js → kv-m7xh3h0x.js} +4 -4
- package/dist/chunks/{managed-policy-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-b1abqd7e.js → kv-ma7t0w64.js} +12 -12
- package/dist/chunks/kv-me0dhgxs.js +18 -0
- package/dist/chunks/{managed-policy-7pg11w8a.js → kv-mfq1s597.js} +27 -27
- package/dist/chunks/{managed-policy-41e375vw.js → kv-mt04zp9g.js} +23 -23
- package/dist/chunks/{managed-policy-9kp3x9wv.js → kv-mwkpd8g6.js} +6 -6
- package/dist/chunks/{managed-policy-vvzt346t.js → kv-mzw7cnwp.js} +3 -3
- package/dist/chunks/{managed-policy-enfxargv.js → kv-n3jfc8px.js} +28 -28
- package/dist/chunks/{managed-policy-1j23x897.js → kv-n5q9ghjn.js} +46 -46
- package/dist/chunks/{managed-policy-q2k1m846.js → kv-n78qdz6f.js} +11 -11
- package/dist/chunks/{managed-policy-ywczxhk7.js → kv-n7v9rxsn.js} +14 -14
- package/dist/chunks/{managed-policy-8k8pzbp4.js → kv-nad4mkqt.js} +8 -8
- package/dist/chunks/{managed-policy-crdpj2hj.js → kv-nepyj2zh.js} +6 -6
- package/dist/chunks/{managed-policy-bvdny1vn.js → kv-nqt0rnqz.js} +15 -15
- package/dist/chunks/{managed-policy-bv3y5c4j.js → kv-nswvxj5k.js} +4 -4
- package/dist/chunks/{managed-policy-w9tzngvg.js → kv-nt66xtkz.js} +17 -17
- package/dist/chunks/{managed-policy-p015t6z3.js → kv-p015t6z3.js} +2 -2
- package/dist/chunks/{managed-policy-z1j203we.js → kv-p48hdm09.js} +11 -11
- package/dist/chunks/{managed-policy-myztnk54.js → kv-p5j5bg0f.js} +16 -0
- package/dist/chunks/{managed-policy-x47ppzp7.js → kv-p6k3stbe.js} +9 -9
- package/dist/chunks/{managed-policy-1yq9hg58.js → kv-p7vhpwh8.js} +5 -5
- package/dist/chunks/{managed-policy-fqgsc6ey.js → kv-pa952zd5.js} +1 -1
- package/dist/chunks/{managed-policy-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-aevmsyha.js → kv-pnd6yhbb.js} +17 -17
- package/dist/chunks/{managed-policy-fg9p65nk.js → kv-prq7xxp2.js} +6 -6
- package/dist/chunks/{managed-policy-0nh5p15d.js → kv-pxdj1q62.js} +23 -23
- package/dist/chunks/{managed-policy-qnykfza7.js → kv-q2pskytr.js} +14 -14
- package/dist/chunks/{managed-policy-gg8p9cgs.js → kv-q61bmwds.js} +16 -4
- package/dist/chunks/{managed-policy-q02gzrjf.js → kv-q7efev1k.js} +15 -15
- package/dist/chunks/{managed-policy-228qw6tw.js → kv-qa1v0dcw.js} +10 -10
- package/dist/chunks/{managed-policy-xfw982m5.js → kv-qbard0ja.js} +54 -54
- package/dist/chunks/{managed-policy-8d4sj4bn.js → kv-qe6tdfev.js} +16 -16
- package/dist/chunks/{managed-policy-dezggndt.js → kv-qkzwxqy8.js} +17 -17
- package/dist/chunks/{managed-policy-qp7r0hxv.js → kv-qp7r0hxv.js} +1 -1
- package/dist/chunks/{managed-policy-qqvy8y24.js → kv-qqvy8y24.js} +1 -1
- package/dist/chunks/{managed-policy-cvndt9rs.js → kv-qvjwss32.js} +8 -8
- package/dist/chunks/{managed-policy-frtra50h.js → kv-qwxwvmsk.js} +23 -23
- package/dist/chunks/{managed-policy-r0yr0wbs.js → kv-r0yr0wbs.js} +1 -1
- package/dist/chunks/{managed-policy-r542h3bh.js → kv-r542h3bh.js} +1 -1
- package/dist/chunks/{managed-policy-zad8az0q.js → kv-r555eje6.js} +22 -22
- package/dist/chunks/{managed-policy-ecrdeyvn.js → kv-r8z6cp6s.js} +10 -10
- package/dist/chunks/{managed-policy-rb9dy4dg.js → kv-rb9dy4dg.js} +1 -1
- package/dist/chunks/kv-rm3kdsrk.js +535 -0
- package/dist/chunks/{managed-policy-mxee9aw9.js → kv-rqgh6f0p.js} +20 -20
- package/dist/chunks/{managed-policy-rt5dr6hb.js → kv-rt5dr6hb.js} +1 -1
- package/dist/chunks/{managed-policy-e0c9a8sh.js → kv-rt637qmr.js} +18 -18
- package/dist/chunks/{managed-policy-sbsvp3xh.js → kv-ryf5krpb.js} +11 -11
- package/dist/chunks/{managed-policy-s7gmm2q3.js → kv-s7gmm2q3.js} +3 -3
- package/dist/chunks/{managed-policy-v0t96s7a.js → kv-s7kyse9r.js} +4 -4
- package/dist/chunks/{managed-policy-msje9pjd.js → kv-s8q4kr0g.js} +3 -3
- package/dist/chunks/{managed-policy-jk6fvq65.js → kv-s8sm6pz9.js} +37 -37
- package/dist/chunks/{managed-policy-3kzsdk5j.js → kv-s91tv05p.js} +11 -11
- package/dist/chunks/{managed-policy-sa3fpqfw.js → kv-sa3fpqfw.js} +2 -2
- package/dist/chunks/{managed-policy-8pa15k9v.js → kv-sh593rcs.js} +13 -13
- package/dist/chunks/{managed-policy-sv00mm7g.js → kv-shx1cm30.js} +10 -10
- package/dist/chunks/{managed-policy-sqjzf8x2.js → kv-sqjzf8x2.js} +1 -1
- package/dist/chunks/{managed-policy-jdjyz4r2.js → kv-sraj155f.js} +60 -56
- package/dist/chunks/{managed-policy-q1kcgj59.js → kv-sth2mpx1.js} +2 -2
- package/dist/chunks/{managed-policy-svcy3p9a.js → kv-svcy3p9a.js} +1 -1
- package/dist/chunks/{managed-policy-3fpavj51.js → kv-sw303ny0.js} +10 -10
- package/dist/chunks/{managed-policy-7xnr23hg.js → kv-sz1d7yss.js} +14 -14
- package/dist/chunks/{managed-policy-hzhwf3pn.js → kv-t1m8yzy8.js} +11 -11
- package/dist/chunks/{managed-policy-tpbc0r62.js → kv-t5p319pj.js} +2 -2
- package/dist/chunks/{managed-policy-8rxnf6rg.js → kv-t93906nx.js} +12 -12
- package/dist/chunks/{managed-policy-8gdy4vr2.js → kv-t9bxgeh8.js} +12 -12
- package/dist/chunks/{managed-policy-d08wnpp5.js → kv-t9bz6ak5.js} +29 -29
- package/dist/chunks/{managed-policy-hyx29p98.js → kv-ta4h3adp.js} +10 -10
- package/dist/chunks/{managed-policy-63r6w7hz.js → kv-tbz6hn3s.js} +3 -3
- package/dist/chunks/{managed-policy-tczq8hjw.js → kv-tczq8hjw.js} +1 -1
- package/dist/chunks/{managed-policy-w3190j0e.js → kv-thnc25bd.js} +16 -16
- package/dist/chunks/{managed-policy-h3xs8p56.js → kv-ts8cpkvv.js} +39 -39
- package/dist/chunks/{managed-policy-ky5tw3ry.js → kv-tsf79j3w.js} +3 -3
- package/dist/chunks/{managed-policy-8nzrkxd1.js → kv-tvfgc8z5.js} +46 -46
- package/dist/chunks/{managed-policy-twssxy5n.js → kv-twssxy5n.js} +2 -2
- package/dist/chunks/kv-ty7weeps.js +28 -0
- package/dist/chunks/{managed-policy-3mrgaxhn.js → kv-v05nc33y.js} +14 -14
- package/dist/chunks/{managed-policy-nswh1z5p.js → kv-v2ez46s2.js} +11 -11
- package/dist/chunks/{managed-policy-v2r1d0zg.js → kv-v2r1d0zg.js} +1 -1
- package/dist/chunks/{managed-policy-dqppdk9v.js → kv-v3c6vjpc.js} +12 -12
- package/dist/chunks/{managed-policy-160yv0cs.js → kv-v5hpj9dd.js} +8 -8
- package/dist/chunks/{managed-policy-pmk1zss2.js → kv-v9x4gzxv.js} +21 -21
- package/dist/chunks/{managed-policy-1hm6kjpw.js → kv-vwttaq9x.js} +11 -11
- package/dist/chunks/{managed-policy-qnqasnye.js → kv-vzppetdn.js} +6 -6
- package/dist/chunks/{managed-policy-z5cdq1b0.js → kv-w05smnam.js} +22 -22
- package/dist/chunks/{managed-policy-w2eysc6j.js → kv-w2eysc6j.js} +2 -2
- package/dist/chunks/{managed-policy-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-efer459w.js → kv-w667zm0d.js} +6 -6
- package/dist/chunks/{managed-policy-wakvkjy4.js → kv-wakvkjy4.js} +1 -1
- package/dist/chunks/{managed-policy-rgzggw2r.js → kv-wbqjejvk.js} +2 -2
- package/dist/chunks/{managed-policy-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-vrrz3168.js → kv-wm6mgyw2.js} +30 -30
- package/dist/chunks/{managed-policy-wnhgecwx.js → kv-wnhgecwx.js} +1 -1
- package/dist/chunks/{managed-policy-wr3re1en.js → kv-wr3re1en.js} +1 -1
- package/dist/chunks/{managed-policy-q7d4wm2f.js → kv-ww3hkwgk.js} +11 -11
- package/dist/chunks/{managed-policy-vyt6yqa0.js → kv-x3zd0b7w.js} +24 -24
- package/dist/chunks/{managed-policy-sf94snq4.js → kv-x75aecwm.js} +22 -22
- package/dist/chunks/{managed-policy-1m7gsgyc.js → kv-xddmewgr.js} +22 -22
- package/dist/chunks/{managed-policy-0r3h9arj.js → kv-xef7rqtq.js} +29 -29
- package/dist/chunks/{managed-policy-0vp9s6f9.js → kv-xw5bqvrx.js} +9 -9
- package/dist/chunks/{managed-policy-a2zex5ge.js → kv-xwmtk72n.js} +8 -8
- package/dist/chunks/{managed-policy-x6q8p9c8.js → kv-xxampj5x.js} +9 -9
- package/dist/chunks/{managed-policy-yara3q77.js → kv-yara3q77.js} +2 -2
- package/dist/chunks/{managed-policy-kcdz11rk.js → kv-yav7psvj.js} +22 -22
- package/dist/chunks/{managed-policy-yb20nhc3.js → kv-yb20nhc3.js} +1 -1
- package/dist/chunks/{managed-policy-9je1nwdh.js → kv-ybt8qzqk.js} +17 -17
- package/dist/chunks/{managed-policy-w88w0n5c.js → kv-ye8h2zwf.js} +24 -24
- package/dist/chunks/{managed-policy-nara9vyc.js → kv-yf4mtc0f.js} +7 -7
- package/dist/chunks/{managed-policy-xykztc7h.js → kv-yg4xz38f.js} +78 -78
- package/dist/chunks/{managed-policy-z38nccrw.js → kv-z38nccrw.js} +1 -1
- package/dist/chunks/{managed-policy-107zh63q.js → kv-zb5gs1ba.js} +3 -3
- package/dist/chunks/{managed-policy-zs5g6ycw.js → kv-zfbaz3eg.js} +30 -30
- package/dist/chunks/{managed-policy-7q8j4vsb.js → kv-zwyvyh0a.js} +31 -31
- 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 +91 -90
- package/dist/config/discovery.js +92 -91
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +109 -108
- package/dist/config/plugin/agent.js +123 -122
- package/dist/config/plugin/command.js +221 -220
- package/dist/config/plugin/compaction.js +164 -163
- package/dist/config/plugin/compatibility.js +144 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -123
- package/dist/config/plugin/image.js +123 -122
- package/dist/config/plugin/instruction.js +123 -122
- package/dist/config/plugin/location-watcher.js +123 -122
- package/dist/config/plugin/mcp.js +130 -129
- package/dist/config/plugin/policy.js +125 -124
- package/dist/config/plugin/provider.js +124 -123
- package/dist/config/plugin/reference.js +125 -124
- package/dist/config/plugin/shell.js +125 -124
- package/dist/config/plugin/skill-file.js +140 -139
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +147 -146
- package/dist/config/plugin/snapshot.js +123 -122
- package/dist/config/plugin/source.js +120 -119
- package/dist/config/plugin/tool-output.js +124 -123
- package/dist/config/plugin/websearch.js +124 -123
- package/dist/config/plugin/worktree.js +125 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -127
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -92
- package/dist/database/database.js +74 -73
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +6 -0
- package/dist/database/migration.gen.js +57 -56
- package/dist/database/migration.js +59 -58
- 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 +97 -96
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +386 -385
- 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 +103 -102
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -102
- 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 +78 -77
- package/dist/file-access.js +150 -149
- package/dist/file-mutation.js +104 -103
- 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/file-watch.js +85 -84
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -233
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -106
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -109
- package/dist/form.js +86 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +97 -96
- package/dist/generate.js +115 -114
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -100
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +377 -376
- package/dist/instruction-discovery.js +94 -93
- package/dist/instructions/builtins.js +97 -96
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +91 -90
- package/dist/job.js +86 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +81 -80
- package/dist/location-activity.js +165 -164
- package/dist/location-lifecycle.js +144 -143
- package/dist/location-service-map.js +96 -95
- package/dist/location-services.js +374 -373
- package/dist/location.js +95 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +101 -100
- package/dist/mcp/index.js +119 -118
- package/dist/mcp/instructions.js +170 -169
- package/dist/mcp/oauth.js +86 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +100 -99
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -100
- package/dist/model-resolver.js +109 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -101
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +112 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -85
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +139 -138
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +83 -82
- package/dist/plugin/agent.js +82 -81
- package/dist/plugin/command.js +110 -109
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -226
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +347 -346
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +107 -106
- package/dist/plugin/module.js +125 -124
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +140 -139
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +101 -100
- package/dist/plugin/provider/azure.js +123 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +123 -122
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -120
- package/dist/plugin/provider/configured.js +119 -118
- package/dist/plugin/provider/credential-settings.js +82 -81
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +103 -102
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +105 -104
- package/dist/plugin/provider/gitlab.js +104 -103
- package/dist/plugin/provider/google-vertex.js +120 -119
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +86 -85
- package/dist/plugin/provider/lmstudio.js +132 -131
- package/dist/plugin/provider/local.js +129 -128
- package/dist/plugin/provider/modal.js +102 -101
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +132 -131
- package/dist/plugin/provider/openai-context-caps.js +100 -99
- package/dist/plugin/provider/openai.js +123 -122
- package/dist/plugin/provider/opencode.js +126 -125
- package/dist/plugin/provider/openrouter.js +101 -100
- package/dist/plugin/provider/poe.js +87 -86
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +101 -100
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -121
- package/dist/plugin/provider/vllm.js +132 -131
- package/dist/plugin/provider/xai.js +101 -100
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +174 -173
- package/dist/plugin/sdk.js +82 -81
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -360
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +96 -95
- package/dist/plugin/vcs/hg.js +96 -95
- package/dist/plugin/verbosity.js +103 -102
- package/dist/plugin/warming.js +121 -120
- 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 +236 -235
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +94 -93
- package/dist/provider.js +105 -104
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -105
- package/dist/reference/instructions.js +98 -97
- package/dist/reference.js +96 -95
- package/dist/repository-cache.js +90 -89
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -104
- package/dist/rpc.js +96 -95
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +225 -224
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +122 -121
- package/dist/session/command.js +82 -81
- package/dist/session/compaction.js +164 -163
- package/dist/session/context.js +190 -189
- package/dist/session/diff.js +98 -97
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +230 -229
- package/dist/session/execution.js +156 -155
- package/dist/session/generate.js +190 -189
- package/dist/session/history.js +138 -129
- package/dist/session/inbox.js +140 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -82
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +134 -133
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +157 -156
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +158 -157
- package/dist/session/projector.js +136 -135
- package/dist/session/prompt.js +142 -141
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +132 -131
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +241 -240
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +110 -109
- package/dist/session/runner/publish-llm-event.js +143 -142
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -153
- package/dist/session/runner/to-llm-message.js +130 -129
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -171
- package/dist/session/shell.js +137 -136
- package/dist/session/skill.js +141 -140
- package/dist/session/sql.js +7 -5
- package/dist/session/stats.js +114 -81
- package/dist/session/store.js +135 -134
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +221 -220
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +192 -191
- package/dist/session/to-session-error.js +142 -141
- package/dist/session/transfer.js +226 -225
- package/dist/session/usage.js +1 -1
- package/dist/session.js +227 -226
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +139 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -142
- package/dist/skill.js +148 -147
- package/dist/snapshot.js +103 -102
- 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 +167 -166
- package/dist/tool/plugin/edit.js +158 -157
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -159
- package/dist/tool/plugin/grep.js +162 -161
- package/dist/tool/plugin/image-generate.js +230 -228
- package/dist/tool/plugin/mcp-resource.js +156 -155
- package/dist/tool/plugin/opencode.js +155 -154
- package/dist/tool/plugin/patch.js +158 -157
- package/dist/tool/plugin/question.js +140 -139
- package/dist/tool/plugin/read.js +163 -162
- package/dist/tool/plugin/schedule.js +221 -220
- package/dist/tool/plugin/shell.js +226 -225
- package/dist/tool/plugin/skill.js +151 -150
- package/dist/tool/plugin/subagent.js +228 -227
- package/dist/tool/plugin/todo.js +147 -146
- package/dist/tool/plugin/webfetch.js +149 -148
- package/dist/tool/plugin/websearch.js +147 -146
- package/dist/tool/plugin/write.js +160 -159
- package/dist/tool/read-filesystem.js +112 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/database/migration/20261029002625_session_part.d.ts +3 -0
- package/dist/types/session/history.d.ts +1165 -1
- package/dist/types/session/sql.d.ts +236 -0
- package/dist/usage-limits.js +97 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +102 -101
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -100
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +99 -98
- package/dist/voice.js +96 -95
- package/dist/websearch.js +94 -93
- package/dist/wellknown/plugin.js +84 -83
- package/dist/wellknown.js +87 -86
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -87
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +99 -98
- package/dist/worktree.js +110 -109
- package/package.json +8 -8
- package/dist/chunks/managed-policy-44sxkgfq.js +0 -535
- package/dist/chunks/managed-policy-fpd6ajsz.js +0 -257
- package/dist/chunks/managed-policy-gkc8nen5.js +0 -26
- package/dist/chunks/managed-policy-grzehpz7.js +0 -18
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1jakw16s.js → kv-1jakw16s.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2bv980vf.js → kv-2bv980vf.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5w3e23ze.js → kv-5w3e23ze.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-84wd9syh.js → kv-84wd9syh.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a058387c.js → kv-a058387c.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-beh6qq61.js → kv-beh6qq61.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cqv5kn06.js → kv-cqv5kn06.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fkpq3x5p.js → kv-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hcxmzztb.js → kv-hcxmzztb.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jwr30sdr.js → kv-jwr30sdr.js} +0 -0
- /package/dist/chunks/{managed-policy-jze0r7bz.js → kv-jze0r7bz.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-m18g726c.js → kv-m18g726c.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-ncqqe42p.js → kv-ncqqe42p.js} +0 -0
- /package/dist/chunks/{managed-policy-nh4v3znn.js → kv-nh4v3znn.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-p71gwv9c.js → kv-p71gwv9c.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,74 +1,76 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-a42ahrx1.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service86,
|
|
8
8
|
node90
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-c2fax6kv.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update3
|
|
18
|
+
} from "./kv-5nnwax6m.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./kv-034tev2y.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
|
+
SessionPartTable2,
|
|
29
30
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
31
|
+
} from "./kv-q61bmwds.js";
|
|
31
32
|
import {
|
|
32
33
|
User3
|
|
33
|
-
} from "./
|
|
34
|
+
} from "./kv-prq7xxp2.js";
|
|
34
35
|
import {
|
|
35
36
|
externalize2,
|
|
36
37
|
recordRefs2,
|
|
37
38
|
syncRefs2,
|
|
38
39
|
releaseFrom2,
|
|
39
40
|
releaseSession2
|
|
40
|
-
} from "./
|
|
41
|
+
} from "./kv-f37hb3vx.js";
|
|
41
42
|
import {
|
|
42
43
|
apply2,
|
|
43
44
|
initialize3,
|
|
44
45
|
advanceEpoch2,
|
|
45
46
|
rewind2
|
|
46
|
-
} from "./
|
|
47
|
+
} from "./kv-57rxwkwv.js";
|
|
47
48
|
import {
|
|
49
|
+
withParts2,
|
|
48
50
|
decodeMessageRowSync2
|
|
49
|
-
} from "./
|
|
51
|
+
} from "./kv-hynthsg4.js";
|
|
50
52
|
import {
|
|
51
53
|
projectAdmitted2,
|
|
52
54
|
projectDelivered2,
|
|
53
55
|
projectCancelled2,
|
|
54
56
|
projectDeliveryChanged2
|
|
55
|
-
} from "./
|
|
57
|
+
} from "./kv-w05smnam.js";
|
|
56
58
|
import {
|
|
57
59
|
initialize2
|
|
58
|
-
} from "./
|
|
60
|
+
} from "./kv-xxampj5x.js";
|
|
59
61
|
import {
|
|
60
62
|
Slug2
|
|
61
|
-
} from "./
|
|
63
|
+
} from "./kv-gebd4c9n.js";
|
|
62
64
|
import {
|
|
63
65
|
__export
|
|
64
|
-
} from "./
|
|
66
|
+
} from "./kv-9rqn6x4v.js";
|
|
65
67
|
|
|
66
68
|
// src/session/projector.ts
|
|
67
69
|
var exports_projector = {};
|
|
68
70
|
__export(exports_projector, {
|
|
69
71
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
70
72
|
SessionProjector: () => exports_projector,
|
|
71
|
-
node: () =>
|
|
73
|
+
node: () => node29
|
|
72
74
|
});
|
|
73
75
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
74
76
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -170,7 +172,7 @@ var projectFork = Effect.fn("SessionProjector.projectFork")(function* (db, event
|
|
|
170
172
|
const forkedID = (seq) => SessionMessage2.ID.make(`${SessionMessage2.ID.fromEvent(event.id)}_${seq}`);
|
|
171
173
|
let cursor = -1;
|
|
172
174
|
while (copiedSeq !== undefined) {
|
|
173
|
-
const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, event.data.parentID), gt(SessionMessageTable2.seq, cursor), lt(SessionMessageTable2.seq, copiedSeq + 1), sql`${SessionMessageTable2.type} != 'assistant' or json_extract(${SessionMessageTable2.data}, '$.time.completed') is not null`, sql`${SessionMessageTable2.type} != 'shell' or json_extract(${SessionMessageTable2.data}, '$.status') != 'running'`, sql`${SessionMessageTable2.type} != 'compaction' or json_extract(${SessionMessageTable2.data}, '$.status') != 'running'`)).orderBy(asc(SessionMessageTable2.seq)).limit(ForkBatchSize).all().pipe(Effect.orDie);
|
|
175
|
+
const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, event.data.parentID), gt(SessionMessageTable2.seq, cursor), lt(SessionMessageTable2.seq, copiedSeq + 1), sql`${SessionMessageTable2.type} != 'assistant' or json_extract(${SessionMessageTable2.data}, '$.time.completed') is not null`, sql`${SessionMessageTable2.type} != 'shell' or json_extract(${SessionMessageTable2.data}, '$.status') != 'running'`, sql`${SessionMessageTable2.type} != 'compaction' or json_extract(${SessionMessageTable2.data}, '$.status') != 'running'`)).orderBy(asc(SessionMessageTable2.seq)).limit(ForkBatchSize).all().pipe(Effect.orDie, Effect.flatMap((rows) => withParts2(db, rows)));
|
|
174
176
|
if (rows.length === 0)
|
|
175
177
|
break;
|
|
176
178
|
const values = yield* Effect.forEach(rows, (row) => Effect.gen(function* () {
|
|
@@ -205,12 +207,45 @@ var projectFork = Effect.fn("SessionProjector.projectFork")(function* (db, event
|
|
|
205
207
|
});
|
|
206
208
|
function run(db, event) {
|
|
207
209
|
return Effect.gen(function* () {
|
|
210
|
+
const partRows = (messageID) => db.select().from(SessionPartTable2).where(eq(SessionPartTable2.message_id, messageID)).orderBy(asc(SessionPartTable2.ordinal)).all().pipe(Effect.orDie);
|
|
211
|
+
const writeParts = Effect.fnUntraced(function* (messageID, existing, content) {
|
|
212
|
+
let next = (existing.at(-1)?.ordinal ?? -1) + 1;
|
|
213
|
+
for (const [index, part] of content.entries()) {
|
|
214
|
+
const current = existing[index];
|
|
215
|
+
const columns = { type: part.type, call_id: part.type === "tool" ? part.id : null, data: part };
|
|
216
|
+
if (current === undefined)
|
|
217
|
+
yield* db.insert(SessionPartTable2).values({
|
|
218
|
+
...columns,
|
|
219
|
+
message_id: messageID,
|
|
220
|
+
session_id: event.data.sessionID,
|
|
221
|
+
ordinal: next++,
|
|
222
|
+
time_created: event.created,
|
|
223
|
+
time_updated: event.created
|
|
224
|
+
}).run().pipe(Effect.orDie);
|
|
225
|
+
else if (JSON.stringify(current.data) !== JSON.stringify(part))
|
|
226
|
+
yield* db.update(SessionPartTable2).set({ ...columns, time_updated: event.created }).where(and(eq(SessionPartTable2.message_id, messageID), eq(SessionPartTable2.ordinal, current.ordinal))).run().pipe(Effect.orDie);
|
|
227
|
+
}
|
|
228
|
+
const stale = existing.slice(content.length).map((part) => part.ordinal);
|
|
229
|
+
if (stale.length > 0)
|
|
230
|
+
yield* db.delete(SessionPartTable2).where(and(eq(SessionPartTable2.message_id, messageID), inArray(SessionPartTable2.ordinal, stale))).run().pipe(Effect.orDie);
|
|
231
|
+
});
|
|
232
|
+
const decodeAssistantRow = Effect.fnUntraced(function* (row) {
|
|
233
|
+
const [withParts = row] = yield* withParts2(db, [row]);
|
|
234
|
+
return decodeMessageRowSync2(withParts);
|
|
235
|
+
});
|
|
208
236
|
const updateMessage = Effect.fnUntraced(function* (message) {
|
|
209
237
|
const stored = yield* externalize2(db, message);
|
|
210
238
|
const { id: _, type, ...data } = encodeStored(stored);
|
|
211
|
-
const
|
|
239
|
+
const parts = message.type === "assistant" && "content" in data ? yield* partRows(message.id) : [];
|
|
240
|
+
const updated = yield* db.update(SessionMessageTable2).set({
|
|
241
|
+
type,
|
|
242
|
+
time_created: DateTime.toEpochMillis(message.time.created),
|
|
243
|
+
data: parts.length > 0 && "content" in data ? { ...data, content: [] } : data
|
|
244
|
+
}).where(and(eq(SessionMessageTable2.id, message.id), eq(SessionMessageTable2.session_id, event.data.sessionID))).returning({ seq: SessionMessageTable2.seq }).get().pipe(Effect.orDie);
|
|
212
245
|
if (!updated)
|
|
213
246
|
return;
|
|
247
|
+
if (parts.length > 0 && "content" in data)
|
|
248
|
+
yield* writeParts(message.id, parts, data.content);
|
|
214
249
|
const owner = { sessionID: event.data.sessionID, messageID: message.id, seq: updated.seq };
|
|
215
250
|
if (event.type === SessionEvent2.MessageContentUpdated.type)
|
|
216
251
|
yield* syncRefs2(db, owner, data);
|
|
@@ -245,7 +280,7 @@ function run(db, event) {
|
|
|
245
280
|
const row = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, event.data.sessionID), eq(SessionMessageTable2.type, "assistant"))).orderBy(desc(SessionMessageTable2.seq)).limit(1).get().pipe(Effect.orDie);
|
|
246
281
|
if (!row)
|
|
247
282
|
return;
|
|
248
|
-
const message =
|
|
283
|
+
const message = yield* decodeAssistantRow(row);
|
|
249
284
|
return message.type === "assistant" && !message.time.completed ? message : undefined;
|
|
250
285
|
});
|
|
251
286
|
},
|
|
@@ -254,7 +289,7 @@ function run(db, event) {
|
|
|
254
289
|
const row = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.id, messageID), eq(SessionMessageTable2.session_id, event.data.sessionID), eq(SessionMessageTable2.type, "assistant"))).get().pipe(Effect.orDie);
|
|
255
290
|
if (!row)
|
|
256
291
|
return;
|
|
257
|
-
const message =
|
|
292
|
+
const message = yield* decodeAssistantRow(row);
|
|
258
293
|
return message.type === "assistant" ? message : undefined;
|
|
259
294
|
});
|
|
260
295
|
},
|
|
@@ -281,7 +316,7 @@ function run(db, event) {
|
|
|
281
316
|
updateCompaction: updateMessage,
|
|
282
317
|
appendMessage
|
|
283
318
|
};
|
|
284
|
-
yield*
|
|
319
|
+
yield* update3(adapter, event);
|
|
285
320
|
});
|
|
286
321
|
}
|
|
287
322
|
var encodeStored = (message) => message.type === "user" ? encodeStoredUser(message) : encodeMessage(message);
|
|
@@ -508,6 +543,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
508
543
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
509
544
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
510
545
|
}));
|
|
511
|
-
var
|
|
546
|
+
var node29 = makeGlobalNode({ name: "session-projector", layer, deps: [node90, node91] });
|
|
512
547
|
|
|
513
|
-
export { SessionAlreadyProjected2,
|
|
548
|
+
export { SessionAlreadyProjected2, node29, exports_projector };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-c2fax6kv.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref5,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./kv-v05nc33y.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
23
|
define: () => define2,
|
|
24
24
|
eventDefinition: () => eventDefinition2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node68
|
|
26
26
|
});
|
|
27
27
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
28
28
|
import { Event } from "@opencode/schema/event";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
31
|
-
class
|
|
31
|
+
class Service64 extends Context.Service()("@opencode/Rpc") {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
class DeclaredError extends Error {
|
|
@@ -40,9 +40,9 @@ class DeclaredError extends Error {
|
|
|
40
40
|
this.data = data;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service86;
|
|
45
|
-
const location = yield*
|
|
45
|
+
const location = yield* Service80;
|
|
46
46
|
const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
47
47
|
const closed = yield* Deferred.make();
|
|
48
48
|
const callContext = {
|
|
@@ -119,14 +119,14 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
119
119
|
const registered = events.get(name);
|
|
120
120
|
if (!registered)
|
|
121
121
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
122
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
122
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
return
|
|
127
|
+
return Service64.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node68 = makeLocationNode({ service: Service64, layer, deps: [node90, node84] });
|
|
130
130
|
var fields = {
|
|
131
131
|
id: Event.ID,
|
|
132
132
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service64, node68, eventDefinition2, exports_rpc, define2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-kgc898hj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-c2fax6kv.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./kv-6bzdkscq.js";
|
|
11
11
|
import {
|
|
12
12
|
ID15,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-5bt48bf8.js";
|
|
15
15
|
import {
|
|
16
16
|
ID14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-eamxt9ya.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-4qy1z7f6.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./kv-gmcaypba.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service47
|
|
13
|
+
} from "./kv-5ybmaaxe.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service57
|
|
16
|
+
} from "./kv-thnc25bd.js";
|
|
17
17
|
import {
|
|
18
18
|
Service68
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-wm6mgyw2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-r555eje6.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service66,
|
|
32
32
|
name17
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./kv-7vqmw3sn.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service34
|
|
37
|
+
} from "./kv-n5q9ghjn.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./kv-4ye3148g.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan2
|
|
43
|
+
} from "./kv-yf4mtc0f.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./kv-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin11,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name10 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input10 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin11 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service20;
|
|
124
|
+
const jobs = yield* Service57;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service47;
|
|
127
|
+
const access = yield* Service14;
|
|
128
|
+
const shell = yield* Service34;
|
|
129
|
+
const shellSelect = yield* Service66;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
131
|
const permission = yield* Service68;
|
|
132
|
-
const config = yield*
|
|
132
|
+
const config = yield* Service72;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin21 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin21 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name10,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin21 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name10,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input10,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin21 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name10,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name10];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin11, exports_shell };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node86
|
|
6
|
+
} from "./kv-ma7t0w64.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./kv-v05nc33y.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make17
|
|
16
|
+
} from "./kv-74mpvf4f.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service49,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node53
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service49 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service80;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make17;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service49.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node53 = makeLocationNode({
|
|
61
|
+
service: Service49,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node84, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service49, node53, exports_strategies };
|