zen-fs-config 0.7.16 → 0.7.17

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/index.d.mts CHANGED
@@ -1820,7 +1820,12 @@ interface IdentityBindingResult {
1820
1820
  unreadable?: boolean;
1821
1821
  error?: string;
1822
1822
  }
1823
- /** `kind=config · id=config · 实例 ID 665532a0…` 这类一行摘要。 */
1823
+ /**
1824
+ * `kind=config · id=config · 实例 ID 665532a0-…` 这类一行摘要。
1825
+ *
1826
+ * 实例 ID **给完整 UUID**:界面上要靠它区分「是同一个还是另一个」,
1827
+ * 截成前 8 位反而让人没法核对(`…` 也容易被误当成「同一个」)。
1828
+ */
1824
1829
  declare function summarizeIdentity(identity: {
1825
1830
  kind?: string;
1826
1831
  id?: string;
package/dist/index.d.ts CHANGED
@@ -1820,7 +1820,12 @@ interface IdentityBindingResult {
1820
1820
  unreadable?: boolean;
1821
1821
  error?: string;
1822
1822
  }
1823
- /** `kind=config · id=config · 实例 ID 665532a0…` 这类一行摘要。 */
1823
+ /**
1824
+ * `kind=config · id=config · 实例 ID 665532a0-…` 这类一行摘要。
1825
+ *
1826
+ * 实例 ID **给完整 UUID**:界面上要靠它区分「是同一个还是另一个」,
1827
+ * 截成前 8 位反而让人没法核对(`…` 也容易被误当成「同一个」)。
1828
+ */
1824
1829
  declare function summarizeIdentity(identity: {
1825
1830
  kind?: string;
1826
1831
  id?: string;
package/dist/index.js CHANGED
@@ -2490,7 +2490,7 @@ function summarizeIdentity(identity) {
2490
2490
  const parts = [
2491
2491
  `kind=${identity.kind ?? "?"}`,
2492
2492
  `id=${identity.id ?? "?"}`,
2493
- `\u5B9E\u4F8B ID=${identity.instanceId ? shortInstanceId(identity.instanceId) : "\uFF08\u65E0\uFF09"}`
2493
+ `\u5B9E\u4F8B ID=${identity.instanceId ?? "\uFF08\u65E0\uFF09"}`
2494
2494
  ];
2495
2495
  return parts.join(" \xB7 ");
2496
2496
  }
package/dist/index.mjs CHANGED
@@ -1731,7 +1731,7 @@ function summarizeIdentity(identity) {
1731
1731
  const parts = [
1732
1732
  `kind=${identity.kind ?? "?"}`,
1733
1733
  `id=${identity.id ?? "?"}`,
1734
- `\u5B9E\u4F8B ID=${identity.instanceId ? shortInstanceId(identity.instanceId) : "\uFF08\u65E0\uFF09"}`
1734
+ `\u5B9E\u4F8B ID=${identity.instanceId ?? "\uFF08\u65E0\uFF09"}`
1735
1735
  ];
1736
1736
  return parts.join(" \xB7 ");
1737
1737
  }
@@ -28447,7 +28447,7 @@ var ZenFSConfig = (() => {
28447
28447
  const parts = [
28448
28448
  `kind=${identity.kind ?? "?"}`,
28449
28449
  `id=${identity.id ?? "?"}`,
28450
- `\u5B9E\u4F8B ID=${identity.instanceId ? shortInstanceId(identity.instanceId) : "\uFF08\u65E0\uFF09"}`
28450
+ `\u5B9E\u4F8B ID=${identity.instanceId ?? "\uFF08\u65E0\uFF09"}`
28451
28451
  ];
28452
28452
  return parts.join(" \xB7 ");
28453
28453
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-fs-config",
3
- "version": "0.7.16",
3
+ "version": "0.7.17",
4
4
  "description": "Distributed config management library built on ZenFS, zen-fs-cache, and zen-fs-sync",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",