@sogni-ai/sogni-creative-agent-skill 3.1.0 → 3.2.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.
- package/README.md +19 -2
- package/SKILL.md +241 -143
- package/generated/creative-agent-runtime.mjs +2 -2
- package/llm.txt +8 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +6 -5
- package/skill-package.json +1 -1
- package/sogni-agent.mjs +277 -16
- package/update-check.mjs +303 -0
- package/version.mjs +1 -1
package/README.md
CHANGED
|
@@ -42,6 +42,7 @@ With this skill, an agent can:
|
|
|
42
42
|
- [Requirements](#requirements)
|
|
43
43
|
- [Installation](#installation)
|
|
44
44
|
- [Node CLI (default)](#node-cli-default)
|
|
45
|
+
- [Claude Code plugin](#claude-code-plugin)
|
|
45
46
|
- [OpenClaw plugin](#openclaw-plugin)
|
|
46
47
|
- [Hermes Agent / Manus / other frameworks](#hermes-agent--manus--other-frameworks)
|
|
47
48
|
- [Manual install from source](#manual-install-from-source)
|
|
@@ -111,6 +112,17 @@ sogni-agent --version
|
|
|
111
112
|
|
|
112
113
|
Then point your agent/runtime at this repository's [`SKILL.md`](./SKILL.md). When an install request is ambiguous, install the CLI and skill source together — that's the supported default.
|
|
113
114
|
|
|
115
|
+
### Claude Code plugin
|
|
116
|
+
|
|
117
|
+
The Claude Code plugin shells out to the `sogni-agent` CLI installed above, so both steps are required. From inside Claude Code, register the marketplace and install the plugin:
|
|
118
|
+
|
|
119
|
+
```text
|
|
120
|
+
/plugin marketplace add Sogni-AI/sogni-creative-agent-skill
|
|
121
|
+
/plugin install sogni-creative-agent@sogni
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
The first command registers a `sogni` marketplace with one plugin entry (`sogni-creative-agent`) backed by a lean Claude-Code-focused [`plugin-skills/sogni-creative-agent/SKILL.md`](./plugin-skills/sogni-creative-agent/SKILL.md); the second installs the plugin into Claude Code. The full skill spec still lives at the repository root [`SKILL.md`](./SKILL.md).
|
|
125
|
+
|
|
114
126
|
### OpenClaw plugin
|
|
115
127
|
|
|
116
128
|
For the published plugin:
|
|
@@ -275,6 +287,10 @@ sogni-agent --api-chat --task-profile reasoning --no-thinking \
|
|
|
275
287
|
"Plan a concise multi-step product launch workflow"
|
|
276
288
|
sogni-agent --list-api-models
|
|
277
289
|
|
|
290
|
+
# Durable hosted chat run with SSE progress events
|
|
291
|
+
SOGNI_SKILL_USE_SDK_TRANSPORT=1 sogni-agent --durable-chat \
|
|
292
|
+
"Create a product launch storyboard and render the first hero image"
|
|
293
|
+
|
|
278
294
|
# Durable hosted workflow (/v1/creative-agent/workflows)
|
|
279
295
|
sogni-agent --api-workflow \
|
|
280
296
|
--video-prompt "The camera slowly pushes in as the sketch comes alive" \
|
|
@@ -299,7 +315,7 @@ sogni-agent --get-replay run_abc123 --json
|
|
|
299
315
|
|
|
300
316
|
# Opt in to SDK transport for hosted operations (durable workflows + chat).
|
|
301
317
|
# Validates restEndpoint/socketEndpoint via the skill's SSRF guard, then
|
|
302
|
-
# calls
|
|
318
|
+
# calls the SDK workflow/chat methods directly.
|
|
303
319
|
# Falls back to the legacy SSRF-validated fetch path when the env is unset.
|
|
304
320
|
export SOGNI_SKILL_USE_SDK_TRANSPORT=1
|
|
305
321
|
sogni-agent --api-workflow storyboard-video "10s neon city flyover"
|
|
@@ -508,6 +524,7 @@ Hosted API modes require `SOGNI_API_KEY`.
|
|
|
508
524
|
|
|
509
525
|
- **`--api-chat`** targets `/v1/chat/completions` with Sogni creative-agent tools — best for text-first natural-language workflows. The CLI sanitizes prompt-injection markers before forwarding messages and can use the current server-side creative-agent media tools, including video extension, segment replacement, overlays, subtitles, stitch/orbit/dance composition, and generated artifact indexing. Tune with `--api-tools creative-agent|creative-tools|none`, `--no-api-tool-execution`, `--llm-model`, and `--system`.
|
|
510
526
|
- **Sogni Intelligence controls** include `--task-profile general|coding|reasoning`, `--max-tokens`, and `--thinking` / `--no-thinking`, which forward to `/v1/chat/completions` as `task_profile`, `max_tokens`, and `chat_template_kwargs.enable_thinking`. Use `--list-api-models` or `--get-api-model <id>` to inspect `/v1/models`.
|
|
527
|
+
- **`--durable-chat`** starts a hosted `/v1/chat/runs` record through the SDK transport. Set `SOGNI_SKILL_USE_SDK_TRANSPORT=1` before using it. The CLI streams assistant deltas and de-duplicated per-job progress / ETA / result lines from hosted run events.
|
|
511
528
|
- **`--api-workflow`** targets `/v1/creative-agent/workflows` for durable, async workflow records with event streaming and cancellation. Requests carry `input.steps` plus snake_case controls such as `token_type`, `media_references`, `max_estimated_capacity_units`, and `confirm_cost`.
|
|
512
529
|
- **`--workflow-input`** forwards exact durable workflow JSON (`{ title?, steps: [...] }`). Use this when you need exact multi-step behavior such as repeated `replace_video_segment` steps with `replacementStartSeconds` / `replacementEndSeconds` for interleaved video slices.
|
|
513
530
|
- **`--api-workflow storyboard-video`** generates a storyline, creates a single GPT Image 2 storyboard sheet, then passes that artifact into Seedance as the video reference. The `-Q fast|hq|pro` preset maps to GPT Image 2 low/medium/high quality for that storyboard sheet.
|
|
@@ -601,7 +618,7 @@ With both repos checked out as siblings, refresh the generated runtime before pu
|
|
|
601
618
|
npm run sync:creative-agent-runtime
|
|
602
619
|
```
|
|
603
620
|
|
|
604
|
-
Reusable workflow rules should
|
|
621
|
+
Reusable workflow rules should come from the shared Sogni runtime before they are synced into this public package. Keep storyboard planning, tool argument validation, prompt linting, media-routing decisions, chat-run progress extraction, and repair/control behavior aligned with the hosted `/v1/chat/completions` and `/v1/creative-agent/workflows` APIs. Prefer typed helpers exported by `@sogni-ai/sogni-intelligence-client` or the generated runtime over new skill-local regex guards.
|
|
605
622
|
|
|
606
623
|
Public-skill regex should stay limited to CLI argument/fact extraction such as file paths, URLs, extensions, dimensions, durations, and explicit positions. Hosted-style decisions such as latest-video continuation, uploaded-video modification, image-selection waits, stitch-after-batch state, and repair/control routing belong upstream in typed planner/runtime fields before they are synced here.
|
|
607
624
|
|