Repository navigation
docs(hwip): send to a session by its agent name and list every machine - #5
Merged
Merged
Conversation
Document that hwip_agent_send takes the agent's own session name (the one Claude Code shows, e.g. ko-qmd-70) as a target, and that hwip_agent_list all: true / hwip agent list --all lists every machine's sessions so the agent can find one on another PC first.
hwip_agent_list with all reads the account's device list, so the lines saying the tools need no API key or server now hold only without all.
This was referenced Oct 31, 2026
Member
Author
Review — Approve (docs-only)Scope: 4 files (+14/-8) · CI: pass · Risk: Low · 반박됨 0 Scope Check: CLEAN
Spec coverage (형제 PR 구현과 대조)
Findings없음. |
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.
Summary
다른 세션의 에이전트가 사용자가 부르는 Claude Code 세션 이름(
ko-qmd-70같은 cwd 기반 derived 이름,/rename이름)으로 다른 머신의 세션에hwip_agent_send할 수 있게 한다. 지금은 리스너가 derived 이름을 서버에 올리지 않아UNKNOWN_TARGET이 난다. 보내기 전에 전 머신 세션을 조회하는hwip_agent_list {all:true}·hwip agent list --all도 더한다.이 변경은 레포 4개에 걸친다 — 배포 순서 server → cli → mcp-server(plugin 은 문서). 새 필드는 양쪽 다 optional 이라 어느 순서로 가도 깨지지 않지만, server 가 먼저여야 handle 이 저장된다.
관련 PR (배포 순서): 1. hwipit/hwip#662 (server) → 2. hwipit/cli#29 → 3. hwipit/mcp-server#7 · 문서 #5
Changes
skills/hwip/SKILL.md·README.md·CLAUDE.md·docs/ARCHITECTURE.md— handle 로 보내기,hwip_agent_list {all:true}·hwip agent list --allHow to Test
cli
node scripts/sync-from-plugin.mjs --check→ match.Evidence
문서 변경 — 해당 없음.
Risks
none.
Merge danger
Door: two-way · Blast radius: docs only
문서만.
Alternatives considered
providerSessionName에 derived 이름도 싣기 — 앱 표시 정책(auto-name 숨김)을 깨서 버림. 매칭 전용 필드를 따로 둔다(D1, 사용자 결정).hwip sessions명령·새 MCP 툴 — 기존agent list에all옵션 하나로 충분(D3, 사용자 결정).Auto-decided
providerSessionName으로 매칭됨--allJSON 모양:{v:1, all:true, sessions}— 로컬 행의 상위 집합(host·online·handle·alias 추가)all경로: MCP 클라이언트가GET /devices직접 + 공용listAgentTargets— send 와 같은 기기 목록·키, 구버전 CLI 에--all이 없을 때의 실패 경로가 사라짐KNOWN_RUN_TITLE_MAX관례)Acceptance
providerSessionHandle에 싣고providerSessionName은 지금처럼 비움(앱 표시 불변)resolveAgentTarget(cli·mcp 두 사본)이 handle 로 풀고, 여럿이면 AMBIGUOUS_TARGET 후보에 handle·host·statehwip agent list --all --json·hwip_agent_list {all:true}가 전 머신 세션을 반환verify-check: 8/8 green·audit: ok (5 checked rows at 7a01332)Checklist
/review --full(opus fork + sonnet 교차, 형제 레포 별도) — Critical·Important 0/security-scan(변경분) — SECURE, Low 2(기존 경로) 중 1건 수정🤖 Generated with Claude Code