@getnote/cli 1.8.1 → 1.8.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.md CHANGED
@@ -384,6 +384,10 @@ gnote note quick <note_id>
384
384
 
385
385
  CLI 已登录时也可使用 `file-token <extension>` 获取 token、`upload` 直传,再用 `file-add <topic_id> <directory_id> --metadata-file <上传结果文件>` 提交。临时 token 不提供通用 OpenAPI 权限。
386
386
 
387
+ `file-add -o json` 保留历史数字字段 `id`、`topic_id`、`directory_id`,同时提供精确的十进制字符串 `id_str`、`topic_id_str`、`directory_id_str`;新消费者应使用后者,避免 JavaScript 大整数精度损失。旧服务端缺少字符串字段时,CLI 会无损补齐。`capabilities.guarantees.ids_as_strings=false` 表示不保证所有历史 ID 字段均为字符串,各命令的推荐字段以 `command_results` 为准。
388
+
389
+ 发芽月份必须是合法的 `YYYY-MM`;非法月份在发请求前报错。`note chapters <id>` 读取章节时间线,与录音标记独立;没有可识别章节时返回空 `items`。
390
+
387
391
  ---
388
392
 
389
393
  ## 全局参数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getnote/cli",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "CLI tool for 得到大脑(Get笔记) — manage notes and knowledge bases from the terminal",
5
5
  "keywords": [
6
6
  "getnote",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file