Skip to content

Releases: robert7/remnote-cli

v0.5.0

21 Feb 14:59

Choose a tag to compare

v0.2.0

18 Feb 14:08

Choose a tag to compare

[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 status commands.
  • PID file tracking at ~/.remnote-cli/daemon.pid with stale process detection.
  • Six bridge commands: create, search, read, update, journal, status.
  • JSON output (default, for agentic consumers) and --text flag 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.ts from hello-world to full Commander.js program with subcommands and global options.
  • Updated README.md with a dedicated Documentation section that links all guides under docs/guides/.
  • Updated AGENTS.md to 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 status bridge action name to get_status for 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, and journal to use bridge-compatible snake_case names.
  • Fixed update payload mapping to send appendContent for --append.
  • Added unit coverage for command-to-bridge action and payload mapping.
  • Updated AGENTS.md with a no-AI-integration-test policy and prominent companion-project context paths.
  • Updated AGENTS.md companion-project references to sibling-relative $(pwd)/../... paths with short project-purpose notes.
  • Added terminology aliases in AGENTS.md to clarify project name equivalence (MCP server/bridge and companion naming).
  • Added status/license/CI/codecov badges at the top of README.md to align with companion repository conventions.
  • Updated README top description to use the current bridge name and link to remnote-mcp-bridge.