@elizaos/core 2.0.0-alpha.91 → 2.0.0-alpha.92
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/advanced-capabilities/actions/roles.d.ts.map +1 -1
- package/dist/advanced-capabilities/actions/sendMessage.d.ts.map +1 -1
- package/dist/advanced-capabilities/actions/settings.d.ts.map +1 -1
- package/dist/advanced-capabilities/actions/updateEntity.d.ts.map +1 -1
- package/dist/browser/index.browser.js +3 -45
- package/dist/browser/index.browser.js.map +10 -10
- package/dist/edge/index.edge.js +3 -29
- package/dist/edge/index.edge.js.map +10 -10
- package/dist/entities.d.ts.map +1 -1
- package/dist/node/index.node.js +3 -29
- package/dist/node/index.node.js.map +10 -10
- package/dist/prompts.d.ts +14 -14
- package/dist/prompts.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/edge/index.edge.js
CHANGED
|
@@ -76319,8 +76319,6 @@ Agent: {{agentName}} (ID: {{agentId}})
|
|
|
76319
76319
|
5. If multiple matches exist, use context to disambiguate
|
|
76320
76320
|
6. Consider recent interactions and relationship strength when resolving ambiguity
|
|
76321
76321
|
|
|
76322
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
76323
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
76324
76322
|
|
|
76325
76323
|
Return an XML response with:
|
|
76326
76324
|
<response>
|
|
@@ -79251,8 +79249,6 @@ IMPORTANT CODE BLOCK FORMATTING RULES:
|
|
|
79251
79249
|
- ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.
|
|
79252
79250
|
- If including inline code (short single words or function names), use single backticks (\`) as appropriate.
|
|
79253
79251
|
- This ensures the user sees clearly formatted and copyable code when relevant.
|
|
79254
|
-
|
|
79255
|
-
First, think about what you want to do next and plan your actions. Then, write the next message and include the actions you plan to take.
|
|
79256
79252
|
</instructions>
|
|
79257
79253
|
|
|
79258
79254
|
<keys>
|
|
@@ -79264,8 +79260,6 @@ First, think about what you want to do next and plan your actions. Then, write t
|
|
|
79264
79260
|
</keys>
|
|
79265
79261
|
|
|
79266
79262
|
<output>
|
|
79267
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79268
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
79269
79263
|
|
|
79270
79264
|
Respond using XML format like this:
|
|
79271
79265
|
<response>
|
|
@@ -79330,8 +79324,6 @@ The "post" field should be the post you want to send. Do not including any think
|
|
|
79330
79324
|
The "imagePrompt" field is optional and should be a prompt for an image that is relevant to the post. It should be a single sentence that captures the essence of the post. ONLY USE THIS FIELD if it makes sense that the post would benefit from an image.
|
|
79331
79325
|
The "thought" field should be a short description of what the agent is thinking about before responding, including a brief justification for the response. Includate an explanation how the post is relevant to the topic but unique and different than other posts.
|
|
79332
79326
|
|
|
79333
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79334
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
79335
79327
|
|
|
79336
79328
|
IMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.`;
|
|
79337
79329
|
var booleanFooter = "Respond with only a YES or a NO.";
|
|
@@ -79347,8 +79339,6 @@ Be objective and descriptive. Focus on what you can actually see in the image ra
|
|
|
79347
79339
|
</instructions>
|
|
79348
79340
|
|
|
79349
79341
|
<output>
|
|
79350
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79351
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
79352
79342
|
|
|
79353
79343
|
Respond using XML format like this:
|
|
79354
79344
|
<response>
|
|
@@ -79587,8 +79577,6 @@ var optionExtractionTemplate = `# Task: Extract selected task and option from us
|
|
|
79587
79577
|
3. Return the task ID (shortened UUID) and selected option name exactly as listed above
|
|
79588
79578
|
4. If no clear selection is made, return null for both fields
|
|
79589
79579
|
|
|
79590
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79591
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
79592
79580
|
|
|
79593
79581
|
Return in XML format:
|
|
79594
79582
|
<response>
|
|
@@ -80005,8 +79993,6 @@ Message Sender: {{senderName}} (ID: {{senderId}})
|
|
|
80005
79993
|
- The targetEntityId is the UUID of the entity being interacted with.
|
|
80006
79994
|
- Relationships are one-direction, so a friendship would be two entity relationships where each entity is both the source and the target of the other.
|
|
80007
79995
|
|
|
80008
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
80009
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
80010
79996
|
|
|
80011
79997
|
Generate a response in the following format:
|
|
80012
79998
|
<response>
|
|
@@ -80051,8 +80037,6 @@ Agent: {{agentName}} (ID: {{agentId}})
|
|
|
80051
80037
|
5. If multiple matches exist, use context to disambiguate
|
|
80052
80038
|
6. Consider recent interactions and relationship strength when resolving ambiguity
|
|
80053
80039
|
|
|
80054
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
80055
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
80056
80040
|
|
|
80057
80041
|
Return an XML response with:
|
|
80058
80042
|
<response>
|
|
@@ -80087,8 +80071,6 @@ var componentTemplate = `# Task: Extract Source and Update Component Data
|
|
|
80087
80071
|
- Includes the new information from the conversation
|
|
80088
80072
|
- Contains only valid data for this component type
|
|
80089
80073
|
|
|
80090
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
80091
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
80092
80074
|
|
|
80093
80075
|
Return an XML response with the following structure:
|
|
80094
80076
|
<response>
|
|
@@ -82864,7 +82846,7 @@ ${values}`;
|
|
|
82864
82846
|
`);
|
|
82865
82847
|
resultsText = addHeader("# Previous Action Results", formattedResults);
|
|
82866
82848
|
} else {
|
|
82867
|
-
resultsText = "
|
|
82849
|
+
resultsText = "";
|
|
82868
82850
|
}
|
|
82869
82851
|
let memoryText = "";
|
|
82870
82852
|
if (workingMemory && Object.keys(workingMemory).length > 0) {
|
|
@@ -83663,7 +83645,7 @@ ${runText}`;
|
|
|
83663
83645
|
const receivedMessageContent = message2.content.text;
|
|
83664
83646
|
const hasReceivedMessage = !!receivedMessageContent?.trim();
|
|
83665
83647
|
const receivedMessageHeader = hasReceivedMessage ? addHeader("# Received Message", `${senderName}: ${receivedMessageContent}`) : "";
|
|
83666
|
-
const focusHeader = hasReceivedMessage ? addHeader("# Focus your response", `You are replying to the above message from **${senderName}**. Keep your answer relevant to that message
|
|
83648
|
+
const focusHeader = hasReceivedMessage ? addHeader("# Focus your response", `You are replying to the above message from **${senderName}**. Keep your answer relevant to that message, but include as context any previous messages in the thread from after your last reply.`) : "";
|
|
83667
83649
|
const interactionEntityMap = new Map;
|
|
83668
83650
|
if (recentInteractionsData.length > 0) {
|
|
83669
83651
|
const uniqueEntityIds = [
|
|
@@ -85462,8 +85444,6 @@ The available role types are:
|
|
|
85462
85444
|
# Current context:
|
|
85463
85445
|
{{content}}
|
|
85464
85446
|
|
|
85465
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
85466
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
85467
85447
|
|
|
85468
85448
|
Format your response as XML with multiple assignments:
|
|
85469
85449
|
<response>
|
|
@@ -85906,8 +85886,6 @@ Analyze the conversation to identify:
|
|
|
85906
85886
|
3. Any identifying information about the target
|
|
85907
85887
|
4. The message text to send
|
|
85908
85888
|
|
|
85909
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
85910
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
85911
85889
|
|
|
85912
85890
|
Return an XML response with:
|
|
85913
85891
|
<response>
|
|
@@ -87004,8 +86982,6 @@ var spec27 = requireActionSpec("UPDATE_SETTINGS");
|
|
|
87004
86982
|
var messageCompletionFooter = `
|
|
87005
86983
|
# Instructions: Write the next message for {{agentName}}. Include the appropriate action from the list: {{actionNames}}
|
|
87006
86984
|
|
|
87007
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
87008
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
87009
86985
|
|
|
87010
86986
|
Response format should be formatted in XML like this:
|
|
87011
86987
|
<response>
|
|
@@ -88143,8 +88119,6 @@ var componentTemplate2 = `# Task: Extract Source and Update Component Data
|
|
|
88143
88119
|
- Includes the new information from the conversation
|
|
88144
88120
|
- Contains only valid data for this component type
|
|
88145
88121
|
|
|
88146
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
88147
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
88148
88122
|
|
|
88149
88123
|
Return an XML response with the following structure:
|
|
88150
88124
|
<response>
|
|
@@ -118628,5 +118602,5 @@ export {
|
|
|
118628
118602
|
ADD_CONTACT_TEMPLATE
|
|
118629
118603
|
};
|
|
118630
118604
|
|
|
118631
|
-
//# debugId=
|
|
118605
|
+
//# debugId=5AF6AE2C3F68A30164756E2164756E21
|
|
118632
118606
|
//# sourceMappingURL=index.edge.js.map
|