aawp-skill 1.2.0 → 1.3.1

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.
Files changed (2) hide show
  1. package/bin/install.js +5 -14
  2. package/package.json +1 -1
package/bin/install.js CHANGED
@@ -6,10 +6,10 @@ const path = require('path');
6
6
  const os = require('os');
7
7
  const { execSync, spawnSync } = require('child_process');
8
8
 
9
- const VERSION = '1.0.4';
9
+ const VERSION = '1.3.1';
10
10
  const SKILL_NAME = 'aawp';
11
11
  const RAW_BASE = 'https://raw.githubusercontent.com/aawp-ai/aawp/main/skills/aawp';
12
- const FALLBACK = 'http://185.198.26.196:8080/skill';
12
+ const FALLBACK = 'https://aawp.ai/skill';
13
13
 
14
14
  // ── ANSI colors ───────────────────────────────────────────────────────────────
15
15
  const isTTY = process.stdout.isTTY;
@@ -28,7 +28,6 @@ const fail = s => console.log(` ${red('✗')} ${s}`);
28
28
 
29
29
  // ── Fetch helper ──────────────────────────────────────────────────────────────
30
30
  async function fetchText(url) {
31
- // Node 18+ has native fetch; fallback to https module
32
31
  if (typeof fetch !== 'undefined') {
33
32
  const res = await fetch(url);
34
33
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
@@ -75,7 +74,7 @@ const CLIENTS = [
75
74
  const r = spawnSync('clawhub', ['install', SKILL_NAME], { stdio: 'inherit' });
76
75
  return r.status === 0;
77
76
  },
78
- skillDir: null, // handled by clawhub
77
+ skillDir: null,
79
78
  },
80
79
  {
81
80
  name: 'Cursor',
@@ -104,7 +103,6 @@ const CLIENTS = [
104
103
  },
105
104
  ];
106
105
 
107
- // Universal dir — read by Cursor, OpenCode, and most standard clients
108
106
  const UNIVERSAL_DIR = path.join(HOME, '.agents', 'skills');
109
107
 
110
108
  // ── Install to dir ────────────────────────────────────────────────────────────
@@ -119,10 +117,9 @@ function installToDir(baseDir, skillMd) {
119
117
  async function main() {
120
118
  console.log('');
121
119
  console.log(` ${bold('AAWP Skill Installer')} ${dim('v' + VERSION)}`);
122
- console.log(` ${dim('AI Agent Wallet Protocol — agentskills.io standard')}`);
120
+ console.log(` ${dim('AI Agent Wallet Protocol — aawp.ai')}`);
123
121
  console.log('');
124
122
 
125
- // Detect clients
126
123
  const detected = CLIENTS.filter(c => c.detect());
127
124
  const detectedNames = detected.map(c => c.name);
128
125
 
@@ -133,7 +130,6 @@ async function main() {
133
130
  }
134
131
  console.log('');
135
132
 
136
- // Download SKILL.md
137
133
  info('Downloading SKILL.md...');
138
134
  let skillMd;
139
135
  try {
@@ -147,7 +143,6 @@ async function main() {
147
143
 
148
144
  let count = 0;
149
145
 
150
- // OpenClaw via clawhub
151
146
  const openclaw = detected.find(c => c.name === 'OpenClaw');
152
147
  if (openclaw) {
153
148
  info('Installing via clawhub (OpenClaw)...');
@@ -161,7 +156,6 @@ async function main() {
161
156
  console.log('');
162
157
  }
163
158
 
164
- // Collect unique dirs
165
159
  const seenDirs = new Set();
166
160
  const dirsToInstall = [];
167
161
 
@@ -172,7 +166,6 @@ async function main() {
172
166
  }
173
167
  }
174
168
 
175
- // Always add universal
176
169
  if (!seenDirs.has(UNIVERSAL_DIR)) {
177
170
  dirsToInstall.push({ dir: UNIVERSAL_DIR, label: 'universal (~/.agents/skills)' });
178
171
  }
@@ -189,7 +182,6 @@ async function main() {
189
182
  }
190
183
  }
191
184
 
192
- // Done
193
185
  console.log('');
194
186
  if (count > 0) {
195
187
  console.log(` ${bold(green('AAWP skill installed!'))}`);
@@ -197,11 +189,10 @@ async function main() {
197
189
  console.log(` ${dim('Restart your AI client to load the skill.')}`);
198
190
  console.log(` ${dim('Then ask: "set up my AAWP wallet"')}`);
199
191
  console.log(` ${dim('Full autonomy (24/7 daemon + cron): clawhub install aawp')}`);
200
- console.log(` ${dim('Docs: https://github.com/aawp-ai/aawp')}`);
192
+ console.log(` ${dim('Docs: https://aawp.ai · https://github.com/aawp-ai/aawp')}`);
201
193
  } else {
202
194
  warn('Nothing was installed.');
203
195
  console.log(` ${dim('Try manually: copy SKILL.md to your client\'s skills directory.')}`);
204
- console.log(` ${dim('Guide: https://agentskills.io/what-are-skills')}`);
205
196
  }
206
197
  console.log('');
207
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aawp-skill",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "Install the AAWP skill for any Agent Skills compatible AI client",
5
5
  "keywords": [
6
6
  "aawp",