@elisym/mcp 0.9.0 → 0.10.0
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 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { LIMITS, DEFAULT_KIND_OFFSET, SolanaPaymentStrategy, makeCensor, DEFAULT_REDACT_PATHS, validateAgentName, RELAYS, toDTag, formatAssetAmount, estimateNetworkBaseline, formatSol as formatSol$1, USDC_SOLANA_DEVNET, estimateSolFeeLamports, formatFeeBreakdown, resolveAssetFromPaymentRequest as resolveAssetFromPaymentRequest$1, parseAssetAmount, ElisymIdentity, ElisymClient, NATIVE_SOL, resolveKnownAsset, formatNetworkBaseline, getProtocolProgramId, getProtocolConfig, assetKey, assetByKey, KNOWN_ASSETS } from '@elisym/sdk';
|
|
3
|
-
import { listAgents, createAgentDir,
|
|
3
|
+
import { listAgents, createAgentDir, writeYamlInitial, writeExampleSkillTemplate, writeSecrets, resolveAgent, loadAgent, globalConfigPath, writeYaml, writeFileAtomic as writeFileAtomic$1 } from '@elisym/sdk/agent-store';
|
|
4
4
|
import { loadGlobalConfig, writeGlobalConfig } from '@elisym/sdk/node';
|
|
5
5
|
import { getBase58Encoder, getBase58Decoder, generateKeyPairSigner, createSolanaRpc, address, createSolanaRpcSubscriptions, sendAndConfirmTransactionFactory, getSignatureFromTransaction, pipe, createTransactionMessage, setTransactionMessageFeePayerSigner, setTransactionMessageLifetimeUsingBlockhash, appendTransactionMessageInstructions, signTransactionMessageWithSigners, createKeyPairSignerFromBytes, isAddress } from '@solana/kit';
|
|
6
6
|
import { Command } from 'commander';
|
|
@@ -59,7 +59,7 @@ async function saveAgentConfig(name, input) {
|
|
|
59
59
|
validateAgentName(name);
|
|
60
60
|
const created = await createAgentDir({ target: "home", name, cwd: process.cwd() });
|
|
61
61
|
const network = input.network ?? "devnet";
|
|
62
|
-
await
|
|
62
|
+
await writeYamlInitial(created.dir, {
|
|
63
63
|
display_name: void 0,
|
|
64
64
|
description: input.description,
|
|
65
65
|
picture: void 0,
|
|
@@ -69,6 +69,7 @@ async function saveAgentConfig(name, input) {
|
|
|
69
69
|
llm: void 0,
|
|
70
70
|
security: input.security ?? {}
|
|
71
71
|
});
|
|
72
|
+
await writeExampleSkillTemplate(created.dir);
|
|
72
73
|
await writeSecrets(
|
|
73
74
|
created.dir,
|
|
74
75
|
{
|