Install uvx in project virtualenv
This commit is contained in:
@@ -54,6 +54,8 @@ function discoverHomeFiles(relativePath: string) {
|
||||
function pathEntries() {
|
||||
return [
|
||||
process.env.TERMINAL_EXTRA_PATH,
|
||||
process.env.OPENSHELL_CONTROL_VENV ? path.join(process.env.OPENSHELL_CONTROL_VENV, "bin") : undefined,
|
||||
path.join(process.cwd(), ".venv/bin"),
|
||||
HOME ? path.join(HOME, ".local/bin") : undefined,
|
||||
HOME ? path.join(HOME, ".nvm/versions/node/v22.22.2/bin") : undefined,
|
||||
HOME ? path.join(HOME, ".nvm/versions/node/v22.22.1/bin") : undefined,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
|
||||
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js"
|
||||
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
|
||||
import { HOST_PATH } from "./hostCommands"
|
||||
import type { McpServerInstall } from "./mcpServerStore"
|
||||
|
||||
const MCP_BROKER_REQUEST_TIMEOUT_MS = Number.parseInt(process.env.MCP_BROKER_REQUEST_TIMEOUT_MS || "45000", 10)
|
||||
@@ -31,6 +32,7 @@ function transportForServer(server: McpServerInstall) {
|
||||
args: server.args,
|
||||
env: {
|
||||
...inheritedEnv(),
|
||||
PATH: HOST_PATH,
|
||||
...cleanEnv(server.env),
|
||||
},
|
||||
stderr: "pipe",
|
||||
|
||||
Reference in New Issue
Block a user