Releases: robert7/remnote-cli
Releases · robert7/remnote-cli
v0.5.0
v0.2.0
[0.2.0] - 2026-02-18
FULL CHANGELOG: https://github.com/robert7/remnote-cli/blob/v0.2.0/CHANGELOG.md
Added
- Daemon architecture: background process hosting WebSocket server (:3002) and HTTP control API (:3100).
- WebSocket server for RemNote Bridge plugin connectivity (ported from remnote-mcp-server).
- Daemon lifecycle management:
daemon start,daemon stop,daemon statuscommands. - PID file tracking at
~/.remnote-cli/daemon.pidwith stale process detection. - Six bridge commands:
create,search,read,update,journal,status. - JSON output (default, for agentic consumers) and
--textflag for human-readable output. - Daemon client (fetch-based HTTP) for CLI-to-daemon communication.
- Pino-based structured logging with optional pino-pretty for TTY.
- Global CLI flags:
--json,--text,--control-port,--verbose,--version. - Exit codes: 0 (success), 1 (error), 2 (daemon not running), 3 (bridge not connected).
- Integration test suite with 6 workflows (daemon lifecycle, status, create/search, read/update, journal, errors).
- Integration test runner (
run-integration-test.sh) with interactive confirmation. - Unit tests for WebSocket server, control server, daemon client, PID utilities, formatter, CLI structure.
- Production dependencies:
ws,pino. - Dev dependencies:
@types/ws,pino-pretty. - Architecture documentation (
docs/architecture.md). - User guides: installation, daemon management, command reference, integration testing, development setup,
troubleshooting. - Updated README with architecture diagram, quick start, command reference, and troubleshooting.
- ExecPlan for daemon implementation (
.agents/execplans/cli-daemon-implementation.md).
Changed
- Rewrote
src/cli.tsfrom hello-world to full Commander.js program with subcommands and global options. - Updated
README.mdwith a dedicated Documentation section that links all guides underdocs/guides/. - Updated
AGENTS.mdto reflect current daemon-based architecture and implemented command/test scope. - Updated integration tests to require a pre-running daemon (no test-managed daemon start/stop lifecycle).
- Updated integration testing guide to document external daemon prerequisite and revised workflow order.
- Fixed CLI
statusbridge action name toget_statusfor compatibility with current RemNote Bridge plugin. - Added unit coverage to prevent regressions in status action dispatch.
- Fixed CLI bridge action mappings for
create,read,update, andjournalto use bridge-compatible snake_case names. - Fixed
updatepayload mapping to sendappendContentfor--append. - Added unit coverage for command-to-bridge action and payload mapping.
- Updated
AGENTS.mdwith a no-AI-integration-test policy and prominent companion-project context paths. - Updated
AGENTS.mdcompanion-project references to sibling-relative$(pwd)/../...paths with short project-purpose notes. - Added terminology aliases in
AGENTS.mdto clarify project name equivalence (MCP server/bridge and companion naming). - Added status/license/CI/codecov badges at the top of
README.mdto align with companion repository conventions. - Updated README top description to use the current bridge name and link to
remnote-mcp-bridge.