@getnote/cli 1.0.14 → 1.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getnote/cli",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "CLI tool for Get笔记 — manage notes and knowledge bases from the terminal",
5
5
  "keywords": [
6
6
  "getnote",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: getnote-kb
3
- version: 0.5.1
3
+ version: 0.5.2
4
4
  description: Manage knowledge bases in Get笔记 via the getnote CLI
5
5
  ---
6
6
 
@@ -114,6 +114,8 @@ getnote kb remove <topic_id> <note_id> [note_id...]
114
114
  getnote kb remove vnrOAaGY 1234567890
115
115
  ```
116
116
 
117
+ > ⚠️ **订阅知识库限制**:如果目标知识库是他人创建(通过 `getnote kbs-sub` 获取),且用户不是该知识库的管理员,则无法添加或移除笔记,API 会返回错误。只有自己创建的知识库(`getnote kbs`)才支持完整的增删操作。
118
+
117
119
  ---
118
120
 
119
121
  ### List bloggers in a knowledge base
@@ -212,6 +214,7 @@ getnote quota -o json
212
214
  - `kb <topic_id> -o json` returns `{"success":true,"data":{"notes":[...],"has_more":...}}`
213
215
  - Get `topic_id` from `getnote kbs -o json` or `getnote kbs-sub -o json` → `data.topics[].topic_id` field (not `id`).
214
216
  - `kb add` / `kb remove` accept multiple note IDs — prefer batching over multiple calls.
217
+ - **Subscribed KBs are read-only** unless the user is an admin of that KB. `kb add` / `kb remove` will return an API error on subscribed KBs owned by others. Use `getnote kbs` (owned) vs `getnote kbs-sub` (subscribed) to distinguish.
215
218
  - `kb bloggers` → get `follow_id` → `kb blogger-contents` → get `post_id_alias` → `kb blogger-content` for full text.
216
219
  - `kb lives` → get `live_id` → `kb live` for AI summary + transcript.
217
220
  - `quota -o json` returns `{"success":true,"data":{"read":{"daily":{limit,used,remaining,reset_at},"monthly":{...}},"write":{...},"write_note":{...}}}`