Skip to content

docs: align SDKs and docs with single-port model#9

Merged
nedpals merged 1 commit into
masterfrom
claude/deviceserver-clientserver-merge-u2sjof
Jul 5, 2026
Merged

docs: align SDKs and docs with single-port model#9
nedpals merged 1 commit into
masterfrom
claude/deviceserver-clientserver-merge-u2sjof

Conversation

@nedpals

@nedpals nedpals commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #8 (the device/client server merge onto a single port). Documentation, comments, and UI labels only — no behavior change, no .go changes.

The merge left the SDKs functionally correct (they're URL-parameterized, and the device client already targets the shared port via ?mode=device), but the surrounding docs still described two separate servers and carried a stale example port. This aligns the wording with the single-port model.

Changes

SDKs (comments / type docs only)

  • nfc-client.js / nfc-client.d.ts: fix the stale example port (180809470) and add a header note that it connects to the shared agent port via plain /ws.
  • nfc-device-client.js / nfc-device-client.d.ts: add a matching note that it connects via /ws?mode=device on the same shared port; reword "Device Server" → "NFC Agent".

Docs

  • docs/api.md: ## Device Server API## Device API; prose → "device endpoint" / "the agent" (also fixes the prior inconsistency with the already-renamed "Client API").
  • docs/javascript-client.md: ## NFCClient (Client Server)(client role); "Device Server" → "agent" in body text.
  • README.md: update the two "Device Server" mentions and the cross-links to the renamed anchors.
  • client/test-client.html: relabel the URL fields "Agent URL (client)" / "Agent URL (device)".

Notes

  • Two section headings were renamed; every anchor link pointing at them was updated in the same change. Verified no broken anchors and no remaining "Device Server" / "Client Server" / 9471 references remain (CHANGELOG history aside).
  • Out of scope (tracked separately): the pre-existing govulncheck finding GO-2026-5026 in golang.org/x/net, whose fix requires a Go 1.25 bump + CI linter upgrade.

🤖 Generated with Claude Code


Generated by Claude Code

Follow-up to the device/client server merge (#8). No behavior change —
comments, type docs, guide prose, and test-client labels only.

- nfc-client SDK: fix stale example port (18080 -> 9470) and note it
  connects to the shared agent port via plain /ws.
- nfc-device SDK: note it connects via /ws?mode=device on the same shared
  port; reword "Device Server" -> "NFC Agent".
- docs/api.md, docs/javascript-client.md, README.md: rename the
  "Device Server"/"Client Server" role wording to device/client
  endpoints of the single agent; update the section anchors and the links
  that point at them.
- test-client.html: relabel the two URL fields as "Agent URL (client)"
  and "Agent URL (device)".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019UWqA9fEkcZQyEk9qujEqK
@nedpals
nedpals merged commit 4e0f4c4 into master Jul 5, 2026
2 of 3 checks passed
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.

2 participants