2 Commits

Author SHA1 Message Date
yuhao 03f0668456 fix: align nslogger harness with cli-anything patterns 2026-05-13 08:19:02 +00:00
bazinga8023 2cde68ae44 feat: make NSLogger logs available through CLI-Anything
Add an in-repo NSLogger harness so iOS/macOS NSLogger sessions can be parsed, filtered, exported, and received live through CLI-Anything. The live path mirrors the desktop GUI with native macOS Bonjour/NetService support while keeping direct TCP/TLS available for manually configured clients.

Constraint: CLI-Anything requires in-repo harnesses to provide registry metadata, canonical and packaged SKILL.md files, tests, README coverage, and an unmodified repl_skin.py copy.

Rejected: Submit registry-only external package | user asked to contribute this repository and the harness is ready for in-repo inclusion.

Confidence: high

Scope-risk: moderate

Directive: Do not replace the native Bonjour listener with dns-sd publication without validating against real NSLogger iOS clients; NSLogger.app uses listenForConnections semantics.

Tested: python3.10 -m pytest cli_anything/nslogger/tests -q

Tested: python3.10 -m cli_anything.nslogger.nslogger_cli -h

Tested: python3.10 -m cli_anything.nslogger.nslogger_cli listen -h

Tested: python3 -m json.tool registry.json
2026-04-21 11:24:18 +08:00