H.Accounts (H v0.3.0)

Copy Markdown View Source

Daemon-owned named accounts and login operations. Inference workers can resolve a credential; owner clients get only an explicitly projected view.

Summary

Functions

Persists the stock account selection for future requests.

Returns a specification to start this module under a supervisor.

Returns whether managed credentials are configured without refreshing anything.

Returns the validated, credential-free startup catalog and whether changes are pending.

Resolves one named Codex credential (or the active stock account); never falls through.

Stages one named provider for the next daemon boot without rebinding existing URLs.

Functions

activate(server, params)

Persists the stock account selection for future requests.

add(server, params)

api_keys(server)

boot(opts)

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

configured?(server)

Returns whether managed credentials are configured without refreshing anything.

discover(server, policy \\ nil)

operation(server, action, params)

provider_catalog(server)

Returns the validated, credential-free startup catalog and whether changes are pending.

put_api_key(server, params)

resolve_codex(server, source \\ :active, deadline \\ System.monotonic_time(:millisecond) + 15000)

Resolves one named Codex credential (or the active stock account); never falls through.

stage_provider(server, params)

Stages one named provider for the next daemon boot without rebinding existing URLs.

start(server, params)

start_link(opts)

use_api_key(server, params)