cortico-world-hands 0.20.58 → 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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -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
- const tags = typeof args.tags === "string" ? args.tags : void 0;
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.58",
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",