Fix Local Agent Execution And Auth Checks

- Gate server requests on available credentials
- Run local child agents directly without a parent run ID
- Include command IDs in Bedrock context and recognize transfer tools
This commit is contained in:
2026-07-28 10:43:59 -05:00
parent 87e0c83e9e
commit a078287f4b
35 changed files with 1078 additions and 237 deletions
@@ -79,7 +79,14 @@ impl TypeScriptLanguageServerCandidate {
if let Some(path_env) = path_env_var {
let mut cmd = command::r#async::Command::new("npx");
cmd.env("PATH", path_env);
cmd.args(["--yes", "--package", "typescript", "node", "-e", "console.log(require('typescript').sys.getExecutingFilePath())"]);
cmd.args([
"--yes",
"--package",
"typescript",
"node",
"-e",
"console.log(require('typescript').sys.getExecutingFilePath())",
]);
// Set cwd to workspace so npx resolves in the right context
cmd.current_dir(workspace_root);
if let Ok(output) = cmd.output().await {