create-lean-os 0.1.1

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.
Files changed (3) hide show
  1. package/README.md +15 -0
  2. package/index.js +20 -0
  3. package/package.json +19 -0
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # create-lean-os
2
+
3
+ Create a LeanOS workspace with the standard npm scaffold command:
4
+
5
+ ```bash
6
+ npm create lean-os
7
+ ```
8
+
9
+ This package is a thin wrapper around the `lean-os` CLI wizard. It runs the same setup flow as:
10
+
11
+ ```bash
12
+ npx lean-os ai
13
+ ```
14
+
15
+ Use `npm create lean-os` for new workspaces. Use `npx lean-os ...` for operational commands after a workspace already exists.
package/index.js ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+
3
+ const args = process.argv.slice(2);
4
+
5
+ if (args.includes("--help") || args.includes("-h")) {
6
+ console.log(`
7
+ LeanOS Create
8
+ Agent-native startup operating system scaffold
9
+
10
+ Usage:
11
+ npm create lean-os
12
+
13
+ Compatibility:
14
+ npx lean-os ai
15
+ `);
16
+ process.exit(0);
17
+ }
18
+
19
+ const { runAiCommand } = await import("lean-os/dist/commands/ai.js");
20
+ await runAiCommand();
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "create-lean-os",
3
+ "version": "0.1.1",
4
+ "description": "Create a LeanOS agent-native startup operating system workspace.",
5
+ "type": "module",
6
+ "bin": {
7
+ "create-lean-os": "index.js"
8
+ },
9
+ "files": [
10
+ "index.js",
11
+ "README.md"
12
+ ],
13
+ "dependencies": {
14
+ "lean-os": "^0.1.1"
15
+ },
16
+ "engines": {
17
+ "node": ">=18.18"
18
+ }
19
+ }