feat: agent-native StreamNet CLI foundation + v0.1 vertical slice#1
Merged
Conversation
…slice Single command registry drives the Commander CLI and the machine-readable manifest from one declaration. Includes multi-indexer search (torrents-csv, YTS) with fan-out + dedupe, MKV-first health ranking, WebTorrent streaming engine, native VLC detection (rejects Flatpak/Snap) + spawn, cross-OS setup and doctor, and commands search/stream/play/setup/doctor/config/manifest. Agent-native: global --json with stable envelopes, deterministic POSIX exit codes, non-interactive auto-detection, --yes auto-select, manifest discovery. Config under XDG paths (zod-validated, secret redaction). AGPL-3.0 LICENSE (SPDX) + LICENSE-COMMERCIAL, dual-license README, full repo-standard files, GitHub Actions CI/CodeQL/release. 38 tests incl. agent-mode subprocess. Strips docs/planning from tracking (kept local, gitignored). https://claude.ai/code/session_011i1KgH6K9LWjiy7xncGGap
…e repo manifest: wrap process.stdout.write in a callback-awaited promise so the OS pipe buffer is guaranteed flushed before process.exit() is called. On macOS with Node 20 the pipe flush races the exit when writing large JSON, causing 'Unexpected end of JSON input' in the subprocess test. codeql: add `if: github.event.repository.private == false` guard — CodeQL requires GitHub Advanced Security which is not available for private repos on the free plan. Keeps the workflow in place for when the repo goes public. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
Foundation + v0.1 vertical slice for streamnet-cli, the agent-native torrent→VLC streaming tool. A single command registry (
src/registry/) is the source of truth that drives the Commander CLI and the machine-readablemanifestfrom one declaration, so the human and agent surfaces cannot drift.What's included
Core (v0.1 vertical slice)
setupinstaller (apt/dnf/pacman/zypper, brew, winget/choco) anddoctorsearch,stream,play,setup,doctor,config,manifestAgent-native layer (acceptance criterion, every command)
--jsonwith stable, versioned envelopes (exactly one line on stdout)--no-input);--yesauto-selects-composability;streamnet manifestfor agent discoveryConfig & repo standards
LICENSE(SPDX text) +LICENSE-COMMERCIAL; dual-license READMEVerification
lint,typecheck,build,prettier --checkall passNotes
docs/planning/is untracked (kept local) and gitignored per the public-flip plan.streamnet mcp) and subtitles are stubbed for v0.4 / v0.3 per the roadmap.https://claude.ai/code/session_011i1KgH6K9LWjiy7xncGGap