@genfeedai/cli 0.7.1 → 0.7.2
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/index.js +207 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60356,6 +60356,95 @@ var PRESET_CATALOG = WITHOUT_EXAMPLES.map((preset) => ({
|
|
|
60356
60356
|
examples: PRESET_EXAMPLE_DATA[preset.key] ?? []
|
|
60357
60357
|
}));
|
|
60358
60358
|
|
|
60359
|
+
// ../contracts/src/constants/prompt-catalog.generated.ts
|
|
60360
|
+
var PROMPT_CATALOG_DATA = [
|
|
60361
|
+
{ key: "ad-screen-demo", label: "Screen demo prompt", description: "A narrated screen demonstration: a voiceover walks through the screen content you provide.", text: `Create a {{aspectRatio}} video lasting {{duration}} seconds.
|
|
60362
|
+
|
|
60363
|
+
Do not add captions, titles, logos or other generated words on screen.
|
|
60364
|
+
|
|
60365
|
+
{{referenceRoles}}
|
|
60366
|
+
|
|
60367
|
+
Say "{{dialogue}}". Use the same words, same number of words, same order.
|
|
60368
|
+
|
|
60369
|
+
Show the referenced screen content clearly while the voiceover explains it.
|
|
60370
|
+
|
|
60371
|
+
Keep human anatomy, objects and surroundings at realistic proportions.
|
|
60372
|
+
|
|
60373
|
+
{{lensMm}} mm lens; compose for {{aspectRatio}}.
|
|
60374
|
+
|
|
60375
|
+
{{qualityLook}}
|
|
60376
|
+
|
|
60377
|
+
Use believable, consistent light that suits the setting.
|
|
60378
|
+
|
|
60379
|
+
Speak naturally with restrained gestures and expressions.
|
|
60380
|
+
|
|
60381
|
+
Start with an attentive look, deliver the dialogue, then settle naturally.
|
|
60382
|
+
|
|
60383
|
+
Reference audio steers the voice. There is no unchanged-audio guarantee.
|
|
60384
|
+
|
|
60385
|
+
Maintain identity, wardrobe, setting and lighting throughout.`, cover: "https://cdn.genfeed.ai/assets/cards/presets/ad-screen-demo.webp", mediaType: "video" },
|
|
60386
|
+
{ key: "ad-talking-head", label: "Talking head prompt", description: "A direct-to-camera presentation: one person speaks your script in a steady, clean frame.", text: `Create a {{aspectRatio}} video lasting {{duration}} seconds.
|
|
60387
|
+
|
|
60388
|
+
Do not add captions, titles, logos or other generated words on screen.
|
|
60389
|
+
|
|
60390
|
+
{{referenceRoles}}
|
|
60391
|
+
|
|
60392
|
+
Say "{{dialogue}}". Use the same words, same number of words, same order.
|
|
60393
|
+
|
|
60394
|
+
Keep the referenced person recognizable and interacting naturally with the setting.
|
|
60395
|
+
|
|
60396
|
+
Keep human anatomy, objects and surroundings at realistic proportions.
|
|
60397
|
+
|
|
60398
|
+
{{lensMm}} mm lens; compose for {{aspectRatio}}.
|
|
60399
|
+
|
|
60400
|
+
{{qualityLook}}
|
|
60401
|
+
|
|
60402
|
+
Use believable, consistent light that suits the setting.
|
|
60403
|
+
|
|
60404
|
+
Speak naturally with restrained gestures and expressions.
|
|
60405
|
+
|
|
60406
|
+
Start with an attentive look, deliver the dialogue, then settle naturally.
|
|
60407
|
+
|
|
60408
|
+
Reference audio steers the voice. There is no unchanged-audio guarantee.
|
|
60409
|
+
|
|
60410
|
+
Maintain identity, wardrobe, setting and lighting throughout.`, cover: "https://cdn.genfeed.ai/assets/cards/presets/ad-talking-head.webp", mediaType: "video" },
|
|
60411
|
+
{ key: "ad-ugc-selfie", label: "UGC selfie ad prompt", description: "A casual handheld selfie ad: one person talks straight to their phone camera, in the setting you choose.", text: `Create a {{aspectRatio}} video lasting {{duration}} seconds.
|
|
60412
|
+
|
|
60413
|
+
Do not add captions, titles, logos or other generated words on screen.
|
|
60414
|
+
|
|
60415
|
+
{{referenceRoles}}
|
|
60416
|
+
|
|
60417
|
+
Say "{{dialogue}}". Use the same words, same number of words, same order.
|
|
60418
|
+
|
|
60419
|
+
Keep the referenced person recognizable and interacting naturally with the setting.
|
|
60420
|
+
|
|
60421
|
+
Keep human anatomy, objects and surroundings at realistic proportions.
|
|
60422
|
+
|
|
60423
|
+
Handheld phone selfie, {{lensMm}} mm lens, {{aspectRatio}}; subtle natural movement.
|
|
60424
|
+
|
|
60425
|
+
{{qualityLook}}
|
|
60426
|
+
|
|
60427
|
+
Use believable, consistent light that suits the setting.
|
|
60428
|
+
|
|
60429
|
+
Speak naturally with restrained gestures and expressions.
|
|
60430
|
+
|
|
60431
|
+
Start with an attentive look, deliver the dialogue, then settle naturally.
|
|
60432
|
+
|
|
60433
|
+
Reference audio steers the voice. There is no unchanged-audio guarantee.
|
|
60434
|
+
|
|
60435
|
+
Maintain identity, wardrobe, setting and lighting throughout.`, cover: "https://cdn.genfeed.ai/assets/cards/presets/ad-ugc-selfie.webp", mediaType: "video" },
|
|
60436
|
+
{ key: "studio-animation", label: "Animation prompt", description: "A playful animated scene with clear movement.", text: "Animate your subject in a short playful scene.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-animation.webp", mediaType: "video", examples: [{ url: "https://cdn.genfeed.ai/assets/prompts/studio-animation/paper-fox.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf7r101440gmnknbkoef8.jpg", alt: "A paper-folded fox exploring a tiny cardboard city", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-animation/coffee-cup.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf8cl01480gmn545edgjb.jpg", alt: "A cartoon coffee cup that wakes up and stretches", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-animation/clay-astronaut.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf8yk014c0gmnl5v82lg8.jpg", alt: "A clay astronaut planting a flag on a cheese moon", aspectRatio: "9:16", mediaType: "video" }] },
|
|
60437
|
+
{ key: "studio-banner", label: "Banner prompt", description: "A wide composition with space for your headline.", text: "Create a wide banner for your topic or brand.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-banner.webp", mediaType: "image", examples: [{ url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcon6012d0gmnaij9ghb0.jpg", alt: "A banner for an artisanal coffee roaster, with a wooden shop sign and baristas at work", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcpj9012h0gmn613no1rd.jpg", alt: "A banner for a running club's autumn half marathon, with runners on a leaf-covered road", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcq5g012l0gmn8yxd0rf8.jpg", alt: "A banner for a cozy indie farming game studio, with a farmer, a dog and a garden", aspectRatio: "1:1", mediaType: "image" }] },
|
|
60438
|
+
{ key: "studio-dance", label: "Dance prompt", description: "A full-body performance with room to move.", text: "Create a short dance performance featuring your subject.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-dance.webp", mediaType: "video", examples: [{ url: "https://cdn.genfeed.ai/assets/prompts/studio-dance/chrome-robot.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf9kk014g0gmnlh0gqa5g.jpg", alt: "A chrome robot dancing in a neon-lit parking garage", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-dance/retriever.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jfa74014k0gmnw17h95ge.jpg", alt: "A golden retriever dancing in a sunny kitchen", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-dance/flamenco.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jfbdw014s0gmnvmtl1pm3.jpg", alt: "A flamenco dancer on a whitewashed rooftop at sunset", aspectRatio: "9:16", mediaType: "video" }] },
|
|
60439
|
+
{ key: "studio-edit-enhance", label: "Enhance photo prompt", description: "Better light, color and sharpness, same subject.", text: "Improve the lighting, color balance and sharpness of this photo. Keep the subject, composition and details the same.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-enhance.webp", mediaType: "image-edit" },
|
|
60440
|
+
{ key: "studio-edit-remove-background", label: "Remove background prompt", description: "Cut out the subject on a clean white background.", text: "Remove the background and place the subject on a clean, plain white background. Keep the subject unchanged.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-remove-background.webp", mediaType: "image-edit" },
|
|
60441
|
+
{ key: "studio-edit-restyle", label: "Change style prompt", description: "Redraw the image as an illustration, same composition.", text: "Restyle this image as a clean, modern illustration. Keep the composition and subject recognizable.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-restyle.webp", mediaType: "image-edit" },
|
|
60442
|
+
{ key: "studio-edit-retouch", label: "Retouch prompt", description: "Remove blemishes and distractions, change nothing else.", text: "Remove blemishes, dust and small distractions. Leave everything else exactly as it is.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-retouch.webp", mediaType: "image-edit" },
|
|
60443
|
+
{ key: "studio-meme", label: "Meme prompt", description: "A short reaction with a quick setup and punchline.", text: "Create a short reaction meme about your topic.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-meme.webp", mediaType: "video", examples: [{ url: "https://cdn.genfeed.ai/assets/prompts/studio-meme/first-try.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf5wt013s0gmnvkwmhen8.jpg", alt: "A reaction meme of a developer celebrating code that works on the first try", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-meme/meeting.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf6j6013w0gmn57xzo1m9.jpg", alt: "A reaction meme about finding out the meeting could have been an email", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-meme/cat.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf75601400gmndf27wg4w.jpg", alt: "A reaction meme of a cat that just heard the fridge open", aspectRatio: "9:16", mediaType: "video" }] },
|
|
60444
|
+
{ key: "studio-profile-picture", label: "Profile picture prompt", description: "A clean portrait with room for a circular crop.", text: "Create a professional profile picture of your subject.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-profile-picture.webp", mediaType: "image", examples: [{ url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcqr7012p0gmnconcwg3h.jpg", alt: "A profile picture of a founder", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcrdk012t0gmnoetxoqtd.jpg", alt: "A profile picture of a chef", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcs5e012x0gmno8f2ziqw.jpg", alt: "A profile picture of a saxophonist", aspectRatio: "1:1", mediaType: "image" }] },
|
|
60445
|
+
{ key: "studio-youtube-thumbnail", label: "YouTube thumbnail prompt", description: "A bold focal point that reads at small sizes.", text: "Create a YouTube thumbnail for your video topic.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-youtube-thumbnail.webp", mediaType: "image", examples: [{ url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jc96o011z0gmnvv8tfg16.jpg", alt: "A YouTube thumbnail for a video about building a SaaS product in a weekend", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcnaf01250gmnkncls3kq.jpg", alt: "A YouTube thumbnail for a video about a daily cold plunge routine", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcnyq01290gmnhxqg4ykr.jpg", alt: "A YouTube thumbnail for a video about editing YouTube videos twice as fast", aspectRatio: "1:1", mediaType: "image" }] }
|
|
60446
|
+
];
|
|
60447
|
+
|
|
60359
60448
|
// ../contracts/src/constants/workflow-catalog.generated.ts
|
|
60360
60449
|
var WORKFLOW_CATALOG_DATA = [
|
|
60361
60450
|
{ key: "ad-remix-review", label: "Ad Remix And Review", category: "ads", description: "Inspect a winning ad, adapt the angle to your brand, draft an ad pack, and prepare a paused campaign for human review.", icon: "megaphone", inputVariables: [{ defaultValue: "", key: "brandName", label: "Brand Name", required: true, type: "text" }, { defaultValue: "", key: "industry", label: "Industry / Niche", required: true, type: "text" }, { defaultValue: "", key: "objective", label: "Campaign Objective", required: true, type: "text" }, { defaultValue: "", key: "sourceHeadline", label: "Source Headline", required: false, type: "text" }, { defaultValue: "", key: "sourceBody", label: "Source Body", required: false, type: "text" }, { defaultValue: "", key: "sourceCta", label: "Source CTA", required: false, type: "text" }], nodes: [{ data: { config: { inputName: "brandName", inputType: "text", required: true }, label: "Brand Name" }, id: "workflow-input-brand-name", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "industry", inputType: "text", required: true }, label: "Niche" }, id: "workflow-input-industry", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "objective", inputType: "text", required: true }, label: "Objective" }, id: "workflow-input-objective", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: "Analyze the source ad angle. Preserve the conversion mechanics, simplify the promise, adapt the offer to {{brandName}}, and rewrite it for a {{industry}} audience with a {{objective}} objective. Use the source signals as inspiration, not as copy.", variables: {} } }, inputVariableKeys: [], label: "Pattern Extraction" }, id: "ai-prompt-constructor-ad-pattern", position: { x: 320, y: 180 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "adPack" } }, inputVariableKeys: [], label: "Ad Pack Output" }, id: "workflow-output-ad-pack", position: { x: 720, y: 120 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "launchPrep" } }, inputVariableKeys: [], label: "Launch Prep Output" }, id: "workflow-output-launch-prep", position: { x: 720, y: 280 }, type: "genfeedAction" }] },
|
|
@@ -60416,6 +60505,7 @@ X post:
|
|
|
60416
60505
|
|
|
60417
60506
|
// src/operations/admin-marketplace-sync.ts
|
|
60418
60507
|
var PRESET_LISTING_SOURCE = "genfeedai/presets";
|
|
60508
|
+
var PROMPT_LISTING_SOURCE = "genfeedai/prompts";
|
|
60419
60509
|
var WORKFLOW_LISTING_SOURCE = "genfeedai/workflows";
|
|
60420
60510
|
var SKILL_LISTING_SOURCE = "genfeedai/skills";
|
|
60421
60511
|
var OFFICIAL_SELLER_NAME = "Genfeed Official";
|
|
@@ -60494,6 +60584,42 @@ A built-in Genfeed ${kind} preset for ${preset.type} generation. It is free and
|
|
|
60494
60584
|
function buildPresetListings(catalog = PRESET_CATALOG) {
|
|
60495
60585
|
return catalog.map(buildPresetListing);
|
|
60496
60586
|
}
|
|
60587
|
+
function promptCategory(mediaType) {
|
|
60588
|
+
return mediaType === "video" ? "video-generation" : "image-generation";
|
|
60589
|
+
}
|
|
60590
|
+
function buildPromptListing(prompt) {
|
|
60591
|
+
const examples = prompt.examples ?? [];
|
|
60592
|
+
const { previewData: exampleData, ...exampleMedia } = listingMedia(examples);
|
|
60593
|
+
const needsCover = !exampleMedia.thumbnail && Boolean(prompt.cover);
|
|
60594
|
+
const media = needsCover ? { ...exampleMedia, thumbnail: prompt.cover } : exampleMedia;
|
|
60595
|
+
const mediaPreviewData = needsCover && !exampleData.aspectRatio ? { ...exampleData, aspectRatio: COVER_ASPECT_RATIO } : exampleData;
|
|
60596
|
+
return {
|
|
60597
|
+
...media,
|
|
60598
|
+
description: `${prompt.description}
|
|
60599
|
+
|
|
60600
|
+
${prompt.text}`,
|
|
60601
|
+
downloadData: {
|
|
60602
|
+
category: promptCategory(prompt.mediaType),
|
|
60603
|
+
template: prompt.text
|
|
60604
|
+
},
|
|
60605
|
+
packageSlug: prompt.key,
|
|
60606
|
+
packageSource: PROMPT_LISTING_SOURCE,
|
|
60607
|
+
previewData: {
|
|
60608
|
+
...prompt.mediaType ? { mediaType: prompt.mediaType } : {},
|
|
60609
|
+
...mediaPreviewData,
|
|
60610
|
+
...examples.length > 0 ? { examples: plain(examples) } : {}
|
|
60611
|
+
},
|
|
60612
|
+
price: 0,
|
|
60613
|
+
shortDescription: truncate(prompt.description, SHORT_DESCRIPTION_MAX),
|
|
60614
|
+
tags: ["prompt", ...prompt.mediaType ? [prompt.mediaType] : []],
|
|
60615
|
+
title: prompt.label,
|
|
60616
|
+
type: "prompt",
|
|
60617
|
+
version: "1.0.0"
|
|
60618
|
+
};
|
|
60619
|
+
}
|
|
60620
|
+
function buildPromptListings(catalog = PROMPT_CATALOG_DATA) {
|
|
60621
|
+
return catalog.map(buildPromptListing);
|
|
60622
|
+
}
|
|
60497
60623
|
function buildWorkflowListing(workflow) {
|
|
60498
60624
|
const inputs = workflow.inputVariables ?? [];
|
|
60499
60625
|
return {
|
|
@@ -60560,7 +60686,9 @@ async function buildSkillListing(skillDir, moduleName, slug) {
|
|
|
60560
60686
|
if (!files.some((file) => file.path === SKILL_FILE_NAME)) {
|
|
60561
60687
|
throw new Error(`${SKILL_FILE_NAME} is missing`);
|
|
60562
60688
|
}
|
|
60689
|
+
const cover = typeof metadata.cover === "string" && metadata.cover ? metadata.cover : undefined;
|
|
60563
60690
|
const draft = {
|
|
60691
|
+
...cover ? { thumbnail: cover } : {},
|
|
60564
60692
|
description: `${description}
|
|
60565
60693
|
|
|
60566
60694
|
A free Genfeed skill from the open-source skills repository (module: ${moduleName}). It works in any agent that reads Agent Skills.`,
|
|
@@ -60568,6 +60696,7 @@ A free Genfeed skill from the open-source skills repository (module: ${moduleNam
|
|
|
60568
60696
|
packageSlug: slug,
|
|
60569
60697
|
packageSource: SKILL_LISTING_SOURCE,
|
|
60570
60698
|
previewData: {
|
|
60699
|
+
...cover ? { aspectRatio: COVER_ASPECT_RATIO } : {},
|
|
60571
60700
|
fileCount: files.length,
|
|
60572
60701
|
module: moduleName,
|
|
60573
60702
|
triggers: readStrings(metadata.triggers)
|
|
@@ -60690,9 +60819,9 @@ async function applySyncPlan(marketplaceApiUrl, plan) {
|
|
|
60690
60819
|
|
|
60691
60820
|
// src/commands/admin/marketplace.ts
|
|
60692
60821
|
function parseSyncSelection(value) {
|
|
60693
|
-
if (value === "all" || value === "presets" || value === "skills" || value === "workflows")
|
|
60822
|
+
if (value === "all" || value === "presets" || value === "prompts" || value === "skills" || value === "workflows")
|
|
60694
60823
|
return value;
|
|
60695
|
-
throw new GenfeedError(`Unknown selection "${value}"`, "Use one of: all, presets, skills, workflows");
|
|
60824
|
+
throw new GenfeedError(`Unknown selection "${value}"`, "Use one of: all, presets, prompts, skills, workflows");
|
|
60696
60825
|
}
|
|
60697
60826
|
function describeMedia(draft) {
|
|
60698
60827
|
return {
|
|
@@ -60718,12 +60847,14 @@ async function runSync(options, command) {
|
|
|
60718
60847
|
let skipped = [];
|
|
60719
60848
|
if (options.only === "all" || options.only === "presets")
|
|
60720
60849
|
drafts.push(...buildPresetListings());
|
|
60850
|
+
if (options.only === "all" || options.only === "prompts")
|
|
60851
|
+
drafts.push(...buildPromptListings());
|
|
60721
60852
|
if (options.only === "all" || options.only === "workflows") {
|
|
60722
60853
|
drafts.push(...buildWorkflowListings());
|
|
60723
60854
|
}
|
|
60724
60855
|
if (options.only === "all" || options.only === "skills") {
|
|
60725
60856
|
if (!options.skillsDir) {
|
|
60726
|
-
throw new GenfeedError("Skills need a checkout of genfeedai/skills", "Pass --skills-dir <path>, or --only presets or
|
|
60857
|
+
throw new GenfeedError("Skills need a checkout of genfeedai/skills", "Pass --skills-dir <path>, or --only presets, prompts or workflows");
|
|
60727
60858
|
}
|
|
60728
60859
|
const skills = await readSkillListings(options.skillsDir);
|
|
60729
60860
|
drafts.push(...skills.drafts);
|
|
@@ -60760,7 +60891,7 @@ async function runSync(options, command) {
|
|
|
60760
60891
|
const withMedia = plan.entries.filter((entry) => entry.draft.thumbnail || entry.draft.previewVideo || entry.draft.previewImages?.length);
|
|
60761
60892
|
print(formatLabel("Media", `${withMedia.length} of ${plan.entries.length} items set a picture or a clip`));
|
|
60762
60893
|
for (const entry of plan.entries) {
|
|
60763
|
-
if (entry.draft.type === "preset")
|
|
60894
|
+
if (entry.draft.type === "preset" || entry.draft.type === "prompt")
|
|
60764
60895
|
print(` ${formatMediaLine(entry.draft)}`);
|
|
60765
60896
|
}
|
|
60766
60897
|
print(formatLabel("Plan", `${counts.create} to create, ${counts.update} to update, ${counts["finish-review"]} to publish, ${counts.unchanged} unchanged, ${counts.rejected} rejected earlier (left alone)`));
|
|
@@ -60841,7 +60972,7 @@ function createMarketplaceCommand() {
|
|
|
60841
60972
|
} catch (error) {
|
|
60842
60973
|
handleError(error);
|
|
60843
60974
|
}
|
|
60844
|
-
})).addCommand(new Command("sync").description("Create or update the free Genfeed preset, workflow and skill listings from their sources (preview unless --yes)").option("--only <what>", "all | presets | workflows | skills", parseSyncSelection, "all").option("--skills-dir <path>", "A checkout of genfeedai/skills").option("--yes", "Write the changes to the store").option("--json", "Output as JSON").action(async (options, command) => {
|
|
60975
|
+
})).addCommand(new Command("sync").description("Create or update the free Genfeed preset, prompt, workflow and skill listings from their sources (preview unless --yes)").option("--only <what>", "all | presets | prompts | workflows | skills", parseSyncSelection, "all").option("--skills-dir <path>", "A checkout of genfeedai/skills").option("--yes", "Write the changes to the store").option("--json", "Output as JSON").action(async (options, command) => {
|
|
60845
60976
|
try {
|
|
60846
60977
|
await runSync(options, command);
|
|
60847
60978
|
} catch (error) {
|
|
@@ -64143,6 +64274,22 @@ var REVIEWED_RATE_SHEET_ENTRIES = [
|
|
|
64143
64274
|
resolution: "2K"
|
|
64144
64275
|
},
|
|
64145
64276
|
isPerOutput: true
|
|
64277
|
+
},
|
|
64278
|
+
{
|
|
64279
|
+
component: "input-second",
|
|
64280
|
+
unit: "input-second",
|
|
64281
|
+
unitPriceUsd: 0.08,
|
|
64282
|
+
when: {
|
|
64283
|
+
resolution: "768P"
|
|
64284
|
+
}
|
|
64285
|
+
},
|
|
64286
|
+
{
|
|
64287
|
+
component: "input-second",
|
|
64288
|
+
unit: "input-second",
|
|
64289
|
+
unitPriceUsd: 0.13,
|
|
64290
|
+
when: {
|
|
64291
|
+
resolution: "2K"
|
|
64292
|
+
}
|
|
64146
64293
|
}
|
|
64147
64294
|
],
|
|
64148
64295
|
sourceUrl: "https://replicate.com/minimax/h3",
|
|
@@ -64169,6 +64316,22 @@ var REVIEWED_RATE_SHEET_ENTRIES = [
|
|
|
64169
64316
|
resolution: "768P"
|
|
64170
64317
|
},
|
|
64171
64318
|
isPerOutput: true
|
|
64319
|
+
},
|
|
64320
|
+
{
|
|
64321
|
+
component: "input-second",
|
|
64322
|
+
unit: "input-second",
|
|
64323
|
+
unitPriceUsd: 0.025,
|
|
64324
|
+
when: {
|
|
64325
|
+
resolution: "480P"
|
|
64326
|
+
}
|
|
64327
|
+
},
|
|
64328
|
+
{
|
|
64329
|
+
component: "input-second",
|
|
64330
|
+
unit: "input-second",
|
|
64331
|
+
unitPriceUsd: 0.04,
|
|
64332
|
+
when: {
|
|
64333
|
+
resolution: "768P"
|
|
64334
|
+
}
|
|
64172
64335
|
}
|
|
64173
64336
|
],
|
|
64174
64337
|
sourceUrl: "https://replicate.com/minimax/h3-lite",
|
|
@@ -64184,6 +64347,12 @@ var REVIEWED_RATE_SHEET_ENTRIES = [
|
|
|
64184
64347
|
unitPriceUsd: 0.06,
|
|
64185
64348
|
when: {},
|
|
64186
64349
|
isPerOutput: true
|
|
64350
|
+
},
|
|
64351
|
+
{
|
|
64352
|
+
component: "input-second",
|
|
64353
|
+
unit: "input-second",
|
|
64354
|
+
unitPriceUsd: 0.06,
|
|
64355
|
+
when: {}
|
|
64187
64356
|
}
|
|
64188
64357
|
],
|
|
64189
64358
|
sourceUrl: "https://replicate.com/minimax/h3-highspeed",
|
|
@@ -71659,7 +71828,7 @@ var package_default = {
|
|
|
71659
71828
|
"type-check": "bun run ../../scripts/architecture/check-typecheck-prerequisites.ts && bun check --no-script"
|
|
71660
71829
|
},
|
|
71661
71830
|
type: "module",
|
|
71662
|
-
version: "0.7.
|
|
71831
|
+
version: "0.7.2"
|
|
71663
71832
|
};
|
|
71664
71833
|
|
|
71665
71834
|
// src/commands/host/catalog.ts
|
|
@@ -72271,12 +72440,25 @@ var INSTAGRAM_VIDEO_VOLUME_SETTING = {
|
|
|
72271
72440
|
label: "Reel sound volume",
|
|
72272
72441
|
type: "number"
|
|
72273
72442
|
};
|
|
72443
|
+
var INSTAGRAM_TRIAL_REEL_SETTING_KEY = "trialReel";
|
|
72444
|
+
var INSTAGRAM_TRIAL_REEL_SETTING = {
|
|
72445
|
+
description: "Publishes the Reel as a Trial Reel, shown to people who do not follow the account. Only applies to Reels with the Reel placement.",
|
|
72446
|
+
key: INSTAGRAM_TRIAL_REEL_SETTING_KEY,
|
|
72447
|
+
label: "Trial Reel",
|
|
72448
|
+
options: [
|
|
72449
|
+
{ label: "Off", value: "off" },
|
|
72450
|
+
{ label: "Graduate by hand", value: "manual" },
|
|
72451
|
+
{ label: "Graduate when it performs well", value: "auto" }
|
|
72452
|
+
],
|
|
72453
|
+
type: "select"
|
|
72454
|
+
};
|
|
72274
72455
|
var INSTAGRAM_PUBLISHING_SETTINGS = [
|
|
72275
72456
|
INSTAGRAM_AI_GENERATED_SETTING,
|
|
72276
72457
|
INSTAGRAM_COVER_IMAGE_SETTING,
|
|
72277
72458
|
INSTAGRAM_AUDIO_ID_SETTING,
|
|
72278
72459
|
INSTAGRAM_AUDIO_VOLUME_SETTING,
|
|
72279
|
-
INSTAGRAM_VIDEO_VOLUME_SETTING
|
|
72460
|
+
INSTAGRAM_VIDEO_VOLUME_SETTING,
|
|
72461
|
+
INSTAGRAM_TRIAL_REEL_SETTING
|
|
72280
72462
|
];
|
|
72281
72463
|
|
|
72282
72464
|
// ../contracts/src/api-types/contracts/channel-setting-validation.contract.ts
|
|
@@ -72415,6 +72597,7 @@ var DEVTO_TAGS_SETTING_KEY = "tags";
|
|
|
72415
72597
|
var DEVTO_CANONICAL_URL_SETTING_KEY = "canonicalUrl";
|
|
72416
72598
|
var DEVTO_SERIES_SETTING_KEY = "series";
|
|
72417
72599
|
var DEVTO_SAVE_AS_DRAFT_SETTING_KEY = "saveAsDraft";
|
|
72600
|
+
var DEVTO_ORGANIZATION_ID_SETTING_KEY = "organizationId";
|
|
72418
72601
|
var DEVTO_PUBLISHING_SETTINGS = [
|
|
72419
72602
|
{
|
|
72420
72603
|
description: "Up to 4 comma-separated tags. Later tags are dropped.",
|
|
@@ -72434,6 +72617,12 @@ var DEVTO_PUBLISHING_SETTINGS = [
|
|
|
72434
72617
|
label: "Series",
|
|
72435
72618
|
type: "string"
|
|
72436
72619
|
},
|
|
72620
|
+
{
|
|
72621
|
+
description: "Numeric id of a Dev.to organization the API key owner belongs to. The article is published under that organization instead of the personal profile. Leave empty to publish as the author.",
|
|
72622
|
+
key: DEVTO_ORGANIZATION_ID_SETTING_KEY,
|
|
72623
|
+
label: "Organization id",
|
|
72624
|
+
type: "number"
|
|
72625
|
+
},
|
|
72437
72626
|
{
|
|
72438
72627
|
defaultValue: false,
|
|
72439
72628
|
description: "Create the article as a private Dev.to draft (published: false) instead of publishing it. Open it in the Dev.to editor to review and publish.",
|
|
@@ -87504,14 +87693,24 @@ var OVERLAP_QUERY_TOOLS = [
|
|
|
87504
87693
|
},
|
|
87505
87694
|
{
|
|
87506
87695
|
creditCost: 0,
|
|
87507
|
-
description: "Get trending topics and content ideas
|
|
87696
|
+
description: "Get trending topics and content ideas for the brand's niche (its keywords, hashtags, categories or description), across social media and news. A brand with no niche, or no match, gets an empty list and a note saying what to fill in, never the shared market feed; pass relevance=market for that feed. Also returns the outlier library: public TikTok and Instagram videos that beat their creator's typical post, with the multiple, a link and the date the counts were read. Outliers ignore timeframe.",
|
|
87508
87697
|
name: "get_trends",
|
|
87509
87698
|
parameters: {
|
|
87510
87699
|
properties: {
|
|
87700
|
+
brandId: {
|
|
87701
|
+
description: "Brand whose niche to read. Omit to use the thread's brand, or the organization's only brand; with several brands and no thread brand, the call asks for one.",
|
|
87702
|
+
type: "string"
|
|
87703
|
+
},
|
|
87511
87704
|
platform: {
|
|
87512
87705
|
description: "Limit to one platform (instagram, linkedin, pinterest, reddit, tiktok, twitter, youtube). Omit to get trends from every platform.",
|
|
87513
87706
|
type: "string"
|
|
87514
87707
|
},
|
|
87708
|
+
relevance: {
|
|
87709
|
+
default: "brand",
|
|
87710
|
+
description: "brand (default) returns only trends that match the brand's niche. market returns the shared feed every brand sees, whatever the niche.",
|
|
87711
|
+
enum: ["brand", "market"],
|
|
87712
|
+
type: "string"
|
|
87713
|
+
},
|
|
87515
87714
|
timeframe: {
|
|
87516
87715
|
default: "24h",
|
|
87517
87716
|
description: "Only trends refreshed within this window. Every trend carries its updatedAt.",
|
package/package.json
CHANGED