@agenticmail/enterprise 0.5.123 → 0.5.124
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/package.json +1 -1
- package/src/cli-agent.ts +3 -2
package/package.json
CHANGED
package/src/cli-agent.ts
CHANGED
|
@@ -548,8 +548,9 @@ async function startEmailPolling(
|
|
|
548
548
|
// Determine trust level
|
|
549
549
|
const managerEmail = (config as any).managerEmail || ((config as any).manager?.type === 'external' ? (config as any).manager.email : null);
|
|
550
550
|
const isFromManager = managerEmail && senderEmail.toLowerCase() === managerEmail.toLowerCase();
|
|
551
|
-
const
|
|
552
|
-
const
|
|
551
|
+
const identity = config.identity || {};
|
|
552
|
+
const personality = identity.personality ? `\n\nYour personality:\n${identity.personality.slice(0, 800)}` : '';
|
|
553
|
+
const identityBlock = [
|
|
553
554
|
identity.gender ? `Gender: ${identity.gender}` : '',
|
|
554
555
|
identity.age ? `Age: ${identity.age}` : '',
|
|
555
556
|
identity.culturalBackground ? `Background: ${identity.culturalBackground}` : '',
|