@whobot/cli-test 0.0.0-stage → 0.0.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.
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ import { runPostinstall } from "./install.mjs";
3
+
4
+ try {
5
+ await runPostinstall(process.env);
6
+ } catch (err) {
7
+ process.stderr.write(`${err && err.message ? err.message : err}\n`);
8
+ process.exitCode = 1;
9
+ }
package/bin/run.mjs ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { runWhobot } from "./install.mjs";
3
+
4
+ await runWhobot(process.argv.slice(2), process.env);
package/bootstrap.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "channel": "latest",
4
+ "downloadBase": "https://download.whobot.com/agent-cli-test",
5
+ "homeName": ".whobot-test-cli",
6
+ "knownOs": [
7
+ "darwin",
8
+ "linux",
9
+ "windows"
10
+ ],
11
+ "knownArch": [
12
+ "amd64",
13
+ "arm64"
14
+ ],
15
+ "note": "downloadBase is written from OSS_PUBLIC_BASE when publishing the npm package. SHA-256 proves downloaded bytes match the manifest; it is not a public signing root or provenance attestation."
16
+ }
package/package.json CHANGED
@@ -1,6 +1,23 @@
1
1
  {
2
2
  "name": "@whobot/cli-test",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.1",
4
+ "description": "Whobot CLI: npm-managed JS launcher that runs the in-package Go binary.",
5
+ "type": "module",
6
+ "bin": {
7
+ "whobot-test": "./bin/run.mjs"
8
+ },
9
+ "files": [
10
+ "bin",
11
+ "bootstrap.json",
12
+ "LICENSE",
13
+ "README.md"
14
+ ],
15
+ "scripts": {
16
+ "postinstall": "node ./bin/postinstall.mjs",
17
+ "test": "bun test --timeout 60000"
18
+ },
19
+ "engines": {
20
+ "node": ">=20"
21
+ },
22
+ "license": "Apache-2.0"
23
+ }