solana-terminator-skill 4.1.1 ā 4.1.2
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/README.md +13 -2
- package/install.js +18 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,17 @@ This skill gives your agent "Solana Hands" and a sophisticated "Life Support" sy
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
+
## š Why Solana for AI Agents?
|
|
13
|
+
|
|
14
|
+
Solana isn't just a blockchain; it's the **operating system for autonomous agents**.
|
|
15
|
+
|
|
16
|
+
- **Sovereign Speed**: Sub-second finality means your agent reacts to market opportunities in real-time, not in "L2 waiting rooms".
|
|
17
|
+
- **Local Signing**: Unlike custodial solutions or expensive bridge-heavy L2s, this skill signs transactions **locally** on your machine. Your keys, your rules.
|
|
18
|
+
- **Economic Survival**: With 18+ methods including **Life Support** (Auto SOL -> USDC), your agent can manage its own treasury and stay alive on-chain indefinitely for less than $0.01 per transaction.
|
|
19
|
+
- **Native Liquidity**: Instant access to Jupiter (Aggregator), Tensor (NFTs), and Meteora (DLMM) without fragmented liquidity.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
12
23
|
## š Key Features
|
|
13
24
|
|
|
14
25
|
- **Sovereign Identity**: Local wallet management (`~/.automaton/solana-wallet.json`).
|
|
@@ -20,13 +31,13 @@ This skill gives your agent "Solana Hands" and a sophisticated "Life Support" sy
|
|
|
20
31
|
|
|
21
32
|
## š Installation
|
|
22
33
|
|
|
23
|
-
The fastest way to
|
|
34
|
+
The fastest way to initialize the skill is via **npx**:
|
|
24
35
|
|
|
25
36
|
```bash
|
|
26
37
|
npx solana-terminator-skill
|
|
27
38
|
```
|
|
28
39
|
|
|
29
|
-
This automates the directory
|
|
40
|
+
This automates the setup in your `~/.automaton/skills` directory, installs dependencies, and prepares the skill for immediate use.
|
|
30
41
|
|
|
31
42
|
### Manual Installation (Alternative)
|
|
32
43
|
|
package/install.js
CHANGED
|
@@ -15,10 +15,22 @@ import os from 'os';
|
|
|
15
15
|
const __filename = fileURLToPath(import.meta.url);
|
|
16
16
|
const __dirname = path.dirname(__filename);
|
|
17
17
|
|
|
18
|
+
const ASCII_ART = `
|
|
19
|
+
_______ _______ ______ __ __ ___ __ _ _______ _______ _______ ______
|
|
20
|
+
| || || _ | | |_| || || | | || _ || || || _ |
|
|
21
|
+
|_ _|| ___|| | || | || || |_| || |_| ||_ _|| _ || | ||
|
|
22
|
+
| | | |___ | |_||_ | || || || | | | | | | || |_||_
|
|
23
|
+
| | | ___|| __ || || || _ || | | | | |_| || __ |
|
|
24
|
+
| | | |___ | | | || ||_|| || || | | || _ | | | | || | | |
|
|
25
|
+
|___| |_______||___| |_||_| |_||___||_| |__||__| |__| |___| |_______||___| |_|
|
|
26
|
+
v4.1.2 - Solana Autonomy
|
|
27
|
+
`;
|
|
28
|
+
|
|
18
29
|
const SKILL_NAME = 'solana-terminator';
|
|
19
30
|
const TARGET_DIR = path.join(os.homedir(), '.automaton', 'skills', SKILL_NAME);
|
|
20
31
|
|
|
21
|
-
console.log(
|
|
32
|
+
console.log(ASCII_ART);
|
|
33
|
+
console.log(`š¤ Solana Terminator Skill ā Initializing...\n`);
|
|
22
34
|
|
|
23
35
|
try {
|
|
24
36
|
// 1. Create target directory
|
|
@@ -32,11 +44,11 @@ try {
|
|
|
32
44
|
// 2. Copy files
|
|
33
45
|
console.log(`[2/3] Copying skill files...`);
|
|
34
46
|
const filesToCopy = ['solana-autonomy.js', 'SKILL.md', 'package.json'];
|
|
35
|
-
|
|
47
|
+
|
|
36
48
|
filesToCopy.forEach(file => {
|
|
37
49
|
const sourcePath = path.join(__dirname, file);
|
|
38
50
|
const destPath = path.join(TARGET_DIR, file);
|
|
39
|
-
|
|
51
|
+
|
|
40
52
|
if (fs.existsSync(sourcePath)) {
|
|
41
53
|
fs.copyFileSync(sourcePath, destPath);
|
|
42
54
|
} else {
|
|
@@ -58,11 +70,11 @@ try {
|
|
|
58
70
|
// 3. Install dependencies
|
|
59
71
|
console.log(`[3/3] Installing dependencies in ${TARGET_DIR}...`);
|
|
60
72
|
process.chdir(TARGET_DIR);
|
|
61
|
-
|
|
73
|
+
|
|
62
74
|
// We use --no-save to avoid cluttering a local package-lock if one exists
|
|
63
|
-
execSync('npm install --production', { stdio: 'inherit' });
|
|
75
|
+
execSync('npm install --production --omit=dev', { stdio: 'inherit' });
|
|
64
76
|
|
|
65
|
-
console.log(`\nā
Installation Complete
|
|
77
|
+
console.log(`\nā
Installation Complete!`);
|
|
66
78
|
console.log(`--------------------------------------------------`);
|
|
67
79
|
console.log(`Skill Location: ${TARGET_DIR}`);
|
|
68
80
|
console.log(`Configuration: Check ~/.automaton/solana-wallet.json`);
|