(key: K, value: GlobalState[K])
| 109 | // Utility functions provided for concise get/update of global state via contextProxy API. |
| 110 | const getGlobalState = <K extends keyof GlobalState>(key: K) => provider.contextProxy.getValue(key) |
| 111 | const updateGlobalState = async <K extends keyof GlobalState>(key: K, value: GlobalState[K]) => |
| 112 | await provider.contextProxy.setValue(key, value) |
| 113 | |
| 114 | const getCurrentCwd = () => { |
| 115 | return provider.getCurrentTask()?.cwd || provider.cwd |
no test coverage detected