hypha-cli 0.1.4 → 0.1.5

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.
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+
3
+ console.log(`
4
+ ✅ hypha-cli installed!
5
+
6
+ 👉 Run with: npx hypha-cli <command>
7
+
8
+ Examples:
9
+ npx hypha-cli login Login to Hypha Cloud
10
+ npx hypha-cli artifacts ls List artifacts
11
+ npx hypha-cli apps ps List running apps
12
+ npx hypha-cli --help Show all commands
13
+
14
+ 💡 Why 'npx hypha-cli' instead of 'hypha'?
15
+ The Python hypha server package also provides 'hypha' and 'hypha-cli'
16
+ commands. Using 'npx hypha-cli' avoids conflicts between the two.
17
+
18
+ 🐍 To use 'hypha' directly, upgrade the Python hypha server package:
19
+ pip install -U hypha
20
+ This will make the 'hypha' command point to the Hypha server CLI.
21
+ `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypha-cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Hypha Cloud CLI — manage workspaces, apps, and artifacts",
5
5
  "author": "Amun AI AB",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -18,6 +18,7 @@
18
18
  "./cli": "./dist/cli.mjs"
19
19
  },
20
20
  "scripts": {
21
+ "postinstall": "node bin/postinstall.mjs",
21
22
  "build": "tsc --noEmit && pkgroll",
22
23
  "typecheck": "tsc --noEmit",
23
24
  "test": "npx tsx test/test-cli-routing.mjs && npx tsx test/test-artifact-path.mjs && npx tsx test/test-apps-commands.mjs && npx tsx test/test-artifacts-commands.mjs && npx tsx test/test-helpers.mjs",