⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.
Remove hardcoded 'Kai' default - make DA fully configurable
Daniel Miessler30f612fc0307
diff --git a/.claude/hooks/session-start-hook.ts b/.claude/hooks/session-start-hook.tsindex e365fa5d..88664124 100755--- a/.claude/hooks/session-start-hook.ts+++ b/.claude/hooks/session-start-hook.ts@@ -26,7 +26,7 @@ async function sendNotification(title: string, message: string, priority: stringasync function main() {try {- const daName = process.env.DA || 'Kai';+ const daName = process.env.DA || 'Assistant';const message = `${daName} here, ready to go.`;await sendNotification(`${daName} Systems Initialized`, message, 'low');process.exit(0);diff --git a/.claude/statusline-command.sh b/.claude/statusline-command.shindex 0ea8174d..2e4b50e1 100755--- a/.claude/statusline-command.sh+++ b/.claude/statusline-command.sh@@ -3,8 +3,9 @@# Read JSON input from stdininput=$(cat)-# Get Digital Assistant name from environment (default to Kai if not set)-DA_NAME="${DA:-Kai}"+# Get Digital Assistant name from environment+# Default to "Assistant" if not set - configure via export DA="YourName" in .zshrc+DA_NAME="${DA:-Assistant}"# Extract data from JSON inputcurrent_dir=$(echo "$input" | jq -r '.workspace.current_dir')@@ -144,7 +145,7 @@ BRIGHT_RED='\033[38;2;247;118;142m'LINE1_PRIMARY="$BRIGHT_PURPLE"LINE1_ACCENT='\033[38;2;160;130;210m'MODEL_PURPLE='\033[38;2;138;99;210m'-KAI_PURPLE='\033[38;2;147;112;219m'+DA_PURPLE='\033[38;2;147;112;219m' # Digital Assistant name colorLINE2_PRIMARY="$DARK_BLUE"LINE2_ACCENT='\033[38;2;110;150;210m'@@ -190,7 +191,7 @@ done# Output the full 3-line statusline# LINE 1 - PURPLE theme with all counts-printf "${KAI_PURPLE}${DA_NAME}${RESET}${LINE1_PRIMARY} here, running on ${MODEL_PURPLE}🧠 ${model_name}${RESET}${LINE1_PRIMARY} in ${DIR_COLOR}📁 ${dir_name}${RESET}${LINE1_PRIMARY}, wielding: ${RESET}${LINE1_PRIMARY}🔧 ${fobs_count} Services${RESET}${LINE1_PRIMARY}, ${RESET}${LINE1_PRIMARY}⚙️ ${commands_count} Commands${RESET}${LINE1_PRIMARY}, ${RESET}${LINE1_PRIMARY}🔌 ${mcps_count} MCPs${RESET}${LINE1_PRIMARY}, and ${RESET}${LINE1_PRIMARY}📚 ${fabric_count} Patterns${RESET}\n"+printf "${DA_PURPLE}${DA_NAME}${RESET}${LINE1_PRIMARY} here, running on ${MODEL_PURPLE}🧠 ${model_name}${RESET}${LINE1_PRIMARY} in ${DIR_COLOR}📁 ${dir_name}${RESET}${LINE1_PRIMARY}, wielding: ${RESET}${LINE1_PRIMARY}🔧 ${fobs_count} Services${RESET}${LINE1_PRIMARY}, ${RESET}${LINE1_PRIMARY}⚙️ ${commands_count} Commands${RESET}${LINE1_PRIMARY}, ${RESET}${LINE1_PRIMARY}🔌 ${mcps_count} MCPs${RESET}${LINE1_PRIMARY}, and ${RESET}${LINE1_PRIMARY}📚 ${fabric_count} Patterns${RESET}\n"# LINE 2 - BLUE theme with MCP namesprintf "${LINE2_PRIMARY}🔌 MCPs${RESET}${LINE2_PRIMARY}${SEPARATOR_COLOR}: ${RESET}${mcp_names_formatted}${RESET}\n"diff --git a/README.md b/README.mdindex b3618610..c2e10296 100644--- a/README.md+++ b/README.md@@ -43,7 +43,7 @@- 🤖 **DA Variable**: Added configurable Digital Assistant name via `DA` environment variable- 🎨 **Statusline**: Updated statusline to dynamically display assistant name from `$DA` variable- 🔊 **Session Hook**: Modified session-start-hook to use `$DA` for voice announcements-- ⚙️ **Configuration**: Add `export DA="YourAssistantName"` to `.zshrc` to customize+- ⚙️ **Configuration**: Add `export DA="YourAssistantName"` to `.zshrc` (defaults to "Assistant")</details>