MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / onModeChanged

Method onModeChanged

apps/cli/src/agent/extension-client.ts:336–338  ·  view source on GitHub ↗

* Convenience method: Subscribe only to mode changes.

(listener: (event: ModeChangedEvent) => void)

Source from the content-addressed store, hash-verified

334 * Convenience method: Subscribe only to mode changes.
335 */
336 onModeChanged(listener: (event: ModeChangedEvent) => void): () => void {
337 return this.on("modeChanged", listener)
338 }
339
340 // ===========================================================================
341 // Response Methods - Send actions to the extension

Callers 1

Calls 1

onMethod · 0.95

Tested by

no test coverage detected