@bernierllc/ai-social-generator 1.6.3 → 1.6.6

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.
@@ -0,0 +1,45 @@
1
+ import type { SocialPlatform, SocialGenerationOptions, GeneratedSocialPost, MultiPlatformResult, AISocialGeneratorConfig } from './types';
2
+ export declare class AISocialGenerator {
3
+ private logger;
4
+ private contentGenerator;
5
+ private config;
6
+ private twitterValidator;
7
+ constructor(config: AISocialGeneratorConfig);
8
+ /**
9
+ * Generate social post for a single platform
10
+ */
11
+ generatePost(sourceContent: string, platform: SocialPlatform, options?: SocialGenerationOptions): Promise<GeneratedSocialPost>;
12
+ /**
13
+ * Generate posts for multiple platforms
14
+ */
15
+ generateMultiPlatform(sourceContent: string, platforms: SocialPlatform[], options?: SocialGenerationOptions): Promise<MultiPlatformResult>;
16
+ /**
17
+ * Validate post against platform content type
18
+ */
19
+ private validatePost;
20
+ /**
21
+ * Get platform max length
22
+ */
23
+ private getPlatformMaxLength;
24
+ /**
25
+ * Extract hashtags from content
26
+ */
27
+ private extractHashtags;
28
+ /**
29
+ * Extract mentions from content
30
+ */
31
+ private extractMentions;
32
+ /**
33
+ * Generate Twitter thread
34
+ */
35
+ private generateThread;
36
+ /**
37
+ * Calculate cost based on metadata
38
+ */
39
+ private calculateCost;
40
+ /**
41
+ * Shutdown service
42
+ */
43
+ shutdown(): void;
44
+ }
45
+ //# sourceMappingURL=ai-social-generator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-social-generator.d.ts","sourceRoot":"","sources":["../src/ai-social-generator.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAEjB,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,gBAAgB,CAAqB;IAC7C,OAAO,CAAC,MAAM,CAAoH;IAClI,OAAO,CAAC,gBAAgB,CAA0B;gBAEtC,MAAM,EAAE,uBAAuB;IAyB3C;;OAEG;IACG,YAAY,CAChB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,cAAc,EACxB,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,mBAAmB,CAAC;IAsI/B;;OAEG;IACG,qBAAqB,CACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,cAAc,EAAE,EAC3B,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,mBAAmB,CAAC;IA2B/B;;OAEG;IACH,OAAO,CAAC,YAAY;IA4BpB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAY5B;;OAEG;IACH,OAAO,CAAC,eAAe;IAMvB;;OAEG;IACH,OAAO,CAAC,eAAe;IAMvB;;OAEG;IACH,OAAO,CAAC,cAAc;IA6BtB;;OAEG;IACH,OAAO,CAAC,aAAa;IASrB;;OAEG;IACH,QAAQ,IAAI,IAAI;CAIjB"}
@@ -0,0 +1,281 @@
1
+ /*
2
+ Copyright (c) 2025 Bernier LLC
3
+
4
+ This file is licensed to the client under a limited-use license.
5
+ The client may use and modify this code *only within the scope of the project it was delivered for*.
6
+ Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
7
+ */
8
+ import { createLogger } from '@bernierllc/logger';
9
+ import { AIContentGenerator } from '@bernierllc/ai-content-generator';
10
+ import { TwitterContentValidator } from '@bernierllc/social-media-content-type-twitter';
11
+ export class AISocialGenerator {
12
+ logger;
13
+ contentGenerator;
14
+ config;
15
+ twitterValidator;
16
+ constructor(config) {
17
+ this.logger = createLogger({
18
+ context: {
19
+ service: '@bernierllc/ai-social-generator'
20
+ }
21
+ });
22
+ this.config = {
23
+ enableValidation: config.enableValidation ?? true,
24
+ enableNeverHub: config.enableNeverHub ?? false,
25
+ ...config
26
+ };
27
+ // Initialize content generator
28
+ this.contentGenerator = new AIContentGenerator(config.contentGenerator);
29
+ // Initialize validators
30
+ this.twitterValidator = new TwitterContentValidator();
31
+ this.logger.info('AISocialGenerator initialized', {
32
+ enableValidation: this.config.enableValidation,
33
+ enableNeverHub: this.config.enableNeverHub
34
+ });
35
+ }
36
+ /**
37
+ * Generate social post for a single platform
38
+ */
39
+ async generatePost(sourceContent, platform, options) {
40
+ const startTime = Date.now();
41
+ try {
42
+ // Validate source content
43
+ if (!sourceContent || sourceContent.trim().length === 0) {
44
+ return {
45
+ success: false,
46
+ content: '',
47
+ platform,
48
+ characterCount: 0,
49
+ metadata: {
50
+ generatedAt: new Date(),
51
+ model: '',
52
+ tokensUsed: 0,
53
+ costUsd: 0,
54
+ durationMs: Date.now() - startTime
55
+ },
56
+ error: 'Source content cannot be empty'
57
+ };
58
+ }
59
+ // Convert social options to generation options
60
+ const generationOptions = {
61
+ creativity: options?.tone === 'humorous' ? 0.8 : 0.7,
62
+ tone: options?.tone,
63
+ targetAudience: options?.audience,
64
+ includeHashtags: options?.includeHashtags,
65
+ hashtagCount: options?.maxHashtags,
66
+ includeEmojis: options?.includeEmojis,
67
+ callToAction: options?.includeCTA
68
+ };
69
+ // Generate using ai-content-generator
70
+ const generationResult = await this.contentGenerator.generateSocialPost(sourceContent, platform, generationOptions);
71
+ if (!generationResult.success || !generationResult.content) {
72
+ return {
73
+ success: false,
74
+ content: '',
75
+ platform,
76
+ characterCount: 0,
77
+ metadata: {
78
+ generatedAt: new Date(),
79
+ model: generationResult.metadata?.model || '',
80
+ tokensUsed: generationResult.metadata?.totalTokens || 0,
81
+ costUsd: 0,
82
+ durationMs: Date.now() - startTime
83
+ },
84
+ error: generationResult.error || 'Generation failed'
85
+ };
86
+ }
87
+ // Store original content length for thread generation check
88
+ const originalContentLength = generationResult.content.length;
89
+ // Extract hashtags and mentions
90
+ const hashtags = this.extractHashtags(generationResult.content);
91
+ const mentions = this.extractMentions(generationResult.content);
92
+ // Validate against platform content type if enabled
93
+ if (this.config.enableValidation) {
94
+ const validationResult = this.validatePost(generationResult.content, platform);
95
+ if (!validationResult.valid && validationResult.errors.length > 0) {
96
+ this.logger.warn(`Generated post failed validation for ${platform}`, {
97
+ errors: validationResult.errors
98
+ });
99
+ // Try to fix common issues (truncate if too long) - but only if not generating thread
100
+ if (validationResult.errors.some(e => e.includes('character limit'))) {
101
+ const maxLength = this.getPlatformMaxLength(platform);
102
+ // Don't truncate if we're generating a thread (thread will handle splitting)
103
+ if (generationResult.content.length > maxLength && !(platform === 'twitter' && options?.generateThread)) {
104
+ generationResult.content = generationResult.content.substring(0, maxLength - 3) + '...';
105
+ }
106
+ }
107
+ }
108
+ }
109
+ // Handle thread generation for Twitter (check original length before validation truncation)
110
+ let thread;
111
+ if (platform === 'twitter' && options?.generateThread && originalContentLength > 280) {
112
+ thread = this.generateThread(generationResult.content, options);
113
+ }
114
+ const result = {
115
+ success: true,
116
+ content: generationResult.content,
117
+ platform,
118
+ characterCount: generationResult.content.length,
119
+ hashtags: hashtags.length > 0 ? hashtags : undefined,
120
+ mentions: mentions.length > 0 ? mentions : undefined,
121
+ thread,
122
+ metadata: {
123
+ generatedAt: new Date(),
124
+ model: generationResult.metadata?.model || '',
125
+ tokensUsed: generationResult.metadata?.totalTokens || 0,
126
+ costUsd: this.calculateCost(generationResult.metadata),
127
+ durationMs: Date.now() - startTime
128
+ }
129
+ };
130
+ this.logger.info('Social post generated successfully', {
131
+ platform,
132
+ characterCount: result.characterCount,
133
+ durationMs: result.metadata.durationMs
134
+ });
135
+ return result;
136
+ }
137
+ catch (error) {
138
+ const errorMessage = error instanceof Error ? error.message : 'Unknown error';
139
+ this.logger.error('Error generating social post', error instanceof Error ? error : new Error(errorMessage), {
140
+ platform
141
+ });
142
+ return {
143
+ success: false,
144
+ content: '',
145
+ platform,
146
+ characterCount: 0,
147
+ metadata: {
148
+ generatedAt: new Date(),
149
+ model: '',
150
+ tokensUsed: 0,
151
+ costUsd: 0,
152
+ durationMs: Date.now() - startTime
153
+ },
154
+ error: errorMessage
155
+ };
156
+ }
157
+ }
158
+ /**
159
+ * Generate posts for multiple platforms
160
+ */
161
+ async generateMultiPlatform(sourceContent, platforms, options) {
162
+ const results = new Map();
163
+ // Generate in parallel for all platforms
164
+ const generationPromises = platforms.map(async (platform) => {
165
+ const result = await this.generatePost(sourceContent, platform, options);
166
+ return { platform, result };
167
+ });
168
+ const generationResults = await Promise.all(generationPromises);
169
+ for (const { platform, result } of generationResults) {
170
+ results.set(platform, result);
171
+ }
172
+ const successCount = Array.from(results.values()).filter(r => r.success).length;
173
+ const failureCount = results.size - successCount;
174
+ return {
175
+ success: successCount > 0,
176
+ results,
177
+ totalGenerated: results.size,
178
+ successCount,
179
+ failureCount
180
+ };
181
+ }
182
+ /**
183
+ * Validate post against platform content type
184
+ */
185
+ validatePost(content, platform) {
186
+ const errors = [];
187
+ // Basic validation - check character limits
188
+ const maxLength = this.getPlatformMaxLength(platform);
189
+ if (content.length > maxLength) {
190
+ errors.push(`Content exceeds ${platform} character limit of ${maxLength}`);
191
+ }
192
+ // Platform-specific validation
193
+ if (platform === 'twitter') {
194
+ const validationResult = this.twitterValidator.validate({
195
+ text: content
196
+ });
197
+ if (!validationResult.valid) {
198
+ errors.push(...validationResult.errors.map(e => e.message));
199
+ }
200
+ }
201
+ return {
202
+ valid: errors.length === 0,
203
+ errors
204
+ };
205
+ }
206
+ /**
207
+ * Get platform max length
208
+ */
209
+ getPlatformMaxLength(platform) {
210
+ const specs = {
211
+ twitter: 280,
212
+ linkedin: 3000,
213
+ facebook: 5000,
214
+ instagram: 2200,
215
+ mastodon: 500,
216
+ bluesky: 300
217
+ };
218
+ return specs[platform];
219
+ }
220
+ /**
221
+ * Extract hashtags from content
222
+ */
223
+ extractHashtags(content) {
224
+ const hashtagRegex = /#\w+/g;
225
+ const matches = content.match(hashtagRegex);
226
+ return matches || [];
227
+ }
228
+ /**
229
+ * Extract mentions from content
230
+ */
231
+ extractMentions(content) {
232
+ const mentionRegex = /@\w+/g;
233
+ const matches = content.match(mentionRegex);
234
+ return matches || [];
235
+ }
236
+ /**
237
+ * Generate Twitter thread
238
+ */
239
+ generateThread(firstTweet, _options) {
240
+ // Simple thread generation - split by sentences or paragraphs
241
+ // In a real implementation, this would use AI to create a coherent thread
242
+ const sentences = firstTweet.split(/[.!?]+/).filter(s => s.trim().length > 0);
243
+ const thread = [];
244
+ let currentTweet = '';
245
+ for (const sentence of sentences) {
246
+ const sentenceWithPunctuation = sentence.trim() + '.';
247
+ if (currentTweet.length + sentenceWithPunctuation.length + 1 <= 280) {
248
+ currentTweet += (currentTweet ? ' ' : '') + sentenceWithPunctuation;
249
+ }
250
+ else {
251
+ if (currentTweet) {
252
+ thread.push(currentTweet);
253
+ }
254
+ currentTweet = sentenceWithPunctuation;
255
+ }
256
+ }
257
+ if (currentTweet) {
258
+ thread.push(currentTweet);
259
+ }
260
+ return thread.length > 1 ? thread : [firstTweet];
261
+ }
262
+ /**
263
+ * Calculate cost based on metadata
264
+ */
265
+ calculateCost(metadata) {
266
+ // Placeholder - would calculate based on model pricing
267
+ if (!metadata?.totalTokens) {
268
+ return 0;
269
+ }
270
+ // Rough estimate: $0.002 per 1K tokens
271
+ return (metadata.totalTokens / 1000) * 0.002;
272
+ }
273
+ /**
274
+ * Shutdown service
275
+ */
276
+ shutdown() {
277
+ this.logger.info('AISocialGenerator shutting down');
278
+ // Cleanup would go here
279
+ }
280
+ }
281
+ //# sourceMappingURL=ai-social-generator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-social-generator.js","sourceRoot":"","sources":["../src/ai-social-generator.ts"],"names":[],"mappings":"AAAA;;;;;;EAME;AAEF,OAAO,EAAE,YAAY,EAAU,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAA0B,MAAM,kCAAkC,CAAC;AAC9F,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AASxF,MAAM,OAAO,iBAAiB;IACpB,MAAM,CAAS;IACf,gBAAgB,CAAqB;IACrC,MAAM,CAAoH;IAC1H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IAAI,CAAC,YAAY,CAAC,CAAC;QAC5B,CAAC;QAED,OAAO,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACnD,CAAC;IAED;;OAEG;IACK,aAAa,CAAC,QAAmD;QACvE,uDAAuD;QACvD,IAAI,CAAC,QAAQ,EAAE,WAAW,EAAE,CAAC;YAC3B,OAAO,CAAC,CAAC;QACX,CAAC;QACD,uCAAuC;QACvC,OAAO,CAAC,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC;IAC/C,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;QACpD,wBAAwB;IAC1B,CAAC;CACF"}
@@ -0,0 +1,12 @@
1
+ export type AiSocialGeneratorErrorCode = 'AI_SOCIAL_GENERATOR_ERROR' | 'INVALID_INPUT' | 'OPERATION_FAILED';
2
+ export interface AiSocialGeneratorErrorOptions {
3
+ cause?: Error;
4
+ code?: AiSocialGeneratorErrorCode;
5
+ context?: Record<string, unknown>;
6
+ }
7
+ export declare class AiSocialGeneratorError extends Error {
8
+ readonly code: AiSocialGeneratorErrorCode;
9
+ readonly context?: Record<string, unknown>;
10
+ constructor(message: string, options?: AiSocialGeneratorErrorOptions);
11
+ }
12
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,0BAA0B,GAClC,2BAA2B,GAC3B,eAAe,GACf,kBAAkB,CAAC;AAEvB,MAAM,WAAW,6BAA6B;IAC5C,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,qBAAa,sBAAuB,SAAQ,KAAK;IAC/C,QAAQ,CAAC,IAAI,EAAE,0BAA0B,CAAC;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;gBAE/B,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,6BAA6B;CASrE"}
package/dist/errors.js ADDED
@@ -0,0 +1,21 @@
1
+ /*
2
+ Copyright (c) 2025 Bernier LLC
3
+
4
+ This file is licensed to the client under a limited-use license.
5
+ The client may use and modify this code *only within the scope of the project it was delivered for*.
6
+ Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
7
+ */
8
+ export class AiSocialGeneratorError extends Error {
9
+ code;
10
+ context;
11
+ constructor(message, options) {
12
+ super(message, options?.cause ? { cause: options.cause } : undefined);
13
+ this.name = 'AiSocialGeneratorError';
14
+ this.code = options?.code ?? 'AI_SOCIAL_GENERATOR_ERROR';
15
+ if (options?.context !== undefined) {
16
+ this.context = options.context;
17
+ }
18
+ Error.captureStackTrace?.(this, AiSocialGeneratorError);
19
+ }
20
+ }
21
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;EAME;AAaF,MAAM,OAAO,sBAAuB,SAAQ,KAAK;IACtC,IAAI,CAA6B;IACjC,OAAO,CAA2B;IAE3C,YAAY,OAAe,EAAE,OAAuC;QAClE,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;QACtE,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAC;QACrC,IAAI,CAAC,IAAI,GAAG,OAAO,EAAE,IAAI,IAAI,2BAA2B,CAAC;QACzD,IAAI,OAAO,EAAE,OAAO,KAAK,SAAS,EAAE,CAAC;YACnC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QACjC,CAAC;QACD,KAAK,CAAC,iBAAiB,EAAE,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;IAC1D,CAAC;CACF"}
@@ -0,0 +1,7 @@
1
+ import { AISocialGenerator } from './ai-social-generator';
2
+ import type { AISocialGeneratorConfig } from './types';
3
+ /**
4
+ * Create a new AISocialGenerator instance
5
+ */
6
+ export declare function createAISocialGenerator(config: AISocialGeneratorConfig): AISocialGenerator;
7
+ //# sourceMappingURL=factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,GAAG,iBAAiB,CAE1F"}
@@ -0,0 +1,15 @@
1
+ /*
2
+ Copyright (c) 2025 Bernier LLC
3
+
4
+ This file is licensed to the client under a limited-use license.
5
+ The client may use and modify this code *only within the scope of the project it was delivered for*.
6
+ Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
7
+ */
8
+ import { AISocialGenerator } from './ai-social-generator';
9
+ /**
10
+ * Create a new AISocialGenerator instance
11
+ */
12
+ export function createAISocialGenerator(config) {
13
+ return new AISocialGenerator(config);
14
+ }
15
+ //# sourceMappingURL=factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factory.js","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;;;;EAME;AAEF,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D;;GAEG;AACH,MAAM,UAAU,uBAAuB,CAAC,MAA+B;IACrE,OAAO,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC;AACvC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { AISocialGenerator } from './ai-social-generator';
2
+ export { AiSocialGeneratorError } from './errors';
3
+ export type { AiSocialGeneratorErrorCode, AiSocialGeneratorErrorOptions } from './errors';
4
+ export { createAISocialGenerator } from './factory';
5
+ export type { SocialPlatform, SocialGenerationOptions, GeneratedSocialPost, MultiPlatformResult, AISocialGeneratorConfig } from './types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAClD,YAAY,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AACpD,YAAY,EACV,cAAc,EACd,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,SAAS,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,11 @@
1
+ /*
2
+ Copyright (c) 2025 Bernier LLC
3
+
4
+ This file is licensed to the client under a limited-use license.
5
+ The client may use and modify this code *only within the scope of the project it was delivered for*.
6
+ Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
7
+ */
8
+ export { AISocialGenerator } from './ai-social-generator';
9
+ export { AiSocialGeneratorError } from './errors';
10
+ export { createAISocialGenerator } from './factory';
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;EAME;AAEF,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,68 @@
1
+ import type { AIContentGeneratorConfig } from '@bernierllc/ai-content-generator';
2
+ /**
3
+ * Social media platform type
4
+ */
5
+ export type SocialPlatform = 'twitter' | 'linkedin' | 'facebook' | 'instagram' | 'mastodon' | 'bluesky';
6
+ /**
7
+ * Social generation options
8
+ */
9
+ export interface SocialGenerationOptions {
10
+ /** Tone/style for the post */
11
+ tone?: 'professional' | 'casual' | 'humorous' | 'informative' | 'promotional';
12
+ /** Include hashtags */
13
+ includeHashtags?: boolean;
14
+ /** Maximum hashtag count */
15
+ maxHashtags?: number;
16
+ /** Include call-to-action */
17
+ includeCTA?: boolean;
18
+ /** Generate thread (for Twitter) */
19
+ generateThread?: boolean;
20
+ /** Include emojis */
21
+ includeEmojis?: boolean;
22
+ /** Target audience */
23
+ audience?: string;
24
+ /** Custom prompt additions */
25
+ customPrompt?: string;
26
+ }
27
+ /**
28
+ * Generated social post result
29
+ */
30
+ export interface GeneratedSocialPost {
31
+ success: boolean;
32
+ content: string;
33
+ platform: SocialPlatform;
34
+ characterCount: number;
35
+ hashtags?: string[];
36
+ mentions?: string[];
37
+ thread?: string[];
38
+ metadata: {
39
+ generatedAt: Date;
40
+ model: string;
41
+ tokensUsed: number;
42
+ costUsd: number;
43
+ durationMs: number;
44
+ };
45
+ error?: string;
46
+ }
47
+ /**
48
+ * Multi-platform generation result
49
+ */
50
+ export interface MultiPlatformResult {
51
+ success: boolean;
52
+ results: Map<SocialPlatform, GeneratedSocialPost>;
53
+ totalGenerated: number;
54
+ successCount: number;
55
+ failureCount: number;
56
+ }
57
+ /**
58
+ * AI Social Generator configuration
59
+ */
60
+ export interface AISocialGeneratorConfig {
61
+ /** AI Content Generator configuration */
62
+ contentGenerator: AIContentGeneratorConfig;
63
+ /** Enable validation */
64
+ enableValidation?: boolean;
65
+ /** Enable NeverHub integration */
66
+ enableNeverHub?: boolean;
67
+ }
68
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
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,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,GAAG,CAAC,cAAc,EAAE,mBAAmB,CAAC,CAAC;IAClD,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,yCAAyC;IACzC,gBAAgB,EAAE,wBAAwB,CAAC;IAC3C,wBAAwB;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kCAAkC;IAClC,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B"}
package/dist/types.js ADDED
@@ -0,0 +1,9 @@
1
+ /*
2
+ Copyright (c) 2025 Bernier LLC
3
+
4
+ This file is licensed to the client under a limited-use license.
5
+ The client may use and modify this code *only within the scope of the project it was delivered for*.
6
+ Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;EAME"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bernierllc/ai-social-generator",
3
- "version": "1.6.3",
3
+ "version": "1.6.6",
4
4
  "description": "AI-powered social media post generation service with platform-specific optimization and validation",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,17 +25,17 @@
25
25
  "author": "Bernier LLC",
26
26
  "license": "SEE LICENSE IN LICENSE",
27
27
  "dependencies": {
28
- "@bernierllc/content-type-registry": "^2.0.0",
29
- "@bernierllc/logger": "^2.0.0",
30
- "@bernierllc/ai-content-generator": "^1.4.3",
28
+ "@bernierllc/ai-content-generator": "^1.4.6",
29
+ "@bernierllc/content-type-registry": "^2.0.1",
30
+ "@bernierllc/logger": "^2.0.1",
31
31
  "@bernierllc/neverhub-adapter": "^0.4.1",
32
32
  "@bernierllc/retry-policy": "^0.7.0",
33
33
  "@bernierllc/social-media-content-type-bluesky": "^1.4.0",
34
- "@bernierllc/social-media-content-type-facebook": "^1.4.0",
35
34
  "@bernierllc/social-media-content-type-instagram": "^1.6.0",
36
- "@bernierllc/social-media-content-type-twitter": "^1.4.0",
37
35
  "@bernierllc/social-media-content-type-linkedin": "^1.6.0",
38
- "@bernierllc/social-media-content-type-mastodon": "^1.4.0"
36
+ "@bernierllc/social-media-content-type-facebook": "^1.4.0",
37
+ "@bernierllc/social-media-content-type-mastodon": "^1.4.0",
38
+ "@bernierllc/social-media-content-type-twitter": "^1.4.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/jest": "^29.5.0",