@pushwoosh/rpc-gateway-ai-assistant 0.1.274 → 0.1.276
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/data.js +9 -0
- package/package.json +1 -1
- package/pushwoosh_vibeml_v1.d.ts +23 -4
package/data.js
CHANGED
|
@@ -4528,6 +4528,9 @@ export const data = {
|
|
|
4528
4528
|
},
|
|
4529
4529
|
"description": {
|
|
4530
4530
|
"type": "string"
|
|
4531
|
+
},
|
|
4532
|
+
"siteUrl": {
|
|
4533
|
+
"type": "string"
|
|
4531
4534
|
}
|
|
4532
4535
|
}
|
|
4533
4536
|
},
|
|
@@ -4536,6 +4539,12 @@ export const data = {
|
|
|
4536
4539
|
"fields": {
|
|
4537
4540
|
"theme": {
|
|
4538
4541
|
"type": "pushwoosh.vibeml.v1.VibeTheme"
|
|
4542
|
+
},
|
|
4543
|
+
"logoUrl": {
|
|
4544
|
+
"type": "string"
|
|
4545
|
+
},
|
|
4546
|
+
"brandVoice": {
|
|
4547
|
+
"type": "string"
|
|
4539
4548
|
}
|
|
4540
4549
|
}
|
|
4541
4550
|
},
|
package/package.json
CHANGED
package/pushwoosh_vibeml_v1.d.ts
CHANGED
|
@@ -414,10 +414,10 @@ export interface VibeMlService {
|
|
|
414
414
|
/**
|
|
415
415
|
* ExtractTheme samples a brand theme — the full role-keyed palette plus
|
|
416
416
|
* body/heading font stacks — from any mix of brand materials: an image, a
|
|
417
|
-
* brand-book PDF, HTML/markdown/text sources,
|
|
418
|
-
*
|
|
419
|
-
*
|
|
420
|
-
*
|
|
417
|
+
* brand-book PDF, HTML/markdown/text sources, a written brand description
|
|
418
|
+
* and/or a public site_url the server reads the brand off. At least one
|
|
419
|
+
* input (image, source, description or site_url) is required; any
|
|
420
|
+
* combination is allowed — files with a description, a site alone. Returned as a VibeTheme ready to seed a
|
|
421
421
|
* Generate request. Pure extractor — materials in, theme out, no document.
|
|
422
422
|
*
|
|
423
423
|
* The model MUST return every palette role (background, surface, text,
|
|
@@ -635,6 +635,15 @@ export type VibeMlExtractThemeRequest = {
|
|
|
635
635
|
* replace the image/sources.
|
|
636
636
|
*/
|
|
637
637
|
description: string;
|
|
638
|
+
/**
|
|
639
|
+
* A public website to read the brand off ("acme.com" — the scheme may be
|
|
640
|
+
* omitted). The server fetches the page and its stylesheets and distils the
|
|
641
|
+
* brand signals (CSS custom properties, the most used colours, font stacks,
|
|
642
|
+
* meta) into one source; the logo it finds is downloaded as the reference
|
|
643
|
+
* image when none is attached, so a vision-capable model is preferred.
|
|
644
|
+
* Optional; counts as an input on its own.
|
|
645
|
+
*/
|
|
646
|
+
siteUrl: string;
|
|
638
647
|
};
|
|
639
648
|
export type VibeMlExtractThemeResponse = {
|
|
640
649
|
/**
|
|
@@ -642,6 +651,16 @@ export type VibeMlExtractThemeResponse = {
|
|
|
642
651
|
* Ready to pass back as VibeMlGenerateRequest.theme.
|
|
643
652
|
*/
|
|
644
653
|
theme: VibeTheme;
|
|
654
|
+
/**
|
|
655
|
+
* Absolute URL of the logo found on site_url, empty when none was found or
|
|
656
|
+
* no site was given. The client decides whether to adopt it.
|
|
657
|
+
*/
|
|
658
|
+
logoUrl: string;
|
|
659
|
+
/**
|
|
660
|
+
* How the brand talks, 1-3 sentences, read off the copy in the materials —
|
|
661
|
+
* for a copywriter to imitate. Empty when the materials carry no copy.
|
|
662
|
+
*/
|
|
663
|
+
brandVoice: string;
|
|
645
664
|
};
|
|
646
665
|
export type VibeMlTranslateRequest = {
|
|
647
666
|
/** Application code, for account/app scoping middleware and logging. */
|