@exreve/exk 1.0.52 → 1.0.54

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.
@@ -355,6 +355,8 @@ function envForClaudeCodeChild(_localModel, resolvedProvider) {
355
355
  // ~/.claude/settings.json (which may have ANTHROPIC_BASE_URL set to z.ai)
356
356
  // is never read during the CLI process initialization.
357
357
  env.CLAUDE_CONFIG_DIR = getEmptyConfigDir();
358
+ // Mark as sandbox environment so Claude Code skips root-user checks
359
+ env.IS_SANDBOX = '1';
358
360
  return env;
359
361
  }
360
362
  /** Get env overrides for a local model (adapter proxy URL + dummy key). Returns null if not a local model. */
@@ -724,6 +726,7 @@ export class AgentSessionManager {
724
726
  : '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin';
725
727
  const spawnEnv = {
726
728
  ...env,
729
+ IS_SANDBOX: '1', // Tell Claude Code it's in a sandbox — skip root-user checks
727
730
  PATH: env.PATH || process.env.PATH || defaultPath,
728
731
  ...(isWin
729
732
  ? {
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exreve/exk",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "description": "exk - Control Claude CLI with voice and programmable interfaces",
5
5
  "type": "module",
6
6
  "bin": {