@agent-native/core 0.12.4 → 0.12.5
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/dist/agent/engine/builder-engine.d.ts +3 -2
- package/dist/agent/engine/builder-engine.d.ts.map +1 -1
- package/dist/agent/engine/builder-engine.js +28 -9
- package/dist/agent/engine/builder-engine.js.map +1 -1
- package/dist/agent/engine/builtin.js +3 -3
- package/dist/agent/engine/builtin.js.map +1 -1
- package/dist/cli/templates-meta.d.ts.map +1 -1
- package/dist/cli/templates-meta.js +14 -0
- package/dist/cli/templates-meta.js.map +1 -1
- package/dist/client/composer/TiptapComposer.js +1 -1
- package/dist/client/composer/TiptapComposer.js.map +1 -1
- package/dist/extensions/routes.d.ts.map +1 -1
- package/dist/extensions/routes.js +4 -1
- package/dist/extensions/routes.js.map +1 -1
- package/dist/extensions/store.d.ts.map +1 -1
- package/dist/extensions/store.js +7 -1
- package/dist/extensions/store.js.map +1 -1
- package/dist/server/credential-provider.d.ts +3 -2
- package/dist/server/credential-provider.d.ts.map +1 -1
- package/dist/server/credential-provider.js +4 -3
- package/dist/server/credential-provider.js.map +1 -1
- package/docs/content/getting-started.md +26 -0
- package/docs/content/template-dispatch.md +17 -0
- package/docs/content/template-images.md +54 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Images"
|
|
3
|
+
description: "An agent-native image library and cross-agent image service for brand-consistent AI imagery."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Images
|
|
7
|
+
|
|
8
|
+
Images is an agent-native workspace for creating brand-consistent AI imagery. It organizes references into flat Libraries, lets teams upload examples for blog heroes, diagrams, landing pages, product shots, and logos, then routes generation through the agent chat so every image can be reviewed and refined.
|
|
9
|
+
|
|
10
|
+
Use it when your team needs reusable visual direction instead of one-off generic image prompts.
|
|
11
|
+
|
|
12
|
+
## What You Can Do With It
|
|
13
|
+
|
|
14
|
+
- **Create image libraries.** Group reference images, canonical logos, style notes, palettes, and generated output by brand, campaign, product, or image category.
|
|
15
|
+
- **Generate through chat.** The home composer and library Generate controls send the prompt to the agent with `sendToAgentChat()`, so users can inspect variants, give feedback, and iterate.
|
|
16
|
+
- **Upload references.** Add image examples from the library UI or the prompt composer attachment button, then tag them as hero, landing, product, logo, diagram, style-only, or other.
|
|
17
|
+
- **Keep a generation audit log.** Every run records prompts, model, aspect ratio, references, source asset, lineage, generated assets, status, errors, and timestamps for later design review.
|
|
18
|
+
- **Preserve logo accuracy.** The agent can generate a placeholder area and the server composites the uploaded canonical logo onto the final image instead of relying on the image model to redraw it.
|
|
19
|
+
- **Serve other agents.** Slides, Design, Content, Mail, and Dispatch can call Images through A2A to list libraries, generate batches, refine an asset, fetch exports, and render inline previews where embedding is allowed.
|
|
20
|
+
|
|
21
|
+
## Why It's Interesting
|
|
22
|
+
|
|
23
|
+
Most AI image tools treat brand consistency as a prompt-writing problem. Images treats it as application state: references, collections, style briefs, run history, and saved assets live in SQL, while image bytes live in object storage or the local file-upload fallback during development.
|
|
24
|
+
|
|
25
|
+
Because generation is an action and a chat workflow, the UI and the agent share the same operations. A user can start from the big prompt box, a library detail page, another app's chat, or an A2A request from Slides, and the same audit and lineage model is preserved.
|
|
26
|
+
|
|
27
|
+
## For Developers
|
|
28
|
+
|
|
29
|
+
The rest of this doc is for anyone forking the Images template or extending it.
|
|
30
|
+
|
|
31
|
+
### Scaffolding
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pnpm dlx @agent-native/core create my-images --template images --standalone
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Customize It
|
|
38
|
+
|
|
39
|
+
Images is a complete, cloneable template. Some practical extension ideas:
|
|
40
|
+
|
|
41
|
+
- "Add a product catalog connector so product reference shots can be selected by SKU."
|
|
42
|
+
- "Add a strict approval queue before generated images are marked usable for marketing."
|
|
43
|
+
- "Add a brand review dashboard that filters failed or low-rated generations by model."
|
|
44
|
+
- "Create a workspace-wide default image library and route Slides image generation through it."
|
|
45
|
+
- "Add a new provider behind the image generation interface after checking the latest provider docs."
|
|
46
|
+
|
|
47
|
+
The agent edits routes, components, actions, skills, and SQL-backed models as needed. See [Templates](/docs/cloneable-saas) for the full clone, customize, deploy flow, and [A2A Protocol](/docs/a2a-protocol) for cross-app generation.
|
|
48
|
+
|
|
49
|
+
## What's Next
|
|
50
|
+
|
|
51
|
+
- [**Templates**](/docs/cloneable-saas) — the clone-and-own model
|
|
52
|
+
- [**A2A Protocol**](/docs/a2a-protocol) — how other apps call Images
|
|
53
|
+
- [**File Uploads**](/docs/file-uploads) — storage and authenticated asset serving
|
|
54
|
+
- [**Sharing & Privacy**](/docs/sharing) — library-level access control
|