Skip to content

⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.

Push

Daniel Miessler0efd30caa72e
diff --git a/Packs/pai-voice-system/src/VoiceServer/server.ts b/Packs/pai-voice-system/src/VoiceServer/server.ts
index a94cca4c..fbbb4dbb 100755
--- a/Packs/pai-voice-system/src/VoiceServer/server.ts
+++ b/Packs/pai-voice-system/src/VoiceServer/server.ts
@@ -124,6 +124,30 @@ try {
console.warn('Failed to load agent voice personalities');
}
+// Load user pronunciation customizations
+let pronunciations: Record<string, string> = {};
+try {
+ const pronunciationsPath = join(homedir(), '.claude', 'skills', 'CORE', 'USER', 'pronunciations.json');
+ if (existsSync(pronunciationsPath)) {
+ const content = readFileSync(pronunciationsPath, 'utf-8');
+ pronunciations = JSON.parse(content);
+ console.log(`Loaded ${Object.keys(pronunciations).length} pronunciation(s) from USER config`);
+ }
+} catch (error) {
+ console.warn('Failed to load pronunciation customizations');
+}
+
+// Apply pronunciation substitutions to text before TTS
+function applyPronunciations(text: string): string {
+ let result = text;
+ for (const [term, pronunciation] of Object.entries(pronunciations)) {
+ // Case-insensitive replacement with word boundaries
+ const regex = new RegExp(`\\b${term}\\b`, 'gi');
+ result = result.replace(regex, pronunciation);
+ }
+ return result;
+}
+
// Escape special characters for AppleScript
function escapeForAppleScript(input: string): string {
// Escape backslashes first, then double quotes
@@ -390,18 +414,19 @@ async function sendNotification(
const volume = (prosody as any)?.volume ?? daVoiceProsody?.volume;
console.log(`Generating speech (voice: ${voice}, stability: ${settings.stability}, style: ${settings.style}, speed: ${settings.speed}, volume: ${volume ?? 1.0})`);
- const audioBuffer = await generateSpeech(safeMessage, voice, prosody);
+ const spokenMessage = applyPronunciations(safeMessage);
+ const audioBuffer = await generateSpeech(spokenMessage, voice, prosody);
await playAudio(audioBuffer, volume);
} else {
// Fallback to macOS say
console.log('Using macOS say (no API key)');
- await speakWithSay(safeMessage);
+ await speakWithSay(applyPronunciations(safeMessage));
}
} catch (error) {
console.error("Failed to generate/play speech:", error);
// Try fallback to say command
try {
- await speakWithSay(safeMessage);
+ await speakWithSay(applyPronunciations(safeMessage));
} catch (sayError) {
console.error("Fallback say also failed:", sayError);
}
diff --git a/README.md b/README.md
index 088799ac..1c7f6017 100644
--- a/README.md
+++ b/README.md
@@ -66,20 +66,20 @@
## The Purpose of This Project
-**PAI exists to solve the Human Activation Crisis.**
+**PAI exists to solve what I believe is the [P0 problem](https://danielmiessler.com/telos) in the world:**
-Over 99.9% of humans are not *activated*. They don't believe they have valuable contributions to make. They think there are "special people"—and they aren't one of them. They've never asked who they are, what they're about, and have never articulated or written it down. This makes them catastrophically vulnerable to AI displacement. Without activation, there is no high agency.
+### Only a tiny fraction of humanity's creative potential is activated on Earth.
-**Our approach to this is [Human 3.0](https://danielmiessler.com/telos)**: a framework for helping people ask the fundamental questions, articulate who they are, write it down, share it, and work on problems that matter to them. H3 is the activation protocol. PAI is the infrastructure that makes it real.
+Most people don't believe they have valuable contributions to make. are "special" people—and they aren't one of them. They've never asked who they are, what they're about, and have never articulated or written it down. This makes them catastrophically vulnerable to AI displacement. Without activation, there is no high-agency.
-**PAI's mission is twofold:**
+So our goal with PAI is to activate people.
-1. **Activate everyone** — Help people identify, articulate, and pursue their own purpose in life through AI-augmented self-discovery
-2. **Democratize access** — Ensure this quality of AI infrastructure isn't reserved for the rich or technical elite—it belongs to *everyone*
+**PAI's mission is twofold:**
-That's why this is open-source instead of private. That's why we build in public. That's why the documentation works for humans AND AI assistants.
+1. **Activate as many people as possible** — Help people identify, articulate, and pursue their own purpose in life through AI-augmented self-discovery
+2. **Make the best AI available in the world accessible to everyone.** — Ensure this quality of AI infrastructure isn't reserved for just the rich or technical elite.
-> **Learn more:** [My Telos Framework →](https://danielmiessler.com/telos)
+That's why this is an open-source project instead of private.
---
diff --git a/Releases/v2.3/.claude/install.ts b/Releases/v2.3/.claude/install.ts
index 6e03b69d..3e13841f 100755
--- a/Releases/v2.3/.claude/install.ts
+++ b/Releases/v2.3/.claude/install.ts
@@ -933,7 +933,7 @@ function generateSettingsJson(config: Config): string {
"techStack": {
"terminal": "Kitty",
"packageManager": "bun",
- "pythonPackageManager": "pip",
+ "pythonPackageManager": "uv",
"language": "TypeScript",
},
// PERMISSIONS: Pre-configured for smooth operation
diff --git a/Releases/v2.3/.claude/settings.json b/Releases/v2.3/.claude/settings.json
index aef643de..a80f2e7e 100755
--- a/Releases/v2.3/.claude/settings.json
+++ b/Releases/v2.3/.claude/settings.json
@@ -33,7 +33,7 @@
"techStack": {
"terminal": "Kitty",
"packageManager": "bun",
- "pythonPackageManager": "pip",
+ "pythonPackageManager": "uv",
"language": "TypeScript"
},
"permissions": {