@opencode/core 0.0.0-dev-197 → 0.0.0-dev-201
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 +88 -88
- package/dist/aisdk-native.js +98 -98
- package/dist/aisdk.js +104 -104
- package/dist/app.js +9 -9
- package/dist/bus.js +80 -80
- package/dist/chunks/location-services-00ve6mdn.js +18 -0
- package/dist/chunks/{file-retention-mjzzxa19.js → location-services-01mh9jkm.js} +3 -3
- package/dist/chunks/{file-retention-vtm22ma1.js → location-services-0g64hxqv.js} +21 -21
- package/dist/chunks/{file-retention-byk50ab2.js → location-services-0w3xgafh.js} +9 -9
- package/dist/chunks/{file-retention-11hfp36g.js → location-services-11hfp36g.js} +1 -1
- package/dist/chunks/{file-retention-47r66zre.js → location-services-1b1gv51r.js} +90 -90
- package/dist/chunks/{file-retention-aqwa35rv.js → location-services-1gw76x6h.js} +30 -30
- package/dist/chunks/{file-retention-watjt3p8.js → location-services-1h7j31t8.js} +26 -26
- package/dist/chunks/{file-retention-45nyv10h.js → location-services-1rken8tp.js} +32 -32
- package/dist/chunks/{file-retention-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-3jemhejf.js → location-services-1xf7nfrf.js} +8 -8
- package/dist/chunks/{file-retention-1yq9hg58.js → location-services-1yq9hg58.js} +1 -1
- package/dist/chunks/{file-retention-vcyr9zvk.js → location-services-1zp8bfhq.js} +27 -27
- package/dist/chunks/{file-retention-204s3925.js → location-services-204s3925.js} +1 -1
- package/dist/chunks/{file-retention-1ep2p91f.js → location-services-27w5k9zf.js} +2 -2
- package/dist/chunks/{file-retention-c7m3737k.js → location-services-2aq8spf6.js} +45 -45
- package/dist/chunks/{file-retention-hzs6scc7.js → location-services-2b5hc06j.js} +26 -26
- package/dist/chunks/{file-retention-gc8gtep9.js → location-services-2d01vmvx.js} +1 -1
- package/dist/chunks/{file-retention-44bpj4c9.js → location-services-2f747z2w.js} +24 -24
- package/dist/chunks/{file-retention-gp067yzn.js → location-services-2mc6z38r.js} +11 -11
- package/dist/chunks/{file-retention-h2wv7g1z.js → location-services-2wers40p.js} +32 -32
- package/dist/chunks/{file-retention-vg0erq9k.js → location-services-2zp5a6yg.js} +3 -3
- package/dist/chunks/{file-retention-neary136.js → location-services-31avdb49.js} +6 -6
- package/dist/chunks/{file-retention-zke8k14a.js → location-services-31bqbk2x.js} +11 -11
- package/dist/chunks/{file-retention-mpppa3sy.js → location-services-38shjhjm.js} +1 -1
- package/dist/chunks/{file-retention-vfxqwymt.js → location-services-395g2d1p.js} +51 -51
- package/dist/chunks/{file-retention-ayjs7tqn.js → location-services-3cbjf1nt.js} +2 -2
- package/dist/chunks/{file-retention-d76g5cnb.js → location-services-3cyhhena.js} +12 -12
- package/dist/chunks/{file-retention-8sw03j0e.js → location-services-3gsja8av.js} +12 -12
- package/dist/chunks/{file-retention-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-retention-3s7skkh9.js → location-services-3qe7c5w1.js} +5 -5
- package/dist/chunks/{file-retention-c6x7d2ts.js → location-services-3ryz99p0.js} +4 -4
- package/dist/chunks/{file-retention-1nke647r.js → location-services-3vagpa22.js} +18 -18
- package/dist/chunks/{file-retention-rf0tecrn.js → location-services-42pxhkhe.js} +15 -15
- package/dist/chunks/{file-retention-6qazmz99.js → location-services-43e24x2b.js} +12 -12
- package/dist/chunks/{file-retention-69sb8681.js → location-services-46668phf.js} +9 -9
- package/dist/chunks/location-services-4ftzhtn2.js +410 -0
- package/dist/chunks/{file-retention-4pyp9zr9.js → location-services-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-retention-52hfn8qm.js → location-services-4sx046aw.js} +22 -22
- package/dist/chunks/{file-retention-4v008n1t.js → location-services-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-9zhqn0tq.js → location-services-55dcfv8x.js} +33 -33
- package/dist/chunks/{file-retention-zg0ggtad.js → location-services-5by3bz79.js} +104 -73
- package/dist/chunks/{file-retention-00ay3kdv.js → location-services-5kfhck2s.js} +27 -27
- package/dist/chunks/{file-retention-13efzyg2.js → location-services-5kkvb5q9.js} +24 -24
- package/dist/chunks/{file-retention-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-ckfzcqz5.js → location-services-5pjyqbjm.js} +3 -3
- package/dist/chunks/{file-retention-kez5w1ys.js → location-services-5w0q3qgz.js} +35 -35
- package/dist/chunks/{file-retention-yk6ka46x.js → location-services-63d5p1eg.js} +5 -5
- package/dist/chunks/{file-retention-zf274ksp.js → location-services-64c2pewf.js} +24 -24
- package/dist/chunks/{file-retention-pfayv7n8.js → location-services-69gwve97.js} +21 -21
- package/dist/chunks/{file-retention-pq0g1j3r.js → location-services-6ccbmx30.js} +11 -11
- package/dist/chunks/{file-retention-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-retention-6fkjv1xc.js → location-services-6pca4248.js} +13 -13
- package/dist/chunks/{file-retention-7m8d3k8h.js → location-services-6r25anyw.js} +15 -15
- package/dist/chunks/{file-retention-4n32qr4v.js → location-services-6r8m24fe.js} +9 -9
- package/dist/chunks/{file-retention-5cwy195j.js → location-services-6x9271ts.js} +6 -6
- package/dist/chunks/{file-retention-8p5baybq.js → location-services-6y263vp8.js} +5 -5
- package/dist/chunks/{file-retention-k9ry6nae.js → location-services-702vahjz.js} +18 -18
- package/dist/chunks/{file-retention-n810xmn2.js → location-services-73shg0b5.js} +154 -154
- package/dist/chunks/{file-retention-76cb1hcw.js → location-services-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-retention-nah043kf.js → location-services-770pw0s1.js} +4 -4
- package/dist/chunks/{file-retention-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-wbje33cw.js → location-services-7ene4gkn.js} +4 -4
- package/dist/chunks/{file-retention-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-n7xzwjsb.js → location-services-8a0vbgqw.js} +33 -33
- package/dist/chunks/{file-retention-vjbmgwyr.js → location-services-8efstdn0.js} +55 -55
- package/dist/chunks/{file-retention-6kzgetar.js → location-services-8ehvsr2e.js} +7 -7
- package/dist/chunks/{file-retention-ttqtdfz1.js → location-services-8m5mq5h7.js} +5 -5
- package/dist/chunks/{file-retention-vfpbkdxj.js → location-services-8q0vay4d.js} +29 -29
- package/dist/chunks/{file-retention-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-90zstvax.js → location-services-90zstvax.js} +1 -1
- package/dist/chunks/{file-retention-aqgxz88q.js → location-services-91kqmn6m.js} +23 -23
- package/dist/chunks/{file-retention-vr9ywjng.js → location-services-9bjvbnp5.js} +15 -15
- package/dist/chunks/{file-retention-2eskrrsw.js → location-services-9pjkh98s.js} +14 -14
- package/dist/chunks/{file-retention-7d5ng1a2.js → location-services-9tbaz46k.js} +6 -6
- package/dist/chunks/{file-retention-e8pm465n.js → location-services-9tvpxs1q.js} +4 -4
- package/dist/chunks/{file-retention-ysjrjqrd.js → location-services-9v27091d.js} +17 -17
- package/dist/chunks/{file-retention-ztw3rrzx.js → location-services-9zdg1nht.js} +15 -15
- package/dist/chunks/{file-retention-ab1m5rfy.js → location-services-a0mx2tpn.js} +18 -18
- package/dist/chunks/{file-retention-r564vpxy.js → location-services-a544w0n6.js} +17 -17
- package/dist/chunks/{file-retention-em4evt6c.js → location-services-a6ekb6p5.js} +11 -11
- package/dist/chunks/{file-retention-81x0z535.js → location-services-a6k9xjxk.js} +27 -27
- package/dist/chunks/{file-retention-0evwtgv8.js → location-services-abazfvew.js} +35 -35
- package/dist/chunks/{file-retention-agqd6nxz.js → location-services-agqd6nxz.js} +2 -2
- package/dist/chunks/{file-retention-034tev2y.js → location-services-aj7mw0zk.js} +2 -2
- package/dist/chunks/{file-retention-32hbtqx1.js → location-services-ajhs9baq.js} +8 -8
- package/dist/chunks/{file-retention-njkvgpzw.js → location-services-ann6jqpt.js} +21 -21
- package/dist/chunks/{file-retention-cvv281km.js → location-services-ap4sczth.js} +44 -44
- package/dist/chunks/{file-retention-zzhx4wss.js → location-services-aw1nwnam.js} +11 -11
- package/dist/chunks/{file-retention-c9t2ty9q.js → location-services-b1pn0vxn.js} +4 -4
- package/dist/chunks/{file-retention-b6vsg801.js → location-services-b6vsg801.js} +2 -2
- package/dist/chunks/{file-retention-1cv2vd66.js → location-services-b8ymz842.js} +15 -15
- package/dist/chunks/{file-retention-61ennm6n.js → location-services-bjhzkqyk.js} +4 -4
- package/dist/chunks/{file-retention-b6gbsyrt.js → location-services-bkjbe0jh.js} +1 -1
- package/dist/chunks/{file-retention-zrj29v3f.js → location-services-c3q0wwqw.js} +15 -15
- package/dist/chunks/{file-retention-h6t0znmf.js → location-services-cdj17kd2.js} +9 -9
- package/dist/chunks/location-services-csqm35kb.js +515 -0
- package/dist/chunks/{file-retention-bdzmqtb7.js → location-services-csz5e332.js} +3 -3
- package/dist/chunks/{file-retention-cwrgdav8.js → location-services-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-retention-xq7py0nk.js → location-services-cwzb6akg.js} +18 -18
- package/dist/chunks/{file-retention-n6pb4r7m.js → location-services-cygdy78r.js} +3 -3
- package/dist/chunks/{file-retention-s99cgj3z.js → location-services-d0eapxbw.js} +19 -19
- package/dist/chunks/{file-retention-t5jqs5j7.js → location-services-d0h96hzn.js} +2 -2
- package/dist/chunks/{file-retention-m5n42v94.js → location-services-d3w8c6ae.js} +15 -15
- package/dist/chunks/{file-retention-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-f7jjbss4.js → location-services-dadnkh66.js} +9 -9
- package/dist/chunks/{file-retention-gexzakpg.js → location-services-dbd02vxg.js} +3 -3
- package/dist/chunks/{file-retention-vqe1mp4b.js → location-services-dhseayww.js} +16 -16
- package/dist/chunks/{file-retention-se016j3a.js → location-services-dn59zr14.js} +16 -16
- package/dist/chunks/{file-retention-vmrgyahk.js → location-services-dp2bc5b9.js} +18 -18
- package/dist/chunks/{file-retention-3j1m3tq4.js → location-services-ds7r37yp.js} +5 -5
- package/dist/chunks/{file-retention-dt77769w.js → location-services-dt77769w.js} +1 -1
- package/dist/chunks/{file-retention-dpbhk201.js → location-services-dtz8ehjs.js} +16 -16
- package/dist/chunks/{file-retention-hdfrs5mg.js → location-services-e2x7gzav.js} +7 -7
- package/dist/chunks/{file-retention-h3nbc66p.js → location-services-e609836v.js} +25 -25
- package/dist/chunks/{file-retention-phacckca.js → location-services-e7wnnxma.js} +13 -13
- package/dist/chunks/{file-retention-e834z07m.js → location-services-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-gg8p9cgs.js → location-services-ep59zg61.js} +3 -3
- package/dist/chunks/{file-retention-yjdt6y29.js → location-services-ewr5k9wg.js} +8 -8
- package/dist/chunks/{file-retention-bckyc6k9.js → location-services-ezpa2rgc.js} +6 -6
- package/dist/chunks/{file-retention-p2x3qxk9.js → location-services-f12bs9yg.js} +11 -11
- package/dist/chunks/{file-retention-4xqce2n5.js → location-services-f2ykvxgv.js} +11 -11
- package/dist/chunks/{file-retention-36g55jbn.js → location-services-f6fa8ktk.js} +30 -30
- package/dist/chunks/{file-retention-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-fg9p65nk.js → location-services-fg9p65nk.js} +2 -2
- package/dist/chunks/{file-retention-hr6qbbbj.js → location-services-fgxw29yc.js} +28 -28
- package/dist/chunks/{file-retention-05r0g2r7.js → location-services-fswr6j0v.js} +3 -3
- package/dist/chunks/{file-retention-tvps0thf.js → location-services-ftmjfqeg.js} +7 -7
- package/dist/chunks/{file-retention-xt6yj4t6.js → location-services-g1sszzvh.js} +22 -22
- package/dist/chunks/{file-retention-yg021pr4.js → location-services-g2hh2b2h.js} +10 -10
- package/dist/chunks/{file-retention-2mbjfaxd.js → location-services-g42b6ca9.js} +4 -4
- package/dist/chunks/{file-retention-55yn0q28.js → location-services-g97pjfkw.js} +11 -11
- package/dist/chunks/{file-retention-8b5hhaf2.js → location-services-gfk8shh2.js} +7 -7
- package/dist/chunks/{file-retention-b0hsmqv0.js → location-services-gkdfcy6p.js} +23 -23
- package/dist/chunks/{file-retention-gqqeyx1x.js → location-services-gm2a68z7.js} +16 -16
- package/dist/chunks/{file-retention-1vt7zj53.js → location-services-gm8h4frt.js} +9 -9
- package/dist/chunks/{file-retention-geg17xg0.js → location-services-gnmrya69.js} +29 -29
- package/dist/chunks/{file-retention-xt0z8zst.js → location-services-gtn9c16a.js} +4 -4
- package/dist/chunks/{file-retention-x592j5n8.js → location-services-gw2pq1m3.js} +24 -24
- package/dist/chunks/{file-retention-ae8yhtn6.js → location-services-gwjnap29.js} +25 -25
- package/dist/chunks/{file-retention-527s141c.js → location-services-h9w9z87g.js} +8 -8
- package/dist/chunks/{file-retention-81rf7y7z.js → location-services-hc5tnge5.js} +11 -11
- package/dist/chunks/{file-retention-k09ty2nz.js → location-services-he00d8qs.js} +21 -21
- package/dist/chunks/{file-retention-8p4fey4p.js → location-services-hh7psv2k.js} +11 -11
- package/dist/chunks/{file-retention-hpg1pkwy.js → location-services-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-retention-9tsn38wb.js → location-services-hqcwe82e.js} +25 -25
- package/dist/chunks/{file-retention-3vxknmvb.js → location-services-hqe124ch.js} +12 -12
- package/dist/chunks/{file-retention-0anyt1n6.js → location-services-hvy79q2t.js} +9 -9
- package/dist/chunks/{file-retention-rpgqzgsw.js → location-services-hw5kz99h.js} +13 -13
- package/dist/chunks/{file-retention-q6tw3efa.js → location-services-hwn8hb14.js} +35 -35
- package/dist/chunks/{file-retention-cm18kf9d.js → location-services-hz5mdqd1.js} +14 -14
- package/dist/chunks/{file-retention-d2rkekdg.js → location-services-j2nwqr75.js} +6 -6
- package/dist/chunks/{file-retention-7yb883t5.js → location-services-j5e69w9m.js} +46 -46
- package/dist/chunks/{file-retention-jfaecv01.js → location-services-jfaecv01.js} +1 -1
- package/dist/chunks/{file-retention-6e5dkec4.js → location-services-jhh81dyr.js} +38 -38
- package/dist/chunks/{file-retention-jtnps1zs.js → location-services-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-retention-hs9b4b47.js → location-services-k03zy2hn.js} +9 -9
- package/dist/chunks/{file-retention-zptqqsqr.js → location-services-k7023vhv.js} +58 -58
- package/dist/chunks/{file-retention-bm4gstpq.js → location-services-k7fcp7vh.js} +8 -8
- package/dist/chunks/{file-retention-k814nvkf.js → location-services-k814nvkf.js} +1 -1
- package/dist/chunks/{file-retention-e07q2w5p.js → location-services-k9zkdd2y.js} +4 -4
- package/dist/chunks/{file-retention-c0ycfh2w.js → location-services-kajq6kw3.js} +14 -14
- package/dist/chunks/{file-retention-ks3c9cqr.js → location-services-kep2v7tx.js} +36 -36
- package/dist/chunks/{file-retention-qqppq1tw.js → location-services-kh99ak1n.js} +8 -8
- package/dist/chunks/{file-retention-fc5at3zt.js → location-services-kn8g1zqp.js} +17 -17
- package/dist/chunks/{file-retention-g8zf12h5.js → location-services-kpe2ster.js} +15 -15
- package/dist/chunks/{file-retention-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-retention-m1714858.js → location-services-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-m37sd98t.js → location-services-m37sd98t.js} +1 -1
- package/dist/chunks/{file-retention-s52g94eq.js → location-services-m4376bw8.js} +12 -12
- package/dist/chunks/{file-retention-rcdgzwjt.js → location-services-m7bmrshs.js} +20 -20
- package/dist/chunks/{file-retention-qz087kyw.js → location-services-m7ee3x5c.js} +8 -8
- package/dist/chunks/{file-retention-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-as3sm64x.js → location-services-ma5c6kmc.js} +8 -8
- package/dist/chunks/{file-retention-97z6p5c2.js → location-services-mafwm63e.js} +25 -25
- package/dist/chunks/{file-retention-m4bjc8bw.js → location-services-mcsw7q1w.js} +12 -12
- package/dist/chunks/{file-retention-d7ezq276.js → location-services-me57jfex.js} +11 -11
- package/dist/chunks/{file-retention-z4efjq9s.js → location-services-mjyhtj6b.js} +28 -28
- package/dist/chunks/{file-retention-6dzgygyw.js → location-services-mtx8ysqm.js} +50 -50
- package/dist/chunks/{file-retention-sg08nake.js → location-services-mwm9x9q2.js} +16 -16
- package/dist/chunks/{file-retention-ft8xs19g.js → location-services-mwya9ecc.js} +18 -18
- package/dist/chunks/{file-retention-nmcr2840.js → location-services-n6wm1y8w.js} +37 -37
- package/dist/chunks/{file-retention-qsee9sfb.js → location-services-n7d88tpn.js} +2 -2
- package/dist/chunks/location-services-nb8ms8t2.js +257 -0
- package/dist/chunks/{file-retention-02zav387.js → location-services-ne9mmrs0.js} +9 -9
- package/dist/chunks/{file-retention-ka9dq9bh.js → location-services-nggscxdc.js} +13 -13
- package/dist/chunks/{file-retention-3n9k8ktf.js → location-services-nrdzy92p.js} +13 -13
- package/dist/chunks/{file-retention-m8210qzt.js → location-services-nv66c0g2.js} +12 -12
- package/dist/chunks/{file-retention-p015t6z3.js → location-services-p015t6z3.js} +2 -2
- package/dist/chunks/{file-retention-pbbktnbz.js → location-services-pkf3y2cc.js} +4 -4
- package/dist/chunks/{file-retention-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-42x4te7c.js → location-services-pmx7hay9.js} +10 -10
- package/dist/chunks/{file-retention-efer459w.js → location-services-pqbq7shd.js} +6 -6
- package/dist/chunks/{file-retention-k3rsaqe1.js → location-services-pt8q01rp.js} +10 -10
- package/dist/chunks/location-services-pxqj8rbj.js +26 -0
- package/dist/chunks/{file-retention-f4r5xwfc.js → location-services-q1h8wfhm.js} +16 -16
- package/dist/chunks/{file-retention-gv60x5cq.js → location-services-q3ytx1n6.js} +90 -90
- package/dist/chunks/{file-retention-q98fvpa3.js → location-services-q75hjfnr.js} +4 -4
- package/dist/chunks/{file-retention-qwpavc5r.js → location-services-qggetshm.js} +32 -32
- package/dist/chunks/{file-retention-yara3q77.js → location-services-qkw2jr9b.js} +2 -2
- package/dist/chunks/{file-retention-qp7r0hxv.js → location-services-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-retention-71ffcwx2.js → location-services-qvba1qmh.js} +30 -30
- package/dist/chunks/{file-retention-ycarv14j.js → location-services-qzy6y7mb.js} +3 -3
- package/dist/chunks/{file-retention-zzjadyyc.js → location-services-r0ft14n5.js} +21 -21
- package/dist/chunks/{file-retention-r0yr0wbs.js → location-services-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-retention-b36ttk86.js → location-services-r1x2w1ym.js} +6 -6
- package/dist/chunks/{file-retention-7mfyhxd7.js → location-services-r487f7wy.js} +24 -24
- package/dist/chunks/{file-retention-y49ten0s.js → location-services-r4fe16v6.js} +32 -32
- package/dist/chunks/{file-retention-r542h3bh.js → location-services-r542h3bh.js} +1 -1
- package/dist/chunks/{file-retention-g5swcsby.js → location-services-ra4hznbt.js} +12 -12
- package/dist/chunks/{file-retention-v5hpj9dd.js → location-services-ra6js1h8.js} +8 -8
- package/dist/chunks/{file-retention-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-qgfsr1ak.js → location-services-rd7zvbs4.js} +17 -17
- package/dist/chunks/{file-retention-j1ptedcn.js → location-services-rezqpw0g.js} +21 -21
- package/dist/chunks/{file-retention-cebftnbm.js → location-services-rqmcybmq.js} +31 -31
- package/dist/chunks/{file-retention-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-hcjxzb33.js → location-services-rvkbhdv1.js} +6 -6
- package/dist/chunks/{file-retention-3k3wyk17.js → location-services-rya6xdym.js} +24 -24
- package/dist/chunks/{file-retention-s7gmm2q3.js → location-services-s7gmm2q3.js} +3 -3
- package/dist/chunks/{file-retention-jvshpvt0.js → location-services-s7p6whyp.js} +4 -4
- package/dist/chunks/{file-retention-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-retention-hs9c5tve.js → location-services-se9a988r.js} +30 -30
- package/dist/chunks/{file-retention-7qqd2nx3.js → location-services-sk5ey1ff.js} +4 -4
- package/dist/chunks/{file-retention-5mm8f81r.js → location-services-sngd0g0b.js} +5 -5
- package/dist/chunks/{file-retention-7vher5vz.js → location-services-sptzjft0.js} +17 -17
- package/dist/chunks/{file-retention-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-retention-9xnya6re.js → location-services-sty3kahr.js} +9 -9
- package/dist/chunks/{file-retention-svcy3p9a.js → location-services-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-retention-pehfm7w7.js → location-services-svjraj3c.js} +19 -19
- package/dist/chunks/{file-retention-84hv32w5.js → location-services-szv4nqnj.js} +32 -32
- package/dist/chunks/{file-retention-vnjwe8gy.js → location-services-t24rj6wz.js} +11 -11
- package/dist/chunks/{file-retention-asxv01zn.js → location-services-t5gkqm34.js} +47 -47
- package/dist/chunks/{file-retention-wczydp3b.js → location-services-t60595ww.js} +2 -2
- package/dist/chunks/{file-retention-t0yv98de.js → location-services-t784ja64.js} +2 -2
- package/dist/chunks/{file-retention-pk1jk6nd.js → location-services-tas7fs57.js} +10 -10
- package/dist/chunks/{file-retention-e8ywph5q.js → location-services-tbbrpwak.js} +48 -48
- package/dist/chunks/{file-retention-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-cg3fcpn4.js → location-services-tn5gxkrv.js} +6 -6
- package/dist/chunks/{file-retention-twssxy5n.js → location-services-twssxy5n.js} +2 -2
- package/dist/chunks/{file-retention-z3h17q8g.js → location-services-v0gec4ky.js} +25 -25
- package/dist/chunks/{file-retention-v0t96s7a.js → location-services-v0t96s7a.js} +1 -1
- package/dist/chunks/{file-retention-zcd9d9xm.js → location-services-v1heev1a.js} +25 -25
- package/dist/chunks/{file-retention-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-1kfywa72.js → location-services-vetf84hs.js} +4 -4
- package/dist/chunks/{file-retention-z79z9k8j.js → location-services-vj7gf67a.js} +9 -9
- package/dist/chunks/{file-retention-tmpm4r5r.js → location-services-vk0mqcpj.js} +11 -11
- package/dist/chunks/{file-retention-76z54svf.js → location-services-vks33rvn.js} +22 -22
- package/dist/chunks/{file-retention-dcj312nn.js → location-services-vr95fah1.js} +5 -5
- package/dist/chunks/{file-retention-6twykydk.js → location-services-vrcsa8qx.js} +9 -9
- package/dist/chunks/{file-retention-4pbrjawp.js → location-services-vstygr49.js} +36 -36
- package/dist/chunks/{file-retention-vsqvcqta.js → location-services-vzppetdn.js} +6 -6
- package/dist/chunks/{file-retention-jd833z4n.js → location-services-w0dy55r8.js} +13 -13
- package/dist/chunks/{file-retention-w2eysc6j.js → location-services-w2eysc6j.js} +2 -2
- package/dist/chunks/{file-retention-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-gw7rtptf.js → location-services-w42rwbpm.js} +11 -11
- package/dist/chunks/{file-retention-0t1gh2k2.js → location-services-wab3t0nt.js} +18 -18
- package/dist/chunks/{file-retention-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-wnhgecwx.js → location-services-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-retention-0h8y3ex8.js → location-services-wr3re1en.js} +4 -4
- package/dist/chunks/{file-retention-saw0xt7z.js → location-services-wrdfsmbk.js} +25 -25
- package/dist/chunks/{file-retention-xwmq2dcw.js → location-services-wzp9wckv.js} +17 -17
- package/dist/chunks/{file-retention-e0w63sys.js → location-services-x6x2eb9s.js} +22 -22
- package/dist/chunks/{file-retention-xd9cc171.js → location-services-xd9cc171.js} +1 -1
- package/dist/chunks/{file-retention-w8xr7nv8.js → location-services-xh49vxj8.js} +5 -5
- package/dist/chunks/{file-retention-481gxrfg.js → location-services-xhyfvswv.js} +2 -2
- package/dist/chunks/{file-retention-1apykrxj.js → location-services-xkr18nqd.js} +43 -43
- package/dist/chunks/{file-retention-m80e7yhz.js → location-services-xnawt8mb.js} +1 -1
- package/dist/chunks/{file-retention-kbs230cz.js → location-services-xtj9bp1x.js} +11 -11
- package/dist/chunks/{file-retention-1m8zk9rp.js → location-services-y7xh4g9a.js} +9 -9
- package/dist/chunks/{file-retention-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-1024y9y6.js → location-services-yg6mcpcz.js} +2 -2
- package/dist/chunks/{file-retention-1r7af8ee.js → location-services-ymz7p2c9.js} +3 -3
- package/dist/chunks/{file-retention-bt45xqy1.js → location-services-yp6t9n48.js} +19 -19
- package/dist/chunks/{file-retention-rgzggw2r.js → location-services-yqhz1kx0.js} +2 -2
- package/dist/chunks/{file-retention-pntz5nv8.js → location-services-yry8y2z0.js} +17 -17
- package/dist/chunks/{file-retention-g8wyr0p0.js → location-services-ywbjnqrq.js} +13 -13
- package/dist/chunks/{file-retention-tps1nyr3.js → location-services-z0wqvcxr.js} +22 -22
- package/dist/chunks/{file-retention-c9re5j8a.js → location-services-z1m0y3dj.js} +22 -22
- package/dist/chunks/location-services-z356t07w.js +39 -0
- package/dist/chunks/{file-retention-z38nccrw.js → location-services-z38nccrw.js} +1 -1
- package/dist/chunks/{file-retention-drerwy6v.js → location-services-z6v532az.js} +3 -3
- package/dist/chunks/{file-retention-xcj09269.js → location-services-z8f86d31.js} +8 -8
- package/dist/chunks/{file-retention-24xmfd7w.js → location-services-za14dw9p.js} +16 -16
- package/dist/chunks/{file-retention-fbh8zj85.js → location-services-zdmnyygs.js} +2 -2
- package/dist/chunks/{file-retention-hz6fz10g.js → location-services-zk2gvj1a.js} +23 -23
- package/dist/chunks/{file-retention-z2d0yvk9.js → location-services-zp8re2db.js} +22 -22
- 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 +88 -88
- package/dist/config/discovery.js +91 -91
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -108
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +220 -220
- package/dist/config/plugin/compaction.js +163 -163
- package/dist/config/plugin/compatibility.js +143 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +122 -122
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +139 -139
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -88
- package/dist/database/database.js +77 -77
- 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.gen.js +56 -56
- package/dist/database/migration.js +58 -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 +99 -99
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +380 -378
- 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 +102 -102
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +102 -102
- 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 +81 -81
- package/dist/file-access.js +149 -149
- package/dist/file-mutation.js +103 -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 +87 -87
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +229 -229
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +111 -111
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -96
- package/dist/generate.js +116 -116
- 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 +100 -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 +371 -369
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +92 -92
- package/dist/job.js +85 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -80
- package/dist/location-activity.js +167 -167
- package/dist/location-lifecycle.js +143 -143
- package/dist/location-service-map.js +95 -95
- package/dist/location-services.js +368 -366
- package/dist/location.js +96 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +100 -100
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +169 -169
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -99
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +106 -106
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +146 -146
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -82
- package/dist/plugin/agent.js +81 -81
- package/dist/plugin/command.js +109 -109
- package/dist/plugin/goal.js +16 -0
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -228
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +340 -339
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -106
- package/dist/plugin/module.js +124 -124
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +139 -139
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +99 -99
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -122
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -102
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -104
- package/dist/plugin/provider/gitlab.js +102 -102
- package/dist/plugin/provider/google-vertex.js +119 -119
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -85
- package/dist/plugin/provider/lmstudio.js +131 -131
- package/dist/plugin/provider/local.js +128 -128
- package/dist/plugin/provider/modal.js +101 -101
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +129 -129
- package/dist/plugin/provider/openai-context-caps.js +99 -99
- package/dist/plugin/provider/openai.js +122 -122
- package/dist/plugin/provider/opencode.js +125 -125
- package/dist/plugin/provider/openrouter.js +100 -100
- package/dist/plugin/provider/poe.js +86 -86
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -100
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/vllm.js +131 -131
- package/dist/plugin/provider/xai.js +100 -100
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +172 -172
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +355 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +95 -95
- package/dist/plugin/vcs/hg.js +95 -95
- package/dist/plugin/verbosity.js +102 -102
- package/dist/plugin/warming.js +120 -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 +233 -233
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +97 -97
- package/dist/reference.js +97 -97
- package/dist/repository-cache.js +89 -89
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -106
- package/dist/rpc.js +95 -95
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +231 -231
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +8 -0
- package/dist/session/blob.js +121 -121
- package/dist/session/command.js +81 -81
- package/dist/session/compaction.js +165 -165
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +97 -97
- 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 +232 -232
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +191 -191
- package/dist/session/history.js +128 -128
- package/dist/session/inbox.js +141 -141
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +133 -133
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -156
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +135 -135
- package/dist/session/prompt.js +141 -141
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -131
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -237
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +142 -142
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +153 -153
- package/dist/session/runner/to-llm-message.js +129 -129
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +136 -136
- package/dist/session/skill.js +140 -140
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +134 -134
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +220 -220
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +187 -187
- package/dist/session/to-session-error.js +141 -141
- package/dist/session/transfer.js +229 -229
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +144 -144
- package/dist/skill.js +149 -149
- package/dist/snapshot.js +100 -100
- 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 +168 -168
- package/dist/tool/plugin/edit.js +157 -157
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -161
- package/dist/tool/plugin/grep.js +161 -161
- package/dist/tool/plugin/mcp-resource.js +155 -155
- package/dist/tool/plugin/opencode.js +154 -154
- package/dist/tool/plugin/patch.js +159 -159
- package/dist/tool/plugin/question.js +141 -141
- package/dist/tool/plugin/read.js +160 -160
- package/dist/tool/plugin/shell.js +225 -225
- package/dist/tool/plugin/skill.js +150 -150
- package/dist/tool/plugin/subagent.js +227 -227
- package/dist/tool/plugin/todo.js +146 -146
- package/dist/tool/plugin/webfetch.js +148 -148
- package/dist/tool/plugin/websearch.js +148 -148
- package/dist/tool/plugin/write.js +159 -159
- package/dist/tool/read-filesystem.js +109 -109
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/plugin/goal.d.ts +8 -0
- package/dist/types/session/background.d.ts +26 -0
- package/dist/types/session/runner/index.d.ts +16 -0
- package/dist/usage-limits.js +96 -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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +101 -101
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +100 -100
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +96 -96
- package/dist/voice.js +95 -95
- package/dist/websearch.js +87 -87
- package/dist/wellknown/plugin.js +83 -83
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- 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 +98 -98
- package/dist/worktree.js +105 -105
- package/package.json +10 -10
- package/dist/chunks/file-retention-8x060fmy.js +0 -18
- package/dist/chunks/file-retention-aqy09njx.js +0 -511
- package/dist/chunks/file-retention-hccc1d27.js +0 -26
- package/dist/chunks/file-retention-yxdzradw.js +0 -257
- /package/dist/chunks/{file-retention-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1jakw16s.js → location-services-1jakw16s.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a058387c.js → location-services-a058387c.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-beh6qq61.js → location-services-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-myztnk54.js → location-services-myztnk54.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-ncqqe42p.js → location-services-ncqqe42p.js} +0 -0
- /package/dist/chunks/{file-retention-nh4v3znn.js → location-services-nh4v3znn.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p71gwv9c.js → location-services-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gnmrya69.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./location-services-mjyhtj6b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin42,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin42 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service73;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin42, exports_verbosity };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-dn59zr14.js";
|
|
5
5
|
import {
|
|
6
6
|
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-xd9cc171.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service82,
|
|
17
|
+
node86
|
|
18
|
+
} from "./location-services-m7bmrshs.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-204s3925.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event20,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info30,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service81,
|
|
36
36
|
Source: () => Source5,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node85
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event20 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
46
|
var Source5 = Reference.Source;
|
|
47
|
-
var
|
|
47
|
+
var Info30 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service81 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
|
-
const bus = yield*
|
|
54
|
-
const cache = yield*
|
|
53
|
+
const bus = yield* Service84;
|
|
54
|
+
const cache = yield* Service82;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info30.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse5(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info30.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service81.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node85 = makeLocationNode({
|
|
117
|
+
service: Service81,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node,
|
|
119
|
+
deps: [Global.node, node88, node86]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source5,
|
|
122
|
+
export { LocalSource2, GitSource2, Source5, Info30, Service81, node85, exports_reference2, Event20 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service86,
|
|
3
|
-
node90
|
|
4
|
-
} from "./file-retention-vnjwe8gy.js";
|
|
5
1
|
import {
|
|
6
2
|
Service85,
|
|
7
3
|
node89
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./location-services-t24rj6wz.js";
|
|
5
|
+
import {
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./location-services-dn59zr14.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node66
|
|
12
|
+
} from "./location-services-q1h8wfhm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service61,
|
|
15
|
+
node65
|
|
16
|
+
} from "./location-services-tn5gxkrv.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make19
|
|
22
|
+
} from "./location-services-b1pn0vxn.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service58
|
|
26
|
+
} from "./location-services-g42b6ca9.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service66,
|
|
29
|
+
node70
|
|
30
|
+
} from "./location-services-42pxhkhe.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-vr95fah1.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-services-szv4nqnj.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-services-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service57,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer22,
|
|
47
|
+
node: () => node62,
|
|
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 Service57 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ 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*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
62
|
+
var layer22 = Layer.effect(Service57, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service66;
|
|
64
|
+
const instances = yield* Service61;
|
|
65
|
+
const bus = yield* Service84;
|
|
66
|
+
const jobs = yield* Service62;
|
|
67
|
+
const db = (yield* Service85).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) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -72,18 +72,18 @@ var layer21 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
const releaseOnCommit = (sessionID) => ({
|
|
73
73
|
commit: () => store.release(sessionID)
|
|
74
74
|
});
|
|
75
|
-
const drain = Effect.fnUntraced(function* (sessionID, force, continuation, promotable = "input") {
|
|
75
|
+
const drain = Effect.fnUntraced(function* (sessionID, force, continuation, promotable = "input", stepped = false) {
|
|
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* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).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
|
-
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
|
-
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
82
|
+
Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
|
|
83
|
+
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable, result.stepped)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make19({
|
|
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(Service44, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service57.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(Service44, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node62 = makeGlobalNode({
|
|
127
|
+
service: Service57,
|
|
128
|
+
layer: layer22,
|
|
129
|
+
deps: [node70, node65, node88, node89, node66]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service57, Service57.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(Service44, Service44.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service57, terminal2, layer22, node62, noopLayer3, exports_execution };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-dn59zr14.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./location-services-8q0vay4d.js";
|
|
11
11
|
import {
|
|
12
12
|
changes2,
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-204s3925.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-bjhzkqyk.js";
|
|
18
18
|
import {
|
|
19
19
|
validateAnswer2,
|
|
20
20
|
validateFields2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-dhseayww.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/integration.ts
|
|
27
27
|
var exports_integration2 = {};
|
|
@@ -36,18 +36,18 @@ __export(exports_integration2, {
|
|
|
36
36
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
37
37
|
CommandMethod: () => CommandMethod2,
|
|
38
38
|
EnvMethod: () => EnvMethod2,
|
|
39
|
-
Event: () =>
|
|
39
|
+
Event: () => Event16,
|
|
40
40
|
ExternalMethod: () => ExternalMethod2,
|
|
41
41
|
ID: () => ID14,
|
|
42
|
-
Info: () =>
|
|
42
|
+
Info: () => Info23,
|
|
43
43
|
Integration: () => exports_integration2,
|
|
44
44
|
KeyMethod: () => KeyMethod2,
|
|
45
45
|
Method: () => Method2,
|
|
46
46
|
MethodID: () => MethodID2,
|
|
47
47
|
OAuthMethod: () => OAuthMethod2,
|
|
48
48
|
Ref: () => Ref4,
|
|
49
|
-
Service: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
Service: () => Service75,
|
|
50
|
+
node: () => node79
|
|
51
51
|
});
|
|
52
52
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
53
53
|
import {
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import { Integration } from "@opencode/schema/integration";
|
|
70
70
|
import { AppProcess } from "@opencode/util/process";
|
|
71
71
|
import { ChildProcess } from "effect/process";
|
|
72
|
-
import { Event as
|
|
72
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
73
73
|
var ID14 = Integration.ID;
|
|
74
74
|
var MethodID2 = Integration.MethodID;
|
|
75
75
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
79
79
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
80
80
|
var EnvMethod2 = Integration.EnvMethod;
|
|
81
81
|
var Method2 = Integration.Method;
|
|
82
|
-
var
|
|
82
|
+
var Info23 = Integration.Info;
|
|
83
83
|
var Attempt2 = Integration.Attempt;
|
|
84
84
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
85
85
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -108,14 +108,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
108
108
|
}
|
|
109
109
|
var Ref4 = Integration.Ref;
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service75 extends Context.Service()("@opencode/Integration") {
|
|
112
112
|
}
|
|
113
113
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
114
114
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
115
115
|
var scrubInterval = Duration.seconds(30);
|
|
116
|
-
var layer = Layer.effect(
|
|
117
|
-
const credentials = yield*
|
|
118
|
-
const bus = yield*
|
|
116
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
117
|
+
const credentials = yield* Service76;
|
|
118
|
+
const bus = yield* Service84;
|
|
119
119
|
const processes = yield* AppProcess.Service;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
121
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
225
225
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
226
226
|
return [...credentials, ...env];
|
|
227
227
|
};
|
|
228
|
-
const project = (entry, connections) =>
|
|
228
|
+
const project = (entry, connections) => Info23.make({
|
|
229
229
|
id: entry.ref.id,
|
|
230
230
|
name: entry.ref.name,
|
|
231
231
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
462
462
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
463
463
|
return CommandAttempt2.make({ attemptID, time });
|
|
464
464
|
});
|
|
465
|
-
return
|
|
465
|
+
return Service75.of({
|
|
466
466
|
transform: state.transform,
|
|
467
467
|
reload: state.reload,
|
|
468
468
|
revision: state.revision,
|
|
@@ -655,10 +655,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
655
655
|
}
|
|
656
656
|
});
|
|
657
657
|
}));
|
|
658
|
-
var
|
|
659
|
-
service:
|
|
658
|
+
var node79 = makeLocationNode({
|
|
659
|
+
service: Service75,
|
|
660
660
|
layer,
|
|
661
|
-
deps: [
|
|
661
|
+
deps: [node80, node88, AppProcess.node]
|
|
662
662
|
});
|
|
663
663
|
|
|
664
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2,
|
|
664
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service75, node79, exports_integration2, Event16 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-1jakw16s.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-s7gmm2q3.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-204s3925.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service56,
|
|
17
|
+
node61
|
|
18
|
+
} from "./location-services-cdj17kd2.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service79,
|
|
21
|
+
node83
|
|
22
|
+
} from "./location-services-m7ee3x5c.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-z38nccrw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service55,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node60
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai/effect";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service55 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service79;
|
|
58
|
+
const image = yield* Service56;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
198
198
|
}), { discard: true });
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
|
-
return
|
|
201
|
+
return Service55.of({
|
|
202
202
|
transform: state.transform,
|
|
203
203
|
reload: state.reload,
|
|
204
204
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -293,10 +293,10 @@ function namespaceError(name) {
|
|
|
293
293
|
return;
|
|
294
294
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
295
295
|
}
|
|
296
|
-
var
|
|
297
|
-
service:
|
|
296
|
+
var node60 = makeLocationNode({
|
|
297
|
+
service: Service55,
|
|
298
298
|
layer,
|
|
299
|
-
deps: [
|
|
299
|
+
deps: [node83, node61]
|
|
300
300
|
});
|
|
301
301
|
|
|
302
|
-
export { RegistrationError2,
|
|
302
|
+
export { RegistrationError2, Service55, node60, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service38,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node41
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service38 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service38.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node41 = makeLocationNode({
|
|
143
|
+
service: Service38,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service38, node41, exports_tool_output2 };
|