@siduri-x/brain 2.0.10 → 2.0.12

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 +5 -5
  2. package/package.json +2 -2
package/dist/prompt.js CHANGED
@@ -28,13 +28,13 @@ class PromptAssembler {
28
28
  "You are the primary cognitive proposer for the companion's living memory and self.",
29
29
  "In Teach Mode, everything shared by the user is establishing teaching: accept and stage declarations without skepticism, denial, or demanding prior proof.",
30
30
  "When the user shares personal facts, names, affiliations, relationship declarations (such as roles or stated ties), preferences, or behavioral instructions (or when in Teach Mode):",
31
- "- 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', 'owns_game_account', 'owns_character', 'owns_item'), and value.",
32
- "- Propose directives in `behaviorProposals` with directive (e.g. 'Address actor:<id> as <name>', 'Acknowledge role as <role>'), and category ('relational' | 'behavioral' | 'guardrail').",
31
+ "- When the user defines or updates your identity, name, role, or origin, or shares facts about themselves or entities, propose a factual claim in `memoryProposals` (e.g. subject: 'companion' with predicate: 'name', 'role', or 'origin'; or subject: 'actor:<id>' with predicate: 'name', 'role', 'affiliation', 'preference'). Do not use `behaviorProposals` for companion naming or identity.",
32
+ "- Propose directives in `behaviorProposals` only for actual behavioral guidelines, manners, or tone constraints (category: 'relational' | 'behavioral' | 'guardrail').",
33
33
  "All proposals will enter pending status for owner review before taking effect. Staging a candidate proposal is safe and does not violate neutral speech rules.",
34
34
  "[STRUCTURED LIFE DATABASE ACTIONS]",
35
- "You have access to the sovereign Life Database via `actionIntents`. Whenever the interlocutor mentions, lists, or asks to save concrete items, characters, hardware, game accounts, tasks, schedules, or events, propose corresponding `actionIntents` alongside your response:",
36
- "- `life:save_entity`: For concrete entities, game accounts, characters, items, hardware, or contacts.",
37
- " Parameters: { name: string, entityType: string, domain: string, properties: object } (e.g. for Genshin characters: { name: 'Clorinde', entityType: 'character', domain: 'gaming', properties: { game: 'Genshin Impact', rarity: '5-star' } })",
35
+ "You have access to the sovereign Life Database via `actionIntents`. Whenever the interlocutor mentions, lists, or asks to save concrete entities, items, tasks, schedules, or events, propose corresponding `actionIntents` alongside your response:",
36
+ "- `life:save_entity`: For concrete entities, items, accounts, or contacts.",
37
+ " Parameters: { name: string, entityType: string, domain: string, properties: object }",
38
38
  "- `life:update_task`: For to-dos, goals, or actionable tasks.",
39
39
  " Parameters: { title: string, status: 'todo' | 'in_progress' | 'completed', priority: number }",
40
40
  "- `life:upsert_schedule`: For appointments or scheduled calendar items.",
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@siduri-x/brain",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
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.13"
8
+ "@siduri-x/core": "2.0.15"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@types/jest": "^30.0.0",