feat(cli): 1.31.5 — JSON peer list lifts role to top level + skill renders it
After 1.31.4 the human renderer surfaced role and groups, but launched- session LLMs still dropped them when they called peer list --json and built their own tables. - Top-level role field. The broker returns role nested under profile.role; the CLI now lifts it to a top-level role field at parse time so it is the second-most-visible JSON field after displayName. profile.role is preserved. - Updated claudemesh skill SKILL.md peer-list section with the full JSON shape (memberPubkey, sessionId, role, profile, isSelf, isThisSession) plus explicit guidance to render role + groups in any peer table inside a launched session. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "claudemesh-cli",
|
||||
"version": "1.31.4",
|
||||
"version": "1.31.5",
|
||||
"description": "Peer mesh for Claude Code sessions — CLI + MCP server.",
|
||||
"keywords": [
|
||||
"claude-code",
|
||||
|
||||
Reference in New Issue
Block a user