@elpapi42/pi-fleet-cli 0.0.0-bootstrap.0 → 0.1.0

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,10 @@
1
1
  # @elpapi42/pi-fleet-cli
2
2
 
3
- Bootstrap publication. Install a supported release instead.
3
+ The pi-fleet command-line client. It uses `@elpapi42/pi-fleet-sdk` as its only product dependency.
4
+
5
+ ```bash
6
+ npm install --global @elpapi42/pi-fleet-cli
7
+ pif --help
8
+ ```
9
+
10
+ Agent commands start in Slice 1.
package/dist/main.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export declare function run(args: readonly string[]): number;
3
+ //# sourceMappingURL=main.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";AAWA,wBAAgB,GAAG,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAQnD"}
package/dist/main.js ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+ import { version } from "@elpapi42/pi-fleet-sdk";
3
+ const usage = `pi-fleet CLI ${version}
4
+
5
+ Usage:
6
+ pif --help
7
+
8
+ Commands will be added with Slice 1.`;
9
+ export function run(args) {
10
+ if (args.length === 0 || args.includes("--help") || args.includes("-h")) {
11
+ process.stdout.write(`${usage}\n`);
12
+ return 0;
13
+ }
14
+ process.stderr.write(`Unknown argument: ${args[0]}\nRun pif --help for usage.\n`);
15
+ return 1;
16
+ }
17
+ process.exitCode = run(process.argv.slice(2));
18
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAEhD,MAAM,KAAK,GAAG,gBAAgB,OAAO;;;;;qCAKA,CAAA;AAErC,MAAM,UAAU,GAAG,CAAC,IAAuB;IACzC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QACxE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,IAAI,CAAC,CAAA;QAClC,OAAO,CAAC,CAAA;IACV,CAAC;IAED,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,IAAI,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAA;IACjF,OAAO,CAAC,CAAA;AACV,CAAC;AAED,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,8 +1,29 @@
1
1
  {
2
2
  "name": "@elpapi42/pi-fleet-cli",
3
- "version": "0.0.0-bootstrap.0",
4
- "description": "Bootstrap package for the pi-fleet CLI",
3
+ "version": "0.1.0",
4
+ "description": "CLI for durable, host-local Pi agents",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/elpapi42/pi-fleet-v2.git",
9
+ "directory": "packages/cli"
10
+ },
6
11
  "type": "module",
7
- "files": ["index.js", "README.md"]
12
+ "engines": {
13
+ "node": ">=22"
14
+ },
15
+ "bin": {
16
+ "pif": "./dist/main.js"
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "README.md"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsc --project tsconfig.json",
24
+ "test": "node --test test/*.test.mjs"
25
+ },
26
+ "dependencies": {
27
+ "@elpapi42/pi-fleet-sdk": "0.1.0"
28
+ }
8
29
  }
package/index.js DELETED
@@ -1 +0,0 @@
1
- export {}