refactor: demo tools/agents (#67)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const os = require("node:os");
|
||||
/**
|
||||
* Get the system info
|
||||
*/
|
||||
exports.get_sysinfo = function getSysinfo() {
|
||||
return `OS: ${os.type()}
|
||||
Arch: ${os.arch()}
|
||||
User: ${process.env["USER"]}`
|
||||
}
|
||||
Reference in New Issue
Block a user