askill-cli 0.1.1 → 0.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 CHANGED
@@ -54,7 +54,7 @@ askill is a universal package manager for AI agent skills. It enables agents to
54
54
 
55
55
  ```bash
56
56
  # Install
57
- curl -fsSL https://askill.sh/install.sh | sh
57
+ curl -fsSL https://askill.sh | sh
58
58
 
59
59
  # Install a skill
60
60
  askill add owner/repo@skill-name
@@ -71,7 +71,7 @@ askill list
71
71
  ### One-line install (recommended)
72
72
 
73
73
  ```bash
74
- curl -fsSL https://askill.sh/install.sh | sh
74
+ curl -fsSL https://askill.sh | sh
75
75
  ```
76
76
 
77
77
  ### npm
package/dist/cli.mjs CHANGED
@@ -4,8 +4,9 @@
4
4
  import { homedir } from "os";
5
5
  import { join } from "path";
6
6
  import { existsSync } from "fs";
7
- var VERSION = "0.1.1";
7
+ var VERSION = "0.1.2";
8
8
  var API_BASE_URL = "https://askill.sh/api/v1";
9
+ var REGISTRY_URL = "https://askill.sh";
9
10
  var RESET = "\x1B[0m";
10
11
  var BOLD = "\x1B[1m";
11
12
  var DIM = "\x1B[2m";
@@ -795,7 +796,7 @@ async function selfUpdate() {
795
796
  if (!downloadUrl) {
796
797
  console.log(`${RED}No download available for your platform (${platformKey})${RESET}`);
797
798
  console.log(`Please update manually:`);
798
- console.log(` ${CYAN}curl -fsSL https://askill.sh/install.sh | sh${RESET}`);
799
+ console.log(` ${CYAN}curl -fsSL https://askill.sh | sh${RESET}`);
799
800
  console.log(` ${DIM}or${RESET}`);
800
801
  console.log(` ${CYAN}npm install -g askill-cli@latest${RESET}`);
801
802
  return false;
@@ -837,7 +838,7 @@ async function selfUpdate() {
837
838
  } catch (error) {
838
839
  console.log(`${RED}Update failed: ${error instanceof Error ? error.message : "Unknown error"}${RESET}`);
839
840
  console.log(`Please update manually:`);
840
- console.log(` ${CYAN}curl -fsSL https://askill.sh/install.sh | sh${RESET}`);
841
+ console.log(` ${CYAN}curl -fsSL https://askill.sh | sh${RESET}`);
841
842
  console.log(` ${DIM}or${RESET}`);
842
843
  console.log(` ${CYAN}npm install -g askill-cli@latest${RESET}`);
843
844
  return false;
@@ -1967,6 +1968,9 @@ async function runSearch(args) {
1967
1968
  }
1968
1969
  const installCmd = skill.owner && skill.repo ? `gh:${skill.owner}/${skill.repo}@${displayName}` : `gh:${displayName}`;
1969
1970
  console.log(` ${pc.dim("askill add")} ${installCmd}`);
1971
+ if (skill.id) {
1972
+ console.log(` ${pc.dim(REGISTRY_URL + "/skills/" + skill.id)}`);
1973
+ }
1970
1974
  console.log();
1971
1975
  }
1972
1976
  p.outro(`Browse more at ${pc.cyan("https://askill.sh")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askill-cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "askill - The Agent Skill Package Manager",
5
5
  "type": "module",
6
6
  "bin": {