@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/entities.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../src/entities.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,MAAM,EAGX,KAAK,KAAK,EACV,KAAK,IAAI,EAET,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../src/entities.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,MAAM,EAGX,KAAK,KAAK,EACV,KAAK,IAAI,EAET,MAAM,SAAS,CAAC;AAuMjB,wBAAsB,gBAAgB,CACrC,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,KAAK,GACV,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAgPxB;AAED,eAAO,MAAM,gBAAgB,GAC5B,SAAS,aAAa,EACtB,YAAY,IAAI,GAAG,MAAM,KACvB,IAOF,CAAC;AAEF,wBAAsB,gBAAgB,CAAC,EACtC,OAAO,EACP,MAAM,GACN,EAAE;IACF,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,IAAI,CAAC;CACb,kBA2DA;AAED,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,UAMlE"}
|
package/dist/node/index.node.js
CHANGED
|
@@ -40179,8 +40179,6 @@ Agent: {{agentName}} (ID: {{agentId}})
|
|
|
40179
40179
|
5. If multiple matches exist, use context to disambiguate
|
|
40180
40180
|
6. Consider recent interactions and relationship strength when resolving ambiguity
|
|
40181
40181
|
|
|
40182
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
40183
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
40184
40182
|
|
|
40185
40183
|
Return an XML response with:
|
|
40186
40184
|
<response>
|
|
@@ -72011,8 +72009,6 @@ IMPORTANT CODE BLOCK FORMATTING RULES:
|
|
|
72011
72009
|
- ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.
|
|
72012
72010
|
- If including inline code (short single words or function names), use single backticks (\`) as appropriate.
|
|
72013
72011
|
- This ensures the user sees clearly formatted and copyable code when relevant.
|
|
72014
|
-
|
|
72015
|
-
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.
|
|
72016
72012
|
</instructions>
|
|
72017
72013
|
|
|
72018
72014
|
<keys>
|
|
@@ -72024,8 +72020,6 @@ First, think about what you want to do next and plan your actions. Then, write t
|
|
|
72024
72020
|
</keys>
|
|
72025
72021
|
|
|
72026
72022
|
<output>
|
|
72027
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
72028
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
72029
72023
|
|
|
72030
72024
|
Respond using XML format like this:
|
|
72031
72025
|
<response>
|
|
@@ -72090,8 +72084,6 @@ The "post" field should be the post you want to send. Do not including any think
|
|
|
72090
72084
|
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.
|
|
72091
72085
|
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.
|
|
72092
72086
|
|
|
72093
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
72094
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
72095
72087
|
|
|
72096
72088
|
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>.`;
|
|
72097
72089
|
var booleanFooter = "Respond with only a YES or a NO.";
|
|
@@ -72107,8 +72099,6 @@ Be objective and descriptive. Focus on what you can actually see in the image ra
|
|
|
72107
72099
|
</instructions>
|
|
72108
72100
|
|
|
72109
72101
|
<output>
|
|
72110
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
72111
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
72112
72102
|
|
|
72113
72103
|
Respond using XML format like this:
|
|
72114
72104
|
<response>
|
|
@@ -72347,8 +72337,6 @@ var optionExtractionTemplate = `# Task: Extract selected task and option from us
|
|
|
72347
72337
|
3. Return the task ID (shortened UUID) and selected option name exactly as listed above
|
|
72348
72338
|
4. If no clear selection is made, return null for both fields
|
|
72349
72339
|
|
|
72350
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
72351
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
72352
72340
|
|
|
72353
72341
|
Return in XML format:
|
|
72354
72342
|
<response>
|
|
@@ -72765,8 +72753,6 @@ Message Sender: {{senderName}} (ID: {{senderId}})
|
|
|
72765
72753
|
- The targetEntityId is the UUID of the entity being interacted with.
|
|
72766
72754
|
- 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.
|
|
72767
72755
|
|
|
72768
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
72769
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
72770
72756
|
|
|
72771
72757
|
Generate a response in the following format:
|
|
72772
72758
|
<response>
|
|
@@ -72811,8 +72797,6 @@ Agent: {{agentName}} (ID: {{agentId}})
|
|
|
72811
72797
|
5. If multiple matches exist, use context to disambiguate
|
|
72812
72798
|
6. Consider recent interactions and relationship strength when resolving ambiguity
|
|
72813
72799
|
|
|
72814
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
72815
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
72816
72800
|
|
|
72817
72801
|
Return an XML response with:
|
|
72818
72802
|
<response>
|
|
@@ -72847,8 +72831,6 @@ var componentTemplate = `# Task: Extract Source and Update Component Data
|
|
|
72847
72831
|
- Includes the new information from the conversation
|
|
72848
72832
|
- Contains only valid data for this component type
|
|
72849
72833
|
|
|
72850
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
72851
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
72852
72834
|
|
|
72853
72835
|
Return an XML response with the following structure:
|
|
72854
72836
|
<response>
|
|
@@ -75674,7 +75656,7 @@ ${values}`;
|
|
|
75674
75656
|
`);
|
|
75675
75657
|
resultsText = addHeader("# Previous Action Results", formattedResults);
|
|
75676
75658
|
} else {
|
|
75677
|
-
resultsText = "
|
|
75659
|
+
resultsText = "";
|
|
75678
75660
|
}
|
|
75679
75661
|
let memoryText = "";
|
|
75680
75662
|
if (workingMemory && Object.keys(workingMemory).length > 0) {
|
|
@@ -76473,7 +76455,7 @@ ${runText}`;
|
|
|
76473
76455
|
const receivedMessageContent = message2.content.text;
|
|
76474
76456
|
const hasReceivedMessage = !!receivedMessageContent?.trim();
|
|
76475
76457
|
const receivedMessageHeader = hasReceivedMessage ? addHeader("# Received Message", `${senderName}: ${receivedMessageContent}`) : "";
|
|
76476
|
-
const focusHeader = hasReceivedMessage ? addHeader("# Focus your response", `You are replying to the above message from **${senderName}**. Keep your answer relevant to that message
|
|
76458
|
+
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.`) : "";
|
|
76477
76459
|
const interactionEntityMap = new Map;
|
|
76478
76460
|
if (recentInteractionsData.length > 0) {
|
|
76479
76461
|
const uniqueEntityIds = [
|
|
@@ -78272,8 +78254,6 @@ The available role types are:
|
|
|
78272
78254
|
# Current context:
|
|
78273
78255
|
{{content}}
|
|
78274
78256
|
|
|
78275
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
78276
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
78277
78257
|
|
|
78278
78258
|
Format your response as XML with multiple assignments:
|
|
78279
78259
|
<response>
|
|
@@ -78716,8 +78696,6 @@ Analyze the conversation to identify:
|
|
|
78716
78696
|
3. Any identifying information about the target
|
|
78717
78697
|
4. The message text to send
|
|
78718
78698
|
|
|
78719
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
78720
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
78721
78699
|
|
|
78722
78700
|
Return an XML response with:
|
|
78723
78701
|
<response>
|
|
@@ -79814,8 +79792,6 @@ var spec27 = requireActionSpec("UPDATE_SETTINGS");
|
|
|
79814
79792
|
var messageCompletionFooter = `
|
|
79815
79793
|
# Instructions: Write the next message for {{agentName}}. Include the appropriate action from the list: {{actionNames}}
|
|
79816
79794
|
|
|
79817
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79818
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
79819
79795
|
|
|
79820
79796
|
Response format should be formatted in XML like this:
|
|
79821
79797
|
<response>
|
|
@@ -80953,8 +80929,6 @@ var componentTemplate2 = `# Task: Extract Source and Update Component Data
|
|
|
80953
80929
|
- Includes the new information from the conversation
|
|
80954
80930
|
- Contains only valid data for this component type
|
|
80955
80931
|
|
|
80956
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
80957
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
80958
80932
|
|
|
80959
80933
|
Return an XML response with the following structure:
|
|
80960
80934
|
<response>
|
|
@@ -108385,5 +108359,5 @@ export {
|
|
|
108385
108359
|
ADD_CONTACT_TEMPLATE
|
|
108386
108360
|
};
|
|
108387
108361
|
|
|
108388
|
-
//# debugId=
|
|
108362
|
+
//# debugId=9BCF0B7CCB19089964756E2164756E21
|
|
108389
108363
|
//# sourceMappingURL=index.node.js.map
|