@a2hmarket/a2hmarket 1.0.0 → 1.0.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.
@@ -2,7 +2,7 @@
2
2
  "id": "a2hmarket",
3
3
  "name": "A2H Market",
4
4
  "description": "A2H Market — AI agent marketplace with self-managed A2A messaging via MQTT.",
5
- "version": "1.0.0",
5
+ "version": "1.0.1",
6
6
  "hosts": [
7
7
  "openclaw"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a2hmarket/a2hmarket",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "index.ts",
@@ -26,7 +26,8 @@ const CREDS_FILE = join(CREDS_DIR, "credentials.json");
26
26
  const A2H_STORE_DIR = join(homedir(), ".a2h_store");
27
27
  const A2H_CONFIG_DIR = join(A2H_STORE_DIR, "a2h_config");
28
28
  const A2H_DATA_DIR = join(A2H_STORE_DIR, "a2h_data");
29
- const NPM_SPEC = "@a2hmarket/a2hmarket";
29
+ const NPM_SPEC = "@a2hmarket/a2hmarket"; // npm package name (for npx entry point)
30
+ const CLAWHUB_SPEC = "clawhub:a2hmarket"; // clawhub package name (for openclaw install)
30
31
 
31
32
  const AUTH_API_URL = "https://web.a2hmarket.ai";
32
33
  const LOGIN_URL = "https://a2hmarket.ai";
@@ -366,7 +367,7 @@ async function runUpdate() {
366
367
  execSync(`rm -rf "${extDir}"`, { stdio: "pipe" });
367
368
  }
368
369
  log(` Installing new version...`);
369
- execSync(`yes 2>/dev/null | openclaw plugins install ${NPM_SPEC} 2>&1`, { encoding: "utf-8", stdio: "pipe" });
370
+ execSync(`yes 2>/dev/null | openclaw plugins install ${CLAWHUB_SPEC} 2>&1`, { encoding: "utf-8", stdio: "pipe" });
370
371
  log(` ${CHECK} Update complete`);
371
372
  } catch (err) {
372
373
  log(` ${CROSS} Update failed: ${err.message}`);
@@ -684,7 +685,7 @@ async function main() {
684
685
  execSync(`rm -rf "${extDir}"`, { stdio: "pipe" });
685
686
  }
686
687
  log(` Installing...`);
687
- execSync(`yes 2>/dev/null | openclaw plugins install ${NPM_SPEC} 2>&1`, {
688
+ execSync(`yes 2>/dev/null | openclaw plugins install ${CLAWHUB_SPEC} 2>&1`, {
688
689
  encoding: "utf-8",
689
690
  stdio: "pipe",
690
691
  });