@cliptude/cli 0.1.39 → 0.1.40

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.
@@ -151,6 +151,7 @@ CHOICE_FIELDS: dict[str, tuple[str, str]] = {
151
151
  "caption_style": ("caption", "Caption style"),
152
152
  "vector_illustration_style": ("text", "Illustration style"),
153
153
  "vector_reveal_mode": ("text", "Motion"),
154
+ "faceless_explainer_style": ("text", "Explainer style"),
154
155
  }
155
156
  # Fields an agent-planned video also sets in its plan's look.
156
157
  _PLAN_LOOK_FIELDS = frozenset({"background_music_library_file", "visual_theme", "faceless_documentary_style"})
@@ -265,7 +266,7 @@ def build_apps(
265
266
  Field(description="Setting to choose: " + ", ".join(CHOICE_FIELDS)),
266
267
  ],
267
268
  ) -> dict[str, Any]:
268
- """Let the user preview and pick one template setting: background music (play each track), background picture, style pack (colour swatches), visual theme, caption style, or the Vector Explainer illustration style / motion. In hosts that show apps the user picks in a widget and the choice arrives as their message; otherwise read choices and ask. Returns {field, choices:[{value, label, ...preview links}], default, usage}."""
269
+ """Let the user preview and pick one template setting: background music (play each track), background picture, style pack (colour swatches), visual theme, caption style, the Vector Explainer illustration style / motion, or the Faceless Explainer style pack. In hosts that show apps the user picks in a widget and the choice arrives as their message; otherwise read choices and ask. Returns {field, choices:[{value, label, ...preview links}], default, usage}."""
269
270
  field = (field or "").strip()
270
271
  if field not in CHOICE_FIELDS:
271
272
  return {"error": f"field must be one of: {', '.join(CHOICE_FIELDS)}"}
@@ -343,7 +343,9 @@ def build_server(*, with_http_auth: bool = False):
343
343
  "playing at the top, then its thumbnails, titles, description, chapters and tags to copy. "
344
344
  "TEMPLATE BUILDER: when you create a template in a host that shows apps, walk the user through each choice "
345
345
  "with its picker, one at a time, and wait for each pick before the next, in this order as the format uses it "
346
- "(live formats only: faceless_documentary, faceless_top_10, avatar_video, talking_head, vector_explainer): "
346
+ "(live formats: faceless_documentary, faceless_top_10, avatar_video, talking_head, vector_explainer, and "
347
+ "faceless_explainer when get_account lists it in extra_formats; for Faceless Explainer: voice, style pack "
348
+ "(show_choices faceless_explainer_style), the two brand colours, then music and captions): "
347
349
  "voice (list_voices); the presenter (list_avatars, Avatar Video) or character (list_vector_characters, "
348
350
  "Vector Explainer; the user can upload their own there); background music (show_choices field background_music_library_file); background picture "
349
351
  "(show_choices background_image); style pack, visual theme and captions (show_choices "
@@ -1504,7 +1506,7 @@ def build_server(*, with_http_auth: bool = False):
1504
1506
  annotations=ToolAnnotations(title="Get account", read_only_hint=True, open_world_hint=False),
1505
1507
  )
1506
1508
  def get_account() -> dict[str, Any]:
1507
- """Plan, credits remaining, and concurrency in use."""
1509
+ """Plan, credits remaining, concurrency in use, and extra_formats: formats opened for this account only (faceless_explainer). Offer a format in extra_formats; others in that family answer 403."""
1508
1510
  try:
1509
1511
  return _client().get_account()
1510
1512
  except Exception as exc:
@@ -30,10 +30,12 @@
30
30
  "use strict";
31
31
  var h = UI.h;
32
32
  // Formats Cliptude makes today; templates of retired formats (whiteboard, sketch, stickman, low_poly_3d,
33
- // monkey_explained, vox_animation, infographic, mannequin_3d, faceless_explainer, music, ...) hide behind "Show all".
34
- var LIVE = { faceless_documentary: 1, faceless_top_10: 1, avatar_video: 1, talking_head: 1, vector_explainer: 1 };
33
+ // monkey_explained, vox_animation, infographic, mannequin_3d, music, ...) hide behind "Show all". Faceless Explainer
34
+ // is live for the accounts it was opened to (only they can make its templates).
35
+ var LIVE = { faceless_documentary: 1, faceless_top_10: 1, avatar_video: 1, talking_head: 1, vector_explainer: 1, faceless_explainer: 1 };
35
36
  var TILE = { faceless_documentary: "#1e3a5f, #0b1220", faceless_top_10: "#5b2130, #1a0b10", avatar_video: "#2d3b2a, #0e140c",
36
- talking_head: "#4a3a1e, #171008", vector_explainer: "#3a2a5f, #120b20" };
37
+ talking_head: "#4a3a1e, #171008", vector_explainer: "#3a2a5f, #120b20",
38
+ faceless_explainer: "#1f4d4a, #08181a" };
37
39
  var content = document.getElementById("content");
38
40
  var all = document.getElementById("all");
39
41
  var data = { results: [] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliptude/cli",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "Cliptude CLI — generate videos from saved templates.",
5
5
  "homepage": "https://github.com/cliptude/cliptude#readme",
6
6
  "bin": {
package/pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "cliptude-mcp"
7
- version = "0.1.39"
7
+ version = "0.1.40"
8
8
  description = "Cliptude jobs CLI and MCP server (thin client of /api/v1)."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"