@acahti/phaevo 0.0.0-stage → 0.8.16

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 CHANGED
@@ -1,3 +1,11 @@
1
- # Temporary Holding Version
1
+ # @acahti/phaevo
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The Phaevo client: audited, credential-free access to private environments through an Acahti identity. It carries binaries for macOS and Linux on amd64 and arm64.
4
+
5
+ ```bash
6
+ npm install -g @acahti/phaevo
7
+ phaevo login
8
+ phaevo env
9
+ ```
10
+
11
+ The gateway (`phaevo gateway`) runs on Linux only. The Phaevo service's `/skill.md` describes the commands.
package/bin/phaevo.js ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+ const { spawn } = require("child_process")
3
+ const fs = require("fs")
4
+ const path = require("path")
5
+
6
+ const arch = process.arch === "x64" ? "amd64" : process.arch
7
+ const name = `phaevo_${process.platform}_${arch}`
8
+ const bin = path.join(__dirname, name)
9
+ if (!fs.existsSync(bin)) {
10
+ console.error(`phaevo: no binary for ${process.platform}/${process.arch}`)
11
+ process.exit(1)
12
+ }
13
+ const child = spawn(bin, process.argv.slice(2), { stdio: "inherit" })
14
+ child.on("exit", (code, signal) => {
15
+ if (signal) {
16
+ process.kill(process.pid, signal)
17
+ return
18
+ }
19
+ process.exit(code == null ? 1 : code)
20
+ })
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,24 @@
1
1
  {
2
2
  "name": "@acahti/phaevo",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.8.16",
4
+ "description": "Phaevo client: audited, credential-free access to private environments through Acahti",
5
+ "license": "UNLICENSED",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/acahti-dev/phaevo.git",
9
+ "directory": "packaging/npm"
10
+ },
11
+ "bin": {
12
+ "phaevo": "bin/phaevo.js"
13
+ },
14
+ "files": [
15
+ "bin",
16
+ "README.md"
17
+ ],
18
+ "engines": {
19
+ "node": ">=18"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ }
24
+ }