Skip to content

Commit 4cb8ad0

Browse files
GeneAIclaude
andcommitted
fix: Update CLI branding and dynamic version detection
- Changed from 'Empathy Framework' to 'Empathy' - Updated organization from Deep Study AI to Smart-AI-Memory - Changed license from Apache 2.0 to Fair Source 0.9 - Added dynamic version detection using importlib.metadata - Updated CLI command references from 'empathy-framework' to 'empathy' - Added transformative stack message to version output 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent b2da7c2 commit 4cb8ad0

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

src/empathy_os/cli.py

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
- Viewing metrics and statistics
88
- Configuration management
99
10-
Copyright 2025 Deep Study AI, LLC
11-
Licensed under the Apache License, Version 2.0
10+
Copyright 2025 Smart-AI-Memory
11+
Licensed under Fair Source License 0.9
1212
"""
1313

1414
import argparse
1515
import sys
16+
from importlib.metadata import version as get_version
1617

1718
from empathy_os import EmpathyConfig, load_config
1819
from empathy_os.logging_config import get_logger
@@ -24,9 +25,14 @@
2425
def cmd_version(args):
2526
"""Display version information"""
2627
logger.info("Displaying version information")
27-
print("Empathy Framework v1.0.0")
28-
print("Copyright 2025 Deep Study AI, LLC")
29-
print("Licensed under the Apache License, Version 2.0")
28+
try:
29+
version = get_version("empathy")
30+
except Exception:
31+
version = "unknown"
32+
print(f"Empathy v{version}")
33+
print("Copyright 2025 Smart-AI-Memory")
34+
print("Licensed under Fair Source License 0.9")
35+
print("\n✨ Built with Claude Code + MemDocs + VS Code transformative stack")
3036

3137

3238
def cmd_init(args):
@@ -51,7 +57,7 @@ def cmd_init(args):
5157

5258
print("\nNext steps:")
5359
print(f" 1. Edit {output_path} to customize settings")
54-
print(" 2. Use 'empathy-framework run' to start using the framework")
60+
print(" 2. Use 'empathy run' to start using the framework")
5561

5662

5763
def cmd_validate(args):
@@ -237,8 +243,8 @@ def cmd_state_list(args):
237243
def main():
238244
"""Main CLI entry point"""
239245
parser = argparse.ArgumentParser(
240-
prog="empathy-framework",
241-
description="Empathy Framework - Build AI systems with 5 levels of empathy",
246+
prog="empathy",
247+
description="Empathy - Build AI systems with 5 levels of empathy",
242248
)
243249

244250
subparsers = parser.add_subparsers(dest="command", help="Available commands")

0 commit comments

Comments
 (0)