makaron-cli 0.17.0 → 0.18.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.
Files changed (146) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/.codex-plugin/plugin.json +5 -4
  3. package/README.md +47 -1
  4. package/bin/makaron.mjs +22 -8
  5. package/craft/manifest.json +2877 -0
  6. package/craft/prompts/agent-coding.md +220 -0
  7. package/craft/prompts/agent.md +86 -0
  8. package/craft/prompts/animate.md +448 -0
  9. package/craft/prompts/audio.md +261 -0
  10. package/craft/prompts/captions.md +220 -0
  11. package/craft/prompts/coding-submission.md +31 -0
  12. package/craft/prompts/coding-workflow.md +26 -0
  13. package/craft/prompts/creative.md +108 -0
  14. package/craft/prompts/cutout.md +81 -0
  15. package/craft/prompts/enhance.md +123 -0
  16. package/craft/prompts/generate_image_tool.md +26 -0
  17. package/craft/prompts/image.md +222 -0
  18. package/craft/prompts/legacy/agent.md +123 -0
  19. package/craft/prompts/legacy/coding-tool.md +31 -0
  20. package/craft/prompts/legacy/video-tool.md +38 -0
  21. package/craft/prompts/legacy/workspace-authoring.md +13 -0
  22. package/craft/prompts/niji.md +117 -0
  23. package/craft/prompts/pony_translate.md +42 -0
  24. package/craft/prompts/remotion-composition.md +405 -0
  25. package/craft/prompts/video-reverse.md +170 -0
  26. package/craft/prompts/video-submission.md +44 -0
  27. package/craft/prompts/video-workflow.md +42 -0
  28. package/craft/prompts/wai_translate.md +28 -0
  29. package/craft/prompts/web-search.md +1 -0
  30. package/craft/prompts/wild.md +119 -0
  31. package/craft/prompts/workspace-authoring.md +13 -0
  32. package/craft/skills/SKILL_README.md +249 -0
  33. package/craft/skills/_shared/aesthetic-lens-contract.md +68 -0
  34. package/craft/skills/_shared/native-audiovisual.md +44 -0
  35. package/craft/skills/_shared/remotion-director-contract.md +133 -0
  36. package/craft/skills/_shared/remotion-video-director/README.md +140 -0
  37. package/craft/skills/_shared/remotion-video-director/SKILL.md +391 -0
  38. package/craft/skills/_shared/remotion-video-director/references/component-library.md +608 -0
  39. package/craft/skills/_shared/remotion-video-director/references/expert-definitions.md +214 -0
  40. package/craft/skills/_shared/remotion-video-director/references/music-and-audio.md +186 -0
  41. package/craft/skills/_shared/remotion-video-director/references/remotion-patterns.md +439 -0
  42. package/craft/skills/_shared/remotion-video-director/references/video-archetypes.md +395 -0
  43. package/craft/skills/_shared/speech-clock.md +63 -0
  44. package/craft/skills/_shared/spoken-caption.md +75 -0
  45. package/craft/skills/_shared/studio-production/audio-direction.md +60 -0
  46. package/craft/skills/_shared/studio-production/production-contract.md +188 -0
  47. package/craft/skills/_shared/studio-production/reference-analysis.md +37 -0
  48. package/craft/skills/_shared/studio-production/review-contract.md +77 -0
  49. package/craft/skills/_shared/studio-production/taste-direction.md +114 -0
  50. package/craft/skills/_shared/visual-asset-bridge/SKILL.md +57 -0
  51. package/craft/skills/_shared/visual-direction/SKILL.md +98 -0
  52. package/craft/skills/_shared/voice-translation.md +55 -0
  53. package/craft/skills/aesthetic-disney-character-motion/SKILL.md +66 -0
  54. package/craft/skills/aesthetic-lottiefiles-motion/SKILL.md +78 -0
  55. package/craft/skills/aesthetic-rampstack-direction/SKILL.md +68 -0
  56. package/craft/skills/ai-video-gen/SKILL.md +48 -0
  57. package/craft/skills/animated-explainer/SKILL.md +53 -0
  58. package/craft/skills/animation/SKILL.md +53 -0
  59. package/craft/skills/avatar-spokesperson/SKILL.md +66 -0
  60. package/craft/skills/canvas-procedural-animation/SKILL.md +48 -0
  61. package/craft/skills/character-animation/SKILL.md +57 -0
  62. package/craft/skills/character-animation-qa/SKILL.md +48 -0
  63. package/craft/skills/character-rigging/SKILL.md +48 -0
  64. package/craft/skills/cinematic/SKILL.md +53 -0
  65. package/craft/skills/cinematic-video/SKILL.md +65 -0
  66. package/craft/skills/clip-factory/SKILL.md +53 -0
  67. package/craft/skills/comfyui/SKILL.md +48 -0
  68. package/craft/skills/content-repurpose/SKILL.md +54 -0
  69. package/craft/skills/create-video/SKILL.md +48 -0
  70. package/craft/skills/documentary-montage/SKILL.md +53 -0
  71. package/craft/skills/doubao-tts/SKILL.md +51 -0
  72. package/craft/skills/explainer-aesthetic-disney/SKILL.md +33 -0
  73. package/craft/skills/explainer-aesthetic-lottiefiles/SKILL.md +33 -0
  74. package/craft/skills/explainer-aesthetic-rampstack/SKILL.md +33 -0
  75. package/craft/skills/explainer-video/SKILL.md +423 -0
  76. package/craft/skills/ffmpeg/SKILL.md +48 -0
  77. package/craft/skills/grok-media/SKILL.md +47 -0
  78. package/craft/skills/hybrid/SKILL.md +53 -0
  79. package/craft/skills/localization-dub/SKILL.md +59 -0
  80. package/craft/skills/long-video-anchor/SKILL.md +111 -0
  81. package/craft/skills/long-video-director/SKILL.md +217 -0
  82. package/craft/skills/long-video-storyboard/SKILL.md +102 -0
  83. package/craft/skills/makaron-mascot/SKILL.md +83 -0
  84. package/craft/skills/makaron-mascot/assets/character-sheet.jpg +0 -0
  85. package/craft/skills/makaron-mascot/assets/makaron-spark-pixel-wizard-concepts.png +0 -0
  86. package/craft/skills/media-use/SKILL.md +47 -0
  87. package/craft/skills/motion-design-video/SKILL.md +64 -0
  88. package/craft/skills/motion-graphics/SKILL.md +48 -0
  89. package/craft/skills/multi-angle-video/SKILL.md +533 -0
  90. package/craft/skills/music/SKILL.md +47 -0
  91. package/craft/skills/music-to-video/SKILL.md +60 -0
  92. package/craft/skills/photo-to-video/SKILL.md +60 -0
  93. package/craft/skills/podcast-repurpose/SKILL.md +53 -0
  94. package/craft/skills/pose-library-design/SKILL.md +48 -0
  95. package/craft/skills/reference-video-studio/SKILL.md +55 -0
  96. package/craft/skills/remotion/SKILL.md +48 -0
  97. package/craft/skills/remotion-best-practices/SKILL.md +48 -0
  98. package/craft/skills/screen-demo/SKILL.md +61 -0
  99. package/craft/skills/seedance-2-0/SKILL.md +48 -0
  100. package/craft/skills/seedance-2-5/SKILL.md +48 -0
  101. package/craft/skills/sound-effects/SKILL.md +47 -0
  102. package/craft/skills/source-video-studio/SKILL.md +68 -0
  103. package/craft/skills/speech-to-text/SKILL.md +47 -0
  104. package/craft/skills/sticker-maker/SKILL.md +178 -0
  105. package/craft/skills/svg-character-animation/SKILL.md +48 -0
  106. package/craft/skills/synthetic-screen-recording/SKILL.md +48 -0
  107. package/craft/skills/talking-head/SKILL.md +106 -0
  108. package/craft/skills/text-to-speech/SKILL.md +50 -0
  109. package/craft/skills/threejs-animation/SKILL.md +48 -0
  110. package/craft/skills/threejs-fundamentals/SKILL.md +48 -0
  111. package/craft/skills/threejs-geometry/SKILL.md +48 -0
  112. package/craft/skills/threejs-lighting/SKILL.md +48 -0
  113. package/craft/skills/threejs-materials/SKILL.md +48 -0
  114. package/craft/skills/threejs-shaders/SKILL.md +48 -0
  115. package/craft/skills/threejs-textures/SKILL.md +48 -0
  116. package/craft/skills/tiktok-video/SKILL.md +188 -0
  117. package/craft/skills/tiktok-video/references/audio-sync.md +58 -0
  118. package/craft/skills/tiktok-video/references/caption-direction.md +36 -0
  119. package/craft/skills/tiktok-video/references/delivery-qa.md +84 -0
  120. package/craft/skills/tiktok-video/references/platform-layout.md +62 -0
  121. package/craft/skills/video-edit/SKILL.md +144 -0
  122. package/craft/skills/video-edit/references/direct-reference-route.md +141 -0
  123. package/craft/skills/video-edit/references/editing-protocol.md +79 -0
  124. package/craft/skills/video-edit/references/frame-location.md +85 -0
  125. package/craft/skills/video-edit/references/replication-protocol.md +67 -0
  126. package/craft/skills/video-edit/references/shot-blueprint.md +116 -0
  127. package/craft/skills/video-edit/references/shot-blueprint.schema.json +143 -0
  128. package/craft/skills/video-edit/references/similarity-qa.md +47 -0
  129. package/craft/skills/video-edit/scripts/extract-shot-blueprint.mjs +313 -0
  130. package/craft/skills/video-ffmpeg-lab/SKILL.md +220 -0
  131. package/craft/skills/video-mature-themes/SKILL.md +175 -0
  132. package/craft/skills/video-segment-edit/SKILL.md +16 -0
  133. package/craft/skills/video-translate/SKILL.md +148 -0
  134. package/craft/skills/video-understand/SKILL.md +48 -0
  135. package/craft/skills/visual-style/SKILL.md +47 -0
  136. package/craft/skills/wan-3-0/SKILL.md +59 -0
  137. package/craft/skills/web-design-guidelines/SKILL.md +47 -0
  138. package/craft/skills/website-to-video/SKILL.md +61 -0
  139. package/craft-source.json +7 -0
  140. package/package.json +12 -5
  141. package/runtime/adapter.mjs +615 -0
  142. package/runtime/configure.mjs +28 -0
  143. package/runtime/tool-catalog.json +807 -0
  144. package/runtime/tool-cli.mjs +98 -0
  145. package/skills/makaron/SKILL.md +12 -0
  146. package/skills/makaron-native/SKILL.md +89 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.0",
4
- "description": "Give Claude Code a creative agent. Pass complete creative requests and source media to Makaron Chat.",
3
+ "version": "0.18.0",
4
+ "description": "Create with your host Agent + Makaron CLI Skills, or delegate complete briefs to Makaron Chat.",
5
5
  "author": {
6
6
  "name": "Versa AI",
7
7
  "email": "tianyi@versa-ai.com",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.0",
4
- "description": "Give Codex a creative agent. Pass complete creative requests and source media to Makaron Chat.",
3
+ "version": "0.18.0",
4
+ "description": "Create with your host Agent + Makaron CLI Skills, or delegate complete briefs to Makaron Chat.",
5
5
  "author": {
6
6
  "name": "Versa AI",
7
7
  "email": "tianyi@versa-ai.com",
@@ -20,8 +20,8 @@
20
20
  "skills": "./skills/",
21
21
  "interface": {
22
22
  "displayName": "Makaron Creative Studio",
23
- "shortDescription": "Give Codex a creative agent",
24
- "longDescription": "Pass any complete creative request and source media to Makaron Chat. Makaron plans and produces images, video, music, and motion design in a persistent project that a human can continue editing in makaron.app.",
23
+ "shortDescription": "Host-owned creative media or Makaron Chat",
24
+ "longDescription": "Use makaron-native for your host Agent to plan, create and review images, video, music and editable designs through CLI capabilities and professional Skills. Keep Makaron Chat as an explicit delegation option.",
25
25
  "developerName": "Versa AI",
26
26
  "category": "Creative Tools",
27
27
  "capabilities": [
@@ -31,6 +31,7 @@
31
31
  "websiteURL": "https://www.makaron.app/agent",
32
32
  "privacyPolicyURL": "https://www.makaron.app/privacy",
33
33
  "defaultPrompt": [
34
+ "Use makaron-native to create and review this media with your own creative loop.",
34
35
  "Pass this complete creative brief and its source files to Makaron Chat.",
35
36
  "Ask Makaron Chat to turn this image into the finished media described in my request.",
36
37
  "Continue this Makaron project with my complete follow-up request."
package/README.md CHANGED
@@ -1,4 +1,48 @@
1
- # Makaron CLI — Agent Integration Skill
1
+ # Third generation: CLI + Skill
2
+
3
+ With `makaron-native`, your host Agent owns planning, creative decisions and
4
+ review. The CLI supplies the same shared capabilities as the Makaron Plugin,
5
+ with a bundled professional library; it does not start another Agent or require
6
+ an MCP server. The existing `makaron` Chat Skill remains available separately.
7
+
8
+ ```bash
9
+ npm install -g makaron-cli@0.18.0
10
+ makaron install-skill --mode native --global --agent codex --yes
11
+ makaron tools list
12
+ makaron tools call makaron_craft --input index.json # index.json contains {}
13
+ ```
14
+
15
+ Or run `makaron setup --mode native --agent codex` to install both. Restart or
16
+ open a new host session after installing a Skill. Ask: “Use makaron-native to
17
+ make a TikTok from these Scene source ranges.” The host reads the relevant
18
+ guides and executes capabilities directly. `makaron chat` remains explicit
19
+ delegation; it is not the native Skill's fallback.
20
+
21
+ Atomic images, video and music use the existing production API and private
22
+ Makaron login. Editable native project execution additionally requires an
23
+ operator-provided compatible backend. Installation does not deploy that backend:
24
+
25
+ ```bash
26
+ makaron tools configure --endpoint https://YOUR-OPERATOR-HOST/api/harness
27
+ ```
28
+
29
+ Do not copy an arbitrary Preview URL or a key into a Skill. Connection profiles
30
+ store the endpoint only in `~/.makaron/cli/connection.json`; credentials remain
31
+ in the existing private auth file/environment. Environment overrides are
32
+ `MAKARON_CONNECTION_FILE`, `MAKARON_HARNESS_ENDPOINT`, `MAKARON_STATE_DIR`,
33
+ `MAKARON_WORKSPACE`, `MAKARON_URL`, and `MAKARON_CRAFT_ROOT`.
34
+
35
+ `tools call` returns JSON with `ok`, `result`, and local artifact handles. Exit
36
+ 0 means success, 1 a tool failure, 2 invalid input/runtime failure. Stable
37
+ `client_request_id` receipts recover the same submission after a timeout; never
38
+ repeat unknown paid work under a fresh ID. The CLI does not supply the host's
39
+ scheduler, context, memory or channel media presentation. Actual final files
40
+ must be downloaded, inspected and attached through the host.
41
+
42
+ The following sections describe the existing Chat route and commands.
43
+
44
+
45
+ # Makaron Chat commands
2
46
 
3
47
  > **makaron.app** is for humans. **makaron-cli** is for AI agents.
4
48
 
@@ -297,6 +341,8 @@ npx makaron-cli chat --project <id> --video clip1.mp4 --video clip2.mp4 -b "spli
297
341
  ```
298
342
 
299
343
  Video files are uploaded via signed URL. CLI local video uploads support `.mp4`, `.mov`, or `.webm`, max 50MB, max 900s (15 minutes) with 1s metadata tolerance, and <=1080p / 2,086,876 frame pixels. The frontend can transcode larger videos before upload; the CLI uploads directly to Storage and rejects videos above those limits.
344
+ For a new presenter or product video, ask for picture, speech, lip sync and music together in one `chat` brief. Seedance 2.5 defaults to Eco. Native subtitles can be included; for precise or editable captions, Makaron keeps the native soundtrack and adds text through a lightweight composition, without a Studio production recipe or another voice generation. Review the completed MP4 for speech, caption spelling and synchronization.
345
+
300
346
  The agent understands video content natively — it can analyze scenes, edit, extend, and compose videos. Seedance video-reference editing is still limited to ~15s provider references, so longer uploaded videos should be split/prepared by the agent before model submission; Kling remains the base/direct edit path.
301
347
  Use `chat --project <id|auto> --video ...` for any project/timeline video work. Direct `video create` is standalone and does not write timeline entries.
302
348
 
package/bin/makaron.mjs CHANGED
@@ -2040,7 +2040,9 @@ function printRootHelp() {
2040
2040
  console.log(`Makaron CLI — Talk to Makaron Agent from the terminal
2041
2041
 
2042
2042
  Commands:
2043
- setup Install makaron-cli globally and add the Agent Skill
2043
+ setup Install CLI + Skill; --mode native for host-owned creation
2044
+ tools list [--live] Discover shared creative capability schemas
2045
+ tools call <name> --input <file|-> Execute one capability; this host keeps the creative loop
2044
2046
  install-skill Install Makaron Agent Skill into your coding agent
2045
2047
  register --json Get challenge for agent self-registration
2046
2048
  register --verify --challenge-id <id> --answer <n> Verify and save API key
@@ -2108,11 +2110,17 @@ Environment:
2108
2110
 
2109
2111
  function installAgentSkill(values = []) {
2110
2112
  if (hasHelpFlag(values)) {
2111
- console.log('Usage: makaron install-skill [--global] [--agent <agent>] [--yes]');
2113
+ console.log('Usage: makaron install-skill [--mode native|chat] [--global] [--agent <agent>] [--yes]');
2112
2114
  return;
2113
2115
  }
2114
2116
 
2115
- const skillDir = fileURLToPath(new URL('../skills/makaron', import.meta.url));
2117
+ const modeIndex = values.indexOf('--mode');
2118
+ const mode = modeIndex < 0 ? 'chat' : values[modeIndex + 1];
2119
+ if (!['native', 'chat'].includes(mode)) throw new Error('Use --mode native or --mode chat');
2120
+ const selectedValues = [...values];
2121
+ if (modeIndex >= 0) selectedValues.splice(modeIndex, 2);
2122
+ const skillName = mode === 'native' ? 'makaron-native' : 'makaron';
2123
+ const skillDir = fileURLToPath(new URL(`../skills/${skillName}`, import.meta.url));
2116
2124
  const skillFile = path.join(skillDir, 'SKILL.md');
2117
2125
  if (!fs.existsSync(skillFile)) {
2118
2126
  console.error(`Makaron Agent Skill not found at ${skillFile}`);
@@ -2125,15 +2133,15 @@ function installAgentSkill(values = []) {
2125
2133
  'add',
2126
2134
  skillDir,
2127
2135
  '--skill',
2128
- 'makaron',
2136
+ skillName,
2129
2137
  '--copy',
2130
- ...values,
2138
+ ...selectedValues,
2131
2139
  ], { stdio: 'inherit' });
2132
2140
  }
2133
2141
 
2134
2142
  function setupMakaron(values = []) {
2135
2143
  if (hasHelpFlag(values)) {
2136
- console.log('Usage: makaron setup [--agent <agent>]');
2144
+ console.log('Usage: makaron setup [--mode native|chat] [--agent <agent>]');
2137
2145
  return;
2138
2146
  }
2139
2147
 
@@ -2197,9 +2205,12 @@ is available as responses get <runId> --pick usage (or --pick credits_used).`);
2197
2205
  } else if (topic === 'abort') {
2198
2206
  console.log('Usage: makaron abort <runId>');
2199
2207
  } else if (topic === 'setup') {
2200
- console.log('Usage: makaron setup [--agent <agent>]');
2208
+ console.log('Usage: makaron setup [--mode native|chat] [--agent <agent>]');
2209
+ } else if (topic === 'tools') {
2210
+ console.log('Usage: makaron tools list [--live] | tools call <name> --input <file|-> | tools configure --endpoint https://<operator-host>/api/harness');
2211
+ console.log('Host owns the creative loop. Configure stores an endpoint only; install does not deploy a backend.');
2201
2212
  } else if (topic === 'install-skill') {
2202
- console.log('Usage: makaron install-skill [--global] [--agent <agent>] [--yes]');
2213
+ console.log('Usage: makaron install-skill [--mode native|chat] [--global] [--agent <agent>] [--yes]');
2203
2214
  } else if (topic === 'skills') {
2204
2215
  if (subtopic === 'list') console.log('Usage: makaron skills list [--built-in] [--all] [--json]');
2205
2216
  else if (subtopic === 'search') console.log('Usage: makaron skills search <query> [--built-in] [--all] [--json]');
@@ -2296,6 +2307,9 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
2296
2307
  setupMakaron(args.slice(1));
2297
2308
  } else if (command === 'install-skill') {
2298
2309
  installAgentSkill(args.slice(1));
2310
+ } else if (command === 'tools') {
2311
+ const { run } = await import('../runtime/tool-cli.mjs');
2312
+ process.exitCode = await run(args);
2299
2313
  } else if (command === 'login') {
2300
2314
  await login();
2301
2315
  } else if (command === 'credits' || command === 'credit' || command === 'balance') {