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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user