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

Method clone

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

* 克隆当前环境

()

Source from the content-addressed store, hash-verified

133 */
134 merge(other: Record<string, string>): this {
135 for (const [key, value] of Object.entries(other)) {
136 this.set(key, value);
137 }
138 return this;
139 }
140
141 /**
142 * 应用 CmdOverrides 中的环境变量
143 */
144 withProfile(cmd?: CmdOverrides): ExecutionEnv {

Callers 1

withProfileMethod · 0.95

Calls 1

setMethod · 0.80

Tested by

no test coverage detected