docs: record managed runtime placements
This commit is contained in:
@@ -14,7 +14,7 @@ Use this helper when image generation or editing should reach server6 directly i
|
||||
- Keep the durable source in the Gitea repo `shujakuin/skill-shujkimagegen-api`; treat `ai-infra/skills/sources/shujkimagegen-api/` and HOME runtime copies as managed mirrors.
|
||||
- Do not place this skill under the infra repo's `.agents/skills/` or manage it through cc-switch WebDAV.
|
||||
- Treat this as a thin wrapper around the system `imagegen` CLI; do not copy or patch the system script.
|
||||
- The current management state is repo source only. Do not create a HOME runtime placement unless the user explicitly requests it.
|
||||
- Current HOME runtime placements are `pc` and `a100` under `~/.agents/skills/shujkimagegen-api/`. Update only explicitly modeled placements.
|
||||
|
||||
## Endpoint
|
||||
|
||||
@@ -26,10 +26,10 @@ The `/v1` suffix is required because `/models` is an application page while `/v1
|
||||
## Workflow
|
||||
|
||||
1. Use the system `imagegen` skill for prompt, composition, and asset decisions.
|
||||
2. Run the repo source wrapper while the skill remains source-only:
|
||||
2. Run the HOME runtime wrapper:
|
||||
|
||||
```bash
|
||||
python3 ai-infra/skills/sources/shujkimagegen-api/scripts/shujk_imagegen.py generate \
|
||||
python3 ~/.agents/skills/shujkimagegen-api/scripts/shujk_imagegen.py generate \
|
||||
--prompt "..." \
|
||||
--out output/imagegen/example.png
|
||||
```
|
||||
@@ -37,7 +37,7 @@ The `/v1` suffix is required because `/models` is an application page while `/v1
|
||||
3. For edits, pass through the system CLI arguments:
|
||||
|
||||
```bash
|
||||
python3 ai-infra/skills/sources/shujkimagegen-api/scripts/shujk_imagegen.py edit \
|
||||
python3 ~/.agents/skills/shujkimagegen-api/scripts/shujk_imagegen.py edit \
|
||||
--image input.png \
|
||||
--prompt "..." \
|
||||
--out output/imagegen/edited.png
|
||||
@@ -46,13 +46,13 @@ The `/v1` suffix is required because `/models` is an application page while `/v1
|
||||
4. Inspect non-secret configuration with:
|
||||
|
||||
```bash
|
||||
python3 ai-infra/skills/sources/shujkimagegen-api/scripts/shujk_imagegen.py \
|
||||
python3 ~/.agents/skills/shujkimagegen-api/scripts/shujk_imagegen.py \
|
||||
--print-config-redacted
|
||||
```
|
||||
|
||||
5. Save project-bound assets inside the active workspace and report the output path and final prompt.
|
||||
|
||||
After an explicit HOME runtime placement, use the equivalent path under `~/.agents/skills/shujkimagegen-api/`.
|
||||
For source validation before placement, use the equivalent wrapper under the standalone checkout or infra mirror.
|
||||
|
||||
## Installation Validation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user