@highway1/cli 0.1.56 → 0.1.58
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.js +3 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -17465,21 +17465,20 @@ var ClawDaemon = class {
|
|
|
17465
17465
|
publicKey: this.identity.publicKey,
|
|
17466
17466
|
privateKey: this.identity.privateKey
|
|
17467
17467
|
});
|
|
17468
|
-
const
|
|
17469
|
-
const cardConfig = getAgentCard2();
|
|
17468
|
+
const cardConfig = getAgentCard();
|
|
17470
17469
|
const capabilities = (cardConfig?.capabilities ?? []).map((c) => ({
|
|
17471
17470
|
id: c,
|
|
17472
17471
|
name: c,
|
|
17473
17472
|
description: `Capability: ${c}`
|
|
17474
17473
|
}));
|
|
17475
|
-
const agentCard =
|
|
17474
|
+
const agentCard = createAgentCard(
|
|
17476
17475
|
this.identity.did,
|
|
17477
17476
|
cardConfig?.name ?? "Clawiverse Agent",
|
|
17478
17477
|
cardConfig?.description ?? "",
|
|
17479
17478
|
capabilities,
|
|
17480
17479
|
[]
|
|
17481
17480
|
);
|
|
17482
|
-
const signedCard = await
|
|
17481
|
+
const signedCard = await signAgentCard(agentCard, (data) => sign(data, keyPair.privateKey));
|
|
17483
17482
|
const relayUrls = getRelayUrls4();
|
|
17484
17483
|
this.relayClient = createRelayClient({
|
|
17485
17484
|
relayUrls,
|