Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Merge remote-tracking branch 'origin/main' into feat/mobile-ios-android

0xken1582ae94a5f300
diff --cc cli/src/backendSocket.ts
index 00d647847,34d200c38..f152ec837
--- a/cli/src/backendSocket.ts
+++ b/cli/src/backendSocket.ts
@@@ -39,8 -41,13 +41,13 @@@ import { engineInstallRecipe } from './
import { parseProjectFolder, prepareProjectFolder, ProjectFolderError } from './lib/projectFolder.js'
import { preTrustClaudeProject, preTrustCodexProject } from './lib/claudeTrust.js'
import { projectPreview } from './lib/projectPreview.js'
-import { agentFrame, type AgentDshContext, type AgentFrame } from './lib/agentFrame.js'
+import { agentFrame, lastActivityAt, type AgentDshContext, type AgentFrame } from './lib/agentFrame.js'
- import { installedDsh } from './dsh/installed.js'
+ import { installedDsh, listInstalledDsh } from './dsh/installed.js'
+ import { OrchestratorService } from './orchestrator/service.js'
+ import { OrchestratorError } from './orchestrator/model.js'
+ import { orchestratorRequest } from './orchestrator/wire.js'
+ import { shellQuote } from './orchestrator/prompts.js'
+ import type { SessionInputDelivery } from './lib/sessionInput.js'
import { engineLabel } from './lib/agentNames.js'
import { DSH_ID_RE } from './dsh/manifest.js'
import { refreshDshRegistry } from './dsh/catalog.js'
diff --cc cli/src/lib/terminalStreamManager.ts
index b3d890b19,55c16a63a..fe3bb457f
--- a/cli/src/lib/terminalStreamManager.ts
+++ b/cli/src/lib/terminalStreamManager.ts
@@@ -255,18 -262,9 +262,18 @@@ export class TerminalStreamManager
// A client old enough to predate `TerminalBinaryKind.pasteFile` has no way to hand a
// dropped non-image file to a REMOTE pane at all (a local pane needs no capability — it
// pastes the file's own path directly, never touching the wire) — see `pasteFile()`.
- pasteFile: true,
+ pasteFile: !this.deps.readOnly,
// Bounded media reads through the already encrypted agent_read_file RPC.
- mediaPreview: true,
+ mediaPreview: !this.deps.readOnly,
+ // `agent_create` understands `projectSource` — a folder this machine makes or clones for
+ // itself — rather than only a `cwd` the client already knows. A client old enough to
+ // predate `lib/projectFolder.ts` never sends it, and one NEWER than the machine has no way
+ // to tell without this: the keys are simply ignored, `cwd` comes up missing, and the
+ // refusal arrives as INVALID_CWD — "the project folder is unavailable", about a folder
+ // nobody named. Advertised here, beside the other "what this CLI can do" answers, even
+ // though creating an agent is not terminal streaming; this is the message a client already
+ // asks every machine.
- projectFolder: true,
++ projectFolder: !this.deps.readOnly,
},
engines: terminalEngineCapabilities(this.deps.streamingAvailable),
})