speqs 0.7.0 → 0.7.2
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/commands/study.js +7 -7
- package/dist/lib/types.js +5 -5
- package/package.json +2 -2
package/dist/commands/study.js
CHANGED
|
@@ -43,8 +43,8 @@ Examples:
|
|
|
43
43
|
$ speqs study create --name "Newsletter" --modality text --content-type email \\
|
|
44
44
|
--assignments '[{"name":"Read","instructions":"Read this email naturally"}]'
|
|
45
45
|
|
|
46
|
-
# Audio
|
|
47
|
-
$ speqs study create --name "Episode Review" --modality audio --content-type
|
|
46
|
+
# Audio conversation study:
|
|
47
|
+
$ speqs study create --name "Episode Review" --modality audio --content-type conversation \\
|
|
48
48
|
--assignments '[{"name":"Listen","instructions":"Listen and react naturally"}]'
|
|
49
49
|
|
|
50
50
|
# Video ad study:
|
|
@@ -61,11 +61,11 @@ Examples:
|
|
|
61
61
|
--questions '[{"question":"How easy was it?","type":"slider","timing":"after","min":0,"max":10}]'
|
|
62
62
|
|
|
63
63
|
Content types by modality:
|
|
64
|
-
text: narrative, informational,
|
|
65
|
-
video:
|
|
66
|
-
audio: music,
|
|
67
|
-
image: product, infographic,
|
|
68
|
-
document:
|
|
64
|
+
text: narrative, informational, commercial, editorial, reference, email, news
|
|
65
|
+
video: tutorial, documentary, entertainment, review, lifestyle, news, social_post, ad
|
|
66
|
+
audio: music, narration, conversation, speech, soundscape, news, ad
|
|
67
|
+
image: product, photography, infographic, artwork, interface, social_post, ad
|
|
68
|
+
document: deck, presentation, report, brochure, guide`)
|
|
69
69
|
.action(async (opts, cmd) => {
|
|
70
70
|
await withClient(cmd, async (client, globals) => {
|
|
71
71
|
let assignments;
|
package/dist/lib/types.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
// --- Modality constants ---
|
|
5
5
|
export const MEDIA_MODALITIES = ["video", "audio", "text", "image", "document"];
|
|
6
6
|
export const VALID_CONTENT_TYPES = {
|
|
7
|
-
text: ["narrative", "informational", "
|
|
8
|
-
video: ["
|
|
9
|
-
audio: ["music", "
|
|
10
|
-
image: ["product", "infographic", "
|
|
11
|
-
document: ["
|
|
7
|
+
text: ["narrative", "informational", "commercial", "editorial", "reference", "email", "news"],
|
|
8
|
+
video: ["tutorial", "documentary", "entertainment", "review", "lifestyle", "news", "social_post", "ad"],
|
|
9
|
+
audio: ["music", "narration", "conversation", "speech", "soundscape", "news", "ad"],
|
|
10
|
+
image: ["product", "photography", "infographic", "artwork", "interface", "social_post", "ad"],
|
|
11
|
+
document: ["deck", "presentation", "report", "brochure", "guide"],
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "speqs",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "The command-line interface for Speqs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "tsc",
|
|
11
|
-
"build:binary": "bun build --compile src/index.ts --outfile speqs",
|
|
11
|
+
"build:binary": "bun build --compile --external playwright-core --external chromium-bidi --external electron src/index.ts --outfile speqs",
|
|
12
12
|
"dev": "tsc --watch",
|
|
13
13
|
"prepublishOnly": "npm run build"
|
|
14
14
|
},
|