e10-data 0.1.17 → 0.1.18-xiaoe
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/CHANGELOG.md +17 -0
- package/bin/e10-data.mjs +1924 -1932
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# 变更记录
|
|
2
2
|
|
|
3
|
+
## 0.1.18(2026-09-24)—— 新增 ds fields-dsl / 收敛凭据明文落盘
|
|
4
|
+
|
|
5
|
+
### 1. 新增 `ds fields-dsl` 子命令
|
|
6
|
+
|
|
7
|
+
- 新增 `ds fields-dsl --group <gid> --table <tid> [--app-id <id>]`,参数与输出结构同 `ds fields`,
|
|
8
|
+
仅接口换为 `/api/dw/newetl/chatBi/ds/fieldsForDSL`(`postMultipart` 复用同一套表单构造)
|
|
9
|
+
- 已在 `CMD_SUBS.ds` 白名单与顶层 `main()` 分发表同步登记,`--help` 增加对应用法行
|
|
10
|
+
- 输出与 `ds fields` 一致(`== 表: <name> (id=..) 字段 N 个 ==` 逐字段制表符输出);带 `--json` 时原样输出响应
|
|
11
|
+
|
|
12
|
+
### 2. 移除 `syncCacheMd()` 明文镜像同步
|
|
13
|
+
|
|
14
|
+
- 删除 `syncCacheMd()` 函数及其在 `loadAuth()` 中的调用:不再把 `baseUrl` / `ETEAMSID` /
|
|
15
|
+
完整 Cookie 串 / `userId` / `tenantKey` 明文刷新写入 `~/.workbuddy/e10-login-cache.md`
|
|
16
|
+
- 影响:该明文镜像不再由本 CLI 维护(存量文件属历史遗留,可自行清理);
|
|
17
|
+
取数与鉴权链路不受影响(凭据仍走 e10-login 出口 + 进程间 TTL 缓存,均不落明文)
|
|
18
|
+
- 已确认全仓无 `syncCacheMd` 残留引用,`node --check` 通过
|
|
19
|
+
|
|
3
20
|
## 0.1.17(2026-09-20)—— 启动性能改造
|
|
4
21
|
|
|
5
22
|
本次只做性能与健壮性改造,**不改变任何命令的参数、输出与退出码**(已用 10 条命令做新旧输出逐字节对比,全部一致)。
|