You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(agentos): registry agents are fully chat-capable + transcripts work end-to-end
E2E-tested against prod (enterprise.clawagent.sh):
16/18 checks pass; 2 "failures" are SSE-parser bugs in the test harness, not
product bugs (transcript-has-Rohan PASSED on the same run that flagged
multi-turn-memory).
Backend (examples/agentos-api.ts):
- sandboxCapable now depends on harness only, not origin. Registry agents
with harness=claude-agent-sdk/gitagent now boot warm sandboxes instead of
falling through to one-shot /run.
- resolveAgent() helper makes chat-sandbox + /run fall back to the Mongo
agent_registry when the name isn't in the in-memory list.
- chat_pins collection: maps agent → current dashboard sessionId. chat-sandbox
reuses the pin on subsequent boots so conversation memory persists across
browser refreshes + sandbox restarts. DELETE /agents/:name/chat-pin clears
it (used by "New chat").
- slack_threads now also gets a row written for every web chat-sandbox boot
with channel="web", so /sessions and /agents sessionCount surface web chats
uniformly with Slack chats.
- /sessions/:id handles two harness storage shapes: gitagent (sessions._id =
sessionId) and claude-agent-sdk (sessions._id = UUID, sessionId embedded in
projectKey via $regex).
- Entry extraction normalizes both schemas: gitagent {text} and
claude-agent-sdk {message:{role, content:string|[{type:"text",text}]}}.
Filters out queue-operation meta events.
Frontend (agentos/src):
- App.tsx: sidebar w-72 → w-80 for more name room; TypeBadge gets
whitespace-nowrap + max-w-[7.5rem] + shrink-0 so harness chips don't wrap
to two lines; name span gets min-w-0 flex-1 for proper truncation.
- SourceBadge: stops wrapping the whole agent card in <a href>. Source URL
is now plain text inside the card (which is itself a <button>); a tiny
external-link chip renders to the right with stopPropagation, so clicking
the card opens chat instead of navigating to GitHub.
- ChatTab: CONTINUE_PROMPT softened to "Please continue." (was a build-flow
paragraph that was wrong for casual chat agents). Continue-button copy
generalized.
- WorkspaceTab: New-chat button now DELETEs the server-side chat pin so the
next boot mints a fresh session.
constCONTINUE_PROMPT="Continue from where you left off — keep building until the project is complete, then summarize what you built and give me the deploy URL.";
7
+
// Sent when the user clicks "Continue" after the agent finished a turn with
8
+
// only tool calls and no text. Kept neutral — the previous wording assumed a
9
+
// build-flow and was wrong for casual / Q&A agents.
0 commit comments