Skip to content

feat: add NSLogger CLI harness#238

Open
bazinga8023 wants to merge 2 commits intoHKUDS:mainfrom
bazinga8023:feat/nslogger-harness
Open

feat: add NSLogger CLI harness#238
bazinga8023 wants to merge 2 commits intoHKUDS:mainfrom
bazinga8023:feat/nslogger-harness

Conversation

@bazinga8023
Copy link
Copy Markdown

Summary

  • add an in-repo NSLogger harness under nslogger/agent-harness
  • support parsing, filtering, exporting, merging, tailing, and live NSLogger capture
  • mirror NSLogger.app live capture behavior with native macOS Bonjour/NetService support
  • add canonical and packaged SKILL.md files plus CLI-Hub registry metadata

Tests

  • python3.10 -m pytest cli_anything/nslogger/tests -q
  • python3.10 -m cli_anything.nslogger.nslogger_cli -h
  • python3.10 -m cli_anything.nslogger.nslogger_cli listen -h
  • python3 -m json.tool registry.json

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants