rootr-cli 0.17.1 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ko.md CHANGED
@@ -55,6 +55,22 @@ rootr config --api-key rootr_xxx --workspace ws_123 --base-url https://dev.rootr
55
55
 
56
56
  `~/.rootr/config.json`은 `chmod 600`으로 생성됩니다.
57
57
 
58
+ ### 출력 언어
59
+
60
+ 도움말·안내·오류 문구는 **로케일을 따릅니다** — `LC_ALL`/`LC_MESSAGES`/`LANG` 이 `ko` 로
61
+ 시작하면 한국어, 아니면 영어입니다. 서버처럼 로케일이 `C`/`en` 인 곳에서 한국어를
62
+ 보려면 `ROOTR_LANG=ko` 를 주세요.
63
+
64
+ ```bash
65
+ ROOTR_LANG=ko rootr --help # 한국어
66
+ ROOTR_LANG=en rootr --help # 영어
67
+ ```
68
+
69
+ MCP 서버도 같은 변수를 읽으니, `rootr mcp` 를 띄우는 클라이언트 설정의 `env` 에 넣으면
70
+ 됩니다. 도구 설명은 어느 쪽이든 영어입니다 — 에이전트가 읽는 스키마라서 그렇습니다.
71
+ `rootr memory --kind` 는 저장값이 한국어 네 가지로 고정이고, 입력만 영어
72
+ (`instruction`·`person`·`project`·`reference`)로도 받습니다.
73
+
58
74
  ### 키 2종
59
75
 
60
76
  Rootr API 키는 두 종류가 있고, 도구별로 요구하는 종류가 다릅니다.
package/README.md CHANGED
@@ -65,6 +65,7 @@ Precedence: **environment variables > `~/.rootr/config.json`**
65
65
  | `ROOTR_API_KEY` | `apiKey` | API key (`rootr_...`), sent as the `x-api-key` header |
66
66
  | `ROOTR_WORKSPACE` | `workspace` | Workspace id |
67
67
  | `ROOTR_BASE_URL` | `baseUrl` | Defaults to `https://rootr.io/api/v1` |
68
+ | `ROOTR_LANG` | — | `en` or `ko`. Without it the CLI follows your locale (`LC_ALL`/`LC_MESSAGES`/`LANG`): Korean if that starts with `ko`, English otherwise |
68
69
 
69
70
  Save them to the config file:
70
71
 
@@ -76,6 +77,19 @@ rootr config --api-key rootr_xxx --workspace ws_123 --base-url https://dev.rootr
76
77
 
77
78
  `~/.rootr/config.json` is written with mode `600`.
78
79
 
80
+ ### Language
81
+
82
+ Help, messages and errors come out in English by default, and in Korean when your locale says Korean.
83
+ Force it either way with `ROOTR_LANG`:
84
+
85
+ ```bash
86
+ ROOTR_LANG=ko rootr --help # Korean
87
+ ROOTR_LANG=en rootr --help # English
88
+ ```
89
+
90
+ The MCP server reads the same variable, so a client that spawns `rootr mcp` can set it in `env`.
91
+ Tool descriptions are English either way — that is the schema an agent consumes.
92
+
79
93
  ### Two kinds of key
80
94
 
81
95
  - **Workspace key** — scoped to one workspace. Scopes: `docs:read`, `docs:write`, `graph:read`,