Skip to content
Merged
1 change: 1 addition & 0 deletions changelog.d/added-claude-long-lived-token.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Claude agents can run on an operator-supplied long-lived token: set `HIVE_CLAUDE_OAUTH_TOKEN` (or mount it at `/secrets/claude-oauth-token`, or point `HIVE_CLAUDE_OAUTH_TOKEN_FILE` at it) to a `claude setup-token` token and every `claude`-backend agent is launched with it as `CLAUDE_CODE_OAUTH_TOKEN`, ahead of the 8-hour dashboard sign-in; unset, nothing changes.
167 changes: 167 additions & 0 deletions src/crux/agent/claude_operator_token_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
package agent

import (
"bytes"
"log/slog"
"os"
"path/filepath"
"strings"
"testing"
"time"

"github.com/hivecommons/hive/crux/claude"
"github.com/hivecommons/hive/crux/config"
)

const operatorTokenSentinel = "sk-ant-oat01-OPERATOR-SENTINEL-7f3c9a1e5b"

// stageOperatorToken makes claude.OperatorToken hermetic: the env var holds
// token ("" for unset) and the default secret file points at a missing path.
func stageOperatorToken(t *testing.T, token string) {
t.Helper()
t.Setenv(claude.OperatorTokenEnvVar, token)
t.Setenv(claude.OperatorTokenFileEnvVar, "")
orig := claude.OperatorTokenFile
claude.OperatorTokenFile = filepath.Join(t.TempDir(), "missing")
t.Cleanup(func() { claude.OperatorTokenFile = orig })
}

// With a long-lived operator token set, an agent whose credential file is
// readable and fresh still runs on the operator token: that file is the
// 8-hour login that logs the fleet out (#17753).
func TestClaudeOperatorToken_InjectedOverAReadableCredential(t *testing.T) {
stageSharedClaudeCredential(t, map[string]any{
"accessToken": "sk-ant-oat-live",
"expiresAt": time.Now().Add(6 * time.Hour).UnixMilli(),
})
stageOperatorToken(t, operatorTokenSentinel)
m, agent := claudeAgentFixture(t, "sk-ant-oat-snapshot-from-boot")

pair, ok := envPairsByKey(m, agent)["CLAUDE_CODE_OAUTH_TOKEN"]
if !ok || pair.Value != operatorTokenSentinel {
t.Fatalf("pair = %+v, %v; want the operator token over a readable credential", pair, ok)
}
if !pair.Secret {
t.Fatal("the operator token must be a secret pair (tmux set-environment, never a command line)")
}
}

// With no credential file at all, the operator token is still injected, and it
// beats the dashboard snapshot the last-resort fallback would otherwise use.
func TestClaudeOperatorToken_InjectedWithNoCredentialFile(t *testing.T) {
stageSharedClaudeCredential(t, nil)
stageOperatorToken(t, operatorTokenSentinel)
m, agent := claudeAgentFixture(t, "sk-ant-oat-from-dashboard-login")

pair, ok := envPairsByKey(m, agent)["CLAUDE_CODE_OAUTH_TOKEN"]
if !ok || pair.Value != operatorTokenSentinel || !pair.Secret {
t.Fatalf("pair = %+v, %v; want the operator token as a secret pair", pair, ok)
}
}

// A dashboard sign-in after boot only replaces claudeAuthToken; it must not
// switch agents back to the 8-hour token.
func TestClaudeOperatorToken_WinsOverALaterDashboardSignIn(t *testing.T) {
stageSharedClaudeCredential(t, nil)
stageOperatorToken(t, operatorTokenSentinel)
m, agent := claudeAgentFixture(t, "")
m.mu.Lock()
m.claudeAuthToken = "sk-ant-oat-fresh-dashboard-login"
m.mu.Unlock()

pairs := m.agentEnvPairs(agent)
var got []string
for _, p := range pairs {
if p.Key == "CLAUDE_CODE_OAUTH_TOKEN" {
got = append(got, p.Value)
}
}
if len(got) != 1 || got[0] != operatorTokenSentinel {
t.Fatalf("CLAUDE_CODE_OAUTH_TOKEN values = %q; want exactly the operator token", got)
}
}

// Unset: behaviour is exactly today's — no override over a readable
// credential, the dashboard snapshot when nothing is readable.
func TestClaudeOperatorToken_UnsetKeepsTodaysBehaviour(t *testing.T) {
stageSharedClaudeCredential(t, map[string]any{
"accessToken": "sk-ant-oat-live",
"expiresAt": time.Now().Add(6 * time.Hour).UnixMilli(),
})
stageOperatorToken(t, "")
m, agent := claudeAgentFixture(t, "sk-ant-oat-snapshot-from-boot")
if _, ok := envPairsByKey(m, agent)["CLAUDE_CODE_OAUTH_TOKEN"]; ok {
t.Fatal("with the operator token unset, nothing may be injected over a readable credential")
}

stageSharedClaudeCredential(t, nil)
m, agent = claudeAgentFixture(t, "sk-ant-oat-from-dashboard-login")
if pair := envPairsByKey(m, agent)["CLAUDE_CODE_OAUTH_TOKEN"]; pair.Value != "sk-ant-oat-from-dashboard-login" {
t.Fatalf("with the operator token unset, the last-resort fallback must be unchanged: %+v", pair)
}
}

// The token can come from the secret-file form and is never sent to an agent
// on another backend.
func TestClaudeOperatorToken_FileFormAndOtherBackends(t *testing.T) {
stageSharedClaudeCredential(t, nil)
stageOperatorToken(t, "")
path := filepath.Join(t.TempDir(), "claude-oauth-token")
if err := os.WriteFile(path, []byte(operatorTokenSentinel+"\n"), 0o600); err != nil {
t.Fatal(err)
}
t.Setenv(claude.OperatorTokenFileEnvVar, path)

m, agent := claudeAgentFixture(t, "")
if pair := envPairsByKey(m, agent)["CLAUDE_CODE_OAUTH_TOKEN"]; pair.Value != operatorTokenSentinel {
t.Fatalf("file form not injected: %+v", pair)
}

other := NewManager(map[string]config.AgentConfig{
"scanner": {Backend: "copilot"},
}, discardLogger(), ProjectContext{ACMMLevel: 5})
other.mu.RLock()
otherAgent := other.agents["scanner"]
other.mu.RUnlock()
if _, ok := envPairsByKey(other, otherAgent)["CLAUDE_CODE_OAUTH_TOKEN"]; ok {
t.Fatal("a copilot agent must not receive the operator Claude token")
}
}

// The manager never writes the operator token to its log while loading it
// and building an agent's environment.
func TestClaudeOperatorToken_NeverLogged(t *testing.T) {
stageSharedClaudeCredential(t, nil)
stageOperatorToken(t, operatorTokenSentinel)
var buf bytes.Buffer
logger := slog.New(slog.NewJSONHandler(&buf, &slog.HandlerOptions{Level: slog.LevelDebug}))
m := NewManager(map[string]config.AgentConfig{
"scanner": {Backend: "claude", Model: "claude-sonnet-5"},
}, logger, ProjectContext{ACMMLevel: 5})
m.mu.RLock()
agent := m.agents["scanner"]
m.mu.RUnlock()
_ = m.agentEnvPairs(agent)
_ = m.buildEnvPrefix(agent)

if strings.Contains(buf.String(), operatorTokenSentinel) {
t.Fatalf("operator token written to the hive log: %s", buf.String())
}
if strings.Contains(m.buildEnvPrefix(agent), operatorTokenSentinel) {
t.Fatal("operator token reached the shell command-line env prefix")
}
}

// The hive process holds HIVE_CLAUDE_OAUTH_TOKEN in its own environment, and
// every tmux server it starts inherits that globally. applySessionEnv must
// strip it (with -r, so the global value is hidden too) or every pane of every
// backend — copilot, codex, bob — could read the year-long token under its
// original name. The claude backend receives it only as CLAUDE_CODE_OAUTH_TOKEN.
func TestClaudeOperatorToken_StrippedFromInheritedPaneEnv(t *testing.T) {
for _, k := range inheritedCredentialEnvVars {
if k == claude.OperatorTokenEnvVar {
return
}
}
t.Fatalf("%s is not in inheritedCredentialEnvVars; it would reach every agent pane via the tmux global environment", claude.OperatorTokenEnvVar)
}
6 changes: 6 additions & 0 deletions src/crux/agent/headless_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ func HeadlessCredentialEnv(backend string, src HeadlessCredentialSources) ([]str
return []string{copilotTokenEnvVar + "=" + tok}, nil
}
case "claude":
// Same precedence as agentEnvPairs: the operator's long-lived token
// (HIVE_CLAUDE_OAUTH_TOKEN) wins over the short-lived credentials
// snapshot.
if tok := claude.OperatorToken(); tok != "" {
return []string{"CLAUDE_CODE_OAUTH_TOKEN=" + tok}, nil
}
if tok := claude.ReadAccessToken(claude.CredentialsPath); tok != "" {
return []string{"CLAUDE_CODE_OAUTH_TOKEN=" + tok}, nil
}
Expand Down
13 changes: 13 additions & 0 deletions src/crux/agent/headless_credentials_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"slices"
"testing"

"github.com/hivecommons/hive/crux/claude"
"github.com/hivecommons/hive/crux/config"
)

Expand Down Expand Up @@ -100,3 +101,15 @@ func TestHeadlessCredentialEnvInferenceAndOtherBackends(t *testing.T) {
}
}
}

func TestHeadlessCredentialEnvClaudePrefersOperatorToken(t *testing.T) {
t.Setenv(claude.OperatorTokenEnvVar, " sk-ant-oat01-long-lived ")
t.Setenv(claude.OperatorTokenFileEnvVar, "")
env, err := HeadlessCredentialEnv("claude", HeadlessCredentialSources{})
if err != nil {
t.Fatal(err)
}
if len(env) != 1 || env[0] != "CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-long-lived" {
t.Fatalf("env = %v", env)
}
}
2 changes: 2 additions & 0 deletions src/crux/agent/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ type Manager struct {
// precedence for whatever fresh token the operator supplied.
copilotAuthTokenRejected bool
claudeAuthToken string
claudeOperatorToken string // HIVE_CLAUDE_OAUTH_TOKEN, read once at construction; a dashboard sign-in never replaces it
uidMap *UIDMap
sharedPool SharedSessionPool
uidMapPath string
Expand Down Expand Up @@ -918,6 +919,7 @@ func NewManagerWithOptions(agents map[string]config.AgentConfig, logger *slog.Lo
copilotAuthTokenAuthoritative: copilotTokenAuthoritative,
copilotAuthTokenSource: copilotTokenSource,
claudeAuthToken: claudeToken,
claudeOperatorToken: claude.OperatorToken(),
uidMap: uidMap,
sharedPool: opts.sharedPool,
uidMapPath: selectedUIDMapPath,
Expand Down
10 changes: 9 additions & 1 deletion src/crux/agent/manager_env.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,15 @@ func (m *Manager) agentEnvPairs(agent *AgentProcess) []agentEnvPair {
// keeps the variable doing the job it was added for (#c5648bc9: deliver a
// dashboard-obtained token to an agent that cannot see the file) and stops
// it overriding a credential that can still refresh itself.
if m.claudeAuthToken != "" && backend == "claude" && !claudeCredentialReachable(agent, backend) {
//
// An operator-supplied long-lived token (HIVE_CLAUDE_OAUTH_TOKEN, from
// `claude setup-token`) is the exception: it lasts about a year and never
// needs a refresh, so pinning it is the point. It is injected whether or
// not a credentials file is reachable and wins over the dashboard
// sign-in, which only ever updates claudeAuthToken.
if m.claudeOperatorToken != "" && backend == "claude" {
vars = append(vars, agentEnvPair{"CLAUDE_CODE_OAUTH_TOKEN", m.claudeOperatorToken, true})
} else if m.claudeAuthToken != "" && backend == "claude" && !claudeCredentialReachable(agent, backend) {
vars = append(vars, agentEnvPair{"CLAUDE_CODE_OAUTH_TOKEN", m.claudeAuthToken, true})
}
// bob reads its key from BOBSHELL_API_KEY in 1.x and BOB_API_KEY in 2.x.
Expand Down
8 changes: 8 additions & 0 deletions src/crux/agent/manager_tmux.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"time"

"github.com/hivecommons/hive/crux/agent/tmux"
"github.com/hivecommons/hive/crux/claude"
"github.com/hivecommons/hive/crux/config"
"github.com/hivecommons/hive/crux/internal/textutil"
"github.com/hivecommons/hive/crux/upstreamproxy"
Expand Down Expand Up @@ -50,8 +51,15 @@ var defaultTmuxSocket string
// global value from every process forked afterwards; the sanctioned
// per-agent pair set afterwards overrides the removal for the one variable
// the agent is meant to have.
//
// HIVE_CLAUDE_OAUTH_TOKEN is the operator's long-lived Claude token. It is
// delivered to claude-backend agents only, as CLAUDE_CODE_OAUTH_TOKEN via
// agentEnvPairs; under its own name it must reach no pane at all, or every
// copilot/codex/bob shell (and every tool shell they spawn) could read a
// year-long credential it has no use for.
var inheritedCredentialEnvVars = []string{
"HIVE_GITHUB_TOKEN",
claude.OperatorTokenEnvVar,
linearAPIKeyEnvVar,
linearAccessTokenEnvVar,
"LINEAR_CLIENT_ID",
Expand Down
3 changes: 2 additions & 1 deletion src/crux/agent/tmux_inherited_env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func TestApplySessionEnv_RemovesInheritedCredentialsFromPanes(t *testing.T) {
"HIVE_UPSTREAM_PROXY_HOSTS=ghe.corp.example",
"HIVE_UPSTREAM_PROXY_NO_PROXY=10.0.0.0/8",
"HIVE_NO_PROXY=10.0.0.0/8",
"HIVE_CLAUDE_OAUTH_TOKEN=sk-ant-oat01-operator_leaked",
)
if out, err := start.CombinedOutput(); err != nil {
t.Fatalf("starting tmux server: %v: %s", err, out)
Expand Down Expand Up @@ -126,7 +127,7 @@ func TestApplySessionEnv_RemovesInheritedCredentialsFromPanes(t *testing.T) {
"LINEAR_API_KEY", "LINEAR_CLIENT_SECRET", "LINEAR_WEBHOOK_SECRET", "HIVE_GITHUB_TOKEN", "GITHUB_TOKEN",
"DASHBOARD_AUTH_TOKEN", "HIVE_DASHBOARD_TOKEN", "HIVE_TERMINAL_KEY", "HIVE_INVITE_KEY", "HIVE_HEARTBEAT_KEY",
"HIVE_HUB_SECRET", "HIVE_TTYD_CREDENTIAL", "HIVE_UPSTREAM_PROXY_URL", "HIVE_UPSTREAM_PROXY_HOSTS",
"HIVE_UPSTREAM_PROXY_NO_PROXY", "HIVE_NO_PROXY",
"HIVE_UPSTREAM_PROXY_NO_PROXY", "HIVE_NO_PROXY", "HIVE_CLAUDE_OAUTH_TOKEN",
} {
if v, ok := after[k]; ok {
t.Errorf("%s=%q still reaches a pane after applySessionEnv — the inherited credential was not removed", k, v)
Expand Down
40 changes: 40 additions & 0 deletions src/crux/claude/operator_token.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package claude

import (
"os"
"strings"
)

const (
// OperatorTokenEnvVar holds an operator-generated long-lived token
// (`claude setup-token`). When set, every claude-backend agent runs on it
// through CLAUDE_CODE_OAUTH_TOKEN instead of the dashboard sign-in.
OperatorTokenEnvVar = "HIVE_CLAUDE_OAUTH_TOKEN"

// OperatorTokenFileEnvVar names a file holding the same token, for
// deployments that mount it as a secret rather than an env var.
OperatorTokenFileEnvVar = "HIVE_CLAUDE_OAUTH_TOKEN_FILE"
)

// OperatorTokenFile is the mounted Secret key read when neither variable is
// set, mirroring the dashboard token's /secrets/dashboard-token. A var so tests
// can point it at a hermetic path.
var OperatorTokenFile = "/secrets/claude-oauth-token"

// OperatorToken returns the operator-supplied long-lived Claude token, or ""
// when none is configured. The env var wins over the file. The value is a
// secret: callers must only hand it to an agent as a secret env pair.
func OperatorToken() string {
if v := strings.TrimSpace(os.Getenv(OperatorTokenEnvVar)); v != "" {
return v
}
path := strings.TrimSpace(os.Getenv(OperatorTokenFileEnvVar))
if path == "" {
path = OperatorTokenFile
}
data, err := os.ReadFile(path)
if err != nil {
return ""
}
return strings.TrimSpace(string(data))
}
41 changes: 41 additions & 0 deletions src/crux/claude/operator_token_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package claude

import (
"os"
"path/filepath"
"testing"
)

func TestOperatorTokenSources(t *testing.T) {
dir := t.TempDir()
orig := OperatorTokenFile
OperatorTokenFile = filepath.Join(dir, "default-token")
t.Cleanup(func() { OperatorTokenFile = orig })
t.Setenv(OperatorTokenEnvVar, "")
t.Setenv(OperatorTokenFileEnvVar, "")

if got := OperatorToken(); got != "" {
t.Fatalf("unset: got %q, want empty", got)
}

if err := os.WriteFile(OperatorTokenFile, []byte(" sk-ant-oat01-default \n"), 0o600); err != nil {
t.Fatal(err)
}
if got := OperatorToken(); got != "sk-ant-oat01-default" {
t.Fatalf("default secret file: got %q", got)
}

named := filepath.Join(dir, "named-token")
if err := os.WriteFile(named, []byte("sk-ant-oat01-named\n"), 0o600); err != nil {
t.Fatal(err)
}
t.Setenv(OperatorTokenFileEnvVar, named)
if got := OperatorToken(); got != "sk-ant-oat01-named" {
t.Fatalf("%s: got %q", OperatorTokenFileEnvVar, got)
}

t.Setenv(OperatorTokenEnvVar, " sk-ant-oat01-env ")
if got := OperatorToken(); got != "sk-ant-oat01-env" {
t.Fatalf("env must win over the file: got %q", got)
}
}
4 changes: 2 additions & 2 deletions src/docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,8 @@ always resolved server-side from the validated token.
| `GET` | `/api/leaderboard` | Public | Leaderboard API | `pkg/dashboard/api_contribute.go:367` |
| `GET` | `/api/leaderboard/teams` | Public | Team Leaderboards | `pkg/dashboard/api_contribute.go:368` |
| `GET` | `/api/leaderboard/style` | Public | Leaderboard Style | `pkg/dashboard/api_contribute.go:369` |
| `GET` | `/api/logs/sources` | Dashboard auth/session | Log sources (#11942): every source name this hive knows (`hive`, the default, plus `proxy`, `hive-output`, `litellm` and `requests` from #11944, and `starts` and `crash` from #11945), each marked `available` or not with a `reason`; names only, no log text. Wrapped by the admin MCP `log_sources` tool; see [design/admin-mcp.md](design/admin-mcp.md#log-read) | `pkg/dashboard/api_logs.go:19` |
| `GET` | `/api/logs/read` | Read-write role (checked by the handler) | Log read (#11942): the newest matching lines of the hive's own log and its rotated, compressed history, or of another source (#11944: auth proxy output, early hive output, litellm output, dashboard request log), oldest first, as `{time, source, level, stream, text}`; `?source=&lines=&since=&until=&min_level=&include=&exclude=&cursor=`. Default 100 lines, at most 1000, 128 KiB per result, 8 KiB per line; `since`/`until` need an explicit offset; scrubbed at read time with redactions counted; `coverage`, `next_cursor`, `status` `incomplete` (stopped on the scan bound; follow `next_cursor`) / `not_available` / `cursor_expired`. Wrapped by the admin MCP `log_read` tool; see [design/admin-mcp.md](design/admin-mcp.md#log-read) | `pkg/dashboard/api_logs.go:20` |
| `GET` | `/api/logs/sources` | Dashboard auth/session | Log sources (#11942): every source name this hive knows (`hive`, the default, plus `proxy`, `hive-output`, `litellm` and `requests` from #11944, and `starts` and `crash` from #11945), each marked `available` or not with a `reason`; names only, no log text. Wrapped by the admin MCP `log_sources` tool; see [design/admin-mcp.md](design/admin-mcp.md#log-read) | `pkg/dashboard/api_logs.go:20` |
| `GET` | `/api/logs/read` | Read-write role (checked by the handler) | Log read (#11942): the newest matching lines of the hive's own log and its rotated, compressed history, or of another source (#11944: auth proxy output, early hive output, litellm output, dashboard request log), oldest first, as `{time, source, level, stream, text}`; `?source=&lines=&since=&until=&min_level=&include=&exclude=&cursor=`. Default 100 lines, at most 1000, 128 KiB per result, 8 KiB per line; `since`/`until` need an explicit offset; scrubbed at read time with redactions counted; `coverage`, `next_cursor`, `status` `incomplete` (stopped on the scan bound; follow `next_cursor`) / `not_available` / `cursor_expired`. Wrapped by the admin MCP `log_read` tool; see [design/admin-mcp.md](design/admin-mcp.md#log-read) | `pkg/dashboard/api_logs.go:21` |
| `GET` | `/api/diag/agents/{name}/log` | Dashboard auth/session (role of the wrapped endpoint) | Diagnostic read (#11943): wraps `GET /api/agents/{name}/log` as `{text, content_type, truncated, bytes_total, ...}` — the newest `?max_bytes=` of the scrubbed log (default 64 KiB, at most 128 KiB, clamping reported); `?explain=` passed through. Wrapped by the admin MCP `agent_log_read` tool; see [admin-mcp.md](admin-mcp.md#diagnostic-reads) | `pkg/dashboard/api_diag.go:41` |
| `GET` | `/api/diag/agents/{name}/kicks` | Dashboard auth/session (role of the wrapped endpoint) | Diagnostic read (#11943): wraps `GET /api/agents/{name}/kicks`, scrubbed, newest first, oldest entries dropped (and reported in `trimmed`) to stay under 128 KiB. Wrapped by `agent_kicks_list`; see [admin-mcp.md](admin-mcp.md#diagnostic-reads) | `pkg/dashboard/api_diag.go:42` |
| `GET` | `/api/diag/agents/{name}/kicks/{id}` | Dashboard auth/session (role of the wrapped endpoint) | Diagnostic read (#11943): wraps `GET /api/agents/{name}/kicks/{id}` in the same text shape and bounds as the agent log. Wrapped by `agent_kick_read`; see [admin-mcp.md](admin-mcp.md#diagnostic-reads) | `pkg/dashboard/api_diag.go:43` |
Expand Down
7 changes: 5 additions & 2 deletions src/pkg/dashboard/api_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"strconv"
"strings"

"github.com/hivecommons/hive/crux/claude"
"github.com/hivecommons/hive/crux/logread"
"github.com/hivecommons/hive/pkg/config"
spoke "github.com/hivecommons/hive/pkg/hub/spoke"
Expand Down Expand Up @@ -94,9 +95,11 @@ func (s *Server) logReadOptions(secrets *logread.SecretScrubber) logread.Options

// logSecretSources lists this hive's own secret values for read-time
// redaction: the dashboard token, the terminal login in its user:token form,
// the terminal key, secret files, and secret-named environment values.
// the terminal key, the operator's long-lived Claude token (which may live in a
// file outside the secret roots), secret files, and secret-named environment
// values.
func (s *Server) logSecretSources() logread.SecretSources {
values := []string{s.authToken, os.Getenv("HIVE_TTYD_CREDENTIAL"), spoke.TerminalSigningKey()}
values := []string{s.authToken, os.Getenv("HIVE_TTYD_CREDENTIAL"), spoke.TerminalSigningKey(), claude.OperatorToken()}
if s.authToken != "" {
values = append(values, "hive:"+s.authToken)
}
Expand Down
Loading
Loading