@opencode/core 0.0.0-dev-21802 → 0.0.0-dev-21811
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 +87 -87
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-034tev2y.js → model-retry-034tev2y.js} +2 -2
- package/dist/chunks/{location-pac9cg3x.js → model-retry-0j1r4c82.js} +4 -4
- package/dist/chunks/{location-vwvg46tm.js → model-retry-0nd9gsrv.js} +2 -2
- package/dist/chunks/{location-0q213vj2.js → model-retry-0p88zpcm.js} +4 -4
- package/dist/chunks/{location-8n0m92g8.js → model-retry-0rax2qmn.js} +17 -17
- package/dist/chunks/{location-1h4xhwew.js → model-retry-0zn5bfke.js} +24 -24
- package/dist/chunks/{location-2f2nr3wk.js → model-retry-138ss78d.js} +11 -11
- package/dist/chunks/{location-bqwdyg2t.js → model-retry-1602d4m9.js} +9 -9
- package/dist/chunks/{location-g6dfma3d.js → model-retry-17cjzed1.js} +8 -8
- package/dist/chunks/{location-hn6pth2p.js → model-retry-17xhxfsn.js} +14 -14
- package/dist/chunks/{location-k781pf8j.js → model-retry-1a7q9jj4.js} +11 -11
- package/dist/chunks/{location-0hc0bbs9.js → model-retry-1dswpn68.js} +4 -4
- package/dist/chunks/{location-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-bxx0c1dy.js → model-retry-1hm6kjpw.js} +11 -11
- package/dist/chunks/{location-n95rn34w.js → model-retry-1m6xs2a7.js} +24 -24
- package/dist/chunks/{location-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-p7vhpwh8.js → model-retry-1yq9hg58.js} +5 -5
- package/dist/chunks/{location-fnz8rg5r.js → model-retry-27994c7b.js} +5 -5
- package/dist/chunks/model-retry-2dkjcnxp.js +18 -0
- package/dist/chunks/{location-a0stp6fn.js → model-retry-2ns8tfyg.js} +9 -9
- package/dist/chunks/{location-67fvqagb.js → model-retry-2we1d0jv.js} +46 -46
- package/dist/chunks/{location-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
- package/dist/chunks/{location-984v65na.js → model-retry-3109wbwk.js} +17 -17
- package/dist/chunks/{location-qah7t4da.js → model-retry-32rqdfc7.js} +6 -6
- package/dist/chunks/{location-6qzrsg19.js → model-retry-335tf8xn.js} +13 -13
- package/dist/chunks/{location-xsact9zs.js → model-retry-3gv0spa2.js} +4 -4
- package/dist/chunks/{location-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-rn8hfrah.js → model-retry-425q9h2g.js} +19 -19
- package/dist/chunks/{location-pbaqepy9.js → model-retry-46h6vvs4.js} +5 -5
- package/dist/chunks/{location-2xwkyk0m.js → model-retry-4drgpw32.js} +5 -5
- package/dist/chunks/{location-ymrm2a13.js → model-retry-4g74bq5f.js} +9 -9
- package/dist/chunks/{location-x6615g0m.js → model-retry-4gytfbka.js} +3 -3
- package/dist/chunks/{location-p3c47fx7.js → model-retry-4hbn04c3.js} +23 -23
- package/dist/chunks/{location-jb3ek66v.js → model-retry-4jred12r.js} +24 -24
- package/dist/chunks/{location-288dktsv.js → model-retry-4q0yhm9h.js} +4 -4
- package/dist/chunks/{location-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{location-xkfczkpn.js → model-retry-4xvmh7wp.js} +3 -3
- package/dist/chunks/{location-pypxtw5w.js → model-retry-4z907t0k.js} +20 -20
- package/dist/chunks/{location-5pjcmgbp.js → model-retry-503rn88z.js} +3 -3
- package/dist/chunks/{location-rxbr5cvt.js → model-retry-58sptegr.js} +43 -43
- package/dist/chunks/{location-aw8nv5py.js → model-retry-592w8t9y.js} +26 -26
- package/dist/chunks/{location-zbqbngfz.js → model-retry-5dewdarb.js} +15 -15
- package/dist/chunks/{location-40za9wsf.js → model-retry-5enarcya.js} +6 -6
- package/dist/chunks/{location-sjmm3wxa.js → model-retry-5fjb7ams.js} +4 -14
- package/dist/chunks/{location-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-tan2h6ve.js → model-retry-5shay012.js} +60 -40
- package/dist/chunks/{location-y4n6pw34.js → model-retry-5w1mdqt7.js} +4 -4
- package/dist/chunks/{location-mnex4cdr.js → model-retry-5xypjhga.js} +5 -5
- package/dist/chunks/{location-yrvdznpz.js → model-retry-5ymyvjqm.js} +17 -17
- package/dist/chunks/{location-ahnc65m5.js → model-retry-678hegmz.js} +9 -9
- package/dist/chunks/{location-tpm1qpxt.js → model-retry-6c5cd6ez.js} +9 -9
- package/dist/chunks/{location-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-1ccg85h0.js → model-retry-6hwc1pvx.js} +20 -20
- package/dist/chunks/{location-0nykq6f5.js → model-retry-6kqns4w6.js} +18 -18
- package/dist/chunks/{location-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
- package/dist/chunks/{location-vrcsa8qx.js → model-retry-6twykydk.js} +9 -9
- package/dist/chunks/{location-nn8wg6es.js → model-retry-6zcc165v.js} +6 -6
- package/dist/chunks/{location-fnp0jseg.js → model-retry-722sdb3d.js} +7 -7
- package/dist/chunks/{location-f6939148.js → model-retry-745re5am.js} +5 -5
- package/dist/chunks/{location-nbftzetf.js → model-retry-753xhzz2.js} +3 -3
- package/dist/chunks/{location-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-nbpgh3d1.js → model-retry-7816y9pf.js} +15 -15
- package/dist/chunks/{location-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-a59j6a4y.js → model-retry-7kjvv3j6.js} +11 -11
- package/dist/chunks/{location-qtqp5fvy.js → model-retry-7n7qp0dz.js} +30 -30
- package/dist/chunks/{location-1rx1hnzt.js → model-retry-7pp4cpj7.js} +2 -2
- package/dist/chunks/{location-6ypa0r1z.js → model-retry-7rt6wz40.js} +32 -32
- package/dist/chunks/{location-q9dg54zr.js → model-retry-7s2q8wx1.js} +14 -14
- package/dist/chunks/{location-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-1s73zfxt.js → model-retry-82vzzvc0.js} +15 -15
- package/dist/chunks/{location-3r5s1csz.js → model-retry-8322nd6s.js} +31 -31
- package/dist/chunks/{location-pc1v25hk.js → model-retry-8bc2ahr8.js} +3 -3
- package/dist/chunks/{location-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-91rj84md.js → model-retry-91rj84md.js} +1 -1
- package/dist/chunks/{location-998yhzzq.js → model-retry-998yhzzq.js} +3 -3
- package/dist/chunks/{location-amtc5egd.js → model-retry-9bs81pt6.js} +45 -45
- package/dist/chunks/{location-9cx9sm2q.js → model-retry-9cx9sm2q.js} +1 -1
- package/dist/chunks/{location-mjx1xb4v.js → model-retry-9dx6tkdq.js} +14 -14
- package/dist/chunks/{location-3shw1cbx.js → model-retry-9nt4jrra.js} +11 -11
- package/dist/chunks/{location-1y0wdj51.js → model-retry-9q8g9sv8.js} +9 -9
- package/dist/chunks/{location-v76p8btm.js → model-retry-9ye8ngw9.js} +5 -5
- package/dist/chunks/{location-ehd7jrz2.js → model-retry-a0y3te94.js} +13 -13
- package/dist/chunks/{location-543xpwr1.js → model-retry-a5kv7pbm.js} +17 -17
- package/dist/chunks/{location-04s74fx7.js → model-retry-acdmrrd1.js} +8 -8
- package/dist/chunks/{location-p42xfgpg.js → model-retry-aday876c.js} +30 -30
- package/dist/chunks/{location-0ear39jp.js → model-retry-ae89zrxe.js} +11 -11
- package/dist/chunks/{location-hpj591dz.js → model-retry-aqd38yqk.js} +16 -16
- package/dist/chunks/{location-d3db3qjf.js → model-retry-aqw6e5th.js} +20 -20
- package/dist/chunks/{location-r2z94j39.js → model-retry-avfqqwb2.js} +6 -6
- package/dist/chunks/{location-f6k1kfp3.js → model-retry-axqdy1rc.js} +43 -43
- package/dist/chunks/{location-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
- package/dist/chunks/{location-x16k5wpx.js → model-retry-b0qepsp5.js} +32 -32
- package/dist/chunks/{location-3aj7rrf8.js → model-retry-b3mc3p58.js} +11 -11
- package/dist/chunks/{location-bkdm27vv.js → model-retry-b58bxs6a.js} +190 -190
- package/dist/chunks/{location-q5vn80g9.js → model-retry-b5rpcebs.js} +12 -12
- package/dist/chunks/{location-b6vsg801.js → model-retry-b6vsg801.js} +2 -2
- package/dist/chunks/{location-4zw1mhch.js → model-retry-bb0y23dv.js} +10 -10
- package/dist/chunks/{location-dgny4tbd.js → model-retry-bdw1mhts.js} +35 -35
- package/dist/chunks/{location-cb3hqvs8.js → model-retry-bfrx3eet.js} +73 -73
- package/dist/chunks/{location-fmye6e29.js → model-retry-bje4knzw.js} +6 -6
- package/dist/chunks/{location-vdgmg1hd.js → model-retry-brkew3yp.js} +12 -12
- package/dist/chunks/{location-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{location-r64cczjp.js → model-retry-btcc31mt.js} +13 -13
- package/dist/chunks/{location-4f51t6yt.js → model-retry-bzve7h1n.js} +33 -33
- package/dist/chunks/{location-z3bph6wb.js → model-retry-c7w6gk0d.js} +5 -5
- package/dist/chunks/{location-qzzv0ezg.js → model-retry-ca1hzz0z.js} +7 -7
- package/dist/chunks/{location-mc0e6tx9.js → model-retry-cbyrzr95.js} +31 -31
- package/dist/chunks/{location-yeyr4dj8.js → model-retry-cg67sgqr.js} +30 -30
- package/dist/chunks/{location-agxdnhx2.js → model-retry-cjn2m544.js} +27 -27
- package/dist/chunks/model-retry-ckzsjma5.js +26 -0
- package/dist/chunks/{location-5rffp0ca.js → model-retry-cpmqfxcq.js} +17 -17
- package/dist/chunks/{location-km5sdhrx.js → model-retry-d1aynxky.js} +54 -54
- package/dist/chunks/{location-3azbbmvr.js → model-retry-d4tjs1yx.js} +15 -15
- package/dist/chunks/{location-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-w4hzka6x.js → model-retry-d8g76yr4.js} +18 -18
- package/dist/chunks/{location-dkjms5pz.js → model-retry-d9qwxpwd.js} +26 -26
- package/dist/chunks/{location-3753v25r.js → model-retry-db7k79f7.js} +20 -20
- package/dist/chunks/{location-6y263vp8.js → model-retry-dbmp929s.js} +5 -5
- package/dist/chunks/{location-eqqpepv4.js → model-retry-debkngxd.js} +8 -8
- package/dist/chunks/{location-y8gj0fyz.js → model-retry-dher8hzb.js} +11 -11
- package/dist/chunks/{location-rqjkyyyt.js → model-retry-dn3a5ca8.js} +18 -18
- package/dist/chunks/{location-b8w355z9.js → model-retry-e1g8hcy1.js} +12 -12
- package/dist/chunks/{location-gw9sk7ym.js → model-retry-e1zjyyvc.js} +42 -42
- package/dist/chunks/{location-5qd3pb7m.js → model-retry-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-9p9xqj3m.js → model-retry-e5dqjz6v.js} +8 -8
- package/dist/chunks/{location-c0hpt3fm.js → model-retry-e5nt5pcv.js} +4 -4
- package/dist/chunks/{location-e834z07m.js → model-retry-e834z07m.js} +1 -1
- package/dist/chunks/{location-a6g0efdt.js → model-retry-eg9pnzky.js} +38 -38
- package/dist/chunks/{location-embmaz50.js → model-retry-egv1p4fb.js} +45 -45
- package/dist/chunks/{location-ngxrbh81.js → model-retry-ek5jse1b.js} +28 -28
- package/dist/chunks/{location-tg1vr1qt.js → model-retry-enkpkfwx.js} +8 -8
- package/dist/chunks/{location-1vd7snte.js → model-retry-eqhrgn58.js} +43 -43
- package/dist/chunks/{location-m37sd98t.js → model-retry-eqmd2tfz.js} +7 -7
- package/dist/chunks/{location-jsvgjjsg.js → model-retry-f34n98jw.js} +33 -33
- package/dist/chunks/{location-075x5646.js → model-retry-f4fcece7.js} +15 -15
- package/dist/chunks/{location-mw1hb2pb.js → model-retry-f6n6tb5m.js} +19 -19
- package/dist/chunks/{location-9b28cy4d.js → model-retry-faewc6h3.js} +5 -5
- package/dist/chunks/{location-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-x514tm1v.js → model-retry-fx6779qx.js} +47 -47
- package/dist/chunks/{location-6rrz3dm6.js → model-retry-g0ew906k.js} +4 -4
- package/dist/chunks/{location-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
- package/dist/chunks/{location-cfchc4zb.js → model-retry-g91txfza.js} +4 -4
- package/dist/chunks/{location-sgnyye5r.js → model-retry-gchz44rz.js} +26 -26
- package/dist/chunks/model-retry-gfm4ps3x.js +261 -0
- package/dist/chunks/{location-r0rzdwgt.js → model-retry-gj1k22fm.js} +8 -8
- package/dist/chunks/{location-wnpz0s1q.js → model-retry-gp4q8kgc.js} +4 -4
- package/dist/chunks/{location-f4sjmcvy.js → model-retry-gxvxk964.js} +13 -13
- package/dist/chunks/{location-9bag7kem.js → model-retry-h58n2v2h.js} +8 -8
- package/dist/chunks/{location-6s8srms1.js → model-retry-h9wrc0vd.js} +18 -18
- package/dist/chunks/{location-48fr60f0.js → model-retry-hawc6q6s.js} +4 -4
- package/dist/chunks/{location-tkkm20f7.js → model-retry-hbh5g7sq.js} +19 -19
- package/dist/chunks/{location-hdvwg22j.js → model-retry-hbjmb8md.js} +6 -6
- package/dist/chunks/{location-n8snqzaz.js → model-retry-hhqqebc6.js} +7 -7
- package/dist/chunks/{location-cb47sqp9.js → model-retry-hhtmqaqt.js} +18 -18
- package/dist/chunks/{location-ete0teby.js → model-retry-hhtnk8qy.js} +10 -10
- package/dist/chunks/{location-73ws2247.js → model-retry-hjg4cfjr.js} +70 -70
- package/dist/chunks/{location-0aqnrq7x.js → model-retry-hjvwy4ms.js} +35 -35
- package/dist/chunks/{location-4f258480.js → model-retry-hkby4gmz.js} +18 -18
- package/dist/chunks/{location-dg4g4j0t.js → model-retry-hmg9k6g3.js} +23 -23
- package/dist/chunks/{location-vghb18mt.js → model-retry-hp8gawhw.js} +16 -16
- package/dist/chunks/{location-y15wyx54.js → model-retry-hx4n917h.js} +2 -2
- package/dist/chunks/{location-j113cymg.js → model-retry-j113cymg.js} +1 -1
- package/dist/chunks/{location-d126gacg.js → model-retry-j17f5p09.js} +14 -14
- package/dist/chunks/{location-6xvr7jf7.js → model-retry-j910h5aj.js} +3 -3
- package/dist/chunks/{location-h9zgxh73.js → model-retry-jj52rngq.js} +5 -5
- package/dist/chunks/{location-c6jk0q5d.js → model-retry-jmekkt3w.js} +3 -3
- package/dist/chunks/{location-wdmx20pv.js → model-retry-jq88ke7r.js} +9 -9
- package/dist/chunks/{location-ywpksxwp.js → model-retry-jvasdgem.js} +17 -17
- package/dist/chunks/{location-x3r2mbb5.js → model-retry-jy2ar7az.js} +11 -11
- package/dist/chunks/{location-sv689qty.js → model-retry-k46s5hha.js} +21 -21
- package/dist/chunks/{location-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
- package/dist/chunks/{location-cdq478xq.js → model-retry-kbx45pjb.js} +27 -27
- package/dist/chunks/{location-kkew1p9e.js → model-retry-kkew1p9e.js} +3 -3
- package/dist/chunks/{location-c06ba7a3.js → model-retry-km7czr20.js} +21 -21
- package/dist/chunks/{location-9b1bq8k1.js → model-retry-kspt1gd4.js} +8 -8
- package/dist/chunks/{location-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-4cggrrsp.js → model-retry-kw23vkf0.js} +1 -1
- package/dist/chunks/{location-bntc87tw.js → model-retry-kwp52g30.js} +10 -10
- package/dist/chunks/{location-tv1fv7bp.js → model-retry-kxvkas7c.js} +5 -5
- package/dist/chunks/{location-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{location-a7hcemwv.js → model-retry-m81bzjfe.js} +11 -11
- package/dist/chunks/{location-g9ccq630.js → model-retry-m8kw722f.js} +52 -52
- package/dist/chunks/{location-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
- package/dist/chunks/{location-bhaqjw7f.js → model-retry-mdmq4ayq.js} +3 -3
- package/dist/chunks/{location-qj7jded1.js → model-retry-mg4jj3cq.js} +14 -14
- package/dist/chunks/{location-kme5wqcz.js → model-retry-mnb0kth4.js} +20 -20
- package/dist/chunks/{location-wgq490fn.js → model-retry-mq1hjbvv.js} +21 -21
- package/dist/chunks/{location-m7nf5dp7.js → model-retry-mt48qw68.js} +18 -18
- package/dist/chunks/{location-16mb5f8v.js → model-retry-mv9cyhb6.js} +30 -30
- package/dist/chunks/{location-ag7xc6h3.js → model-retry-mvf5yed7.js} +15 -15
- package/dist/chunks/{location-rbckb2ty.js → model-retry-mxjqcj4f.js} +17 -17
- package/dist/chunks/{location-h2fhca2s.js → model-retry-n4g6yntc.js} +10 -10
- package/dist/chunks/{location-at9bq00k.js → model-retry-n91mh7q3.js} +37 -37
- package/dist/chunks/{location-0bpkyfh4.js → model-retry-n9nqya42.js} +21 -21
- package/dist/chunks/{location-770pw0s1.js → model-retry-nah043kf.js} +4 -4
- package/dist/chunks/{location-17a3f6rk.js → model-retry-nf83kzdy.js} +45 -45
- package/dist/chunks/{location-vpnzc5p3.js → model-retry-npaxjfat.js} +35 -35
- package/dist/chunks/{location-6grvz7sb.js → model-retry-nxg0a76y.js} +22 -22
- package/dist/chunks/{location-x4y1x265.js → model-retry-ny7d5fer.js} +20 -20
- package/dist/chunks/{location-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
- package/dist/chunks/{location-af84d9dx.js → model-retry-p3ns8jke.js} +22 -22
- package/dist/chunks/{location-eqc54gfq.js → model-retry-p5t4xveb.js} +5 -5
- package/dist/chunks/{location-wm875330.js → model-retry-p81fp5vk.js} +32 -32
- package/dist/chunks/{location-kj2jaw6z.js → model-retry-p8s7ax7s.js} +4 -4
- package/dist/chunks/{location-15hh3cbc.js → model-retry-paae1hvb.js} +10 -10
- package/dist/chunks/{location-jje57wwm.js → model-retry-pcx7njc6.js} +28 -28
- package/dist/chunks/{location-53ehad73.js → model-retry-pk8bqs0r.js} +11 -11
- package/dist/chunks/{location-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{location-9je5s229.js → model-retry-ppheb231.js} +4 -4
- package/dist/chunks/{location-x3gjy9c2.js → model-retry-pzbahg37.js} +6 -6
- package/dist/chunks/{location-ftv2mfjw.js → model-retry-pzm5e1e5.js} +1 -1
- package/dist/chunks/{location-4c9pmv36.js → model-retry-q35f0zmw.js} +16 -16
- package/dist/chunks/{location-f4x3m1jb.js → model-retry-q5jvcvf9.js} +13 -13
- package/dist/chunks/{location-qjgzc4b4.js → model-retry-qjgzc4b4.js} +1 -1
- package/dist/chunks/{location-tfg9hd0y.js → model-retry-qk2x4zmh.js} +30 -30
- package/dist/chunks/{location-2s1jcspe.js → model-retry-qnz3a88e.js} +11 -11
- package/dist/chunks/{location-8nsfhtx4.js → model-retry-qq9g4at8.js} +52 -52
- package/dist/chunks/{location-3ryz99p0.js → model-retry-qqg9c0kv.js} +4 -4
- package/dist/chunks/{location-avxtkthz.js → model-retry-qv0xhenj.js} +81 -81
- package/dist/chunks/{location-8ggafv1b.js → model-retry-qwc3x251.js} +14 -14
- package/dist/chunks/{location-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-r542h3bh.js → model-retry-r542h3bh.js} +1 -1
- package/dist/chunks/{location-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-f4mz2h0w.js → model-retry-rf0yhvg8.js} +20 -20
- package/dist/chunks/{location-ma9n1kat.js → model-retry-rnf8ygje.js} +3 -3
- package/dist/chunks/{location-npqdxqpg.js → model-retry-rrq81g5f.js} +20 -20
- package/dist/chunks/{location-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-gksz2zdz.js → model-retry-s44wx98y.js} +12 -12
- package/dist/chunks/{location-ecrg8485.js → model-retry-s4br5rnc.js} +11 -11
- package/dist/chunks/{location-sa3fpqfw.js → model-retry-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-ewepcnn2.js → model-retry-sdxwz4vj.js} +5 -5
- package/dist/chunks/{location-njfj8ewx.js → model-retry-skd7ds45.js} +14 -14
- package/dist/chunks/{location-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-c9t2ty9q.js → model-retry-ssfehs1z.js} +4 -4
- package/dist/chunks/{location-f9wg2df5.js → model-retry-t0vy2dfp.js} +10 -10
- package/dist/chunks/{location-nkc01eya.js → model-retry-t3qvsv4x.js} +7 -7
- package/dist/chunks/{location-6ejgy672.js → model-retry-t42gxy5r.js} +8 -8
- package/dist/chunks/{location-3bn9zxbg.js → model-retry-t6j5m88d.js} +11 -11
- package/dist/chunks/{location-er214sbb.js → model-retry-t9hc3t3t.js} +18 -18
- package/dist/chunks/{location-px99x85z.js → model-retry-t9jfkh4s.js} +17 -17
- package/dist/chunks/{location-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-9btvkpqm.js → model-retry-tmgcn98f.js} +9 -9
- package/dist/chunks/{location-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
- package/dist/chunks/{location-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-cv0k61fs.js → model-retry-v2ydvkbp.js} +35 -35
- package/dist/chunks/{location-a4g64ecz.js → model-retry-v6bhxz94.js} +24 -24
- package/dist/chunks/{location-231a8wys.js → model-retry-v6h5bgwd.js} +8 -8
- package/dist/chunks/{location-ej5n7emy.js → model-retry-vcngc2jq.js} +32 -32
- package/dist/chunks/{location-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
- package/dist/chunks/{location-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
- package/dist/chunks/{location-jk9f0yn5.js → model-retry-vm0wcjea.js} +10 -10
- package/dist/chunks/{location-gyptvmbk.js → model-retry-vp3hqrv6.js} +26 -26
- package/dist/chunks/{location-g5tgmp0p.js → model-retry-vphhrdzm.js} +30 -30
- package/dist/chunks/{location-26sbc8wa.js → model-retry-vxp3z339.js} +22 -22
- package/dist/chunks/{location-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-xjx81hwy.js → model-retry-w4qj5bhy.js} +46 -46
- package/dist/chunks/{location-0d0matx1.js → model-retry-wa0020sp.js} +29 -29
- package/dist/chunks/{location-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-xkp5751n.js → model-retry-wc86xy3n.js} +13 -13
- package/dist/chunks/{location-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{location-ghwgmbde.js → model-retry-wdzvz19b.js} +16 -16
- package/dist/chunks/{location-fznmdakp.js → model-retry-wr3re1en.js} +4 -4
- package/dist/chunks/{location-wv5ws3cz.js → model-retry-wwf1bymv.js} +12 -12
- package/dist/chunks/{location-j19v72kq.js → model-retry-wx4hn9c6.js} +21 -21
- package/dist/chunks/model-retry-xcbrzhrb.js +517 -0
- package/dist/chunks/{location-6pns0xkq.js → model-retry-xfv5zx0r.js} +11 -11
- package/dist/chunks/{location-b92bqb2e.js → model-retry-y1rtgf89.js} +25 -25
- package/dist/chunks/{location-ja9tn20r.js → model-retry-y2nf64jh.js} +14 -14
- package/dist/chunks/{location-z5m176sc.js → model-retry-y4f1fvfh.js} +27 -27
- package/dist/chunks/{location-2bmn10af.js → model-retry-y6413w8f.js} +11 -11
- package/dist/chunks/{location-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-w6frvacy.js → model-retry-yqqqeckg.js} +32 -32
- package/dist/chunks/{location-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
- package/dist/chunks/{location-8j2gg8hq.js → model-retry-z3ae4np4.js} +21 -21
- package/dist/chunks/{location-ab01g4cm.js → model-retry-z3wn5wtx.js} +9 -9
- package/dist/chunks/{location-xgfj5271.js → model-retry-zewy1hcb.js} +11 -11
- package/dist/chunks/{location-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
- package/dist/chunks/{location-cxpnepvy.js → model-retry-zx5t73xg.js} +20 -20
- package/dist/chunks/{location-42jd4697.js → model-retry-zzdv5d93.js} +4 -4
- package/dist/chunks/{location-kdr2amtg.js → model-retry-zzsxzmp1.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +70 -70
- 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.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +112 -112
- 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 +96 -96
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -365
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +90 -90
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +137 -137
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +96 -96
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- 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 +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- 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 +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +139 -139
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +133 -133
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +99 -99
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +98 -98
- 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 +138 -138
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +125 -125
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +116 -116
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +119 -119
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +103 -103
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +89 -89
- 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 +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +7 -7
- 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 +96 -96
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- 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 +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/location-6617700v.js +0 -26
- package/dist/chunks/location-d77dj7jw.js +0 -18
- package/dist/chunks/location-ge8wzs3p.js +0 -261
- package/dist/chunks/location-y7z4tzab.js +0 -517
- /package/dist/chunks/{location-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → model-retry-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8whp40kv.js → model-retry-8whp40kv.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a058387c.js → model-retry-a058387c.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → model-retry-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service86,
|
|
4
4
|
node90
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-retry-g91txfza.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service86;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node90] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer6, node7, exports_sdk };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-503rn88z.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-g91txfza.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./model-retry-q35f0zmw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service63,
|
|
15
|
+
node67
|
|
16
|
+
} from "./model-retry-32rqdfc7.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-retry-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./model-retry-ssfehs1z.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service60
|
|
26
|
+
} from "./model-retry-3gv0spa2.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service68,
|
|
29
|
+
node72
|
|
30
|
+
} from "./model-retry-qwc3x251.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-retry-745re5am.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-retry-4jred12r.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service59,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer22,
|
|
47
|
+
node: () => node64,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service59 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service68;
|
|
64
|
+
const instances = yield* Service63;
|
|
65
65
|
const bus = yield* Service86;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service80;
|
|
67
67
|
const db = (yield* Service87).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service60.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make18({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service59.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node64 = makeGlobalNode({
|
|
127
|
+
service: Service59,
|
|
128
|
+
layer: layer22,
|
|
129
|
+
deps: [node72, node67, node90, node91, node84]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service50, Service50.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service59, terminal2, layer22, node64, noopLayer3, exports_execution };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./model-retry-w4qj5bhy.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service67
|
|
10
|
+
} from "./model-retry-fx6779qx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input2,
|
|
20
|
+
Output: () => Output2,
|
|
21
|
+
Plugin: () => Plugin37,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name2,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name2 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input2 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output2 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin37 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service71;
|
|
68
|
+
const permission = yield* Service67;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input2,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name2,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin29 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name2, Info2, Input2, Output2, summarize2, Plugin37, exports_todo };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan2
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan2, exports_skill_scan };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./model-retry-p81fp5vk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node79
|
|
20
|
+
} from "./model-retry-yqqqeckg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service65,
|
|
23
|
+
node69
|
|
24
|
+
} from "./model-retry-brkew3yp.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID11,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service74,
|
|
30
|
+
node78,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-retry-vcngc2jq.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service64,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node68,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID12,
|
|
63
|
+
modelID: ID11,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID12,
|
|
73
|
+
modelID: ID11,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID12,
|
|
84
|
+
modelID: ID11,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID12,
|
|
95
|
+
modelID: ID11,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID12,
|
|
107
|
+
modelID: ID11,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID12,
|
|
117
|
+
modelID: ID11,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service64 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
234
234
|
return tokenSettings(specifier, credential.access);
|
|
235
235
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
236
236
|
return { auth: "sigv4" };
|
|
237
|
-
if (model.providerID ===
|
|
237
|
+
if (model.providerID === ID12.azure)
|
|
238
238
|
return tokenSettings(specifier, "azure-cli");
|
|
239
239
|
return {};
|
|
240
240
|
};
|
|
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer24 = Layer.effect(Service64, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service75;
|
|
274
|
+
const models = yield* Service74;
|
|
275
|
+
const integrations = yield* Service83;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service65;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
281
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
283
|
const runtimeInfo = {
|
|
@@ -304,7 +304,7 @@ var layer27 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service64.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node68 = makeLocationNode({
|
|
325
|
+
service: Service64,
|
|
326
|
+
layer: layer24,
|
|
327
|
+
deps: [node79, node78, node87, Npm.node, node69]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service64, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node68, exports_model_resolver };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-g91txfza.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./model-retry-ny7d5fer.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./model-retry-axqdy1rc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Ref3,
|
|
15
|
+
Service77,
|
|
16
|
+
node81
|
|
17
|
+
} from "./model-retry-jvasdgem.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-retry-zewy1hcb.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node71
|
|
27
|
+
} from "./model-retry-fx6779qx.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service21,
|
|
30
|
+
node24
|
|
31
|
+
} from "./model-retry-hhtmqaqt.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service20,
|
|
41
|
+
node: () => node23
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service20 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service86;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
|
+
const permission = yield* Service67;
|
|
54
|
+
const forms = yield* Service84;
|
|
55
|
+
const rpc = yield* Service21;
|
|
56
|
+
const project = yield* Service78;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -76,19 +76,19 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
76
76
|
yield* forms.close;
|
|
77
77
|
yield* rpc.close;
|
|
78
78
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
79
|
-
location:
|
|
79
|
+
location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service20.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node23 = makeLocationNode({
|
|
89
|
+
service: Service20,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node90,
|
|
91
|
+
deps: [node90, node81, node71, node82, node88, node24]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service20, node23, exports_location_lifecycle };
|