MCPcopy Create free account
hub / github.com/agent-tower/core / set

Method set

packages/server/src/executors/execution-env.ts:91–94  ·  view source on GitHub ↗

* 插入环境变量

(key: string, value: string)

Source from the content-addressed store, hash-verified

89 }
90
91 /**
92 * 创建默认执行环境
93 */
94 static default(workingDir: string): ExecutionEnv {
95 return new ExecutionEnv(
96 { workspaceRoot: workingDir, repoNames: [] },
97 false

Callers 15

createWindowFunction · 0.80
mergeMethod · 0.80
cloneMethod · 0.80
createMethod · 0.80
upsertMcpToolEntryMethod · 0.80
handleToolUseMethod · 0.80
handleStreamEventMethod · 0.80
handleToolCallMethod · 0.80
onMethod · 0.80

Calls

no outgoing calls

Tested by 7

addSocketMethod · 0.64
onMethod · 0.64
joinMethod · 0.64
createServerMockFunction · 0.64
addSocketMethod · 0.64
onMethod · 0.64
joinMethod · 0.64