@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.
@@ -7128,7 +7128,7 @@ function satisfies(version, range2) {
7128
7128
  }
7129
7129
 
7130
7130
  // src/version.ts
7131
- var KERNEL_VERSION = true ? "1.140.2" : "0.0.0-dev";
7131
+ var KERNEL_VERSION = true ? "1.140.3" : "0.0.0-dev";
7132
7132
  var OS_RELEASE = "6.0.0-slicc";
7133
7133
  function procVersion() {
7134
7134
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -23990,6 +23990,7 @@ function processInit(opts, sab, umask, cred, lane) {
23990
23990
  args: opts.args,
23991
23991
  env: opts.env,
23992
23992
  cwd: opts.cwd,
23993
+ hostname: opts.hostname,
23993
23994
  sab,
23994
23995
  umask,
23995
23996
  cred,
@@ -28248,6 +28249,7 @@ var Launcher = class {
28248
28249
  this.hostname = hostname;
28249
28250
  this.env = {
28250
28251
  ...networkEnv(hostname),
28252
+ HOSTNAME: hostname,
28251
28253
  SLICC_CDP_URL: this.cdp.url,
28252
28254
  ...this.facades.env(),
28253
28255
  ...options.env
@@ -29074,7 +29076,7 @@ var Launcher = class {
29074
29076
  const env = { ...expandDefaults(asked.target.env, seen), ...req.env };
29075
29077
  for (const key of asked.target.unset ?? []) delete env[key];
29076
29078
  delete env[TICKET_ENV];
29077
- env.HOSTNAME = this.hostname;
29079
+ if (asked.target.abi === "wasi") env.HOSTNAME = this.hostname;
29078
29080
  const planned = chosen(asked, env);
29079
29081
  const { target, args } = planned;
29080
29082
  let program;
@@ -29228,6 +29230,7 @@ var Launcher = class {
29228
29230
  ...this.dac ? { dac: this.dac } : {},
29229
29231
  program: req.program,
29230
29232
  changes: this.changes.sab,
29233
+ hostname: this.hostname,
29231
29234
  ...this.heldFor(pid, cwdSlot),
29232
29235
  argv0: req.argv0,
29233
29236
  args: req.args,
@@ -30082,7 +30085,7 @@ var Launcher = class {
30082
30085
  }
30083
30086
  environment(cwd, extra, account, login2 = false) {
30084
30087
  const env = {
30085
- ...login2 ? networkEnv(this.hostname) : this.env,
30088
+ ...login2 ? { ...networkEnv(this.hostname), HOSTNAME: this.hostname } : this.env,
30086
30089
  ...userEnv(account, this.pnpmHome),
30087
30090
  PWD: cwd,
30088
30091
  ...extra