hive-ag3nt: scrub stale #658/#419 attribution cookies (#716 batch 2)
This commit is contained in:
parent
84f3fe5f69
commit
017786564a
4 changed files with 22 additions and 22 deletions
|
|
@ -11,10 +11,10 @@
|
|||
use std::path::{Path, PathBuf};
|
||||
|
||||
/// Returns the Claude credentials directory for this agent. Delegates
|
||||
/// to `paths::claude_dir`, which reads `$HOME/.claude` (post-#658 the
|
||||
/// service runs as a non-root unix user named after the agent, so
|
||||
/// `$HOME` resolves to `/home/<agent>` and the OAuth dir lives at
|
||||
/// `/home/<agent>/.claude`). Overridable via `HYPERHIVE_CLAUDE_DIR`.
|
||||
/// to `paths::claude_dir`, which reads `$HOME/.claude`. The service
|
||||
/// runs as a non-root unix user named after the agent so `$HOME`
|
||||
/// resolves to `/home/<agent>` and the OAuth dir lives at
|
||||
/// `/home/<agent>/.claude`. Overridable via `HYPERHIVE_CLAUDE_DIR`.
|
||||
#[must_use]
|
||||
pub fn default_dir() -> PathBuf {
|
||||
crate::paths::claude_dir()
|
||||
|
|
|
|||
Loading…
Reference in a new issue