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

Method get

packages/core/src/core/subagent.ts:166–168  ·  view source on GitHub ↗

* Retrieves a value from the context state. * * @param key - The key of the value to retrieve. * @returns The value associated with the key, or undefined if the key is not found.

(key: string)

Source from the content-addressed store, hash-verified

164 * @returns The value associated with the key, or undefined if the key is not found.
165 */
166 get(key: string): unknown {
167 return this.state[key];
168 }
169
170 /**
171 * Sets a value in the context state.

Callers 4

templateStringFunction · 0.45
subagent.test.tsFile · 0.45
getOauthClientFunction · 0.45
authWithWebFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected