feat(daemon): add session-based agent identity and config file support #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
~/.config/agent-hub-daemon/config.jsonwith env var override precedencemetadata_expire=300to ensure reliable package upgrades without manual cache clearingFeatures
Session-Based Agent Identity
~/.agent-hub/session_agents.jsongc_session_agents()for cleanup of stale mappingsConfig File Support
~/.config/agent-hub-daemon/config.jsongc.message_ttl_seconds,gc.agent_stale_seconds,gc.interval_secondssession.poll_seconds,session.cache_ttlinjection.workers,injection.retries,injection.timeoutmetrics_intervalCustom Coordinator AGENTS.md
AGENT_HUB_COORDINATOR_AGENTS_MD/coordinator.agents_md~/.config/agent-hub-daemon/AGENTS.md~/.config/agent-hub-daemon/COORDINATOR.md(alias)DNF Repository Fix
metadata_expire=300andrepo_gpgcheck=1to xnoto.repodnf upgradedidn't detect new releases without manual cache clearTesting
tests/test_config.py- Config file loading and precedencetests/test_session_agents.py- Session-based agent identitytests/test_coordinator.py- Coordinator AGENTS.md resolutionBreaking Changes
None - fully backward compatible with existing setups.