@mirra-messenger/sdk 0.5.8 → 0.5.9
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.
|
@@ -1171,7 +1171,7 @@ declare function createMemoryAdapter(sdk: MirraSDK): {
|
|
|
1171
1171
|
create: (args: MemoryCreateArgs) => Promise<any>;
|
|
1172
1172
|
/**
|
|
1173
1173
|
* Create a task in the knowledge graph. Tasks are a specialized memory type with assignment, timing, priority, and status lifecycle. Use this instead of `create` when you need task-specific features like assigning to users. Tasks can be queried, updated, and deleted using the standard memory operations (`query`, `update`, `delete`) with type="task". For group contexts, the task is stored in the group's shared graph.
|
|
1174
|
-
* @param args.content - Task description/title - what needs to be done
|
|
1174
|
+
* @param args.content - Task description/title - what needs to be done. IMPORTANT: Write task content from a neutral perspective without possessive pronouns (his/her/their). The assignee will see this exact text, so "fold dresses" is correct, NOT "fold her dresses". Avoid phrases like "remind him to", "help her with", etc.
|
|
1175
1175
|
* @param args.assignedTo - Username of the person to assign this task to (group contexts only). System resolves username to user ID. (optional)
|
|
1176
1176
|
* @param args.dueAt - Due date/time in ISO 8601 format (e.g., "2024-01-15T10:00:00Z") or natural language that will be parsed (optional)
|
|
1177
1177
|
* @param args.priority - Task priority: "high", "medium", or "low" (optional)
|
|
@@ -470,7 +470,7 @@ function createMemoryAdapter(sdk) {
|
|
|
470
470
|
},
|
|
471
471
|
/**
|
|
472
472
|
* Create a task in the knowledge graph. Tasks are a specialized memory type with assignment, timing, priority, and status lifecycle. Use this instead of `create` when you need task-specific features like assigning to users. Tasks can be queried, updated, and deleted using the standard memory operations (`query`, `update`, `delete`) with type="task". For group contexts, the task is stored in the group's shared graph.
|
|
473
|
-
* @param args.content - Task description/title - what needs to be done
|
|
473
|
+
* @param args.content - Task description/title - what needs to be done. IMPORTANT: Write task content from a neutral perspective without possessive pronouns (his/her/their). The assignee will see this exact text, so "fold dresses" is correct, NOT "fold her dresses". Avoid phrases like "remind him to", "help her with", etc.
|
|
474
474
|
* @param args.assignedTo - Username of the person to assign this task to (group contexts only). System resolves username to user ID. (optional)
|
|
475
475
|
* @param args.dueAt - Due date/time in ISO 8601 format (e.g., "2024-01-15T10:00:00Z") or natural language that will be parsed (optional)
|
|
476
476
|
* @param args.priority - Task priority: "high", "medium", or "low" (optional)
|