@ours.network/mcp 0.15.2 → 0.16.0-nightly.1
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/contacts.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
|
|
2
|
+
function r(t){let n=new Map;for(let e of t)n.set(e.name,(n.get(e.name)??0)+1);return n}function a(t){let n=r(t);return t.map(e=>`\u2022 ${e.name} \u2014 ${e.container_id}${e.rootTag??""}${e.degradedQueued!==void 0?` \u2014 \u26A0 keys pending restore (${e.degradedQueued} queued)`:""}${(n.get(e.name)??0)>1?" \u2014 \u26A0 DUPLICATE NAME: sends to this name abort; address by container id, repair with rename_contact":""}${e.renamedFrom!==void 0?` \u2014 \u26A0 renamed on import (two contacts were named "${e.renamedFrom}"; do NOT assume the one keeping the bare name is the live one \u2014 verify by container id, settle with rename_contact)`:""}`)}export{a as buildContactLines,r as duplicateNameCounts};
|