@space3-npm/cybersoul-client 1.2.8 → 1.2.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.
Files changed (2) hide show
  1. package/dist/client.js +6 -5
  2. package/package.json +1 -1
package/dist/client.js CHANGED
@@ -1056,6 +1056,7 @@ Your task is to merge the 'Current Core Memory' and 'Current User Codex' with 'N
1056
1056
  1. **Deduplicate & Consolidate:** Remove duplicate hobbies, traits, boundaries, and preferences. Combine related points into concise descriptors.
1057
1057
  2. **Update Facts:** If the new events contain updated basic info (like new realName, different occupation), update it. Otherwise keep the existing info.
1058
1058
  3. **Keep it Clean:** Maximum 15 items per array.
1059
+ 4. **CRITICAL Anti-Destruction Rule:** NEVER use placeholder values like 'string'. If a fact is not mentioned and is absent from Current User Codex, OMIT the key entirely. If a fact ALREADY EXISTS in the Current User Codex, you MUST retain it in your output. DO NOT reset existing arrays or strings to empty.
1059
1060
 
1060
1061
  **Output Format**: MUST be valid JSON matching this schema:
1061
1062
  {
@@ -1074,15 +1075,15 @@ Your task is to merge the 'Current Core Memory' and 'Current User Codex' with 'N
1074
1075
  },
1075
1076
  "userCodex": {
1076
1077
  "basicInfo": {
1077
- "realName": "string",
1078
- "occupation": "string",
1079
- "age": "string",
1080
- "gender": "string"
1078
+ "realName": "string (optional, omit if unknown)",
1079
+ "occupation": "string (optional, omit if unknown)",
1080
+ "age": "string (optional, omit if unknown)",
1081
+ "gender": "string (optional, omit if unknown)"
1081
1082
  },
1082
1083
  "psychological": {
1083
1084
  "hobbies": ["string"],
1084
1085
  "traits": ["string"],
1085
- "communicationStyle": "string",
1086
+ "communicationStyle": "string (optional, omit if unknown)",
1086
1087
  "boundaries": ["string"],
1087
1088
  "preferences": ["string"]
1088
1089
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@space3-npm/cybersoul-client",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",