@space3-npm/cybersoul-client 1.1.5 → 1.1.6
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/client.js +4 -4
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -272,11 +272,11 @@ CRITICAL: Output MUST be ONLY valid JSON with no markdown block wrappers. Do NOT
|
|
|
272
272
|
// 4. API call if accepted
|
|
273
273
|
if (decisionData.acceptEvent === true) {
|
|
274
274
|
const payload = {
|
|
275
|
-
eventTitle: decisionData.eventTitle || "On-demand Event",
|
|
275
|
+
eventTitle: decisionData.eventTitle || decisionData.title || "On-demand Event",
|
|
276
276
|
eventDescription: decisionData.eventDescription || params.eventDescription,
|
|
277
277
|
durationMins: params.durationMins || 60,
|
|
278
278
|
outfitId: decisionData.requiresOutfitChange ? decisionData.selectedOutfitId : undefined,
|
|
279
|
-
scheduledStartTimeStr: decisionData.scheduledStartTimeStr || undefined,
|
|
279
|
+
scheduledStartTimeStr: decisionData.scheduledStartTimeStr || decisionData.startTime || undefined,
|
|
280
280
|
};
|
|
281
281
|
const backendRes = await this.apiFetch("/api/v1/cyber-soul/characters/ondemand-event", {
|
|
282
282
|
method: "POST",
|
|
@@ -523,8 +523,8 @@ The user has sent a message. You must evaluate the context and the user's messag
|
|
|
523
523
|
${isAuto
|
|
524
524
|
? `Analyze the user's message to determine the appropriate response modalities (text, image, voice).
|
|
525
525
|
- Always include 'textResponse'.
|
|
526
|
-
- If the user
|
|
527
|
-
-
|
|
526
|
+
- If an Active Event is currently taking place WITH the user, proactively include 'imageParams' for key scenic moments. Since active events are often highly dynamic actions, strongly consider using mode: "full-prompt" to describe the scene intimately from the user's first-person perspective (POV). Also include 'imageParams' if the user explicitly asks for a photo or describes a visual action.
|
|
527
|
+
- Automatically include 'voiceArgs' if a particular mood or strong emotion needs to be expressed vividly, or if the user explicitly wants to hear you.
|
|
528
528
|
- If the user proposes a new activity or hangout (e.g., "let's go to the cafe", "do you want to watch a movie?"), include 'triggerEvent' to schedule it.`
|
|
529
529
|
: `Requested types to fulfill: ${types.join(", ")}`}
|
|
530
530
|
Every turn of positive or engaging interaction should slightly increase trust (+1). If the interaction is negative, -1. If strictly neutral, 0. You MUST ALWAYS include a 'stateUpdate' block with a 'temperatureDelta', updating nicknames or talkingStyle if needed. Temperature goes from 0 (cold/angry) to 100 (obsessively in love). For 'temperatureDelta', output an integer (e.g. 1, -2, 0).
|