Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: hold a tool-free run's vision argv to the same no-bypass posture (#9008)
[._.]/ Adam Eivy3ba179120d38
diff --git a/server/services/runner.js b/server/services/runner.jsindex 9a8fc90386..f8776dc68f 100644--- a/server/services/runner.js+++ b/server/services/runner.js@@ -9,6 +9,7 @@ import { atomicWrite, ensureDir, tryReadFile, writeFileGuarded, PATHS } from '..import { resolveSpawnCwd } from '../lib/spawnCwd.js';import { hasModelFlag, extractBakedModel, isCodexProvider } from '../lib/providerModels.js';import { buildCliArgs, prepareCliPrompt } from '../lib/cliProviderArgs.js';+import { toolFreeOneShotArgs } from '../lib/providerVendors.js';import { buildCliChildEnv } from '../lib/cliChildEnv.js';import { resolveCliSpawn, needsProcessGroup, processGroupKillable, trackDetachedGroup } from '../lib/credentialBootstrap.js';import { createImmediateFallbackSignalDetector, ERROR_CATEGORIES } from '../lib/aiToolkit/errorDetection.js';@@ -381,8 +382,12 @@ export async function executeCliRun({ runId, provider, prompt, workspacePath, scconst cleanupVisionFiles = vision?.cleanup || (() => Promise.resolve());// Build provider-specific args for prompt delivery// `toolFree`: a one-shot over caller-supplied text gets no approval bypass- // and no tools where the vendor can disable them (#9008).- const builtArgs = vision?.invocation.args || buildCliArgs(provider, { toolFree });+ // and no tools where the vendor can disable them (#9008). The vision argv is+ // held to it too: a vendor that needs a tool to read the staged images fails+ // closed rather than running with its tools on.+ const builtArgs = vision+ ? (toolFree ? toolFreeOneShotArgs(provider, vision.invocation.args).args : vision.invocation.args)+ : buildCliArgs(provider, { toolFree });// Rewrite the argv for prompt delivery and learn whether to still write stdin:// - Antigravity (`agy`): prompt spliced in as the --print VALUE (agy doesn't// read stdin) → useStdin=false.