ancoder-skill-cli 0.13.30 → 0.13.31
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 +4 -4
- package/bin/targets/skill-cli-darwin-arm64 +0 -0
- package/bin/targets/skill-cli-darwin-x64 +0 -0
- package/bin/targets/skill-cli-linux-arm64 +0 -0
- package/bin/targets/skill-cli-linux-x64 +0 -0
- package/bin/targets/skill-cli-win32-x64.exe +0 -0
- package/package.json +1 -1
- package/scripts/make-install-bundle.js +14 -1
package/README.md
CHANGED
|
@@ -51,11 +51,11 @@ The installer downloads the matching prebuilt binary, installs it as `skill-cli`
|
|
|
51
51
|
The `raw/main` URL is the moving latest channel. Each GitHub release updates Gitee `main` with the newest install bundle. If you need a reproducible install, pin a specific release tag instead:
|
|
52
52
|
|
|
53
53
|
```powershell
|
|
54
|
-
irm https://gitee.com/marvin-dev/skill-cli-release/raw/v0.13.
|
|
54
|
+
irm https://gitee.com/marvin-dev/skill-cli-release/raw/v0.13.31/scripts/install.ps1 | iex
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
curl -fsSL https://gitee.com/marvin-dev/skill-cli-release/raw/v0.13.
|
|
58
|
+
curl -fsSL https://gitee.com/marvin-dev/skill-cli-release/raw/v0.13.31/scripts/install.sh | bash
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
Before sharing the Gitee command externally, make sure both the Gitee `main` branch and the release tag have been updated. The installer in `main` is generated from the latest release bundle.
|
|
@@ -69,8 +69,8 @@ Gitee release checklist:
|
|
|
69
69
|
- `https://gitee.com/marvin-dev/skill-cli-release/raw/main/scripts/install.ps1`
|
|
70
70
|
- `https://gitee.com/marvin-dev/skill-cli-release/raw/main/scripts/install.sh`
|
|
71
71
|
- `https://gitee.com/marvin-dev/skill-cli-release/raw/main/bin/targets/skill-cli-win32-x64.exe`
|
|
72
|
-
- `https://gitee.com/marvin-dev/skill-cli-release/raw/v0.13.
|
|
73
|
-
- `https://gitee.com/marvin-dev/skill-cli-release/raw/v0.13.
|
|
72
|
+
- `https://gitee.com/marvin-dev/skill-cli-release/raw/v0.13.31/scripts/install.ps1`
|
|
73
|
+
- `https://gitee.com/marvin-dev/skill-cli-release/raw/v0.13.31/bin/targets/skill-cli-win32-x64.exe`
|
|
74
74
|
Or run:
|
|
75
75
|
|
|
76
76
|
```bash
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ancoder-skill-cli",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.31",
|
|
4
4
|
"description": "CLI for managing everything-claude-code (ECC) components — agents, skills, commands, rules, hooks, MCP configs. Single binary, all assets embedded.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"skill-cli": "bin/skill-cli.js"
|
|
@@ -8,6 +8,7 @@ const rootDir = path.join(__dirname, '..');
|
|
|
8
8
|
const outDir = path.join(rootDir, 'dist', 'install');
|
|
9
9
|
const pkg = JSON.parse(fs.readFileSync(path.join(rootDir, 'package.json'), 'utf8'));
|
|
10
10
|
const version = `v${pkg.version}`;
|
|
11
|
+
const generatedAt = normalizeGeneratedAt(process.env.SKILL_CLI_BUNDLE_GENERATED_AT);
|
|
11
12
|
const targets = [
|
|
12
13
|
'skill-cli-darwin-arm64',
|
|
13
14
|
'skill-cli-darwin-x64',
|
|
@@ -76,6 +77,18 @@ function writeFile(dest, content) {
|
|
|
76
77
|
fs.writeFileSync(dest, content);
|
|
77
78
|
}
|
|
78
79
|
|
|
80
|
+
function normalizeGeneratedAt(value) {
|
|
81
|
+
if (!value) {
|
|
82
|
+
return new Date().toISOString();
|
|
83
|
+
}
|
|
84
|
+
const parsed = new Date(value);
|
|
85
|
+
if (Number.isNaN(parsed.getTime())) {
|
|
86
|
+
console.error(`invalid SKILL_CLI_BUNDLE_GENERATED_AT: ${value}`);
|
|
87
|
+
process.exit(2);
|
|
88
|
+
}
|
|
89
|
+
return parsed.toISOString();
|
|
90
|
+
}
|
|
91
|
+
|
|
79
92
|
fs.rmSync(outDir, { recursive: true, force: true });
|
|
80
93
|
|
|
81
94
|
for (const target of targets) {
|
|
@@ -119,7 +132,7 @@ const manifest = {
|
|
|
119
132
|
package: pkg.name,
|
|
120
133
|
version: pkg.version,
|
|
121
134
|
tag: version,
|
|
122
|
-
generatedAt
|
|
135
|
+
generatedAt,
|
|
123
136
|
rootURL: rootURL || null,
|
|
124
137
|
scriptRootURL: scriptRootURL || null,
|
|
125
138
|
baseURL: baseURL || null,
|