MCPcopy Create free account
hub / github.com/anus-dev/ANUS / set

Method set

packages/core/src/core/subagent.ts:176–178  ·  view source on GitHub ↗

* Sets a value in the context state. * * @param key - The key to set the value under. * @param value - The value to set.

(key: string, value: unknown)

Source from the content-addressed store, hash-verified

174 * @param value - The value to set.
175 */
176 set(key: string, value: unknown): void {
177 this.state[key] = value;
178 }
179
180 /**
181 * Retrieves all keys in the context state.

Callers 2

subagent.test.tsFile · 0.45
getOauthClientFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected