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
address review: fix JSDoc placement, quote cd path, increase restart timeout
Adam Eivybce0e8776ec1
diff --git a/client/src/pages/Shell.jsx b/client/src/pages/Shell.jsxindex a0d8a00887..7c4103f39c 100644--- a/client/src/pages/Shell.jsx+++ b/client/src/pages/Shell.jsx@@ -398,7 +398,7 @@ export default function Shell() {<div className="flex items-center gap-2 ml-auto">{connected && (<button- onClick={() => { stopSession(); setTimeout(startSession, 100); }}+ onClick={() => { stopSession(); setTimeout(startSession, 1000); }}className="flex items-center gap-1.5 px-2.5 py-2 bg-port-card hover:bg-port-border text-gray-300 hover:text-white rounded-lg text-sm transition-colors border border-port-border min-h-[40px]"title="Restart session (kill + new)">@@ -499,7 +499,7 @@ export default function Shell() {<buttonkey={name}onClick={() => {- sendCommand(`cd ${path}`);+ sendCommand(`cd "${path}"`);setFolderDropdownOpen(false);}}className="w-full text-left px-3 py-2 text-xs font-mono text-gray-300 hover:bg-port-border hover:text-white transition-colors"diff --git a/server/services/subAgentSpawner.js b/server/services/subAgentSpawner.jsindex b7de0e2256..6b3d95ee3e 100644--- a/server/services/subAgentSpawner.js+++ b/server/services/subAgentSpawner.js@@ -2399,17 +2399,17 @@ function buildSpawnArgs(config, model) {return args;}-/**- * Read env vars from ~/.claude/settings.json to inject into Claude CLI spawns- * Ensures user's Bedrock/provider config (CLAUDE_CODE_USE_BEDROCK, AWS_PROFILE, etc.)- * is present in spawned agent environments even if PM2 was started without them- *//*** Check if a provider is a Claude CLI provider that needs settings.json env injection*/const isClaudeCliProvider = (provider) =>provider?.type === 'cli' && (provider.id === 'claude-code' || provider.id === 'claude-code-bedrock');+/**+ * Read env vars from ~/.claude/settings.json to inject into Claude CLI spawns+ * Ensures user's Bedrock/provider config (CLAUDE_CODE_USE_BEDROCK, AWS_PROFILE, etc.)+ * is present in spawned agent environments even if PM2 was started without them+ */let _claudeSettingsEnvCache = null;let _claudeSettingsEnvCacheTime = 0;const SETTINGS_CACHE_TTL_MS = 5 * 60 * 1000; // 5 minutes