Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-nats-auth/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 519ed2f134 swarm-controller: keep the known models in memory, and let the controller watch agent-inference
GET /api/models listed the agent-inference bucket on every request with
keys(), which needs the nameless ephemeral consumer subject
CONSUMER.CREATE.KV_agent-inference. The controller's NATS grant had that
subject for the status, permissions and bash task buckets but not for
this one, so NATS refused the create and the client waited out its
timeout: the request hung every time.

The controller now follows the bucket with a watch that replays each
key's current value first, keeps each agent's models in memory beside the
reported ones, and answers the request from there without reading the
bucket. The grant adds the one create subject the watch needs, with a
policy test like the other buckets'.
2026-11-23 21:53:44 +01:00
..
agent_token.rs swarm: drop the -agent client suffix refusal from authelia and the queue responder 2026-10-24 15:02:32 +02:00
introspect.rs swarm-nats-auth: give issued user JWTs an exp 2026-10-17 16:29:55 +02:00
keystore.rs swarm-nats-auth: read the callout issuer and user seeds from the store 2026-10-06 14:53:33 +02:00
main.rs seven daemons log through hive-log so the log store gets their severities 2026-11-19 08:36:10 +01:00
nkey.rs swarm-nats-auth: read the callout issuer and user seeds from the store 2026-10-06 14:53:33 +02:00
oidc_secret.rs name the mint, not the publisher, as the writer of the client secrets 2026-10-30 16:57:58 +01:00
policy.rs swarm-controller: keep the known models in memory, and let the controller watch agent-inference 2026-11-23 21:53:44 +01:00
request.rs swarm-nats-auth: answer callout requests concurrently, skip expired ones 2026-10-17 23:36:01 +02:00
respond.rs swarm-nats-auth: give issued user JWTs an exp 2026-10-17 16:29:55 +02:00
xkey.rs swarm-nats-auth: answer callout requests concurrently, skip expired ones 2026-10-17 23:36:01 +02:00