itismyskillmarket 1.3.27 → 1.3.29
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 +33 -1
- package/dist/index.js +14 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SkillMarket
|
|
2
2
|
|
|
3
|
-
Cross-platform skill manager for AI coding tools (Cursor, VSCode, Codex, OpenCode, Claude Code, Antigravity, OpenClaw, Hermes Agent).
|
|
3
|
+
> **v1.3.29** — Cross-platform skill manager for AI coding tools (Cursor, VSCode, Codex, OpenCode, Claude Code, Antigravity, OpenClaw, Hermes Agent).
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -14,6 +14,25 @@ Or use directly:
|
|
|
14
14
|
npx itismyskillmarket --help
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
## Download Standalone .exe (Windows)
|
|
18
|
+
|
|
19
|
+
Download the **standalone Windows executable** (~86 MB) — no Node.js installation required:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Download from GitHub Releases
|
|
23
|
+
# https://github.com/wxc2004/market/releases/download/v1.3.29/skillmarket.exe
|
|
24
|
+
|
|
25
|
+
# Double-click the exe to start GUI + open browser automatically
|
|
26
|
+
# Or run from terminal:
|
|
27
|
+
.\skillmarket.exe # Start GUI (same as double-click)
|
|
28
|
+
.\skillmarket.exe --help # Show CLI help
|
|
29
|
+
.\skillmarket.exe ls # List available skills
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
> **双击体验**: 直接双击 `skillmarket.exe` 会自动启动 Web GUI 界面并打开浏览器,无需打开终端输入命令。带参数运行则进入命令行模式。
|
|
33
|
+
|
|
34
|
+
All CLI commands work identically to the npm version. Built with Node.js SEA (Single Executable Applications).
|
|
35
|
+
|
|
17
36
|
## Usage
|
|
18
37
|
|
|
19
38
|
```bash
|
|
@@ -160,6 +179,14 @@ skm admin owner rm my-skill old-maintainer
|
|
|
160
179
|
skm admin access my-skill restricted
|
|
161
180
|
```
|
|
162
181
|
|
|
182
|
+
### GUI Upload Skill
|
|
183
|
+
|
|
184
|
+
The `skm gui` web interface includes an **Upload** view for publishing or installing skills from a `.zip` archive:
|
|
185
|
+
|
|
186
|
+
1. Drag & drop or select a skill zip file
|
|
187
|
+
2. Click "Upload & Parse" to extract and validate
|
|
188
|
+
3. Choose action: **Publish to npm**, **Install Locally**, or **Both**
|
|
189
|
+
|
|
163
190
|
### GUI Admin Dashboard
|
|
164
191
|
|
|
165
192
|
The `skm gui` web interface includes an **Admin** view with:
|
|
@@ -265,6 +292,11 @@ npm run build
|
|
|
265
292
|
|
|
266
293
|
# Link for local testing
|
|
267
294
|
npm link
|
|
295
|
+
|
|
296
|
+
# Build standalone .exe (Windows)
|
|
297
|
+
# Requires: Node.js 20+, esbuild, postject
|
|
298
|
+
node scripts/build-exe.mjs
|
|
299
|
+
# Output: dist/skillmarket.exe (~86 MB)
|
|
268
300
|
```
|
|
269
301
|
|
|
270
302
|
## Architecture
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { Command } from "commander";
|
|
|
5
5
|
import { readFileSync as readFileSync3 } from "fs";
|
|
6
6
|
import { fileURLToPath as fileURLToPath4 } from "url";
|
|
7
7
|
import { dirname as dirname2, resolve } from "path";
|
|
8
|
+
import { execSync as execSync3 } from "child_process";
|
|
8
9
|
|
|
9
10
|
// src/commands/registry.ts
|
|
10
11
|
import fs2 from "fs-extra";
|
|
@@ -3288,4 +3289,16 @@ admin.command("access <skill> <level>").description("Set package access (public|
|
|
|
3288
3289
|
process.exit(1);
|
|
3289
3290
|
}
|
|
3290
3291
|
});
|
|
3291
|
-
|
|
3292
|
+
var hasArgs = process.argv.slice(2).length > 0;
|
|
3293
|
+
if (!hasArgs) {
|
|
3294
|
+
const port = 18770;
|
|
3295
|
+
setTimeout(() => {
|
|
3296
|
+
try {
|
|
3297
|
+
execSync3(`start http://localhost:${port}`, { timeout: 5e3 });
|
|
3298
|
+
} catch {
|
|
3299
|
+
}
|
|
3300
|
+
}, 1500);
|
|
3301
|
+
startGuiServer(port);
|
|
3302
|
+
} else {
|
|
3303
|
+
program.parse();
|
|
3304
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "itismyskillmarket",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.29",
|
|
4
4
|
"description": "Cross-platform skill manager for AI coding tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "tsup",
|
|
11
11
|
"dev": "tsup --watch",
|
|
12
|
-
"test": "vitest"
|
|
12
|
+
"test": "vitest",
|
|
13
|
+
"build:exe": "node scripts/build-exe.mjs"
|
|
13
14
|
},
|
|
14
15
|
"dependencies": {
|
|
15
16
|
"adm-zip": "^0.5.17",
|
|
@@ -18,6 +19,8 @@
|
|
|
18
19
|
},
|
|
19
20
|
"devDependencies": {
|
|
20
21
|
"@types/fs-extra": "^11.0.4",
|
|
22
|
+
"@yao-pkg/pkg": "^6.19.0",
|
|
23
|
+
"postject": "^1.0.0-alpha.6",
|
|
21
24
|
"tsup": "^8.0.0",
|
|
22
25
|
"typescript": "^5.3.0",
|
|
23
26
|
"vitest": "^1.2.0"
|