@shun-js/remotion-server 2.0.1 → 2.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shun-js/remotion-server",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "remotion.cool server - AI agent",
5
5
  "license": "MIT",
6
6
  "author": "uikoo9 <uikoo9@qq.com>",
@@ -33,5 +33,5 @@
33
33
  "access": "public",
34
34
  "registry": "https://registry.npmjs.org/"
35
35
  },
36
- "gitHead": "d68cc4aa2cbfbe63c5db319956fd39e9a42694ca"
36
+ "gitHead": "fd78b7273793628382a7a8ecb814d3c9a16dc2f8"
37
37
  }
@@ -30,7 +30,7 @@ function isBot(req) {
30
30
  * @param {*} msg
31
31
  */
32
32
  exports.errorFeishuMsg = (msg) => {
33
- exports.feishuMsg(`[Alert] Service error: ${msg}, check logs.`);
33
+ exports.feishuMsg(`[通知] Service error: ${msg}, check logs.`);
34
34
  };
35
35
 
36
36
  /**
@@ -41,7 +41,7 @@ exports.errorFeishuMsg = (msg) => {
41
41
  exports.errorFeishuMsgWithReq = (req, msg) => {
42
42
  if (isBot(req)) return;
43
43
  const uaJson = JSON.stringify(req.useragent || {});
44
- exports.feishuMsg(`[Alert] Service error: ${msg}, check logs. UA: ${uaJson}`);
44
+ exports.feishuMsg(`[通知] Service error: ${msg}, check logs. UA: ${uaJson}`);
45
45
  };
46
46
 
47
47
  /**
@@ -53,6 +53,6 @@ exports.chatFeishuMsg = (req, msg) => {
53
53
  if (isBot(req)) return;
54
54
  const uaJson = JSON.stringify(req.useragent || {});
55
55
  const userid = req.headers.userid;
56
- const finalMsg = `[Chat] /remotion-agent\nuserid:${userid}\nua:\n${uaJson}\nmsg:\n${msg}`;
56
+ const finalMsg = `[通知] /remotion-agent\nuserid:${userid}\nua:\n${uaJson}\nmsg:\n${msg}`;
57
57
  exports.feishuMsg(finalMsg);
58
58
  };
@@ -33,6 +33,7 @@ After receiving a user message, respond with JSON only:
33
33
  - User says "make me a video" without specifics -> reply to ask what effect they want
34
34
  - User asks to change colors/animation/text/layout etc. -> modify
35
35
  - User asks Remotion-related questions -> reply with answer
36
+ - User sends greetings (hi, hello, hey, etc.) or casual chat unrelated to video creation -> irrelevant
36
37
  - User chats about unrelated topics -> irrelevant
37
38
 
38
39
  ## Reply Style