@telepath-computer/television 0.1.148 → 0.1.149
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/dist/cli.cjs
CHANGED
|
@@ -51045,8 +51045,8 @@ function resolveVercelSkillsInstallerBin() {
|
|
|
51045
51045
|
return localRequire.resolve("skills/bin/cli.mjs");
|
|
51046
51046
|
}
|
|
51047
51047
|
function readCLIVersion() {
|
|
51048
|
-
if ("0.1.
|
|
51049
|
-
return "0.1.
|
|
51048
|
+
if ("0.1.149".length > 0) {
|
|
51049
|
+
return "0.1.149";
|
|
51050
51050
|
}
|
|
51051
51051
|
const devPackageJsonPath = import_node_path12.default.join(getDevPackageDir(), "package.json");
|
|
51052
51052
|
if (!(0, import_node_fs10.existsSync)(devPackageJsonPath)) {
|
|
@@ -51584,9 +51584,9 @@ function createProgram(env, argv = []) {
|
|
|
51584
51584
|
});
|
|
51585
51585
|
program2.command("remove-screen").description(
|
|
51586
51586
|
"Delete a screen. Artifacts on the screen are permanently deleted from the Television registry; their pointed-to path or URL targets are not touched."
|
|
51587
|
-
).requiredOption("--
|
|
51587
|
+
).requiredOption("--screen <id>", "Screen ID").option("--port <number>", "Server port", parsePortOption).option("--storage-path <path>", "Directory containing the Television token").action(async (opts) => {
|
|
51588
51588
|
const client = createAuthenticatedClient(opts);
|
|
51589
|
-
const result = await client.screens.remove({ screenID: opts.
|
|
51589
|
+
const result = await client.screens.remove({ screenID: opts.screen });
|
|
51590
51590
|
for (const line of formatScreenRemovalResult(result)) {
|
|
51591
51591
|
writeLine(env.stdout, line);
|
|
51592
51592
|
}
|
|
@@ -51609,10 +51609,10 @@ function createProgram(env, argv = []) {
|
|
|
51609
51609
|
});
|
|
51610
51610
|
program2.command("focus-screen").description(
|
|
51611
51611
|
"Set persistent screen focus. The change is broadcast to every connected GUI client and survives reconnects. This is the right command when the user wants to switch to a different screen and stay there. For just nudging attention to a specific artifact (which may live on the current screen), prefer `tv focus-artifact`."
|
|
51612
|
-
).requiredOption("--
|
|
51612
|
+
).requiredOption("--screen <id>", "Screen ID").option("--port <number>", "Server port", parsePortOption).option("--storage-path <path>", "Directory containing the Television token").action(async (opts) => {
|
|
51613
51613
|
const client = createAuthenticatedClient(opts);
|
|
51614
|
-
await client.display.patch({ activeScreenID: opts.
|
|
51615
|
-
writeLine(env.stdout, `Focused screen ${opts.
|
|
51614
|
+
await client.display.patch({ activeScreenID: opts.screen });
|
|
51615
|
+
writeLine(env.stdout, `Focused screen ${opts.screen}.`);
|
|
51616
51616
|
});
|
|
51617
51617
|
program2.command("set-theme").description(
|
|
51618
51618
|
'Activate a display theme by name. The special theme name `default` clears the active theme and falls back to Television\'s bundled default look. A user-authored theme literally named `default` cannot be activated through this CLI convenience; call `PATCH /display { activeThemeName: "default" }` directly if you need that exact theme.'
|