skillset 0.1.0-beta.1 → 0.1.0-beta.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/bin/create-skillset.js +15 -0
- package/bin/skillset.js +15 -0
- package/package.json +4 -3
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { spawnSync } from "node:child_process";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
import { dirname, join } from "node:path";
|
|
6
|
+
|
|
7
|
+
const cliPath = join(dirname(fileURLToPath(import.meta.url)), "..", "src", "cli.ts");
|
|
8
|
+
const result = spawnSync("bun", [cliPath, "create", ...process.argv.slice(2)], { stdio: "inherit" });
|
|
9
|
+
|
|
10
|
+
if (result.error) {
|
|
11
|
+
console.error("create-skillset requires Bun. Install it from https://bun.sh and retry.");
|
|
12
|
+
process.exit(1);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
process.exit(result.status ?? 1);
|
package/bin/skillset.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { spawnSync } from "node:child_process";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
import { dirname, join } from "node:path";
|
|
6
|
+
|
|
7
|
+
const cliPath = join(dirname(fileURLToPath(import.meta.url)), "..", "src", "cli.ts");
|
|
8
|
+
const result = spawnSync("bun", [cliPath, ...process.argv.slice(2)], { stdio: "inherit" });
|
|
9
|
+
|
|
10
|
+
if (result.error) {
|
|
11
|
+
console.error("skillset requires Bun. Install it from https://bun.sh and retry.");
|
|
12
|
+
process.exit(1);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
process.exit(result.status ?? 1);
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillset",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.2",
|
|
4
4
|
"description": "Source-first compiler for Claude and Codex agent loadouts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
|
+
"bin/*.js",
|
|
7
8
|
"src/*.ts",
|
|
8
9
|
"docs/",
|
|
9
10
|
"README.md"
|
|
@@ -31,8 +32,8 @@
|
|
|
31
32
|
"skills"
|
|
32
33
|
],
|
|
33
34
|
"bin": {
|
|
34
|
-
"create-skillset": "
|
|
35
|
-
"skillset": "
|
|
35
|
+
"create-skillset": "bin/create-skillset.js",
|
|
36
|
+
"skillset": "bin/skillset.js"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|
|
38
39
|
"build": "bun run typecheck",
|