@getnote/cli 1.1.4 → 1.1.7

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.md CHANGED
@@ -1,6 +1,6 @@
1
- # Get笔记 CLI
1
+ # 得到大脑(Get笔记) CLI
2
2
 
3
- Get笔记的命令行工具,让你在终端和 AI Agent 里直接管理笔记和知识库。
3
+ 得到大脑(Get笔记)的命令行工具,让你在终端和 AI Agent 里直接管理笔记和知识库。
4
4
 
5
5
  存链接、记文字、搜笔记、管知识库——一条命令搞定,支持脚本和 AI Agent 调用。
6
6
 
@@ -246,7 +246,7 @@ make install
246
246
 
247
247
  柳比歇夫时间日志法的核心是**每天记录自己把时间花在了哪里**,事后统计、复盘、改进。
248
248
 
249
- 结合 Get笔记内链,可以用脚本自动串联:
249
+ 结合 得到大脑(Get笔记)内链,可以用脚本自动串联:
250
250
 
251
251
  ```bash
252
252
  # 每天早上新建当天日志,内链到关联项目笔记
@@ -276,7 +276,7 @@ $ getnote search "工作日志" --limit 7 -o json
276
276
 
277
277
  ## 相关链接
278
278
 
279
- - [Get笔记官网](https://biji.com)
279
+ - [得到大脑(Get笔记)官网](https://biji.com)
280
280
  - [开放平台文档](https://www.biji.com/openapi)
281
281
  - [问题反馈](https://github.com/iswalle/getnote-cli/issues)
282
282
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getnote/cli",
3
- "version": "1.1.4",
3
+ "version": "1.1.7",
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-auth
3
- version: 0.3.0
3
+ version: 0.4.0
4
4
  description: Manage authentication for Get笔记 CLI
5
5
  ---
6
6
 
@@ -13,7 +13,7 @@ Log in, log out, and check authentication status.
13
13
  ### Log in
14
14
 
15
15
  ```
16
- getnote auth login [--api-key <key>] [--client-id <id>]
16
+ getnote auth login [--api-key <key>]
17
17
  ```
18
18
 
19
19
  | Mode | Command | Description |
@@ -27,9 +27,6 @@ getnote auth login
27
27
 
28
28
  # API key directly
29
29
  getnote auth login --api-key gk_live_xxx
30
-
31
- # API key + Client ID
32
- getnote auth login --api-key gk_live_xxx --client-id cli_xxx
33
30
  ```
34
31
 
35
32
  Get your API key at: https://www.biji.com/settings/developer (keys start with `gk_live_`)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: getnote-note
3
- version: 0.3.0
3
+ version: 0.4.0
4
4
  description: Manage notes in Get笔记 via the getnote CLI
5
5
  ---
6
6
 
@@ -100,6 +100,9 @@ Returns full note including content, tags, attachments. Use `--field` to extract
100
100
  | `updated_at` | Last updated time |
101
101
  | `url` | Source URL (link notes) |
102
102
  | `excerpt` | Excerpt |
103
+ | `web_content` | Full web page content (link notes only) |
104
+ | `source` | Note source (e.g. `openapi`, `manual`) |
105
+ | `tags` | Comma-separated tag names |
103
106
 
104
107
  ```bash
105
108
  getnote note 1234567890
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: getnote-search
3
- version: 0.3.0
3
+ version: 0.4.0
4
4
  description: Semantic search across notes in Get笔记 via the getnote CLI
5
5
  ---
6
6
 
@@ -25,7 +25,7 @@ getnote search <query> [--kb <topic_id>] [--limit <n>]
25
25
  | `--kb` | — | Limit search to a knowledge base (`topic_id`) |
26
26
  | `--limit` | 10 | Max results (max 10) |
27
27
 
28
- Results are ranked by semantic relevance (high → low). Each result includes: `note_id`, `title`, `content` (excerpt), `created_at`, `note_type`.
28
+ Results are ranked by semantic relevance (high → low). Each result includes: `note_id`, `title`, `content` (excerpt), `score`, `created_at`, `note_type`.
29
29
 
30
30
  > Note: `note_id` is only populated for `NOTE` type results. Other types (`FILE`, `BLOGGER`, `LIVE`, etc.) return an empty `note_id`.
31
31
 
@@ -45,7 +45,7 @@ getnote search "机器学习" --limit 5 -o json
45
45
  ## Agent Usage Notes
46
46
 
47
47
  - Use `-o json` when parsing results programmatically.
48
- - JSON response: `{"success":true,"results":[{"note_id":"...","title":"...","content":"...","created_at":"...","note_type":"..."}]}`
48
+ - JSON response: `{"success":true,"results":[{"note_id":"...","title":"...","content":"...","score":0.95,"created_at":"...","note_type":"..."}]}`
49
49
  - Note: `results` is at the top level, not nested under `data`.
50
50
  - Get `topic_id` for `--kb` from `getnote kbs -o json` → `data.topics[].topic_id`.
51
51
  - For `NOTE` type results, use `getnote note <note_id>` to get the full content.