Peter.Morton c198babc75 simplified code
Reductions:

~170 lines → ~110 lines (35% fewer lines)
Removed unnecessary functions and constructors
Combined structs and simplified JSON parsing
Streamlined error handling
Merged sendRequest and SendMessage into single Send method

Key simplifications:

Used inline struct definitions for Response parsing
Replaced Metadata struct with simple map[string]string
Removed NewMessenger constructor - use struct literal directly
Inlined the header printing
Simplified constant names (colorBlue → blue)
Reduced verbose error messages

The app works exactly the same but with much cleaner, more maintainable
code! All features are preserved:

 Colorized input/output
 Arrow key history navigation
â Conversation context tracking
 Same API communication
2025-11-01 22:56:53 -05:00

14 lines
373 B
Plaintext

basic-messenger-cli/application/node_modules
remote_console/application/node_modules
browser-extension/.DS_Store
browser-extension.crx
browser-extension.pem
iva_electron/node_modules
iva_electron/out
iva_electron/.DS_Store
.DS_Store
copilot/posting/copilotux/__pycache__
copilot/posting/int.env
basic-messenger-cli/application/.env
terminal-messenger/application/messenger