@dazzle-labs/cli 0.5.4
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/bin/run.js +37 -0
- package/darwin-arm64/bin/.gitkeep +0 -0
- package/darwin-arm64/package.json +16 -0
- package/darwin-x64/bin/.gitkeep +0 -0
- package/darwin-x64/package.json +16 -0
- package/linux-arm64/bin/.gitkeep +0 -0
- package/linux-arm64/package.json +16 -0
- package/linux-x64/bin/.gitkeep +0 -0
- package/linux-x64/package.json +16 -0
- package/package.json +30 -0
- package/win32-arm64/bin/.gitkeep +0 -0
- package/win32-arm64/package.json +16 -0
- package/win32-x64/bin/.gitkeep +0 -0
- package/win32-x64/package.json +16 -0
package/bin/run.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { execFileSync } = require("child_process");
|
|
4
|
+
|
|
5
|
+
const PLATFORMS = {
|
|
6
|
+
"darwin-arm64": "@dazzle-labs/cli-darwin-arm64",
|
|
7
|
+
"darwin-x64": "@dazzle-labs/cli-darwin-x64",
|
|
8
|
+
"linux-x64": "@dazzle-labs/cli-linux-x64",
|
|
9
|
+
"linux-arm64": "@dazzle-labs/cli-linux-arm64",
|
|
10
|
+
"win32-x64": "@dazzle-labs/cli-win32-x64",
|
|
11
|
+
"win32-arm64": "@dazzle-labs/cli-win32-arm64",
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const key = `${process.platform}-${process.arch}`;
|
|
15
|
+
const pkg = PLATFORMS[key];
|
|
16
|
+
if (!pkg) {
|
|
17
|
+
console.error(`Unsupported platform: ${key}`);
|
|
18
|
+
process.exit(1);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const ext = process.platform === "win32" ? ".exe" : "";
|
|
22
|
+
let binPath;
|
|
23
|
+
try {
|
|
24
|
+
binPath = require.resolve(`${pkg}/bin/dazzle${ext}`);
|
|
25
|
+
} catch {
|
|
26
|
+
console.error(
|
|
27
|
+
`${pkg} is not installed. Make sure optionalDependencies are not disabled.\n` +
|
|
28
|
+
`Install with: npm install ${pkg}`
|
|
29
|
+
);
|
|
30
|
+
process.exit(1);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
try {
|
|
34
|
+
execFileSync(binPath, process.argv.slice(2), { stdio: "inherit" });
|
|
35
|
+
} catch (e) {
|
|
36
|
+
process.exit(e.status ?? 1);
|
|
37
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dazzle-labs/cli-darwin-arm64",
|
|
3
|
+
"version": "0.5.4",
|
|
4
|
+
"description": "Dazzle CLI binary for macOS ARM64",
|
|
5
|
+
"os": [
|
|
6
|
+
"darwin"
|
|
7
|
+
],
|
|
8
|
+
"cpu": [
|
|
9
|
+
"arm64"
|
|
10
|
+
],
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/dazzle-labs/cli"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dazzle-labs/cli-darwin-x64",
|
|
3
|
+
"version": "0.5.4",
|
|
4
|
+
"description": "Dazzle CLI binary for macOS x64",
|
|
5
|
+
"os": [
|
|
6
|
+
"darwin"
|
|
7
|
+
],
|
|
8
|
+
"cpu": [
|
|
9
|
+
"x64"
|
|
10
|
+
],
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/dazzle-labs/cli"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dazzle-labs/cli-linux-arm64",
|
|
3
|
+
"version": "0.5.4",
|
|
4
|
+
"description": "Dazzle CLI binary for Linux ARM64",
|
|
5
|
+
"os": [
|
|
6
|
+
"linux"
|
|
7
|
+
],
|
|
8
|
+
"cpu": [
|
|
9
|
+
"arm64"
|
|
10
|
+
],
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/dazzle-labs/cli"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dazzle-labs/cli-linux-x64",
|
|
3
|
+
"version": "0.5.4",
|
|
4
|
+
"description": "Dazzle CLI binary for Linux x64",
|
|
5
|
+
"os": [
|
|
6
|
+
"linux"
|
|
7
|
+
],
|
|
8
|
+
"cpu": [
|
|
9
|
+
"x64"
|
|
10
|
+
],
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/dazzle-labs/cli"
|
|
15
|
+
}
|
|
16
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dazzle-labs/cli",
|
|
3
|
+
"version": "0.5.4",
|
|
4
|
+
"description": "Dazzle CLI — cloud stages for AI agents and live streaming",
|
|
5
|
+
"mcpName": "io.github.dazzle-labs/dazzle",
|
|
6
|
+
"bin": {
|
|
7
|
+
"dazzle": "bin/run.js"
|
|
8
|
+
},
|
|
9
|
+
"license": "Apache-2.0",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/dazzle-labs/cli"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://dazzle.fm",
|
|
15
|
+
"keywords": [
|
|
16
|
+
"dazzle",
|
|
17
|
+
"mcp",
|
|
18
|
+
"streaming",
|
|
19
|
+
"ai-agents",
|
|
20
|
+
"cli"
|
|
21
|
+
],
|
|
22
|
+
"optionalDependencies": {
|
|
23
|
+
"@dazzle-labs/cli-darwin-arm64": "0.5.4",
|
|
24
|
+
"@dazzle-labs/cli-darwin-x64": "0.5.4",
|
|
25
|
+
"@dazzle-labs/cli-linux-x64": "0.5.4",
|
|
26
|
+
"@dazzle-labs/cli-linux-arm64": "0.5.4",
|
|
27
|
+
"@dazzle-labs/cli-win32-x64": "0.5.4",
|
|
28
|
+
"@dazzle-labs/cli-win32-arm64": "0.5.4"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dazzle-labs/cli-win32-arm64",
|
|
3
|
+
"version": "0.5.4",
|
|
4
|
+
"description": "Dazzle CLI binary for Windows ARM64",
|
|
5
|
+
"os": [
|
|
6
|
+
"win32"
|
|
7
|
+
],
|
|
8
|
+
"cpu": [
|
|
9
|
+
"arm64"
|
|
10
|
+
],
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/dazzle-labs/cli"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dazzle-labs/cli-win32-x64",
|
|
3
|
+
"version": "0.5.4",
|
|
4
|
+
"description": "Dazzle CLI binary for Windows x64",
|
|
5
|
+
"os": [
|
|
6
|
+
"win32"
|
|
7
|
+
],
|
|
8
|
+
"cpu": [
|
|
9
|
+
"x64"
|
|
10
|
+
],
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/dazzle-labs/cli"
|
|
15
|
+
}
|
|
16
|
+
}
|