refactor(cli): rename nc to ncl

Rename the CLI binary, socket path, container wrapper, error prefixes,
and all references from `nc` to `ncl`. Add ~/.local/bin symlink during
setup and pnpm script alias.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gavrielc
2026-05-08 15:56:09 +03:00
parent 33cbf59dd8
commit 0855369b79
15 changed files with 89 additions and 50 deletions

View File

@@ -1,15 +1,15 @@
#!/usr/bin/env bash
#
# nc — NanoClaw CLI launcher.
# ncl — NanoClaw CLI launcher.
#
# Resolves the project root from this script's location, cd's there so the
# host-resolved DATA_DIR matches the running host, and execs the TS entry
# via tsx. Symlink this file into a directory on your PATH (or alias `nc`
# via tsx. Symlink this file into a directory on your PATH (or alias `ncl`
# to its full path) to invoke from anywhere:
#
# ln -s "$(pwd)/bin/nc" /usr/local/bin/nc
# ln -s "$(pwd)/bin/ncl" /usr/local/bin/ncl
# # or
# alias nc="$(pwd)/bin/nc"
# alias ncl="$(pwd)/bin/ncl"
set -euo pipefail