@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 346 B
JavaScript
const loadKeys = new WeakMap();
export function recordExtensionLoadKey(api, load) {
loadKeys.set(api, load);
}
/** The opaque identity of the extension load that created `api`; the host keys the same load by its runtime. */
export function extensionLoadKey(api) {
return loadKeys.get(api);
}
//# sourceMappingURL=extension-load-key.js.map