Skip to content

docs: fix agent discovery gaps (8 MCP tools, events resource, devices expand)#7

Merged
chenliuyun merged 1 commit intomainfrom
docs/agent-discovery-gaps
Apr 19, 2026
Merged

docs: fix agent discovery gaps (8 MCP tools, events resource, devices expand)#7
chenliuyun merged 1 commit intomainfrom
docs/agent-discovery-gaps

Conversation

@chenliuyun
Copy link
Copy Markdown
Collaborator

Summary

  • capabilities.ts: adds account_overview to MCP_TOOLS (8 total) and exposes switchbot://events in surfaces.mcp.resources — agent bootstrap output now matches reality
  • agent-guide.md: tool table updated to all 8 tools; adds ### MCP resource: switchbot://events section with MQTT env var docs; fixes wrong flag --on-change-only--include-unchanged; fixes events tail --localevents tail; adds devices expand section with AC/Curtain/Blind/Relay examples
  • README.md: MCP tool count updated to 8 + events resource; adds devices expand subsection; adds devices explain mention
  • capabilities test: updated assertion from 7 → 8 tools; added account_overview and resources checks

Test plan

  • npm run build passes with no TypeScript errors
  • npm test — all 685 tests green (capabilities test now asserts 8 tools + resources)
  • switchbot capabilities --json | jq '.data.surfaces.mcp' — verify tools has 8 entries including account_overview, and resources is ["switchbot://events"]

…s expand

- capabilities.ts: add account_overview to MCP_TOOLS (8 total), expose
  switchbot://events in surfaces.mcp.resources
- agent-guide.md: fix tool table to show all 8 tools, add MCP resource
  section, fix --on-change-only → --include-unchanged, fix events tail
  flag, add devices expand section with AC/Curtain/Blind/Relay examples
- README.md: update MCP tool count to 8 + events resource, add devices
  expand and devices explain sections
- capabilities test: assert 8 tools, account_overview, and resources array
@chenliuyun chenliuyun merged commit 48492db into main Apr 19, 2026
3 checks passed
@chenliuyun chenliuyun deleted the docs/agent-discovery-gaps branch April 19, 2026 09:41
chenliuyun pushed a commit that referenced this pull request Apr 20, 2026
Document every fix landed in this branch beyond the history-aggregate
feature: bugs #1, #4, #5, #6, #8, #9, #10, #11, #12, #13, #14, #15,
#16, #17, #18 from the OpenClaw v2.4.0 smoke-test report. Call out
the deferred items (#2, #7) explicitly so readers don't assume they
were overlooked.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
chenliuyun pushed a commit that referenced this pull request Apr 20, 2026
Document every fix landed in this branch beyond the history-aggregate
feature: bugs #1, #4, #5, #6, #8, #9, #10, #11, #12, #13, #14, #15,
#16, #17, #18 from the OpenClaw v2.4.0 smoke-test report. Call out
the deferred items (#2, #7) explicitly so readers don't assume they
were overlooked.
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