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.
|
- 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.
|
- 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.
|
- 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
|
## Endpoint
|
||||||
|
|
||||||
@@ -26,10 +26,10 @@ The `/v1` suffix is required because `/models` is an application page while `/v1
|
|||||||
## Workflow
|
## Workflow
|
||||||
|
|
||||||
1. Use the system `imagegen` skill for prompt, composition, and asset decisions.
|
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
|
```bash
|
||||||
python3 ai-infra/skills/sources/shujkimagegen-api/scripts/shujk_imagegen.py generate \
|
python3 ~/.agents/skills/shujkimagegen-api/scripts/shujk_imagegen.py generate \
|
||||||
--prompt "..." \
|
--prompt "..." \
|
||||||
--out output/imagegen/example.png
|
--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:
|
3. For edits, pass through the system CLI arguments:
|
||||||
|
|
||||||
```bash
|
```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 \
|
--image input.png \
|
||||||
--prompt "..." \
|
--prompt "..." \
|
||||||
--out output/imagegen/edited.png
|
--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:
|
4. Inspect non-secret configuration with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python3 ai-infra/skills/sources/shujkimagegen-api/scripts/shujk_imagegen.py \
|
python3 ~/.agents/skills/shujkimagegen-api/scripts/shujk_imagegen.py \
|
||||||
--print-config-redacted
|
--print-config-redacted
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Save project-bound assets inside the active workspace and report the output path and final prompt.
|
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
|
## Installation Validation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user