Files
bare-operating-system/packages/bare-os-seeder/kernel/lib/bare/bundles/bareAsyncHooks.js
T
Raven Scott 346bb71ffe Complete the internal “100 task” roadmap: coreutils and shell parity (xargs,
sh, diff/patch, sort, printf, find, test, getfacl/setfacl/xattr), expanded
/proc and metrics (process table, syscalls, replication, net, security
posture, worker budget, swarm/replication hints), initd DAG supervision
metadata and richer restart journal telemetry, synthetic process groups via
IPC (assignProcessGroup/signalProcessGroup) mirrored into process_table,
optional kernel.ext.d incremental hot reload (BARE_OS_KERNEL_EXT_D_HOT_RELOAD)
with reload audit NDJSON, features proc for hyperblobs dedup and systemd
subset documentation, vault threat model doc plus posture fields for AEAD,
Pear enclave pointer, account rotation continuity, and Ed25519 consistency
across boot manifest / extensions / replication. Adds or extends tests and
keeps kernel/ and packages/bare-os-seeder/kernel/ in parity; guest init is
bundled from kernel/lib/init/init-main.js via bundle-kernel-init.
2026-04-04 21:23:49 -04:00

87 lines
3.4 KiB
JavaScript

var __bare_os_bundle_exports__ = (() => {
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// ../../node_modules/bare-async-hooks/index.js
var require_bare_async_hooks = __commonJS({
"../../node_modules/bare-async-hooks/index.js"(exports) {
var AsyncHook = class {
enable() {
}
disable() {
}
};
exports.AsyncHook = AsyncHook;
exports.createHook = function createHook(opts) {
return new AsyncHook(opts);
};
exports.executionAsyncId = function executionAsyncId() {
return -1;
};
exports.triggerAsyncId = function triggerAsyncId() {
return -1;
};
var AsyncResource = class {
bind(fn) {
if (typeof fn !== "function") return fn;
return fn.bind(this);
}
static bind(fn) {
if (typeof fn !== "function") return fn;
return fn.bind(void 0);
}
runInAsyncScope(fn, thisArg, ...args) {
return fn.apply(thisArg, args);
}
emitDestroy() {
}
asyncId() {
return -1;
}
triggerAsyncId() {
return -1;
}
};
exports.AsyncResource = AsyncResource;
}
});
// ../../bare-lib-entry-bareAsyncHooks.js
var bare_lib_entry_bareAsyncHooks_exports = {};
__export(bare_lib_entry_bareAsyncHooks_exports, {
default: () => bare_lib_entry_bareAsyncHooks_default
});
var import_bare_async_hooks = __toESM(require_bare_async_hooks());
var bare_lib_entry_bareAsyncHooks_default = import_bare_async_hooks.default;
return __toCommonJS(bare_lib_entry_bareAsyncHooks_exports);
})();
;(function(){var g=globalThis;var s="__bare_os_stdlib__";g[s]=g[s]||{};var e=typeof __bare_os_bundle_exports__!=="undefined"?__bare_os_bundle_exports__:void 0;var v=e!=null&&typeof e==="object"&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;g[s]["bareAsyncHooks"]=v;})();