@sogni-ai/sogni-creative-agent-skill 3.56.0 → 3.56.1
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/.agents/skills/sogni-creative-agent-skill/SKILL.md +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/SKILL.md +1 -1
- package/desktop-extension/manifest.json +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/sogni-agent.mjs +30 -21
- package/version.mjs +1 -1
|
@@ -3,7 +3,7 @@ name: sogni-creative-agent-skill
|
|
|
3
3
|
description: "Generate and edit images, create Pixal3D 3D models, remove backgrounds with BiRefNet, synthesize Qwen3-TTS speech, upscale images, create video and music, animate image folders into seamless reels, and manage reusable personas with Sogni AI. Use when a Hermes user asks to draw, render, upscale, edit or restyle an image, animate an image, make a video, create music or lyrics, build a media workflow, apply a saved identity, or refine an earlier Sogni result."
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
version: "3.56.
|
|
6
|
+
version: "3.56.1"
|
|
7
7
|
author: Sogni AI
|
|
8
8
|
hermes:
|
|
9
9
|
category: creative
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.56.
|
|
3
|
+
"version": "3.56.1",
|
|
4
4
|
"description": "Sogni Creative Agent: image, 3D, speech, video, and music generation via Sogni AI's decentralized GPU network. Supports personas, persistent memories, style transfer, and multi-step creative workflows.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sogni AI",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.56.1] - 2026-10-10
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* `--upscale-video` rejected every video with "The source video dimensions, frame count, or frame rate could not be read" whenever it could not start ffprobe, even when ffprobe worked in the user's shell. It now says so, as `MISSING_FFPROBE`: `ffprobe is required for --upscale-video, but "<path>" could not be started (ENOENT)`, with a hint to set `FFPROBE_PATH` to the full path from `command -v ffprobe`. When ffprobe runs but cannot read the file, the hint now shows ffprobe's own error, such as "Invalid data found when processing input", and an ffprobe crash names its signal.
|
|
6
|
+
* `FFPROBE_PATH` and `FFMPEG_PATH` values that start with `~/`, such as a quoted `"~/.local/bin/ffprobe"`, now expand to the home directory. Before, the literal path was run and failed as if the tool were missing.
|
|
7
|
+
|
|
1
8
|
## [3.56.0] - 2026-10-08
|
|
2
9
|
|
|
3
10
|
### Features
|
package/README.md
CHANGED
|
@@ -129,7 +129,7 @@ Then ask your agent to do something:
|
|
|
129
129
|
|
|
130
130
|
- **Node.js ≥ 22.11.0**
|
|
131
131
|
- **Sogni API key** ([dashboard.sogni.ai](https://dashboard.sogni.ai))
|
|
132
|
-
- **`ffmpeg` + `ffprobe`** *(optional)* — required for local utilities such as `--angles-360-video`, `--concat-videos`, timestamped frame extraction, and `--verify-video`. Set `FFMPEG_PATH` / `FFPROBE_PATH` to override discovery.
|
|
132
|
+
- **`ffmpeg` + `ffprobe`** *(optional)* — required for local utilities such as `--angles-360-video`, `--concat-videos`, timestamped frame extraction, and `--verify-video`; `--upscale-video` needs `ffprobe`. Set `FFMPEG_PATH` / `FFPROBE_PATH` to override discovery (a leading `~` is expanded).
|
|
133
133
|
- macOS, Linux, or Windows
|
|
134
134
|
|
|
135
135
|
---
|
package/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: sogni-creative-agent-skill
|
|
3
3
|
description: "CLI and agent skill for personal LoRAs, image, video, and music generation using Sogni AI's decentralized GPU network. Supports Pixal3D single- and multi-view image-to-GLB, BiRefNet background removal, Qwen3-TTS speech/voice cloning/design, MiniMax Music 3, SAM 3 object selection, promptless RTX VSR image upscaling through 16K, promptless FlashVSR video upscaling to 1080p/1440p, one-click image-folder loop reels, personas (named people with saved reference photos and voice clips), persistent memories, custom personality, style transfer, angle synthesis, MiniMax H3/H3 Balanced/LightX2V Turbo/FastH3 Turbo (including audio-to-video from an uploaded track)/Seedance/HappyHorse/LTX/WAN video, music/lyrics, hosted chat, durable workflows, replay records, and multi-step creative workflows. Ask the agent to \"draw\", \"generate\", \"create an image\", \"upscale an image\", \"upscale a video\", \"make a video/animate\", \"turn this image folder into a loop\", \"make music\", \"apply a style\", or \"generate me as a superhero\"."
|
|
4
4
|
metadata:
|
|
5
|
-
version: "3.56.
|
|
5
|
+
version: "3.56.1"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": "0.3",
|
|
3
3
|
"name": "sogni-creative-agent",
|
|
4
4
|
"display_name": "Sogni Creative Agent",
|
|
5
|
-
"version": "3.56.
|
|
5
|
+
"version": "3.56.1",
|
|
6
6
|
"description": "Generate images, video, and music on Sogni AI's decentralized GPU network — with personas, memories, and safe video editing tools.",
|
|
7
7
|
"author": { "name": "Sogni AI", "url": "https://sogni.ai" },
|
|
8
8
|
"homepage": "https://sogni.ai",
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "sogni-creative-agent-skill",
|
|
3
3
|
"name": "Sogni Creative Agent Skill — Image, Video & Music Generation",
|
|
4
4
|
"description": "Agent skill and CLI for Sogni AI image, video, and music generation.",
|
|
5
|
-
"version": "3.56.
|
|
5
|
+
"version": "3.56.1",
|
|
6
6
|
"skills": [
|
|
7
7
|
"."
|
|
8
8
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sogni-ai/sogni-creative-agent-skill",
|
|
3
|
-
"version": "3.56.
|
|
3
|
+
"version": "3.56.1",
|
|
4
4
|
"description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, 3D, speech, video, and music generation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "sogni-agent.mjs",
|
package/sogni-agent.mjs
CHANGED
|
@@ -271,7 +271,7 @@ const {
|
|
|
271
271
|
|
|
272
272
|
// ---------------------------------------------------------------------------
|
|
273
273
|
// Path sanitization — defense-in-depth for any value that becomes a file path
|
|
274
|
-
// or process argument.
|
|
274
|
+
// or process argument. execa runs argument arrays without shell expansion,
|
|
275
275
|
// so classic shell injection is not possible. These checks guard against:
|
|
276
276
|
// • null-byte injection (can truncate paths at the C level)
|
|
277
277
|
// • control-character injection
|
|
@@ -280,7 +280,8 @@ const {
|
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* Reject null bytes and control characters in a path string.
|
|
283
|
-
* Returns the path
|
|
283
|
+
* Returns the path with a leading `~` expanded to the home directory, so
|
|
284
|
+
* callers must use the return value; throws when invalid.
|
|
284
285
|
*/
|
|
285
286
|
function sanitizePath(p, label) {
|
|
286
287
|
if (typeof p !== 'string') {
|
|
@@ -1616,8 +1617,7 @@ async function probeVideoUpscaleSource(buffer, sourceLabel) {
|
|
|
1616
1617
|
details: { sizeBytes: buffer.length, maxBytes: VIDEO_UPSCALE_MAX_BYTES }
|
|
1617
1618
|
});
|
|
1618
1619
|
}
|
|
1619
|
-
const ffprobePath = getEnv('FFPROBE_PATH') || 'ffprobe';
|
|
1620
|
-
sanitizePath(ffprobePath, 'FFPROBE_PATH');
|
|
1620
|
+
const ffprobePath = sanitizePath(getEnv('FFPROBE_PATH') || 'ffprobe', 'FFPROBE_PATH');
|
|
1621
1621
|
const tempDir = createTrackedTempDir('sogni-video-upscale-probe-');
|
|
1622
1622
|
const inputPath = mediaTempInputPath(tempDir, sourceLabel, '.mp4');
|
|
1623
1623
|
let result;
|
|
@@ -1636,11 +1636,13 @@ async function probeVideoUpscaleSource(buffer, sourceLabel) {
|
|
|
1636
1636
|
try { if (existsSync(inputPath)) unlinkSync(inputPath); } catch {}
|
|
1637
1637
|
try { rmdirSync(tempDir); } catch {}
|
|
1638
1638
|
}
|
|
1639
|
-
|
|
1640
|
-
|
|
1639
|
+
// A signal means ffprobe started and then crashed on this file; that is
|
|
1640
|
+
// reported with the unreadable-source error below, not as a missing ffprobe.
|
|
1641
|
+
if (result?.error && result.status === null && !result.error.signal) {
|
|
1642
|
+
const err = new Error(`ffprobe is required for --upscale-video, but "${ffprobePath}" could not be started (${result.error.code}).`);
|
|
1641
1643
|
err.code = 'MISSING_FFPROBE';
|
|
1642
|
-
err.hint = 'Install ffmpeg/ffprobe (e.g. `brew install ffmpeg` / `apt install ffmpeg`) or set FFPROBE_PATH to a working ffprobe binary.';
|
|
1643
|
-
err.details = { ffprobePath };
|
|
1644
|
+
err.hint = 'Install ffmpeg/ffprobe (e.g. `brew install ffmpeg` / `apt install ffmpeg`) or set FFPROBE_PATH to a working ffprobe binary. If ffprobe runs in your shell, set FFPROBE_PATH to the full path from `command -v ffprobe`.';
|
|
1645
|
+
err.details = { ffprobePath, reason: result.error.code };
|
|
1644
1646
|
throw err;
|
|
1645
1647
|
}
|
|
1646
1648
|
let stream = null;
|
|
@@ -1654,9 +1656,17 @@ async function probeVideoUpscaleSource(buffer, sourceLabel) {
|
|
|
1654
1656
|
const frames = Number(stream?.nb_read_frames);
|
|
1655
1657
|
const fps = parseFrameRate(stream?.avg_frame_rate);
|
|
1656
1658
|
if (result?.status !== 0 || ![width, height, frames].every((value) => Number.isSafeInteger(value) && value > 0) || !fps) {
|
|
1659
|
+
// -count_frames decodes every frame, so a damaged file can print an error
|
|
1660
|
+
// per frame; keep the tail, where ffprobe names the file-level failure.
|
|
1661
|
+
// ffprobe names the temporary copy, so show the user's source instead.
|
|
1662
|
+
const ffprobeError = [
|
|
1663
|
+
String(result?.stderr || '').split(inputPath).join(sourceLabel).trim().slice(-500),
|
|
1664
|
+
result?.error?.signal ? `ffprobe was stopped by ${result.error.signal}.` : '',
|
|
1665
|
+
].filter(Boolean).join('\n');
|
|
1657
1666
|
fatalCliError('The source video dimensions, frame count, or frame rate could not be read. Use an MP4 or MOV file of 100 MB or less.', {
|
|
1658
1667
|
code: 'INVALID_UPSCALE_SOURCE',
|
|
1659
|
-
details: { source: sourceLabel }
|
|
1668
|
+
details: { source: sourceLabel, ...(ffprobeError ? { ffprobeError } : {}) },
|
|
1669
|
+
...(ffprobeError ? { hint: `ffprobe reported: ${ffprobeError.split('\n').at(-1).trim()}` } : {})
|
|
1660
1670
|
});
|
|
1661
1671
|
}
|
|
1662
1672
|
if (fps < VIDEO_UPSCALE_MIN_FPS || fps > VIDEO_UPSCALE_MAX_FPS) {
|
|
@@ -10796,8 +10806,7 @@ function withMediaExtension(filename, extension) {
|
|
|
10796
10806
|
|
|
10797
10807
|
async function probeLocalMediaDurationSeconds(pathOrUrl) {
|
|
10798
10808
|
if (isHttpUrl(pathOrUrl)) return undefined;
|
|
10799
|
-
const ffprobePath = getEnv('FFPROBE_PATH') || 'ffprobe';
|
|
10800
|
-
sanitizePath(ffprobePath, 'FFPROBE_PATH');
|
|
10809
|
+
const ffprobePath = sanitizePath(getEnv('FFPROBE_PATH') || 'ffprobe', 'FFPROBE_PATH');
|
|
10801
10810
|
const result = await runCommand(ffprobePath, [
|
|
10802
10811
|
'-v', 'error',
|
|
10803
10812
|
'-show_entries', 'format=duration',
|
|
@@ -10810,8 +10819,7 @@ async function probeLocalMediaDurationSeconds(pathOrUrl) {
|
|
|
10810
10819
|
}
|
|
10811
10820
|
|
|
10812
10821
|
async function probeMediaBufferDurationSeconds(buffer, filename) {
|
|
10813
|
-
const ffprobePath = getEnv('FFPROBE_PATH') || 'ffprobe';
|
|
10814
|
-
sanitizePath(ffprobePath, 'FFPROBE_PATH');
|
|
10822
|
+
const ffprobePath = sanitizePath(getEnv('FFPROBE_PATH') || 'ffprobe', 'FFPROBE_PATH');
|
|
10815
10823
|
const tempDir = createTrackedTempDir('sogni-wan3-probe-');
|
|
10816
10824
|
const inputPath = mediaTempInputPath(tempDir, filename, '.media');
|
|
10817
10825
|
try {
|
|
@@ -11501,8 +11509,7 @@ async function loadExeca() {
|
|
|
11501
11509
|
}
|
|
11502
11510
|
|
|
11503
11511
|
async function ensureFfmpegAvailable(operation = 'this audio/video operation') {
|
|
11504
|
-
const ffmpegPath = getEnv('FFMPEG_PATH') || 'ffmpeg';
|
|
11505
|
-
sanitizePath(ffmpegPath, 'FFMPEG_PATH');
|
|
11512
|
+
const ffmpegPath = sanitizePath(getEnv('FFMPEG_PATH') || 'ffmpeg', 'FFMPEG_PATH');
|
|
11506
11513
|
const result = await runCommand(ffmpegPath, ['-version'], { captureOutput: true });
|
|
11507
11514
|
if (result.error || result.status !== 0) {
|
|
11508
11515
|
const err = new Error(`ffmpeg is required for ${operation}.`);
|
|
@@ -11569,9 +11576,13 @@ async function runCommand(command, args, { captureOutput = false, env = undefine
|
|
|
11569
11576
|
try {
|
|
11570
11577
|
const { execa } = await loadExeca();
|
|
11571
11578
|
const result = await execa(command, args, options);
|
|
11579
|
+
// With reject: false, execa returns (rather than throws) a command that
|
|
11580
|
+
// never exited: one it could not spawn (ENOENT, EACCES) or a signal kill.
|
|
11581
|
+
// Report those like the catch below, as an error with a null status.
|
|
11582
|
+
const exited = Number.isInteger(result.exitCode);
|
|
11572
11583
|
return {
|
|
11573
|
-
status: result.exitCode,
|
|
11574
|
-
error: null,
|
|
11584
|
+
status: exited ? result.exitCode : null,
|
|
11585
|
+
error: exited ? null : result,
|
|
11575
11586
|
stdout: result.stdout || '',
|
|
11576
11587
|
stderr: result.stderr || ''
|
|
11577
11588
|
};
|
|
@@ -11720,8 +11731,7 @@ function parseFrameRate(raw) {
|
|
|
11720
11731
|
}
|
|
11721
11732
|
|
|
11722
11733
|
function probeLocalVideoFrameRate(filePath) {
|
|
11723
|
-
const ffprobePath = getEnv('FFPROBE_PATH') || 'ffprobe';
|
|
11724
|
-
sanitizePath(ffprobePath, 'FFPROBE_PATH');
|
|
11734
|
+
const ffprobePath = sanitizePath(getEnv('FFPROBE_PATH') || 'ffprobe', 'FFPROBE_PATH');
|
|
11725
11735
|
try {
|
|
11726
11736
|
const stdout = execFileSync(
|
|
11727
11737
|
ffprobePath,
|
|
@@ -11755,8 +11765,7 @@ async function probeVideoStreamInfo(filePath) {
|
|
|
11755
11765
|
videoCodec: null,
|
|
11756
11766
|
audioCodec: null
|
|
11757
11767
|
};
|
|
11758
|
-
const ffprobePath = getEnv('FFPROBE_PATH') || 'ffprobe';
|
|
11759
|
-
sanitizePath(ffprobePath, 'FFPROBE_PATH');
|
|
11768
|
+
const ffprobePath = sanitizePath(getEnv('FFPROBE_PATH') || 'ffprobe', 'FFPROBE_PATH');
|
|
11760
11769
|
const result = await runCommand(ffprobePath, [
|
|
11761
11770
|
'-v', 'error',
|
|
11762
11771
|
'-show_entries', 'stream=codec_type,codec_name,width,height,avg_frame_rate,r_frame_rate',
|
package/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '3.56.
|
|
1
|
+
export const PACKAGE_VERSION = '3.56.1';
|