Connections follow-ups: restart detection, hide disconnected agent history, more apps - #90
Merged
Merged
Conversation
… more apps - Detect when an app has not restarted since OpenWorkGraph changed its config (Codex engine for Observe, Claude Desktop for Context) and tell the user to quit and reopen it. The ChatGPT app keeps its Codex engine running for days, so Codex Observe silently never started exporting. Install time is recorded, falling back to the newest managed backup. - Agents tab hides stored runs from agents whose Observe is off or removed (server-side hide_disconnected filter shared by both Agents scripts), with a toggle to show them and a note saying what is hidden. Nothing is deleted. - Add GitHub Copilot CLI, Kiro and Amazon Q Developer; label VS Code as 'VS Code + GitHub Copilot'. Explain that cloud apps (ChatGPT, Lovable, Microsoft 365 Copilot) need a tunnel. - Codex Context no longer claims it needs a restart: Codex reloads MCP servers for new chats.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problems (reported on a real install)
~/.codex/logs_2.sqlite) shows onlyHttpMetricsClientexports, no trace or log exports. The Codex engine inside the ChatGPT app (ChatGPT.app/Contents/Resources/codex app-server) had been running since Sep 17, and it builds OTel exporters only at startup. Context worked because MCP servers are spawned per chat. The UI said "takes effect the next time Codex starts", which reads as "next chat".Changes
server/connections.py): a target can declare a process matcher. If a matching process started before OpenWorkGraph installed the config, status includesrestart_needed: {app, running_since}, and the row says Quit and reopen the ChatGPT app (⌘Q) to finish turning on Observe (running since 17 Sep).*.owg-backup-*(written right before every managed change), so installs from earlier versions are covered./v1/agent-execution-traces?hide_disconnected=truedrops agent rows whose framework maps to a client with Observe off or not installed, and returnshidden_frameworks. Both Agents-tab scripts (agent_observability_v090.js,v0571_polish.js) use the same param, since one patches rows the other renders, and both refresh on toggle. There's a Show past runs from agents whose Observe is off checkbox (stored per browser) and a note naming what's hidden. Nothing is deleted.~/.copilot/mcp-config.json,type: local,tools: ["*"]), Kiro (~/.kiro/settings/mcp.json), Amazon Q Developer (~/.aws/amazonq/mcp.json). VS Code is relabelled VS Code + GitHub Copilot (Copilot agent mode reads the samemcp.json).Verification
tests/test_connections_followups_v092.py(8): native formats for the three new clients; restart-needed appears for an older engine and clears for a newer or absent one; backup-time fallback; matcher ignores Claude helpers, Claude Code CLI andcodex-code-mode-host;hidden_frameworksfollows the switch; route hides Claude Code history only withhide_disconnectedwhile keeping a custom agent.check_injected_dashboard_js.pyOK.test_v49…no_long_lived_mcp_bearer).restart_needed: the ChatGPT app, running since 2026-09-17;hidden_frameworks == {claude-code}.Not included: version bump; per-agent history deletion (the existing delete is time-range based and also removes desktop evidence).