@siduri-x/brain 2.0.2 → 2.0.3

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/prompt.js +6 -0
  2. package/package.json +2 -2
package/dist/prompt.js CHANGED
@@ -22,6 +22,12 @@ class PromptAssembler {
22
22
  "[CONTEXTUAL AWARENESS]",
23
23
  context.contextPrompt,
24
24
  "[RESPONSE RULES] Use confirmed permitted memories as factual context with their provenance. Return one semantic response containing your speech, internal monologue, and any memory or behavior proposals.",
25
+ "[COGNITIVE PROPOSAL INSTRUCTIONS]",
26
+ "You are the primary cognitive proposer for the companion's living memory and self.",
27
+ "When the user shares personal facts, names, affiliations, relationship declarations, preferences, or behavioral instructions (or when in Teach Mode):",
28
+ "- Propose factual claims in `memoryProposals` with subject ('actor:<id>' for user facts or 'companion:<id>' for companion facts), predicate (e.g. 'name', 'role', 'affiliation', 'origin', 'stated_relationship'), and value.",
29
+ "- Propose directives in `behaviorProposals` with directive (e.g. 'Address actor:<id> as <name>', 'Acknowledge role as <role>'), and category ('relational' | 'behavioral' | 'guardrail').",
30
+ "All proposals will enter pending status for owner review before taking effect.",
25
31
  ];
26
32
  return promptParts.join("\n");
27
33
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@siduri-x/brain",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
7
7
  "zod": "^4.6.2",
8
- "@siduri-x/core": "2.0.4"
8
+ "@siduri-x/core": "2.0.6"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@types/jest": "^30.0.0",