__init__.py 961 B

123456789101112131415161718
  1. """Login backends for the browser credential vault.
  2. The local Fernet store (``agent/vault_store.py``) is one backend; 1Password
  3. (``op``) and Bitwarden Password Manager (``bw``) are the others. Every backend
  4. hands the agent the same shape — opaque handle + login metadata — and resolves
  5. the password server-side at fill time only. Handles are namespaced by backend
  6. (``vault_…`` local, ``op:…``, ``bw:…``) so the browser tools need no schema
  7. change to route to the right one.
  8. External managers are locked until the user unlocks them for the current
  9. session (``agent/vault_backends/unlock.py``); the master password is typed
  10. into a masked prompt owned by the surface (CLI panel, Desktop dialog) and is
  11. never a tool argument, never argv, never persisted.
  12. """
  13. from agent.vault_backends.base import LoginBackend, UnlockRequired, backend_for_handle, enabled_backends
  14. __all__ = ["LoginBackend", "UnlockRequired", "backend_for_handle", "enabled_backends"]