@stalfh233/omc-cli 0.6.91 → 0.6.92
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/dist/read.js +9 -0
- package/package.json +3 -3
package/dist/read.js
CHANGED
|
@@ -245,6 +245,15 @@ function compactReadback(result) {
|
|
|
245
245
|
compact[key] = value;
|
|
246
246
|
continue;
|
|
247
247
|
}
|
|
248
|
+
// 2026-11-21(0.6.91 真机,05b childRowsHint):教学串不是数据。hint 类
|
|
249
|
+
// 字符串被 summarizeValue 折成 `{length,sha256,omitted}` 等于把教学本身
|
|
250
|
+
// 废掉——`data.load` 的内联子表 hint 209B 就这样变成了一个摘要(读起来
|
|
251
|
+
// 像"有 hint",实际一个字都读不到)。与上面 small-object 同一条规则:
|
|
252
|
+
// 折叠它是纯损失。上限 1200B 防异常长串,超过才摘要。
|
|
253
|
+
if (typeof value === "string" && /Hint$/.test(key) && Buffer.byteLength(value, "utf8") <= 1200) {
|
|
254
|
+
compact[key] = value;
|
|
255
|
+
continue;
|
|
256
|
+
}
|
|
248
257
|
const summarized = summarizeValue(value);
|
|
249
258
|
compact[key] = summarized !== null && typeof summarized === "object" && !Array.isArray(summarized)
|
|
250
259
|
? { ...summarized, omitted: true }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stalfh233/omc-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.92",
|
|
4
4
|
"description": "CloudPivot 8.6 configuration capability CLI — governed, fail-closed, coverage-manifest bounded.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"commander": "14.0.3",
|
|
59
|
-
"omc-core": "0.6.
|
|
59
|
+
"omc-core": "0.6.92",
|
|
60
60
|
"proper-lockfile": "4.1.2",
|
|
61
61
|
"write-file-atomic": "6.0.0",
|
|
62
62
|
"zod": "^3.23.8",
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"directory": "packages/omc-cli"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"@stalfh233/omc-fake-platform": "0.6.
|
|
77
|
+
"@stalfh233/omc-fake-platform": "0.6.92"
|
|
78
78
|
}
|
|
79
79
|
}
|