cortico-world-hands 0.20.9 → 0.20.10
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var HANDS_DEFAULTS = {
|
|
|
25
25
|
hookGrams: "three",
|
|
26
26
|
skinPackUrl: "",
|
|
27
27
|
qqOwner: "",
|
|
28
|
-
qqSelf: "\
|
|
28
|
+
qqSelf: "\u665A\u6C50",
|
|
29
29
|
ritualMorning: "08:00",
|
|
30
30
|
ritualNight: "23:00",
|
|
31
31
|
mediaKeepDays: 1,
|
|
@@ -134,7 +134,7 @@ var HANDS_CONFIG_GROUP = {
|
|
|
134
134
|
},
|
|
135
135
|
[`${K}.qqSelf`]: {
|
|
136
136
|
type: "string",
|
|
137
|
-
title: "\u5979\u81EA\u5DF1\u7684 QQ \u540D\u5B57",
|
|
137
|
+
title: "\u5979\u81EA\u5DF1\u7684 QQ \u540D\u5B57\uFF08\u7FA4\u91CC @ \u8FD9\u4E2A\u624D\u53EB\u5979\uFF09",
|
|
138
138
|
description: "\u7FA4\u91CC\u6709\u4EBA @ \u8FD9\u4E2A\u540D\u5B57\uFF08\u6216\u6D88\u606F\u91CC\u5E26\u8FD9\u4E2A\u540D\u5B57\uFF09\u5C31\u7B97\u5728\u53EB\u5979\uFF0C\u4F1A\u8F6C\u7ED9\u5979\u3002",
|
|
139
139
|
"x-hot": true
|
|
140
140
|
},
|
|
@@ -2542,7 +2542,7 @@ ${lines.join("\n")}
|
|
|
2542
2542
|
const title = String(m.title || "").replace(/\(\s*\d+\s*条新消息\s*\)/g, "").trim();
|
|
2543
2543
|
const fromOwner = !!owner && (title === owner || owner.length >= 2 && title.includes(owner));
|
|
2544
2544
|
const text = String(m.text || "");
|
|
2545
|
-
const callsHer = owner.length >= 1 && (text.includes("@" + owner) || text.includes(owner)) || self.length >= 1 &&
|
|
2545
|
+
const callsHer = owner.length >= 1 && (text.includes("@" + owner) || text.includes(owner)) || self.length >= 1 && text.includes("@" + self);
|
|
2546
2546
|
if (!fromOwner && !callsHer) continue;
|
|
2547
2547
|
const tag = fromOwner ? "\u4E3B\u4EBA" : "\u522B\u4EBA";
|
|
2548
2548
|
if (fromOwner) this.trackQq(m.title, m.text);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cortico-world-hands",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Cortico World: hands for the desktop pet — looks at the phone screen, then taps, swipes, pinches, drags, types and presses keys through whatever actuator the device actually has",
|
|
6
6
|
"license": "MIT",
|