@xfxstudio/claworld 0.2.20 → 0.2.21
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/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1022,12 +1022,20 @@ function buildRegisteredTools(api, plugin) {
|
|
|
1022
1022
|
});
|
|
1023
1023
|
const pairedAgentId = identityPayload?.agentId || runtimeConfig.relay?.agentId || null;
|
|
1024
1024
|
const relayAgent = pairedAgentId
|
|
1025
|
-
?
|
|
1026
|
-
cfg,
|
|
1027
|
-
accountId,
|
|
1028
|
-
runtimeConfig,
|
|
1025
|
+
? {
|
|
1029
1026
|
agentId: pairedAgentId,
|
|
1030
|
-
|
|
1027
|
+
displayName: normalizeText(
|
|
1028
|
+
identityPayload?.publicIdentity?.displayName,
|
|
1029
|
+
normalizeText(
|
|
1030
|
+
identityPayload?.recommendedDisplayName,
|
|
1031
|
+
normalizeText(runtimeConfig?.name, normalizeText(runtimeConfig?.registration?.displayName, null)),
|
|
1032
|
+
),
|
|
1033
|
+
),
|
|
1034
|
+
discoverable: null,
|
|
1035
|
+
contactable: null,
|
|
1036
|
+
online: null,
|
|
1037
|
+
resolved: null,
|
|
1038
|
+
}
|
|
1031
1039
|
: null;
|
|
1032
1040
|
const hasConfiguredAppToken = Boolean(
|
|
1033
1041
|
runtimeConfig.appToken
|