2020117-agent 0.4.7 → 0.4.8
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/agent.js +14 -1
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -295,7 +295,20 @@ async function setupSovereign(label) {
|
|
|
295
295
|
subscribeNipXX(label);
|
|
296
296
|
// 8. Subscribe to DVM requests (Kind 5xxx) directly from relay
|
|
297
297
|
subscribeDvmRequests(label);
|
|
298
|
-
// 9.
|
|
298
|
+
// 9. Print startup summary
|
|
299
|
+
const relays = (keys.relays || RELAYS).join(', ');
|
|
300
|
+
console.log('');
|
|
301
|
+
console.log(`═══════════════════════════════════════════════`);
|
|
302
|
+
console.log(` Agent ready: ${agentName}`);
|
|
303
|
+
console.log(` Pubkey: ${keys.pubkey}`);
|
|
304
|
+
console.log(` Kind: ${KIND}`);
|
|
305
|
+
console.log(` Relays: ${relays}`);
|
|
306
|
+
console.log(` Lightning: ${LIGHTNING_ADDRESS || '(not set)'}`);
|
|
307
|
+
console.log(` NWC wallet: ${state.nwcParsed ? 'connected' : '(not set)'}`);
|
|
308
|
+
console.log(` Processor: ${state.processor?.name || 'none'}`);
|
|
309
|
+
console.log(`═══════════════════════════════════════════════`);
|
|
310
|
+
console.log('');
|
|
311
|
+
// 10. Start sovereign heartbeat (Kind 30333 to relay)
|
|
299
312
|
startSovereignHeartbeat(label);
|
|
300
313
|
}
|
|
301
314
|
async function publishAiInfo(label) {
|