diff --git a/clusters/atlas/flux-system/applications/hermes/kustomization.yaml b/clusters/atlas/flux-system/applications/hermes/kustomization.yaml index 57fed46e..3949282b 100644 --- a/clusters/atlas/flux-system/applications/hermes/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/hermes/kustomization.yaml @@ -30,6 +30,10 @@ spec: kind: Deployment name: hermes-agent namespace: hermes + - apiVersion: apps/v1 + kind: DaemonSet + name: hermes-node-ssh-access + namespace: hermes - apiVersion: apps/v1 kind: Deployment name: hermes diff --git a/dockerfiles/Dockerfile.hermes-agent.dockerignore b/dockerfiles/Dockerfile.hermes-agent.dockerignore new file mode 100644 index 00000000..d5e5ddcc --- /dev/null +++ b/dockerfiles/Dockerfile.hermes-agent.dockerignore @@ -0,0 +1,6 @@ +** +!dockerfiles/hermes-python-sandbox-tool.py +!dockerfiles/hermes-public-extract/ +!dockerfiles/hermes-public-extract/** +!dockerfiles/hermes-session-activity-panel.tsx +!dockerfiles/hermes-session-migrate.py diff --git a/dockerfiles/hermes-session-activity-panel.tsx b/dockerfiles/hermes-session-activity-panel.tsx index 130c8ac9..f2be9ddc 100644 --- a/dockerfiles/hermes-session-activity-panel.tsx +++ b/dockerfiles/hermes-session-activity-panel.tsx @@ -104,8 +104,9 @@ function ActivityMessage({ /** * Show every persisted message and tool event without relying on xterm's - * canvas. API workers default to this view; the normal terminal remains one - * click away and continues running underneath it. + * canvas. Resumed sessions default to this view so an unknown or delayed + * backend source classification cannot hide activity; the normal terminal + * remains one click away and continues running underneath it. */ export function SessionActivityPanel({ sessionId, @@ -129,7 +130,7 @@ export function SessionActivityPanel({ api.getSessionMessages(sessionId, profile ?? ""), ]); setDetail(nextDetail); - setMessages(response.messages); + setMessages(Array.isArray(response.messages) ? response.messages : []); setError(null); setPollTime(Date.now()); if (stickToBottom.current) { @@ -169,9 +170,6 @@ export function SessionActivityPanel({ ? "Working" : "Run finished"; - // Ordinary interactive TUI sessions keep their established terminal UI. - if (detail && detail.source !== "api_server") return null; - if (!expanded) { return (