ali-skills 0.0.2 → 0.0.4-beta.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/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # ali-skills
2
2
 
3
+ > **内网专用**:本包是 [`@ali/cli-skills`](https://registry.anpm.alibaba-inc.com/@ali/cli-skills) 的公网壳包,需在阿里内网环境下使用。安装前请确保已配置 `@ali` scope 的内网 registry:
4
+ >
5
+ > ```
6
+ > @ali:registry=https://registry.anpm.alibaba-inc.com
7
+ > ```
8
+
3
9
  The CLI for the open agent skills ecosystem.
4
10
 
5
11
  <!-- agent-list:start -->
package/bin/cli.mjs CHANGED
@@ -1,14 +1,2 @@
1
1
  #!/usr/bin/env node
2
-
3
- import module from 'node:module';
4
-
5
- // https://nodejs.org/api/module.html#module-compile-cache
6
- if (module.enableCompileCache && !process.env.NODE_DISABLE_COMPILE_CACHE) {
7
- try {
8
- module.enableCompileCache();
9
- } catch {
10
- // Ignore errors
11
- }
12
- }
13
-
14
- await import('../dist/cli.js');
2
+ await import('@ali/cli-skills/bin/cli.mjs');
package/package.json CHANGED
@@ -1,23 +1,16 @@
1
1
  {
2
2
  "name": "ali-skills",
3
- "version": "0.0.2",
3
+ "version": "0.0.4-beta.0",
4
4
  "description": "The open agent skills ecosystem",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "ali-skills": "./bin/cli.mjs",
8
- "skills": "./bin/cli.mjs",
9
- "add-skill": "./bin/cli.mjs"
8
+ "skills": "./bin/cli.mjs"
10
9
  },
11
10
  "files": [
12
- "dist",
13
11
  "bin",
14
12
  "README.md"
15
13
  ],
16
- "scripts": {
17
- "build": "tsc",
18
- "dev": "tsx src/cli.ts",
19
- "prepublishOnly": "npm run build"
20
- },
21
14
  "keywords": [
22
15
  "cli",
23
16
  "agent-skills",
@@ -31,19 +24,13 @@
31
24
  "type": "git",
32
25
  "url": "git+http://gitlab.alibaba-inc.com/trip-tools/ali-skills.git"
33
26
  },
27
+ "scripts": {
28
+ "publish:beta": "npm version prerelease --preid=beta --no-git-tag-version && npm publish --tag beta"
29
+ },
34
30
  "author": "",
35
31
  "license": "MIT",
36
32
  "dependencies": {
37
- "@clack/prompts": "^0.11.0",
38
- "gray-matter": "^4.0.3",
39
- "picocolors": "^1.1.1",
40
- "simple-git": "^3.27.0",
41
- "xdg-basedir": "^5.1.0"
42
- },
43
- "devDependencies": {
44
- "@types/node": "^22.10.0",
45
- "tsx": "^4.0.0",
46
- "typescript": "^5.9.3"
33
+ "@ali/cli-skills": "^2.0.2"
47
34
  },
48
35
  "engines": {
49
36
  "node": ">=18"