Skip to content

feat: integrate local OpenClaw and system monitoring#30

Draft
bigpowert25-del wants to merge 11 commits into
shanggqm:mainfrom
bigpowert25-del:codex-openclaw-local
Draft

feat: integrate local OpenClaw and system monitoring#30
bigpowert25-del wants to merge 11 commits into
shanggqm:mainfrom
bigpowert25-del:codex-openclaw-local

Conversation

@bigpowert25-del

Copy link
Copy Markdown

What changed

  • Replace the Claude Code surface with a local-only OpenClaw provider while keeping Codex support.
  • Attribute usage by producer: Codex activity remains under Codex even when invoked through OpenClaw, while OpenClaw counts only its own local main-agent sessions. NAS data is not read.
  • Mark tasks with Codex/OpenClaw sources and add a validated codex://threads/<thread-id> action for Codex task details.
  • Add local CPU, memory, and macOS thermal-state monitoring to the native status UI.
  • Improve large-history loading by avoiding unnecessary timestamp parsing and out-of-scope Skill file reads.
  • Add parser/navigation/system-monitor self-tests, packaging notices, and bilingual source acknowledgements.

Why

The local workflow has moved from Claude Code to OpenClaw, but usage and task data still need to remain attributable to the runtime that produced them. The original runtime model had no OpenClaw provider, no independent Codex navigation target, and no local system-health surface.

Root causes addressed

  • Runtime attribution was coupled to the previous Codex/Claude Code provider set.
  • Display task identifiers were not a safe navigation source for Codex desktop deep links.
  • Large histories performed eager parsing and attempted Skill reads outside the intended local roots, causing slow initial loads and macOS privacy prompts.
  • The app did not expose local CPU, memory, or thermal state.

User impact

The menu-bar app now shows only Codex and the local Mac OpenClaw runtime, keeps their token totals separate, labels task sources, opens valid Codex tasks in the Codex desktop app, and displays local system load. Existing task-card clicks still open the task detail view.

Validation

  • make build
  • git diff --check
  • --self-test-local-system
  • --self-test-task-navigation
  • --self-test-rate-limits
  • --self-test-statistics-time-zone
  • --self-test-updates
  • scripts/test-parsers.sh
  • strict app code-signature verification
  • DMG checksum verification and packaged license/notice inspection

Attribution

This customization preserves the upstream codexU MIT attribution and credits the OpenClaw project and community. See README.md, README.en.md, and THIRD_PARTY_NOTICES.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant