@sogni-ai/sogni-creative-agent-skill 3.14.0 → 3.14.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [3.14.1](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.14.0...v3.14.1) (2026-07-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **release:** prevent mixed-version npm tarballs after semantic-release bumps package.json
7
+
1
8
  # [3.14.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.13.0...v3.14.0) (2026-07-05)
2
9
 
3
10
 
@@ -85,6 +92,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
85
92
  `--control-type inpaint --mask <image>`, and automatic `transition` LoRA attachment for LTX-2.3 i2v jobs
86
93
  that provide both `--ref` and `--ref-end`.
87
94
 
95
+ ### Changed
96
+
97
+ - **Creative upscale routing is clearer in the bundled intelligence client.** Updated
98
+ `@sogni-ai/sogni-intelligence-client` to `3.7.0` so uploaded-video Seedance upscale, enhance, remaster,
99
+ restyle, and transform requests route through `video_to_video` with `seedance-v2v`, while quality-only upscale
100
+ and sharpening requests continue to use the LTX-2.3 detailer path without restyling.
101
+
88
102
  ## [3.8.0] - 2026-06-30
89
103
 
90
104
  ### Changed
package/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sogni-creative-agent-skill
3
3
  description: "Sogni Creative Agent Skill: agent skill and CLI for image, video, and music generation using Sogni AI's decentralized GPU network. Supports personas (named people with saved reference photos and voice clips), persistent memories, custom personality, style transfer, angle synthesis, 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\", \"make a video/animate\", \"make music\", \"apply a style\", or \"generate me as a superhero\"."
4
4
  metadata:
5
- version: "3.13.0"
5
+ version: "3.14.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.13.0",
5
+ "version": "3.14.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",
@@ -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.13.0",
5
+ "version": "3.14.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.14.0",
3
+ "version": "3.14.1",
4
4
  "description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, video, and music generation.",
5
5
  "type": "module",
6
6
  "main": "sogni-agent.mjs",
@@ -10,6 +10,7 @@
10
10
  "scripts": {
11
11
  "openclaw:sync": "node scripts/sync-openclaw-plugin.mjs",
12
12
  "sync:version": "node scripts/sync-version.mjs",
13
+ "check:version-sync": "node scripts/check-version-sync.mjs",
13
14
  "sync:creative-agent-runtime": "node scripts/sync-creative-agent-runtime.mjs",
14
15
  "check:creative-agent-source": "node scripts/check-creative-agent-source.mjs",
15
16
  "check:creative-agent-source:strict": "node scripts/check-creative-agent-source.mjs --strict-network",
@@ -20,7 +21,8 @@
20
21
  "test:coverage": "npm run check:creative-agent-runtime && node --test --experimental-test-coverage --test-coverage-include=sogni-agent.mjs --test-coverage-lines=50 --test-coverage-branches=35 --test-coverage-functions=50 test/sogni-agent.test.mjs",
21
22
  "test:coverage:full": "npm run check:creative-agent-runtime && node --test --experimental-test-coverage --test-coverage-include=sogni-agent.mjs --test-coverage-lines=50 --test-coverage-branches=35 --test-coverage-functions=50 test/*.test.mjs test/*.integration.mjs",
22
23
  "build:mcpb": "npx -y @anthropic-ai/mcpb pack desktop-extension dist/sogni-creative-agent.mcpb",
23
- "prepack": "npm run check:creative-agent-source:strict && SOGNI_REQUIRE_RUNTIME_SYNC=1 npm run check:creative-agent-runtime",
24
+ "prepack": "npm run check:version-sync && npm run check:creative-agent-source:strict && SOGNI_REQUIRE_RUNTIME_SYNC=1 npm run check:creative-agent-runtime",
25
+ "version": "npm run sync:version",
24
26
  "prepare": "husky",
25
27
  "release": "semantic-release"
26
28
  },
@@ -61,6 +63,8 @@
61
63
  "skills/",
62
64
  "llm.txt",
63
65
  "skill-package.json",
66
+ "scripts/sync-version.mjs",
67
+ "scripts/check-version-sync.mjs",
64
68
  "scripts/check-creative-agent-runtime.mjs",
65
69
  "scripts/check-creative-agent-source.mjs",
66
70
  "scripts/sync-creative-agent-runtime.mjs",
@@ -76,11 +80,14 @@
76
80
  "sogni-agent.mjs"
77
81
  ],
78
82
  "dependencies": {
79
- "@sogni-ai/sogni-intelligence-client": "3.7.0",
83
+ "@sogni-ai/sogni-intelligence-client": "3.7.2",
80
84
  "execa": "^9.6.1",
81
85
  "json5": "^2.2.3",
82
86
  "sharp": "^0.34.5"
83
87
  },
88
+ "overrides": {
89
+ "@sogni-ai/sogni-client": "5.1.0-alpha.18"
90
+ },
84
91
  "openclaw": {
85
92
  "extensions": [
86
93
  "./openclaw-plugin.mjs"
@@ -0,0 +1,68 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Verify that package.json's version has been stamped into every manifest
4
+ * that carries package identity. Keep this separate from sync-version so
5
+ * release gates can fail without mutating the tree.
6
+ */
7
+ import { readFileSync } from 'node:fs';
8
+ import { dirname, join } from 'node:path';
9
+ import { fileURLToPath, pathToFileURL } from 'node:url';
10
+
11
+ const defaultRepoRoot = dirname(dirname(fileURLToPath(import.meta.url)));
12
+
13
+ function read(repoRoot, relativePath) {
14
+ return readFileSync(join(repoRoot, relativePath), 'utf8');
15
+ }
16
+
17
+ function readJson(repoRoot, relativePath, problems) {
18
+ try {
19
+ return JSON.parse(read(repoRoot, relativePath));
20
+ } catch (error) {
21
+ problems.push(`${relativePath}: invalid JSON (${error.message})`);
22
+ return null;
23
+ }
24
+ }
25
+
26
+ function expectVersion(problems, label, actual, expected) {
27
+ if (actual !== expected) {
28
+ problems.push(`${label}: expected ${expected}, found ${actual ?? '(missing)'}`);
29
+ }
30
+ }
31
+
32
+ export function checkVersionSync({ repoRoot = defaultRepoRoot } = {}) {
33
+ const problems = [];
34
+ const pkg = readJson(repoRoot, 'package.json', problems);
35
+ const version = pkg?.version;
36
+ if (!version) {
37
+ problems.push('package.json: missing version');
38
+ return { version, problems };
39
+ }
40
+
41
+ const versionModule = read(repoRoot, 'version.mjs').match(/^export const PACKAGE_VERSION = '([^']+)';\s*$/m);
42
+ expectVersion(problems, 'version.mjs PACKAGE_VERSION', versionModule?.[1], version);
43
+
44
+ const skill = read(repoRoot, 'SKILL.md').match(/^\s*version:\s*"([^"]+)"/m);
45
+ expectVersion(problems, 'SKILL.md metadata.version', skill?.[1], version);
46
+
47
+ for (const manifest of [
48
+ '.claude-plugin/plugin.json',
49
+ 'openclaw.plugin.json',
50
+ 'desktop-extension/manifest.json',
51
+ ]) {
52
+ const parsed = readJson(repoRoot, manifest, problems);
53
+ if (parsed) expectVersion(problems, `${manifest} version`, parsed.version, version);
54
+ }
55
+
56
+ return { version, problems };
57
+ }
58
+
59
+ if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
60
+ const { version, problems } = checkVersionSync();
61
+ if (problems.length > 0) {
62
+ console.error(`Version metadata drifted from package.json${version ? ` (${version})` : ''}:`);
63
+ for (const problem of problems) console.error(`- ${problem}`);
64
+ console.error('Run `npm run sync:version` and include the changed stamp files in the release.');
65
+ process.exit(1);
66
+ }
67
+ console.log(`Version metadata OK (${version}).`);
68
+ }
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Stamp the package.json version into every other manifest that carries it:
3
+ * version.mjs, SKILL.md frontmatter, .claude-plugin/plugin.json,
4
+ * openclaw.plugin.json, desktop-extension/manifest.json.
5
+ *
6
+ * package.json is the single source of truth. The docs-consistency test (and
7
+ * CI) fail when any of these drift, so run `npm run sync:version` after every
8
+ * version bump instead of hand-editing.
9
+ */
10
+ import { readFileSync, writeFileSync } from 'node:fs';
11
+ import { dirname, join } from 'node:path';
12
+ import { fileURLToPath } from 'node:url';
13
+
14
+ const repoRoot = dirname(dirname(fileURLToPath(import.meta.url)));
15
+ const version = JSON.parse(readFileSync(join(repoRoot, 'package.json'), 'utf8')).version;
16
+
17
+ if (!/^\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?$/.test(version)) {
18
+ console.error(`package.json version "${version}" does not look like semver; refusing to stamp.`);
19
+ process.exit(1);
20
+ }
21
+
22
+ const changes = [];
23
+
24
+ function stamp(relativePath, replacer) {
25
+ const filePath = join(repoRoot, relativePath);
26
+ const before = readFileSync(filePath, 'utf8');
27
+ const after = replacer(before);
28
+ if (after === before) return;
29
+ writeFileSync(filePath, after);
30
+ changes.push(relativePath);
31
+ }
32
+
33
+ stamp('version.mjs', () => `export const PACKAGE_VERSION = '${version}';\n`);
34
+
35
+ stamp('SKILL.md', (text) => {
36
+ const updated = text.replace(/^(\s*version:\s*)"[^"]+"/m, `$1"${version}"`);
37
+ if (!/^\s*version:\s*"/m.test(text)) {
38
+ console.error('SKILL.md frontmatter has no version field to stamp.');
39
+ process.exit(1);
40
+ }
41
+ return updated;
42
+ });
43
+
44
+ for (const manifest of ['.claude-plugin/plugin.json', 'openclaw.plugin.json', 'desktop-extension/manifest.json']) {
45
+ stamp(manifest, (text) => {
46
+ const parsed = JSON.parse(text);
47
+ if (parsed.version === version) return text;
48
+ // Targeted string replace preserves the existing key order and formatting.
49
+ return text.replace(`"version": "${parsed.version}"`, `"version": "${version}"`);
50
+ });
51
+ }
52
+
53
+ if (changes.length === 0) {
54
+ console.log(`All manifests already at ${version}.`);
55
+ } else {
56
+ console.log(`Stamped ${version} into: ${changes.join(', ')}`);
57
+ }
@@ -3,7 +3,7 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@sogni-ai/sogni-intelligence-client": "3.7.0",
6
+ "@sogni-ai/sogni-intelligence-client": "3.7.2",
7
7
  "execa": "^9.6.1",
8
8
  "json5": "^2.2.3",
9
9
  "sharp": "^0.34.5"
package/version.mjs CHANGED
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = '3.13.0';
1
+ export const PACKAGE_VERSION = '3.14.1';