multiclaws 0.3.2 → 0.3.3
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.
|
@@ -81,9 +81,12 @@ class MulticlawsService extends node_events_1.EventEmitter {
|
|
|
81
81
|
}
|
|
82
82
|
// Load profile for AgentCard description
|
|
83
83
|
let profile = await this.profileStore.load();
|
|
84
|
+
const isIncompleteProfile = !profile.ownerName?.trim() || !profile.bio?.trim();
|
|
84
85
|
if (!profile.ownerName?.trim()) {
|
|
85
86
|
profile.ownerName = this.options.displayName ?? node_os_1.default.hostname();
|
|
86
87
|
await this.profileStore.save(profile);
|
|
88
|
+
}
|
|
89
|
+
if (isIncompleteProfile) {
|
|
87
90
|
await this.setPendingProfileReview();
|
|
88
91
|
}
|
|
89
92
|
this.profileDescription = (0, agent_profile_1.renderProfileDescription)(profile);
|