Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aegis-runtime-mv/patches/7e89627b72a4db13 # aegis-runtime-mv Native Rust agent runtime: Axum WebSocket/SSE/REST gateway, heartbeat scheduler, dependency-aware task workflow, SQLite storage. Attachment of AienOS. Pre-alpha. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/aegis-runtime-mv#24 (code only) closed derived `7e89627b72a4db13` #24 Imported from GitHub aien-dev/aegis-runtime-mv#24 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `21a44cade4ae5c2948b291ce7ed3af0b6297faa6` · Head `469149e7ca8af83bbba1bc481037063e2ebad840` ### Apply it ``` git checkout -b patch-7e89627b72a4db13 21a44cade4ae5c2948b291ce7ed3af0b6297faa6 curl -fsSL https://interplane.io/drakestapleton/aegis-runtime-mv/patches/7e89627b72a4db13.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/aegis-runtime-mv 24 469149e7ca8af83bbba1bc481037063e2ebad840 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aegis-runtime-mv","number":24,"url":"https://github.com/aien-dev/aegis-runtime-mv/pull/24","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:34Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/src/gateway.rs b/src/gateway.rs index ce51c2b..0091ce0 100644 --- a/src/gateway.rs +++ b/src/gateway.rs @@ -551,13 +551,12 @@ async fn handle_socket(mut socket: WebSocket, state: GatewayState) { } "shell" => { let cmd_str = parsed.get("command").and_then(|v| v.as_str()).unwrap_or("echo shell ready"); - let res = Command::new("sh").arg("-c").arg(cmd_str).output().await; - let out = match res { - Ok(o) => json!({ + let out = match state.skills.workspace().execute_shell(cmd_str, None, 15) { + Ok(stdout) => json!({ "type": "shell_output", - "stdout": String::from_utf8_lossy(&o.stdout), - "stderr": String::from_utf8_lossy(&o.stderr), - "exit_code": o.status.code().unwrap_or(-1), + "stdout": stdout, + "stderr": "", + "exit_code": 0, }), Err(e) => json!({ "type": "shell_error", ```