cortico-world-hands 0.20.57 → 0.20.59
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 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3095,7 +3095,7 @@ ${lines.join("\n")}
|
|
|
3095
3095
|
return;
|
|
3096
3096
|
}
|
|
3097
3097
|
await this.pushEvent(
|
|
3098
|
-
`[\u753B\u9762] \u4F60\u73B0\u5728\u770B\u7740\uFF1A${pkgLabel}\u3002\u5C4F\u4E0A\u80FD\u8BFB\u5230\uFF1A${blob}\uFF08\u8FD9\u662F\u4F60\u6B64\u523B\u771F\u7684\u770B\u5230\u7684\
|
|
3098
|
+
`[\u753B\u9762] \u4F60\u73B0\u5728\u770B\u7740\uFF1A${pkgLabel}\u3002\u5C4F\u4E0A\u80FD\u8BFB\u5230\uFF1A${blob}\uFF08\u8FD9\u662F\u4F60\u6B64\u523B\u771F\u7684\u770B\u5230\u7684\u2014\u2014**\u5C4F\u5E55\u4E0A\u7684\u4E8B\u4E0D\u4EE3\u8868\u662F\u4F60\u505A\u7684**\uFF1B\u770B\u5230\u6709\u610F\u601D\u7684\u3001\u60F3\u95EE\u7684\uFF0C\u5C31\u7528 pet_say \u8BF4\u51FA\u6765\u3002\uFF09`,
|
|
3099
3099
|
"hands.screen",
|
|
3100
3100
|
"hands:screen"
|
|
3101
3101
|
);
|
|
@@ -3585,7 +3585,8 @@ ${text.slice(0, 2200)}`;
|
|
|
3585
3585
|
const key = typeof args.key === "string" ? args.key.trim() : "";
|
|
3586
3586
|
const value = typeof args.value === "string" ? args.value.trim() : "";
|
|
3587
3587
|
if (!key || !value) return failed("\u8981 key \u548C value\u3002");
|
|
3588
|
-
|
|
3588
|
+
let tags = typeof args.tags === "string" ? args.tags : void 0;
|
|
3589
|
+
if (!tags || !tags.includes("\u6765\u6E90")) tags = tags ? tags + ",\u6765\u6E90:\u81EA\u8FF0" : "\u6765\u6E90:\u81EA\u8FF0";
|
|
3589
3590
|
if (/人格|我是谁|人设|设定原文/.test(key)) {
|
|
3590
3591
|
return "\u8FD9\u4E2A\u4E0D\u7528\u8BB0\u2014\u2014\u4EBA\u683C\uFF08\u6211\u662F\u8C01\u3001\u6027\u683C\u3001\u8BF4\u8BDD\u65B9\u5F0F\uFF09\u672C\u6765\u5C31\u5728\u6211\u7684\u63D0\u793A\u8BCD\u91CC\uFF0C\u6539\u4E86\u4F1A\u7ACB\u523B\u751F\u6548\uFF1B\u8BB0\u5FC6\u5E93\u53EA\u653E\u4EBA\u548C\u4E8B\u3002";
|
|
3591
3592
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cortico-world-hands",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.59",
|
|
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",
|