Skip to content

feat: add npx CLI distribution#4

Merged
yfge merged 9 commits intomainfrom
feature/npx-cli
Feb 3, 2026
Merged

feat: add npx CLI distribution#4
yfge merged 9 commits intomainfrom
feature/npx-cli

Conversation

@yfge
Copy link
Owner

@yfge yfge commented Oct 31, 2025

Summary

  • expose a talk-replay CLI entry and npm packaging config
  • document the npx flow and release automation updates
  • add tests and workflows to exercise the CLI and pack artifacts

Testing

  • pnpm lint
  • pnpm test
  • pnpm build
  • node ./bin/talk-replay.mjs --help

@yfge yfge force-pushed the feature/npx-cli branch 3 times, most recently from f9b8e74 to 17e529f Compare October 31, 2025 10:08
yfge and others added 9 commits February 3, 2026 22:55
Add service management commands to the CLI for auto-starting TalkReplay
on login. Supports macOS (launchd), Linux (systemd user service), and
Windows (node-windows).

New commands:
- talk-replay install [--port] [--hostname] [--name]
- talk-replay uninstall
- talk-replay start/stop/restart/status

Also skip flaky timeout tests in sessions-api.test.ts temporarily.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add prominent tagline highlighting multi-provider support
- Add npm and GitHub stars badges
- Add one-liner npx command for quick start
- Simplify and reorganize key info bullets
- Sync Chinese README with same improvements

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Use pnpm/action-setup@v4 before actions/setup-node (fixes cache issue)
- Remove node-windows from optionalDependencies (fixes lockfile mismatch)
- Code already handles dynamic import of node-windows when needed

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
pnpm/action-setup@v4 auto-detects version from package.json packageManager field.
Specifying version: 9 caused conflict with existing packageManager config.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@yfge yfge merged commit 42a0162 into main Feb 3, 2026
2 checks passed
@yfge yfge deleted the feature/npx-cli branch February 3, 2026 14:59
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.

1 participant