vibecast 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 (2) hide show
  1. package/bin/vibecast +40 -0
  2. package/package.json +26 -0
package/bin/vibecast ADDED
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { execFileSync } = require("child_process");
4
+ const path = require("path");
5
+
6
+ const PLATFORMS = {
7
+ "linux-x64": "@agentics-live/linux-x64",
8
+ "linux-arm64": "@agentics-live/linux-arm64",
9
+ "darwin-x64": "@agentics-live/darwin-x64",
10
+ "darwin-arm64": "@agentics-live/darwin-arm64",
11
+ };
12
+
13
+ const platformKey = `${process.platform}-${process.arch}`;
14
+ const pkg = PLATFORMS[platformKey];
15
+
16
+ if (!pkg) {
17
+ console.error(
18
+ `vibecast: unsupported platform ${process.platform}-${process.arch}`
19
+ );
20
+ console.error(`Supported platforms: ${Object.keys(PLATFORMS).join(", ")}`);
21
+ process.exit(1);
22
+ }
23
+
24
+ let binary;
25
+ try {
26
+ binary = require.resolve(`${pkg}/bin/vibecast`);
27
+ } catch {
28
+ console.error(`vibecast: failed to find binary package ${pkg}`);
29
+ console.error(
30
+ "This may mean the optional dependency was not installed for your platform."
31
+ );
32
+ console.error("Try reinstalling: npm install vibecast");
33
+ process.exit(1);
34
+ }
35
+
36
+ try {
37
+ execFileSync(binary, process.argv.slice(2), { stdio: "inherit" });
38
+ } catch (e) {
39
+ process.exit(e.status ?? 1);
40
+ }
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "vibecast",
3
+ "version": "0.1.1",
4
+ "description": "Broadcast your agentic coding session to the world",
5
+ "bin": {
6
+ "vibecast": "bin/vibecast"
7
+ },
8
+ "optionalDependencies": {
9
+ "@agentics-live/linux-x64": "0.1.1",
10
+ "@agentics-live/linux-arm64": "0.1.1",
11
+ "@agentics-live/darwin-x64": "0.1.1",
12
+ "@agentics-live/darwin-arm64": "0.1.1"
13
+ },
14
+ "license": "MIT",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/agentics-live/agentic-live-www"
18
+ },
19
+ "keywords": [
20
+ "cli",
21
+ "streaming",
22
+ "terminal",
23
+ "live",
24
+ "agentic"
25
+ ]
26
+ }