@happyvertical/smrt-content 0.60.13 → 0.60.15
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/AGENTS.md +12 -0
- package/dist/chunks/{content-query-3QnpgaTq.js → content-query-Btubw6aG.js} +14 -20
- package/dist/chunks/{content-query-3QnpgaTq.js.map → content-query-Btubw6aG.js.map} +1 -1
- package/dist/chunks/{content-versions-CbvAx6w-.js → content-versions-D9CG72yc.js} +2 -2
- package/dist/chunks/{content-versions-CbvAx6w-.js.map → content-versions-D9CG72yc.js.map} +1 -1
- package/dist/chunks/{contents-BPee9UVh.js → contents-B72075dG.js} +2 -2
- package/dist/chunks/{contents-BPee9UVh.js.map → contents-B72075dG.js.map} +1 -1
- package/dist/content-chat-prompts.d.ts.map +1 -1
- package/dist/content-prompts.d.ts +6 -6
- package/dist/content-prompts.d.ts.map +1 -1
- package/dist/content.d.ts.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +1 -1
- package/dist/server.js +1 -1
- package/dist/smrt-knowledge.json +5 -5
- package/dist/smrt-knowledge.okf.md +2 -2
- package/package.json +16 -16
package/AGENTS.md
CHANGED
|
@@ -195,6 +195,18 @@ import {
|
|
|
195
195
|
} from '@happyvertical/smrt-content';
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
+
Tiers (#4755 rule, `../prompts/AGENTS.md`):
|
|
199
|
+
|
|
200
|
+
| Key | Call | Tier |
|
|
201
|
+
|-----|------|------|
|
|
202
|
+
| `smrtContent.review` | `runReviewAction()` (persisted review) | `great` |
|
|
203
|
+
| `smrtContent.applyCorrection` | `issueCorrection()` body rewrite | `great` |
|
|
204
|
+
| `content.chat.contentEditorInteraction` | chat turn, applied to the editor | `great`, `interactive`; the session's explicit model wins (per-call `getAI()` client, tier not bound) |
|
|
205
|
+
| `content.chat.contentEditorSession` | system prompt only, no call | none |
|
|
206
|
+
| `smrtContent.thumbnail.aiGenerate` | image generation | none (tier keys are dropped) |
|
|
207
|
+
|
|
208
|
+
The review and correction calls bind the tier through `prepareAiOperation()`.
|
|
209
|
+
|
|
198
210
|
`smrtContent.thumbnail.aiGenerate` powers the AI image-generation prompt used by `ThumbnailGenerator` (strategy `'ai-generate'`). Variables substituted into the template: `style`, `title`, `styleHint`, `descriptionClause`. Internal foreign-key fields (`id`, `tenantId`) and the freeform `metadata` blob are intentionally excluded — `metadata` may carry tenant-private configuration or coordinates unrelated to the visual prompt.
|
|
199
211
|
|
|
200
212
|
## Gotchas
|