@hypersocial/decks-cli 0.6.0 → 0.8.0
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 +7 -1
- package/package.json +1 -1
- package/skills/hyperdecks/SKILL.md +64 -9
- package/skills/hyperdecks/chat.md +26 -9
- package/src/avatar.mjs +1 -1
- package/src/brandCli.mjs +86 -2
- package/src/brandImport.mjs +991 -0
- package/src/brandPreview.mjs +31 -0
- package/src/checkRules.mjs +39 -11
- package/src/commands.mjs +49 -11
- package/src/importer.mjs +1 -1
- package/src/ops.mjs +58 -12
- package/src/play.mjs +119 -0
- package/src/presenter.mjs +14 -7
- package/src/preview-capture.mjs +5 -3
- package/src/runtime.mjs +10 -2
package/src/runtime.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { fileURLToPath } from "node:url";
|
|
|
8
8
|
import { ConvexHttpClient } from "convex/browser";
|
|
9
9
|
import { makeFunctionReference } from "convex/server";
|
|
10
10
|
|
|
11
|
-
export const VERSION = "0.
|
|
11
|
+
export const VERSION = "0.8.0";
|
|
12
12
|
const UPLOAD_TIMEOUT_MS = 125_000;
|
|
13
13
|
|
|
14
14
|
export const PROD = {
|
|
@@ -32,6 +32,7 @@ export const api = {
|
|
|
32
32
|
createLink: makeFunctionReference("avatars:createLink"),
|
|
33
33
|
getLink: makeFunctionReference("avatars:getLink"),
|
|
34
34
|
presenterFor: makeFunctionReference("avatars:presenterFor"),
|
|
35
|
+
presenterWithReason: makeFunctionReference("avatars:presenterWithReason"),
|
|
35
36
|
},
|
|
36
37
|
narrators: {
|
|
37
38
|
list: makeFunctionReference("narrators:list"),
|
|
@@ -47,10 +48,17 @@ export const api = {
|
|
|
47
48
|
get: makeFunctionReference("brand:get"),
|
|
48
49
|
set: makeFunctionReference("brand:set"),
|
|
49
50
|
clear: makeFunctionReference("brand:clear"),
|
|
51
|
+
history: makeFunctionReference("brand:history"),
|
|
52
|
+
undo: makeFunctionReference("brand:undo"),
|
|
53
|
+
restore: makeFunctionReference("brand:restore"),
|
|
50
54
|
},
|
|
55
|
+
brandRevise: { revise: makeFunctionReference("brandRevise:revise") },
|
|
51
56
|
brandNode: {
|
|
52
57
|
importLogo: makeFunctionReference("brandNode:importLogo"),
|
|
53
58
|
uploadLogo: makeFunctionReference("brandNode:uploadLogo"),
|
|
59
|
+
importFromUrl: makeFunctionReference("brandNode:importFromUrl"),
|
|
60
|
+
importFromDeck: makeFunctionReference("brandNode:importFromDeck"),
|
|
61
|
+
createDraft: makeFunctionReference("brandNode:createDraft"),
|
|
54
62
|
},
|
|
55
63
|
narratorsNode: {
|
|
56
64
|
hear: makeFunctionReference("narratorsNode:hear"),
|
|
@@ -145,7 +153,7 @@ export const api = {
|
|
|
145
153
|
},
|
|
146
154
|
};
|
|
147
155
|
|
|
148
|
-
const BOOL = new Set(["prod", "dev", "admin", "json", "require-email", "qa", "no-notify", "allow-forward", "no-forward", "help", "version", "all-agents", "global", "project", "transparent", "upload", "dry-run", "narrated", "layout", "full-page", "force", "hosted", "yes", "no-voice", "no-skill", "no-release", "no-open", "save-to-minimoji", "captions-only", "no-brand", "no-logo"]);
|
|
156
|
+
const BOOL = new Set(["prod", "dev", "admin", "json", "require-email", "qa", "no-notify", "allow-forward", "no-forward", "help", "version", "all-agents", "global", "project", "transparent", "loop", "upload", "dry-run", "narrated", "layout", "full-page", "force", "hosted", "yes", "no-voice", "no-skill", "no-release", "no-open", "save-to-minimoji", "captions-only", "no-brand", "no-logo"]);
|
|
149
157
|
// release's recipients, in order: each --to starts one, and an --email right
|
|
150
158
|
// after it belongs to it (`--to A --email a --to B`). Collected as opts.recipients;
|
|
151
159
|
// opts.email stays the last --email for the other commands (share new).
|