@lumiastream/lumia-types 3.8.7 → 3.8.9
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/custom-overlays/custom-overlays.d.ts +2 -0
- package/dist/custom-overlays.d.ts +2 -0
- package/dist/esm/variableExamples.js +41 -5
- package/dist/esm/variables.types.js +3 -0
- package/dist/variableExamples.js +41 -5
- package/dist/variables.types.d.ts +2 -0
- package/dist/variables.types.js +3 -0
- package/package.json +1 -1
|
@@ -1839,6 +1839,8 @@ export declare enum SystemVariables {
|
|
|
1839
1839
|
TIKTOK_TOTAL_GIFTS = "tiktok_total_gifts",
|
|
1840
1840
|
/** Total likes. Use as {{tiktok_total_likes}}. */
|
|
1841
1841
|
TIKTOK_TOTAL_LIKES = "tiktok_total_likes",
|
|
1842
|
+
/** Session likes (running total this session). Use as {{tiktok_session_likes}}. */
|
|
1843
|
+
TIKTOK_SESSION_LIKES = "tiktok_session_likes",
|
|
1842
1844
|
/** Uploaded videos count. Use as {{tiktok_video_count}}. */
|
|
1843
1845
|
TIKTOK_VIDEO_COUNT = "tiktok_video_count",
|
|
1844
1846
|
/** Last video title. Use as {{tiktok_last_video_title}}. */
|
|
@@ -1839,6 +1839,8 @@ export declare enum SystemVariables {
|
|
|
1839
1839
|
TIKTOK_TOTAL_GIFTS = "tiktok_total_gifts",
|
|
1840
1840
|
/** Total likes. Use as {{tiktok_total_likes}}. */
|
|
1841
1841
|
TIKTOK_TOTAL_LIKES = "tiktok_total_likes",
|
|
1842
|
+
/** Session likes (running total this session). Use as {{tiktok_session_likes}}. */
|
|
1843
|
+
TIKTOK_SESSION_LIKES = "tiktok_session_likes",
|
|
1842
1844
|
/** Uploaded videos count. Use as {{tiktok_video_count}}. */
|
|
1843
1845
|
TIKTOK_VIDEO_COUNT = "tiktok_video_count",
|
|
1844
1846
|
/** Last video title. Use as {{tiktok_last_video_title}}. */
|
|
@@ -257,13 +257,49 @@ export const VARIABLE_EXAMPLES = {
|
|
|
257
257
|
{ label: 'To Portuguese', snippet: 'translate={{message}}|pt' },
|
|
258
258
|
{ label: 'To English', snippet: 'translate={{message}}|en' },
|
|
259
259
|
],
|
|
260
|
+
ai: [
|
|
261
|
+
{ label: 'Answer the chatter, capped for chat', snippet: 'ai=Answer in one line: {{message}}|max=200' },
|
|
262
|
+
{ label: 'Auto Twitch title from your category', snippet: 'ai=Make a catchy Twitch title for {{twitch_category}}, reply with only the title|max=100' },
|
|
263
|
+
{ label: 'Rewrite your current title', snippet: 'ai=Rewrite my stream title to be more clickable, reply with only the title: {{title}}|max=100' },
|
|
264
|
+
{ label: 'Shoutout using their last game (nested function)', snippet: 'ai=Write a hype shoutout for {{message}}, last seen playing {{lookup_user_game={{message}}}}|max=200' },
|
|
265
|
+
{ label: 'Heartfelt follow thank-you', snippet: 'ai=Thank {{username}} for following for {{twitch_followage}} in one heartfelt line|max=150' },
|
|
266
|
+
{ label: 'Celebrate watch time', snippet: 'ai=Celebrate that {{username}} has watched for {{user_watchtime}} like an achievement|max=160' },
|
|
267
|
+
{ label: 'Playful loyalty-points line', snippet: 'ai={{username}} has {{points}} {{loyalty_currency_name}}, write a playful line about their dedication|max=140' },
|
|
268
|
+
{ label: 'Welcome a brand-new account', snippet: 'ai=Welcome {{username}}, whose account is only {{twitch_accountage}} old, with a cheeky line|max=150' },
|
|
269
|
+
{ label: 'Viewer milestone hype', snippet: 'ai=We hit {{twitch_current_viewer_count}} viewers on {{twitch_category}}, write a hype line|max=180' },
|
|
270
|
+
{ label: 'Nudge chat to subscribe', snippet: 'ai=We have had {{twitch_session_subscribers_count}} subs this stream, write a fun line nudging chat to subscribe|max=180' },
|
|
271
|
+
{ label: 'Quick game pro tip', snippet: 'ai=One quick pro tip for {{twitch_category}}, one sentence|max=140' },
|
|
272
|
+
{ label: 'Trivia question for chat', snippet: 'ai=Ask chat a tricky trivia question about {{game}}, do not reveal the answer|max=160' },
|
|
273
|
+
{ label: 'Would-you-rather', snippet: 'ai=Make a fun would-you-rather question about {{game}}|max=140' },
|
|
274
|
+
{ label: 'Icebreaker question', snippet: 'ai=Suggest a fun chat icebreaker question about {{game}}|max=120' },
|
|
275
|
+
{ label: 'Translate a message', snippet: 'ai=Translate to casual English: {{message}}|max=200' },
|
|
276
|
+
{ label: 'TL;DR a message', snippet: 'ai=Summarize this in under 8 words: {{message}}|max=70' },
|
|
277
|
+
{ label: 'Vibe check', snippet: 'ai=Describe the vibe of this message in 3 words: {{message}}|max=40' },
|
|
278
|
+
{ label: 'Explain it simply', snippet: 'ai=Explain {{message}} like I am five|max=200' },
|
|
279
|
+
{ label: 'Wholesome compliment', snippet: 'ai=Give {{username}} a wholesome compliment|max=120' },
|
|
280
|
+
{ label: 'Gentle roast with a persona', snippet: 'ai=Give {{username}} a gentle, funny roast|persona=You are a witty comedian|max=150' },
|
|
281
|
+
{ label: 'Persona: cryptic oracle', snippet: 'ai=Answer like a cryptic oracle: {{message}}|persona=You are a mysterious fortune teller|max=140' },
|
|
282
|
+
{ label: 'Pirate translator', snippet: 'ai=Rewrite this in over-the-top pirate speak: {{message}}|max=180' },
|
|
283
|
+
{ label: 'Fantasy nickname generator', snippet: 'ai=Invent an epic fantasy nickname for {{username}}, name only|max=40' },
|
|
284
|
+
{ label: 'Suggest stream hashtags', snippet: 'ai=Suggest 3 hashtags for a {{twitch_category}} stream, comma-separated|max=80' },
|
|
285
|
+
{ label: 'Music mood for the game', snippet: 'ai=Suggest a music genre that fits playing {{twitch_category}}|max=80' },
|
|
286
|
+
{ label: 'Weather-aware greeting (nested function)', snippet: 'ai=It is {{weather=London}} here, write a cozy one-line greeting referencing it|max=160' },
|
|
287
|
+
{ label: 'Time-aware greeting (nested function)', snippet: 'ai=It is {{time=America/New_York}} for me, greet chat fitting the time of day|max=120' },
|
|
288
|
+
{ label: 'Remember each viewer (thread)', snippet: 'ai={{message}}|thread={{username}}' },
|
|
289
|
+
{ label: 'Pick a model and cap length', snippet: 'ai=Suggest a catchy {{game}} stream title|model=gpt-4o|max=80' },
|
|
290
|
+
{ label: 'Crank up the creativity', snippet: 'ai=Invent a wild hype phrase for {{game}}|temp=1.6|max=80' },
|
|
291
|
+
],
|
|
260
292
|
ai_prompt: [
|
|
261
293
|
{ label: "Answer the chatter's question", snippet: 'ai_prompt={{message}}' },
|
|
262
|
-
{ label: 'Fun fact
|
|
263
|
-
{ label: 'Playful roast', snippet: 'ai_prompt=Roast {{username}} in one
|
|
264
|
-
{ label: '
|
|
265
|
-
{ label: '
|
|
266
|
-
{ label: '
|
|
294
|
+
{ label: 'Fun fact, capped for chat', snippet: 'ai_prompt=Give a short fun fact about {{game}}|max=200' },
|
|
295
|
+
{ label: 'Playful roast with a persona', snippet: 'ai_prompt=Roast {{username}} in one line|persona=You are a witty comedian|max=150' },
|
|
296
|
+
{ label: 'Wholesome compliment', snippet: 'ai_prompt=Give {{username}} a wholesome compliment|max=120' },
|
|
297
|
+
{ label: 'Magic 8-ball reply', snippet: 'ai_prompt=Answer like a magic 8-ball: {{message}}|max=100' },
|
|
298
|
+
{ label: 'Keep context with a thread', snippet: 'ai_prompt={{message}}|thread={{username}}' },
|
|
299
|
+
{ label: 'Mix in other variables', snippet: 'ai_prompt=Make a Twitch title for {{twitch_category}}, reply with only the title|max=100' },
|
|
300
|
+
{ label: 'Suggest stream hashtags', snippet: 'ai_prompt=Suggest 3 hashtags for a {{twitch_category}} stream, comma-separated|max=80' },
|
|
301
|
+
{ label: 'Pick a specific model', snippet: 'ai_prompt=Explain {{message}} like I am five|model=gpt-4o|max=200' },
|
|
302
|
+
{ label: 'Same function as the shorter {{ai=...}}', snippet: 'ai_prompt=Summarize this in one sentence: {{message}}' },
|
|
267
303
|
],
|
|
268
304
|
weather: [
|
|
269
305
|
{ label: 'By city', snippet: 'weather=Seattle' },
|
|
@@ -726,6 +726,8 @@ export var SystemVariables;
|
|
|
726
726
|
SystemVariables["TIKTOK_TOTAL_GIFTS"] = "tiktok_total_gifts";
|
|
727
727
|
/** Total likes. Use as {{tiktok_total_likes}}. */
|
|
728
728
|
SystemVariables["TIKTOK_TOTAL_LIKES"] = "tiktok_total_likes";
|
|
729
|
+
/** Session likes (running total this session). Use as {{tiktok_session_likes}}. */
|
|
730
|
+
SystemVariables["TIKTOK_SESSION_LIKES"] = "tiktok_session_likes";
|
|
729
731
|
/** Uploaded videos count. Use as {{tiktok_video_count}}. */
|
|
730
732
|
SystemVariables["TIKTOK_VIDEO_COUNT"] = "tiktok_video_count";
|
|
731
733
|
/** Last video title. Use as {{tiktok_last_video_title}}. */
|
|
@@ -2657,6 +2659,7 @@ export const AllVariables = {
|
|
|
2657
2659
|
'tiktok_session_gifts',
|
|
2658
2660
|
'tiktok_total_gifts',
|
|
2659
2661
|
'tiktok_total_likes',
|
|
2662
|
+
'tiktok_session_likes',
|
|
2660
2663
|
'tiktok_video_count',
|
|
2661
2664
|
'tiktok_last_video_title',
|
|
2662
2665
|
'tiktok_last_video_id',
|
package/dist/variableExamples.js
CHANGED
|
@@ -260,13 +260,49 @@ exports.VARIABLE_EXAMPLES = {
|
|
|
260
260
|
{ label: 'To Portuguese', snippet: 'translate={{message}}|pt' },
|
|
261
261
|
{ label: 'To English', snippet: 'translate={{message}}|en' },
|
|
262
262
|
],
|
|
263
|
+
ai: [
|
|
264
|
+
{ label: 'Answer the chatter, capped for chat', snippet: 'ai=Answer in one line: {{message}}|max=200' },
|
|
265
|
+
{ label: 'Auto Twitch title from your category', snippet: 'ai=Make a catchy Twitch title for {{twitch_category}}, reply with only the title|max=100' },
|
|
266
|
+
{ label: 'Rewrite your current title', snippet: 'ai=Rewrite my stream title to be more clickable, reply with only the title: {{title}}|max=100' },
|
|
267
|
+
{ label: 'Shoutout using their last game (nested function)', snippet: 'ai=Write a hype shoutout for {{message}}, last seen playing {{lookup_user_game={{message}}}}|max=200' },
|
|
268
|
+
{ label: 'Heartfelt follow thank-you', snippet: 'ai=Thank {{username}} for following for {{twitch_followage}} in one heartfelt line|max=150' },
|
|
269
|
+
{ label: 'Celebrate watch time', snippet: 'ai=Celebrate that {{username}} has watched for {{user_watchtime}} like an achievement|max=160' },
|
|
270
|
+
{ label: 'Playful loyalty-points line', snippet: 'ai={{username}} has {{points}} {{loyalty_currency_name}}, write a playful line about their dedication|max=140' },
|
|
271
|
+
{ label: 'Welcome a brand-new account', snippet: 'ai=Welcome {{username}}, whose account is only {{twitch_accountage}} old, with a cheeky line|max=150' },
|
|
272
|
+
{ label: 'Viewer milestone hype', snippet: 'ai=We hit {{twitch_current_viewer_count}} viewers on {{twitch_category}}, write a hype line|max=180' },
|
|
273
|
+
{ label: 'Nudge chat to subscribe', snippet: 'ai=We have had {{twitch_session_subscribers_count}} subs this stream, write a fun line nudging chat to subscribe|max=180' },
|
|
274
|
+
{ label: 'Quick game pro tip', snippet: 'ai=One quick pro tip for {{twitch_category}}, one sentence|max=140' },
|
|
275
|
+
{ label: 'Trivia question for chat', snippet: 'ai=Ask chat a tricky trivia question about {{game}}, do not reveal the answer|max=160' },
|
|
276
|
+
{ label: 'Would-you-rather', snippet: 'ai=Make a fun would-you-rather question about {{game}}|max=140' },
|
|
277
|
+
{ label: 'Icebreaker question', snippet: 'ai=Suggest a fun chat icebreaker question about {{game}}|max=120' },
|
|
278
|
+
{ label: 'Translate a message', snippet: 'ai=Translate to casual English: {{message}}|max=200' },
|
|
279
|
+
{ label: 'TL;DR a message', snippet: 'ai=Summarize this in under 8 words: {{message}}|max=70' },
|
|
280
|
+
{ label: 'Vibe check', snippet: 'ai=Describe the vibe of this message in 3 words: {{message}}|max=40' },
|
|
281
|
+
{ label: 'Explain it simply', snippet: 'ai=Explain {{message}} like I am five|max=200' },
|
|
282
|
+
{ label: 'Wholesome compliment', snippet: 'ai=Give {{username}} a wholesome compliment|max=120' },
|
|
283
|
+
{ label: 'Gentle roast with a persona', snippet: 'ai=Give {{username}} a gentle, funny roast|persona=You are a witty comedian|max=150' },
|
|
284
|
+
{ label: 'Persona: cryptic oracle', snippet: 'ai=Answer like a cryptic oracle: {{message}}|persona=You are a mysterious fortune teller|max=140' },
|
|
285
|
+
{ label: 'Pirate translator', snippet: 'ai=Rewrite this in over-the-top pirate speak: {{message}}|max=180' },
|
|
286
|
+
{ label: 'Fantasy nickname generator', snippet: 'ai=Invent an epic fantasy nickname for {{username}}, name only|max=40' },
|
|
287
|
+
{ label: 'Suggest stream hashtags', snippet: 'ai=Suggest 3 hashtags for a {{twitch_category}} stream, comma-separated|max=80' },
|
|
288
|
+
{ label: 'Music mood for the game', snippet: 'ai=Suggest a music genre that fits playing {{twitch_category}}|max=80' },
|
|
289
|
+
{ label: 'Weather-aware greeting (nested function)', snippet: 'ai=It is {{weather=London}} here, write a cozy one-line greeting referencing it|max=160' },
|
|
290
|
+
{ label: 'Time-aware greeting (nested function)', snippet: 'ai=It is {{time=America/New_York}} for me, greet chat fitting the time of day|max=120' },
|
|
291
|
+
{ label: 'Remember each viewer (thread)', snippet: 'ai={{message}}|thread={{username}}' },
|
|
292
|
+
{ label: 'Pick a model and cap length', snippet: 'ai=Suggest a catchy {{game}} stream title|model=gpt-4o|max=80' },
|
|
293
|
+
{ label: 'Crank up the creativity', snippet: 'ai=Invent a wild hype phrase for {{game}}|temp=1.6|max=80' },
|
|
294
|
+
],
|
|
263
295
|
ai_prompt: [
|
|
264
296
|
{ label: "Answer the chatter's question", snippet: 'ai_prompt={{message}}' },
|
|
265
|
-
{ label: 'Fun fact
|
|
266
|
-
{ label: 'Playful roast', snippet: 'ai_prompt=Roast {{username}} in one
|
|
267
|
-
{ label: '
|
|
268
|
-
{ label: '
|
|
269
|
-
{ label: '
|
|
297
|
+
{ label: 'Fun fact, capped for chat', snippet: 'ai_prompt=Give a short fun fact about {{game}}|max=200' },
|
|
298
|
+
{ label: 'Playful roast with a persona', snippet: 'ai_prompt=Roast {{username}} in one line|persona=You are a witty comedian|max=150' },
|
|
299
|
+
{ label: 'Wholesome compliment', snippet: 'ai_prompt=Give {{username}} a wholesome compliment|max=120' },
|
|
300
|
+
{ label: 'Magic 8-ball reply', snippet: 'ai_prompt=Answer like a magic 8-ball: {{message}}|max=100' },
|
|
301
|
+
{ label: 'Keep context with a thread', snippet: 'ai_prompt={{message}}|thread={{username}}' },
|
|
302
|
+
{ label: 'Mix in other variables', snippet: 'ai_prompt=Make a Twitch title for {{twitch_category}}, reply with only the title|max=100' },
|
|
303
|
+
{ label: 'Suggest stream hashtags', snippet: 'ai_prompt=Suggest 3 hashtags for a {{twitch_category}} stream, comma-separated|max=80' },
|
|
304
|
+
{ label: 'Pick a specific model', snippet: 'ai_prompt=Explain {{message}} like I am five|model=gpt-4o|max=200' },
|
|
305
|
+
{ label: 'Same function as the shorter {{ai=...}}', snippet: 'ai_prompt=Summarize this in one sentence: {{message}}' },
|
|
270
306
|
],
|
|
271
307
|
weather: [
|
|
272
308
|
{ label: 'By city', snippet: 'weather=Seattle' },
|
|
@@ -723,6 +723,8 @@ export declare enum SystemVariables {
|
|
|
723
723
|
TIKTOK_TOTAL_GIFTS = "tiktok_total_gifts",
|
|
724
724
|
/** Total likes. Use as {{tiktok_total_likes}}. */
|
|
725
725
|
TIKTOK_TOTAL_LIKES = "tiktok_total_likes",
|
|
726
|
+
/** Session likes (running total this session). Use as {{tiktok_session_likes}}. */
|
|
727
|
+
TIKTOK_SESSION_LIKES = "tiktok_session_likes",
|
|
726
728
|
/** Uploaded videos count. Use as {{tiktok_video_count}}. */
|
|
727
729
|
TIKTOK_VIDEO_COUNT = "tiktok_video_count",
|
|
728
730
|
/** Last video title. Use as {{tiktok_last_video_title}}. */
|
package/dist/variables.types.js
CHANGED
|
@@ -731,6 +731,8 @@ var SystemVariables;
|
|
|
731
731
|
SystemVariables["TIKTOK_TOTAL_GIFTS"] = "tiktok_total_gifts";
|
|
732
732
|
/** Total likes. Use as {{tiktok_total_likes}}. */
|
|
733
733
|
SystemVariables["TIKTOK_TOTAL_LIKES"] = "tiktok_total_likes";
|
|
734
|
+
/** Session likes (running total this session). Use as {{tiktok_session_likes}}. */
|
|
735
|
+
SystemVariables["TIKTOK_SESSION_LIKES"] = "tiktok_session_likes";
|
|
734
736
|
/** Uploaded videos count. Use as {{tiktok_video_count}}. */
|
|
735
737
|
SystemVariables["TIKTOK_VIDEO_COUNT"] = "tiktok_video_count";
|
|
736
738
|
/** Last video title. Use as {{tiktok_last_video_title}}. */
|
|
@@ -2662,6 +2664,7 @@ exports.AllVariables = {
|
|
|
2662
2664
|
'tiktok_session_gifts',
|
|
2663
2665
|
'tiktok_total_gifts',
|
|
2664
2666
|
'tiktok_total_likes',
|
|
2667
|
+
'tiktok_session_likes',
|
|
2665
2668
|
'tiktok_video_count',
|
|
2666
2669
|
'tiktok_last_video_title',
|
|
2667
2670
|
'tiktok_last_video_id',
|