donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
18 lines • 612 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PersistencePluginRegistry = void 0;
/**
* An immutable registry of persistence plugins, keyed by their config string.
* Created once at startup and threaded through the application.
*/
class PersistencePluginRegistry {
constructor(plugins = new Map()) {
this.plugins = plugins;
}
/** Look up a registered persistence plugin by key. */
get(key) {
return this.plugins.get(key);
}
}
exports.PersistencePluginRegistry = PersistencePluginRegistry;
//# sourceMappingURL=PersistencePlugin.js.map