vibeshare-live 0.1.1 → 0.2.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.
- package/README.md +53 -67
- package/dist/chunk-RY2ANOPC.js +1018 -0
- package/dist/cli.d.ts +33 -35
- package/dist/cli.js +393 -239
- package/dist/index.d.ts +106 -47
- package/dist/index.js +53 -22
- package/dist/manager-uhMBJXtu.d.ts +259 -0
- package/dist/mcp.d.ts +27 -38
- package/dist/mcp.js +199 -14616
- package/docs/launch-video-16x9.html +673 -0
- package/docs/launch-video-9x16.html +673 -0
- package/docs/launch-video.html +490 -0
- package/docs/prototype.html +964 -0
- package/docs/spec.md +61 -0
- package/package.json +28 -36
- package/dist/chunk-SBAGPPGC.js +0 -233
- package/dist/share-t_zYXkQB.d.ts +0 -188
package/dist/cli.d.ts
CHANGED
|
@@ -1,42 +1,40 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
interface StartOptions {
|
|
3
|
+
access: 'spectate' | 'invite';
|
|
4
|
+
expiry: string;
|
|
5
|
+
passphrase?: string;
|
|
6
|
+
port: number;
|
|
7
|
+
host: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
yes: boolean;
|
|
10
|
+
command: string[];
|
|
11
|
+
}
|
|
12
|
+
type CliCommand = {
|
|
13
|
+
cmd: 'start';
|
|
14
|
+
options: StartOptions;
|
|
12
15
|
} | {
|
|
13
|
-
|
|
16
|
+
cmd: 'stop';
|
|
17
|
+
share?: string;
|
|
14
18
|
} | {
|
|
15
|
-
|
|
19
|
+
cmd: 'viewers';
|
|
20
|
+
share?: string;
|
|
21
|
+
approve?: string;
|
|
22
|
+
deny?: string;
|
|
23
|
+
kick?: string;
|
|
24
|
+
json: boolean;
|
|
16
25
|
} | {
|
|
17
|
-
|
|
18
|
-
readonly command: readonly string[];
|
|
19
|
-
readonly access: AccessMode;
|
|
20
|
-
readonly expire?: ExpirySpec;
|
|
21
|
-
readonly pass?: string;
|
|
22
|
-
readonly name?: string;
|
|
26
|
+
cmd: 'help';
|
|
23
27
|
} | {
|
|
24
|
-
|
|
25
|
-
readonly message: string;
|
|
28
|
+
cmd: 'version';
|
|
26
29
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
declare function
|
|
36
|
-
declare function printHelp(stream?: {
|
|
37
|
-
write(s: string): boolean;
|
|
38
|
-
}): void;
|
|
39
|
-
/** CLI entrypoint. Returns the desired exit code (does not call exit itself). */
|
|
40
|
-
declare function main(argv?: readonly string[]): Promise<number>;
|
|
30
|
+
declare class CliUsageError extends Error {
|
|
31
|
+
constructor(message: string);
|
|
32
|
+
}
|
|
33
|
+
declare function parseArgv(argv: string[]): CliCommand;
|
|
34
|
+
interface IO {
|
|
35
|
+
out(text: string): void;
|
|
36
|
+
err(text: string): void;
|
|
37
|
+
}
|
|
38
|
+
declare function run(argv: string[], io?: IO): Promise<number>;
|
|
41
39
|
|
|
42
|
-
export {
|
|
40
|
+
export { type CliCommand, CliUsageError, type StartOptions, parseArgv, run };
|