@ai-ecoverse/slicc-kernel 1.140.2 → 1.140.3

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/node.js CHANGED
@@ -7514,7 +7514,7 @@ function satisfies(version, range2) {
7514
7514
  }
7515
7515
 
7516
7516
  // src/version.ts
7517
- var KERNEL_VERSION = true ? "1.140.2" : "0.0.0-dev";
7517
+ var KERNEL_VERSION = true ? "1.140.3" : "0.0.0-dev";
7518
7518
  var OS_RELEASE = "6.0.0-slicc";
7519
7519
  function procVersion() {
7520
7520
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -23838,6 +23838,7 @@ function processInit(opts, sab, umask, cred, lane) {
23838
23838
  args: opts.args,
23839
23839
  env: opts.env,
23840
23840
  cwd: opts.cwd,
23841
+ hostname: opts.hostname,
23841
23842
  sab,
23842
23843
  umask,
23843
23844
  cred,
@@ -28164,6 +28165,7 @@ var Launcher = class {
28164
28165
  this.hostname = hostname;
28165
28166
  this.env = {
28166
28167
  ...networkEnv(hostname),
28168
+ HOSTNAME: hostname,
28167
28169
  SLICC_CDP_URL: this.cdp.url,
28168
28170
  ...this.facades.env(),
28169
28171
  ...options.env
@@ -28990,7 +28992,7 @@ var Launcher = class {
28990
28992
  const env = { ...expandDefaults(asked.target.env, seen), ...req.env };
28991
28993
  for (const key of asked.target.unset ?? []) delete env[key];
28992
28994
  delete env[TICKET_ENV];
28993
- env.HOSTNAME = this.hostname;
28995
+ if (asked.target.abi === "wasi") env.HOSTNAME = this.hostname;
28994
28996
  const planned = chosen(asked, env);
28995
28997
  const { target, args } = planned;
28996
28998
  let program;
@@ -29144,6 +29146,7 @@ var Launcher = class {
29144
29146
  ...this.dac ? { dac: this.dac } : {},
29145
29147
  program: req.program,
29146
29148
  changes: this.changes.sab,
29149
+ hostname: this.hostname,
29147
29150
  ...this.heldFor(pid, cwdSlot),
29148
29151
  argv0: req.argv0,
29149
29152
  args: req.args,
@@ -29998,7 +30001,7 @@ var Launcher = class {
29998
30001
  }
29999
30002
  environment(cwd, extra, account, login2 = false) {
30000
30003
  const env = {
30001
- ...login2 ? networkEnv(this.hostname) : this.env,
30004
+ ...login2 ? { ...networkEnv(this.hostname), HOSTNAME: this.hostname } : this.env,
30002
30005
  ...userEnv(account, this.pnpmHome),
30003
30006
  PWD: cwd,
30004
30007
  ...extra