UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

1 lines 574 B
import{c as e,i as t,n,r,s as i}from"./chunk-5MU5Z6L3-CrYztnvh.js";import{fileURLToPath as a}from"url";import{createRequire as o}from"module";import s from"path";o(import.meta.url);const c=a(import.meta.url);s.dirname(c);var l=t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getMachineId=void 0;var a=r(`fs`),o=(n(),i(e));async function s(){for(let e of[`/etc/machine-id`,`/var/lib/dbus/machine-id`])try{return(await a.promises.readFile(e,{encoding:`utf8`})).trim()}catch(e){o.diag.debug(`error reading machine id: ${e}`)}}t.getMachineId=s})();export{l as default};