@rallycry/conveyor-agent 11.0.12 → 11.0.14

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.
@@ -6956,8 +6956,20 @@ var CodexTuiAdapter = class {
6956
6956
  cli_auth_credentials_store: "file",
6957
6957
  sqlite_home: codexSqliteHome(this.env),
6958
6958
  approval_policy: "never",
6959
- sandbox_mode: input.options.permissionMode === "plan" ? "read-only" : "danger-full-access",
6960
- developer_instructions: input.options.appendSystemPrompt ?? "",
6959
+ // Always full access, plan mode included. Codex's own read-only mode is
6960
+ // bubblewrap on Linux, which needs user namespaces the GKE pod spec
6961
+ // forbids (seccomp RuntimeDefault, no unprivileged userns): every shell
6962
+ // command died with "bwrap: No permissions to create a new namespace"
6963
+ // before it started. A non-full-access sandbox under approval_policy
6964
+ // "never" also rejects every mutating MCP call ("MCP tool call requires
6965
+ // approval"), so the agent could not even report the blocker. Plan
6966
+ // sessions stay read-only the way Claude and OpenCode plan sessions do:
6967
+ // reader GitHub token, mode prompt, disposable pod.
6968
+ sandbox_mode: "danger-full-access",
6969
+ developer_instructions: [
6970
+ input.options.appendSystemPrompt,
6971
+ "Conveyor workflow skills are stored in .claude/skills in the workspace. When instructed to run a /skill-name skill, read .claude/skills/skill-name/SKILL.md and follow its instructions. This is a file-based workflow, not a native slash command."
6972
+ ].filter(Boolean).join("\n\n"),
6961
6973
  mcp_servers: codexMcpConfig(input.mcpEntries ?? {}),
6962
6974
  projects: { [trustedCwd]: { trust_level: "trusted" } }
6963
6975
  };
@@ -14009,7 +14021,7 @@ function sessionFileExists(sessionUuid, cwd) {
14009
14021
  }
14010
14022
  function hasExistingSessionFile(taskId, cwd, lineage) {
14011
14023
  const key = sessionLineageKey(taskId, lineage.agentMode, lineage.runnerMode);
14012
- if (process.env.CONVEYOR_TUI === "codex" && lineage.runnerMode !== "code-review") {
14024
+ if (process.env.CONVEYOR_TUI === "codex") {
14013
14025
  return !!readCodexLineage(taskIdToSessionUuid(key), cwd);
14014
14026
  }
14015
14027
  return sessionFileExists(taskIdToSessionUuid(key), cwd);
@@ -14329,7 +14341,7 @@ async function runSdkQuery(host, context, followUpContent, promptDeliveryOverrid
14329
14341
  const sessionStart = resolveSessionStart(
14330
14342
  sessionLineageKey(context.taskId, mode, host.config.mode),
14331
14343
  host.config.workspaceDir,
14332
- host.config.mode === "code-review" ? "claude-code" : process.env.CONVEYOR_TUI
14344
+ host.config.mode === "code-review" && process.env.CONVEYOR_TUI !== "codex" ? "claude-code" : process.env.CONVEYOR_TUI
14333
14345
  );
14334
14346
  const hasExistingSession = !!sessionStart.resume;
14335
14347
  const promptDelivery = promptDeliveryOverride ?? resolvePromptDelivery({
@@ -14751,7 +14763,7 @@ function resolveHarnessKind() {
14751
14763
  return "pty";
14752
14764
  }
14753
14765
  function resolveCardTui(mode) {
14754
- if (mode === "code-review") return "claude-code";
14766
+ if (mode === "code-review" && process.env.CONVEYOR_TUI !== "codex") return "claude-code";
14755
14767
  return resolveTuiKindFromEnv(process.env);
14756
14768
  }
14757
14769
  function buildPtyBridge(connection, onBackgroundTaskDone) {
package/dist/cli.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  resolveTuiKindFromEnv,
28
28
  runUsageProbe,
29
29
  sampleKeyUsage
30
- } from "./chunk-ZNRF5EFU.js";
30
+ } from "./chunk-LZWCJHVN.js";
31
31
  import "./chunk-SR66HQKB.js";
32
32
  import {
33
33
  inheritedEnv,
@@ -615,7 +615,7 @@ function buildReviewChildEnv(baseEnv, data) {
615
615
  delete env.CONVEYOR_GIT_READY_MARKER;
616
616
  delete env.CONVEYOR_AGENT_MODE;
617
617
  delete env.CONVEYOR_IS_AUTO;
618
- delete env.CONVEYOR_TUI;
618
+ if (env.CONVEYOR_TUI !== "codex") delete env.CONVEYOR_TUI;
619
619
  return env;
620
620
  }
621
621
  var ReviewChildSupervisor = class {
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SessionRunner,
3
3
  unshallowRepo
4
- } from "./chunk-ZNRF5EFU.js";
4
+ } from "./chunk-LZWCJHVN.js";
5
5
  import "./chunk-SR66HQKB.js";
6
6
  import "./chunk-JG3VMWRQ.js";
7
7
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rallycry/conveyor-agent",
3
- "version": "11.0.12",
3
+ "version": "11.0.14",
4
4
  "description": "Conveyor Agent Runner v10 - PTY harness for the task chat (SDK harness for audit/project-chat). Agent-as-User architecture with BaseService patterns. Works locally too.",
5
5
  "keywords": [
6
6
  "agent",