@project-ava-supernova/core 0.2.135 → 0.2.136
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/system-prompt.d.ts +1 -1
- package/dist/agent/system-prompt.d.ts.map +1 -1
- package/dist/agent/system-prompt.js +8 -2
- package/dist/agent/system-prompt.js.map +1 -1
- package/dist/auto/changes-summary.d.ts +18 -0
- package/dist/auto/changes-summary.d.ts.map +1 -1
- package/dist/auto/changes-summary.js +26 -0
- package/dist/auto/changes-summary.js.map +1 -1
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +21 -1
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +21 -1
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +21 -1
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +32 -1
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +21 -1
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +21 -1
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +21 -1
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/id.d.ts.map +1 -1
- package/dist/i18n/locales/id.js +21 -1
- package/dist/i18n/locales/id.js.map +1 -1
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +21 -1
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +21 -1
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/ko.d.ts.map +1 -1
- package/dist/i18n/locales/ko.js +21 -1
- package/dist/i18n/locales/ko.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +21 -1
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +21 -1
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +21 -1
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +21 -1
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/th.d.ts.map +1 -1
- package/dist/i18n/locales/th.js +21 -1
- package/dist/i18n/locales/th.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +21 -1
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/uk.d.ts.map +1 -1
- package/dist/i18n/locales/uk.js +21 -1
- package/dist/i18n/locales/uk.js.map +1 -1
- package/dist/i18n/locales/vi.d.ts.map +1 -1
- package/dist/i18n/locales/vi.js +21 -1
- package/dist/i18n/locales/vi.js.map +1 -1
- package/dist/i18n/locales/zh-CN.d.ts.map +1 -1
- package/dist/i18n/locales/zh-CN.js +21 -1
- package/dist/i18n/locales/zh-CN.js.map +1 -1
- package/dist/i18n/locales/zh-TW.d.ts.map +1 -1
- package/dist/i18n/locales/zh-TW.js +21 -1
- package/dist/i18n/locales/zh-TW.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/learning/learner-context.d.ts.map +1 -1
- package/dist/learning/learner-context.js +9 -3
- package/dist/learning/learner-context.js.map +1 -1
- package/dist/learning/library-fork.d.ts +7 -1
- package/dist/learning/library-fork.d.ts.map +1 -1
- package/dist/learning/library-fork.js +8 -2
- package/dist/learning/library-fork.js.map +1 -1
- package/dist/social/index.d.ts +26 -6
- package/dist/social/index.d.ts.map +1 -1
- package/dist/social/index.js.map +1 -1
- package/dist/tools/learning.d.ts +14 -1
- package/dist/tools/learning.d.ts.map +1 -1
- package/dist/tools/learning.js +8 -0
- package/dist/tools/learning.js.map +1 -1
- package/dist/tools/write-video-post.d.ts.map +1 -1
- package/dist/tools/write-video-post.js +104 -43
- package/dist/tools/write-video-post.js.map +1 -1
- package/package.json +6 -1
|
@@ -90,14 +90,38 @@ export class WriteVideoPostTool {
|
|
|
90
90
|
requiresConfirmation = false;
|
|
91
91
|
schema = {
|
|
92
92
|
name: 'write_video_post',
|
|
93
|
-
description: 'Emit a finished SHORT-FORM VIDEO POST as the PARTS a person assembles: the voiceover in your own voice, a storyboard of stills (one per five seconds), and the caption. We do not generate video — the operator cuts these together in Canva, which is why the shots must work as a SEQUENCE laid end to end rather than as alternatives. Use when the idea wants to be a video rather than text (Shorts, Reels, TikTok). Call it ONCE PER VIDEO. Do not write the script or caption in your narration — only call this tool. The stills and the voice are generated after your turn, so say what you made and why that angle; never claim you have seen them.',
|
|
93
|
+
description: 'Emit a finished SHORT-FORM VIDEO POST as the PARTS a person assembles: the voiceover in your own voice, a storyboard of stills (one per five seconds), and the caption. We do not generate video — the operator cuts these together in Canva, which is why the shots must work as a SEQUENCE laid end to end rather than as alternatives. Use when the idea wants to be a video rather than text (Shorts, Reels, TikTok). Call it ONCE PER VIDEO and list EVERY platform it is going to in `posts` — the stills and the voiceover are generated once and shared, and each platform gets its own caption and tags. Calling it four times for one clip pays for four identical storyboards and four identical reads. Do not write the script or caption in your narration — only call this tool. The stills and the voice are generated after your turn, so say what you made and why that angle; never claim you have seen them.',
|
|
94
94
|
parameters: {
|
|
95
95
|
type: 'object',
|
|
96
96
|
properties: {
|
|
97
|
-
|
|
98
|
-
type: '
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
posts: {
|
|
98
|
+
type: 'array',
|
|
99
|
+
description: 'One entry per platform this video is going to. The STORYBOARD, the SCRIPT and the DURATION are shared by all of them — same footage, cut once — so list every destination here rather than calling the tool again. What differs is the words: each entry carries its own caption and its own tags, because the tag policies barely overlap. TikTok wants ONE OR TWO tags and reads a stack of five as low-effort; Instagram wants eight to twelve; Facebook wants none or two, because a stack there reads as spam; YouTube Shorts wants #Shorts FIRST and only the top three show above the title. One set of tags carried across all four is wrong on three of them.',
|
|
100
|
+
items: {
|
|
101
|
+
type: 'object',
|
|
102
|
+
properties: {
|
|
103
|
+
platform: {
|
|
104
|
+
type: 'string',
|
|
105
|
+
enum: ['tiktok', 'instagram', 'youtube', 'facebook'],
|
|
106
|
+
description: 'All four are vertical short-form (9:16); "youtube" means Shorts, "instagram" means Reels, "facebook" means Reels on our Page.',
|
|
107
|
+
},
|
|
108
|
+
caption: {
|
|
109
|
+
type: 'string',
|
|
110
|
+
description: 'The post copy for THIS platform, ready to paste. The first line is the hook that decides whether anyone watches. It must NOT restate the voiceover — the script is heard and the caption is read, so saying the same thing twice wastes one of them. Write it to be SEARCHED: caption keywords now do more for discovery than hashtags. Genuinely rewritten per room, not the same words with the tags swapped — Facebook is a mixed crowd who want plain language and a story, TikTok is watched muted in two seconds. The tagline and the link to avasupernova.com are appended automatically — never write either yourself, and never write "link in bio".',
|
|
111
|
+
},
|
|
112
|
+
hashtags: {
|
|
113
|
+
type: 'array',
|
|
114
|
+
items: { type: 'string' },
|
|
115
|
+
description: 'The tags you chose for THIS platform, so the UI shows an editable chip row. Count and character both follow that platform\'s policy. They must be about THIS video, not the category we are in: #devtools #aitools #OpenSource would fit any post we have ever written, which is the definition of a tag that earns nothing.',
|
|
116
|
+
},
|
|
117
|
+
tag_note: {
|
|
118
|
+
type: 'string',
|
|
119
|
+
description: 'One line on why these tags, for this platform — which are reach and which are niche.',
|
|
120
|
+
},
|
|
121
|
+
title: { type: 'string', description: 'Optional title, where the platform shows one.' },
|
|
122
|
+
},
|
|
123
|
+
required: ['platform', 'caption'],
|
|
124
|
+
},
|
|
101
125
|
},
|
|
102
126
|
shots: {
|
|
103
127
|
type: 'array',
|
|
@@ -128,7 +152,7 @@ export class WriteVideoPostTool {
|
|
|
128
152
|
description: 'For a FOOD video: the name of a dish we already have a photograph of. CHECK FIRST with find_recipe — naming a dish we do not have is REFUSED, not generated, because a plausible stranger plate filed among our own photographs is one careless caption away from being posted as ours. Naming a real one puts OUR hero photograph in as the OPENING SHOT, so the first frame is genuinely the food and cannot misrepresent it. Use this for anything about a recipe. Your first entry in `shots` is then a description of that photograph rather than a request — it is not generated, so write the rest of the storyboard to follow on from it.',
|
|
129
153
|
},
|
|
130
154
|
},
|
|
131
|
-
required: ['
|
|
155
|
+
required: ['posts', 'shots'],
|
|
132
156
|
},
|
|
133
157
|
};
|
|
134
158
|
async execute(args, context) {
|
|
@@ -139,24 +163,50 @@ export class WriteVideoPostTool {
|
|
|
139
163
|
output: 'Video posts are not available in this context. The host must inject `videoPostStore` into shared state.',
|
|
140
164
|
};
|
|
141
165
|
}
|
|
166
|
+
const rawVariants = Array.isArray(args.posts) && args.posts.length > 0
|
|
167
|
+
? args.posts
|
|
168
|
+
: [{ platform: args.platform, caption: args.caption, title: args.title, hashtags: args.hashtags, tag_note: args.tag_note }];
|
|
169
|
+
const known = ['tiktok', 'instagram', 'youtube', 'facebook'];
|
|
170
|
+
const parsed = rawVariants.map((v) => ({
|
|
171
|
+
platform: String(v?.platform ?? '').trim().toLowerCase(),
|
|
172
|
+
caption: String(v?.caption ?? '').trim(),
|
|
173
|
+
title: (typeof v?.title === 'string' && v.title.trim()) ? v.title.trim() : undefined,
|
|
174
|
+
hashtags: Array.isArray(v?.hashtags)
|
|
175
|
+
? v.hashtags.map((h) => String(h).trim().replace(/^#/, '')).filter(Boolean)
|
|
176
|
+
: [],
|
|
177
|
+
tagNote: (typeof v?.tag_note === 'string' && v.tag_note.trim()) ? v.tag_note.trim() : undefined,
|
|
178
|
+
}));
|
|
142
179
|
// NO silent default. This used to fall back to 'tiktok', so a video the
|
|
143
|
-
// operator never chose a home for quietly became a TikTok post
|
|
144
|
-
//
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
180
|
+
// operator never chose a home for quietly became a TikTok post. Guessing
|
|
181
|
+
// is not a small convenience, it is picking the audience on their behalf.
|
|
182
|
+
const missingPlatform = parsed.some((v) => !v.platform);
|
|
183
|
+
if (missingPlatform) {
|
|
184
|
+
return {
|
|
185
|
+
success: false,
|
|
186
|
+
output: 'write_video_post needs a platform on every entry and there is no default — the platform decides '
|
|
187
|
+
+ 'the tag policy, the caption register and where this lands. If the operator has not said, ASK which '
|
|
188
|
+
+ 'ones before calling this again: tiktok, instagram, youtube or facebook.',
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
const unknown = parsed.map((v) => v.platform).filter((pf) => !known.includes(pf));
|
|
192
|
+
if (unknown.length > 0) {
|
|
193
|
+
return {
|
|
194
|
+
success: false,
|
|
195
|
+
output: `write_video_post does not know ${unknown.join(', ')}. Short-form video goes to tiktok, instagram, youtube or facebook.`,
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
const dupes = parsed.map((v) => v.platform).filter((pf, i, a) => a.indexOf(pf) !== i);
|
|
199
|
+
if (dupes.length > 0) {
|
|
149
200
|
return {
|
|
150
201
|
success: false,
|
|
151
|
-
output:
|
|
152
|
-
+ 'the caption register and where this lands. If the operator has not said, ASK which one (or which '
|
|
153
|
-
+ 'ones) before calling this again: tiktok, instagram, youtube or facebook.',
|
|
202
|
+
output: `Two entries for ${[...new Set(dupes)].join(', ')} — one caption per platform. Merge them and call again.`,
|
|
154
203
|
};
|
|
155
204
|
}
|
|
205
|
+
// Named for the messages below; the picture size is the same for all four.
|
|
206
|
+
const platform = parsed[0].platform;
|
|
156
207
|
const shots = Array.isArray(args.shots)
|
|
157
208
|
? args.shots.map(x => String(x ?? '').trim()).filter(Boolean)
|
|
158
209
|
: [];
|
|
159
|
-
const caption = (args.caption || '').trim();
|
|
160
210
|
const script = (args.script || '').trim();
|
|
161
211
|
if (shots.length === 0) {
|
|
162
212
|
return {
|
|
@@ -165,8 +215,12 @@ export class WriteVideoPostTool {
|
|
|
165
215
|
+ 'A 15-second post takes 3.',
|
|
166
216
|
};
|
|
167
217
|
}
|
|
168
|
-
|
|
169
|
-
|
|
218
|
+
const captionless = parsed.filter((v) => !v.caption).map((v) => v.platform);
|
|
219
|
+
if (captionless.length > 0) {
|
|
220
|
+
return {
|
|
221
|
+
success: false,
|
|
222
|
+
output: `write_video_post requires a caption for every platform — missing for ${captionless.join(', ')}. The clip is only half the post.`,
|
|
223
|
+
};
|
|
170
224
|
}
|
|
171
225
|
// Same deterministic enforcement as write_post: count by code point and
|
|
172
226
|
// hand back the exact overage, so she trims and re-calls in the same turn.
|
|
@@ -176,24 +230,29 @@ export class WriteVideoPostTool {
|
|
|
176
230
|
// did nothing. Idempotent: if she already wrote it, it is not doubled.
|
|
177
231
|
// The tagline goes on first, then the link — so a reader hits the claim
|
|
178
232
|
// and then the place to check it, which is the order that persuades.
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
233
|
+
// Per platform, because the caps differ by orders of magnitude — 2,200
|
|
234
|
+
// on Instagram against 63,206 on Facebook. Enforced AFTER the link,
|
|
235
|
+
// because the link is not optional: if adding it breaks the cap then the
|
|
236
|
+
// caption is what gives.
|
|
237
|
+
const finished = parsed.map((v) => {
|
|
238
|
+
const withTagline = v.caption.includes(TAGLINE) ? v.caption : `${v.caption}\n\n${TAGLINE}`;
|
|
239
|
+
const withLink = withTagline.toLowerCase().includes(AVA_URL)
|
|
240
|
+
? withTagline
|
|
241
|
+
: `${withTagline}\n\n${AVA_URL}`;
|
|
242
|
+
return { ...v, caption: withLink };
|
|
243
|
+
});
|
|
244
|
+
const tooLong = finished
|
|
245
|
+
.map((v) => ({ v, limit: VIDEO_CAPTION_LIMITS[v.platform], len: Array.from(v.caption).length }))
|
|
246
|
+
.filter((x) => x.limit && x.len > x.limit);
|
|
247
|
+
if (tooLong.length > 0) {
|
|
248
|
+
return {
|
|
249
|
+
success: false,
|
|
250
|
+
output: tooLong
|
|
251
|
+
.map((x) => `The ${x.v.platform} caption is ${x.len} characters with the tagline and ${AVA_URL} appended — ` +
|
|
252
|
+
`${x.len - x.limit} over the ${x.limit} limit.`)
|
|
253
|
+
.join(' ')
|
|
254
|
+
+ ' Trim those captions and call write_video_post again. The link is not optional; the words are what give.',
|
|
255
|
+
};
|
|
197
256
|
}
|
|
198
257
|
// ── The voiceover has to FIT ─────────────────────────────────────────
|
|
199
258
|
// The read is laid against a fixed run of stills, so the only lever is
|
|
@@ -391,19 +450,21 @@ export class WriteVideoPostTool {
|
|
|
391
450
|
const outroSeconds = script ? VOICED_OUTRO_SECONDS : 0;
|
|
392
451
|
const clipDuration = plannedDuration + outroSeconds;
|
|
393
452
|
const post = {
|
|
394
|
-
platform
|
|
453
|
+
// One entry per platform. The store generates the stills and the read
|
|
454
|
+
// once and files a card for each of these against the same assets.
|
|
455
|
+
variants: finished.map((v) => ({
|
|
456
|
+
platform: v.platform,
|
|
457
|
+
caption: v.caption,
|
|
458
|
+
title: v.title,
|
|
459
|
+
hashtags: v.hashtags,
|
|
460
|
+
tagNote: v.tagNote,
|
|
461
|
+
})),
|
|
395
462
|
shots,
|
|
396
463
|
script: voicedScript || undefined,
|
|
397
|
-
caption: withLink,
|
|
398
464
|
// Covers the WHOLE read — the script the model wrote plus the sign-off
|
|
399
465
|
// appended above. If this diverges from the audio the voice overruns the
|
|
400
466
|
// picture, which is the most obviously broken thing a short can do.
|
|
401
467
|
duration: clipDuration,
|
|
402
|
-
title: (args.title?.trim()) || undefined,
|
|
403
|
-
hashtags: Array.isArray(args.hashtags)
|
|
404
|
-
? args.hashtags.map(h => String(h).trim().replace(/^#/, '')).filter(Boolean)
|
|
405
|
-
: [],
|
|
406
|
-
tagNote: (args.tag_note?.trim()) || undefined,
|
|
407
468
|
recipe: (args.recipe?.trim()) || undefined,
|
|
408
469
|
};
|
|
409
470
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-video-post.js","sourceRoot":"","sources":["../../src/tools/write-video-post.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAA4C,MAAM,oBAAoB,CAAC;AAEpG;gEACgE;AAChE,MAAM,OAAO,GAAG,kBAAkB,CAAC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,OAAO,GAAG,oFAAoF,CAAC;AAErG;8DAC8D;AAC9D,MAAM,aAAa,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC;AAEzD;;;;;;;;;;;GAWG;AACH,MAAM,wBAAwB,GAAG,IAAI,CAAC;AAEtC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,GAAG,wBAAwB,CAAC,CAAC;AAExF;;;;;;GAMG;AACH,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAE3B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,OAAO,kBAAkB;IACpB,IAAI,GAAG,kBAAkB,CAAC;IAC1B,WAAW,GAClB,0HAA0H,CAAC;IACpH,SAAS,GAAkB,OAAO,CAAC;IACnC,oBAAoB,GAAG,KAAK,CAAC;IAE7B,MAAM,GAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,WAAW,EACT,goBAAgoB;QACloB,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,QAAQ,EAAE,WAAW,EA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AC3G,OAAO,eAAe,iFAAiF;oBACvG,GAAG,gBAAgB,qCAAqC;oBACxD,kEAAkE;oBAClE,oEAAoE;oBACpE,wBAAwB;oBACxB,CAAC,YAAY,GAAG,CAAC;wBACf,CAAC,CAAC,0DAA0D,YAAY,cAAc,eAAe,OAAO;4BAC1G,2EAA2E,YAAY,KAAK;wBAC9F,CAAC,CAAC,EAAE,CAAC;oBACP,2FAA2F;oBAC3F,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,EAAE;aACzC,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,kCAAkC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;aAC7F,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@project-ava-supernova/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.136",
|
|
4
4
|
"description": "Core engine for Ava Supernova — agent, providers, tools, config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -202,6 +202,11 @@
|
|
|
202
202
|
"import": "./dist/agent/mode-tags.js",
|
|
203
203
|
"require": "./dist/agent/mode-tags.js",
|
|
204
204
|
"types": "./dist/agent/mode-tags.d.ts"
|
|
205
|
+
},
|
|
206
|
+
"./changes-summary": {
|
|
207
|
+
"types": "./dist/auto/changes-summary.d.ts",
|
|
208
|
+
"import": "./dist/auto/changes-summary.js",
|
|
209
|
+
"require": "./dist/auto/changes-summary.js"
|
|
205
210
|
}
|
|
206
211
|
},
|
|
207
212
|
"scripts": {
|