makaron-persona-look-cli 0.4.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/LICENSE +1 -0
- package/README.md +84 -0
- package/bin/personlib.mjs +495 -0
- package/cloudflare-worker/README.md +37 -0
- package/cloudflare-worker/schema.sql +26 -0
- package/cloudflare-worker/src/worker.mjs +206 -0
- package/cloudflare-worker/test/worker.test.mjs +111 -0
- package/cloudflare-worker/wrangler.toml +17 -0
- package/lib/remote-client.mjs +254 -0
- package/package.json +31 -0
- package/skills/makaron-persona-look/SKILL.md +33 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: makaron-persona-look
|
|
3
|
+
description: Find, combine, or render an approved Persona and Look through makaron-persona-look-cli. Use for requests to choose a reusable character identity, swap hairstyle or styling without changing that identity, or create consistent character images and video.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Makaron Persona + Look Library
|
|
7
|
+
|
|
8
|
+
Use `personlib` when installed. If it is missing, bootstrap the Agent with `npx -y makaron-persona-look-cli setup`, which installs this Skill and enrolls one local Agent credential. If the package has not yet been released with its Worker URL, use `npx -y makaron-persona-look-cli setup --api-url HTTPS_WORKER_URL` instead.
|
|
9
|
+
|
|
10
|
+
Persona is the stable identity reference: face structure, natural skin traits, stable marks, adult presentation, and supported body evidence. Look is separate: hairstyle, hair color, makeup, wardrobe, accessories, palette, and materials. Never copy the face from a Look reference into the selected Persona.
|
|
11
|
+
|
|
12
|
+
## Natural-language routing
|
|
13
|
+
|
|
14
|
+
- “这张图进 Persona 库” is an owner-only intake request. Require clear owner authorization, then use `personlib intake --into persona --rights authorized`.
|
|
15
|
+
- “这张图进 Look 库” is an owner-only intake request. Use `personlib intake --into look --rights authorized`; extract only clothing, hair, makeup, accessory, palette, material, and scene information. Never use the source face as a new Persona.
|
|
16
|
+
- “找一个人物” is a remote search request: use `personlib remote recommend --brief TEXT` after `personlib remote doctor` succeeds.
|
|
17
|
+
- “为广告找一个人物” should use `personlib recommend --brief TEXT`. If there is no appropriate Look asset, use the returned temporary Look only for this request; do not save it unless the owner asks.
|
|
18
|
+
- “按这段文案获取对应图” should use `personlib remote preview --brief TEXT --output-dir PATH` on 小龙虾 (or local `personlib fetch` in owner mode). It returns a Persona + Look reference pack and a render brief, not a synthesized image.
|
|
19
|
+
- “都市通勤 / 职场 / 杂志感” should use `personlib recommend --brief TEXT`; prefer catalog office, commute, workwear, and magazine-editorial tags before creating a temporary Look.
|
|
20
|
+
- “晚宴 / 红毯 / 高级派对” should use `personlib recommend --brief TEXT`; prefer adult gala, red-carpet, black-tie, cocktail, and luxury-party Looks without retaining a source event or person identity.
|
|
21
|
+
- “运动休闲时尚” should use `personlib recommend --brief TEXT`; prefer adult athleisure, retro sport, track, court, and sport-luxe Looks without retaining team, school, or brand identity.
|
|
22
|
+
- “给这个人物换妆造” means keep the Persona and select or create a Look.
|
|
23
|
+
- “用这个人物生成” means compose Persona first, Look second, then render through the caller's Makaron authentication.
|
|
24
|
+
|
|
25
|
+
## Access boundary
|
|
26
|
+
|
|
27
|
+
Any enrolled OpenClaw Agent may use credentialed `remote doctor`, `remote recommend`, `remote compose`, and `remote preview`. It may not call `remote sync`, upload source images, modify tags, delete assets, or publish the bundle. Open enrollment is an owner-selected access rule; never request or print API keys, Agent tokens, or owner tokens. `preview` returns source references only; the selected Persona remains the sole identity reference and the Look-source face stays excluded.
|
|
28
|
+
|
|
29
|
+
## Current local-admin milestone
|
|
30
|
+
|
|
31
|
+
The current package supports local Persona and Look intake, list, show, integrity validation, `recommend --brief TEXT`, `fetch --brief TEXT --output-dir PATH`, and `compose --persona P-xxx --look L-xxx`; it also ships the remote Worker/client implementation. The remote commands need a deployed private Worker and a successful top-level `setup` before use; do not claim that the current host is live until `remote doctor` succeeds against its Worker URL. Catalog-matching requests return an existing reference pack only. Both local and remote paths produce a render brief only: the Persona is the sole identity reference, the Look source face is excluded, and logos/watermarks/wordmarks are replaced. An authorized image renderer may produce one preview from that brief only after its own explicit deployment and credit/submit authorization.
|
|
32
|
+
|
|
33
|
+
When a source has preppy, uniform-adjacent, or youth-coded styling, store only an adult office-core/editorial interpretation. Do not use a student identity, school context, or sexualized youth styling.
|