@runuai/host 0.9.109 → 0.9.110

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.
Files changed (2) hide show
  1. package/lib/agents/grok.ts +11 -1
  2. package/package.json +1 -1
@@ -183,7 +183,17 @@ export class GrokSession implements AgentSession {
183
183
  argv: argv as [string, ...string[]],
184
184
  user: "node",
185
185
  inheritEnv,
186
- env: this.agentEnv,
186
+ env: {
187
+ ...this.agentEnv,
188
+ // Grok gates MCP/LSP servers (even user-scope ones) behind folder
189
+ // trust, and /workspace is never trusted: it is not a git repo and
190
+ // headless runs have no prompt. `grok mcp doctor` on a task machine:
191
+ // "folder untrusted … not started for an untrusted folder"; with this
192
+ // off, "2 healthy". The container/machine IS the isolation boundary —
193
+ // the same reasoning as --permission-mode bypassPermissions above
194
+ // (live 2026-09-08, first Grok agents with MCP servers).
195
+ GROK_FOLDER_TRUST: "0",
196
+ },
187
197
  maxOutputBytes: AGENT_SESSION_OUTPUT_BUFFER_BYTES,
188
198
  };
189
199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runuai/host",
3
- "version": "0.9.109",
3
+ "version": "0.9.110",
4
4
  "description": "Uai host — runs ephemeral AI tasks in containers on a machine you control.",
5
5
  "license": "MIT",
6
6
  "author": "Uai Tech <team@runuai.com>",