softword

softword pushed to main at softword/whattsreply

  • d8f255914c Enhance documentation for unit tests and AI auto-reply workflow - Updated descriptions in `index.md` and `unit-tests.md` to clarify the coverage of unit tests, including the version flag and file isolation. - Added verification metadata to `unit-tests.md` and `ai-autoreply.md` for improved traceability. - Revised the AI auto-reply workflow documentation to detail the reply delay mechanism, image description handling, and the impact of owner responses on AI replies. - Adjusted the test coverage details to reflect recent changes in the codebase, ensuring accuracy in the documentation.

1 day ago

softword pushed to main at softword/whattsreply

  • e147fe6442 feat: update configuration management and introduce image description handling - Refactor configuration loading to read system prompt from SOUL.md and image description from vision.md. - Remove legacy system prompt handling from config.toml. - Introduce new constants and fields for reply delay and image description prompts. - Implement database schema changes to store image descriptions associated with messages. - Add methods to save and retrieve image descriptions in the history module. - Update main application to display build version and handle command-line version flags. - Clean up unused code related to addressed JIDs in WhatsApp message handling. - Add build script to embed the short git commit hash for versioning.

1 day ago

softword pushed to main at softword/whattsreply

1 day ago

softword pushed to main at softword/whattsreply

  • 4d194252a5 feat: add soul.md for system prompt configuration and update .gitignore

1 day ago

softword pushed to main at softword/whattsreply

  • f311c2a3d7 docs(openwiki): refresh wiki for web panel, function keys and global autoreply - add integrations/web-control-panel page (routes, X-Wh-Request guard, AppEvent::Web bridge, quit flow, browser page, security caveats) - app-state, terminal-ui, quickstart: F2/F3/F4/F10 bindings, list filter, local chat deletion, global "AI tutte" autoreply, web requests - runtime: optional wh-web thread started from web_port - history-store: settings table, global autoreply flag, delete_chat - ai-client: ai_retries, retry policy and linear backoff - configuration: ai_retries and web_port keys, template file - whatsapp-client: fatal-only app state sync reporting, refreshed refs - ai-autoreply: enabled = global OR per-chat in every path, retries - unit-tests: updated counts (214) including the web suite - regenerated claims, indexes, manifest and last-update metadata

2 days ago

softword pushed to main at softword/whattsreply

  • 8229b35a98 feat(keys)!: use function keys for commands (F3/F4/F10) Ctrl chords clash with GNU screen (prefix Ctrl+A) and legacy terminals cannot tell Ctrl+Shift+A from Ctrl+A. - app: F3 toggles AI for the open chat, F4 toggles AI for all chats, F10 quits on any screen; Ctrl chords are ignored so they never type text; removed QUIT_CHAR, AUTOREPLY_CHAR and is_global_toggle - ui: footer shows F3/F4/F10 (F4 green when global AI is on) - README: key table updated BREAKING CHANGE: Ctrl+A, Ctrl+Shift+A and Ctrl+Q are replaced by F3, F4 and F10.

2 days ago

softword pushed to main at softword/whattsreply

  • 5b03485cf4 docs: document all config keys, key bindings and web panel - README: Configuration table with defaults, Keys table, Web control panel section with API and curl example - config.toml.global.template: list every supported key with its default; web_port commented out
  • ec7ea4eb1d feat(web): add optional web control panel enabled by web_port - config: new web_port key (1-65535, 0 rejected; unset disables the panel) with tests - web: tiny_http server on 0.0.0.0 without auth, on its own thread; GET /, GET /api/state, POST /api/global, /api/chat (jid as text body), /api/quit (responds before quitting); every POST requires the X-Wh-Request: 1 header (403 otherwise) to block cross-site requests - web_page.html: page embedded in the binary via include_str!, grid of chats with AI switch, "AI tutte" switch (global autoreply), quit button, 5s polling, dark/light theme - app: AppEvent::Web handled by the single-owner App with a state snapshot reply; toggle_chat_autoreply extracted from Ctrl+A and reused by the web panel (behavior unchanged) - main: start the panel when web_port is set; bind failure is fatal at startup - ai: add web_port to the test Config literal - deps: tiny_http 0.12
  • View comparison for these 2 commits »

2 days ago

softword pushed to main at softword/whattsreply

  • aa9ecd558d feat: add global AI autoreply feature with configuration and UI updates - Implemented global AI autoreply functionality that can be toggled on or off. - Updated configuration to include `ai_retries` for failed AI requests. - Enhanced the history module to manage global autoreply state in the database. - Modified the app structure to support global autoreply and its integration with chat handling. - Updated UI to reflect global autoreply status in the chat list and footer. - Added tests for new features including global autoreply and AI retries. - Created a README file with build instructions and usage details.

2 days ago

softword pushed to main at softword/oh-my-skills

  • 69a93b12b5 docs(SKILL.md): update description formatting for improved readability

2 days ago

softword pushed to main at softword/oh-my-skills

  • e28d107e6c docs(SKILL.md): enhance formatting and clarity of task tracking and planning sections

2 days ago

softword pushed to main at softword/whattsreply

2 days ago

softword pushed to main at softword/oh-my-skills

  • 52db4125dc docs(SKILL.md): clarify usage of `todos` tool by providing simulation output example

2 days ago

softword pushed to main at softword/whattsreply

  • 506ed1adf3 Update documentation for configuration, quickstart, unit tests, and AI auto-reply workflow - Revised `configuration-and-data.md` to reflect changes in config loading, data directory structure, and added details about new keys and their defaults. - Enhanced `quickstart.md` with additional context on autoreply functionality and clarified database separation. - Updated `unit-tests.md` to include new tests and expanded coverage details for various modules. - Improved `ai-autoreply.md` to detail the autoreply process, including cooldowns, deferred replies, and startup catch-up mechanisms. - Adjusted `index.md` to reflect changes in the AI auto-reply workflow description.
  • 589dbb5f1c Update documentation for configuration, quickstart, unit tests, and AI auto-reply workflow - Revised `configuration-and-data.md` to reflect changes in config loading, data directory structure, and added details about new keys and their defaults. - Enhanced `quickstart.md` with additional context on autoreply functionality and clarified database separation. - Updated `unit-tests.md` to include new tests and expanded coverage details for various modules. - Improved `ai-autoreply.md` to detail the autoreply process, including cooldowns, deferred replies, and startup catch-up mechanisms. - Adjusted `index.md` to reflect changes in the AI auto-reply workflow description.
  • View comparison for these 2 commits »

2 days ago

softword pushed to main at softword/whattsreply

  • 589dbb5f1c Update documentation for configuration, quickstart, unit tests, and AI auto-reply workflow - Revised `configuration-and-data.md` to reflect changes in config loading, data directory structure, and added details about new keys and their defaults. - Enhanced `quickstart.md` with additional context on autoreply functionality and clarified database separation. - Updated `unit-tests.md` to include new tests and expanded coverage details for various modules. - Improved `ai-autoreply.md` to detail the autoreply process, including cooldowns, deferred replies, and startup catch-up mechanisms. - Adjusted `index.md` to reflect changes in the AI auto-reply workflow description.

3 days ago

softword pushed to main at softword/whattsreply

  • b254ca3163 feat: enhance configuration options and logging for AI interactions - Added new configuration keys: `ai_log`, `cooldown_seconds`, `group_cooldown_seconds`, and `catch_up_seconds` with appropriate defaults. - Implemented logging of AI requests to `ai_requests.log` when `ai_log` is enabled. - Introduced methods to manage cooldowns for autoreplies in private and group chats. - Updated `Config` struct and related tests to accommodate new configuration options. - Added functionality to fetch recent messages since a specific timestamp in the history module. - Enhanced WhatsApp event handling to include offline sync completion and message addressing. - Created a global template for configuration with detailed prompts and guidelines for AI behavior.
  • e5c0dd943f Add documentation for concepts, integrations, operations, workflows, and testing - Create `history-store.md` to document the message history store in SQLite. - Update `index.md` in concepts to link to the new history store documentation. - Create `ai-client.md` detailing the AI chat-completions client integration. - Create `whatsapp-client.md` to explain the WhatsApp client integration. - Update `index.md` in integrations to link to the new AI client and WhatsApp client documentation. - Create `configuration-and-data.md` to describe configuration and data file handling. - Update `index.md` in operations to link to the configuration and data documentation. - Create `quickstart.md` to provide an overview of the WhatsApp terminal client and its setup. - Create `unit-tests.md` to summarize the unit testing strategy and coverage. - Update `index.md` in testing to link to the unit tests documentation. - Create `ai-autoreply.md` to outline the AI auto-reply workflow and its components. - Update `index.md` in workflows to link to the AI auto-reply workflow documentation.
  • View comparison for these 2 commits »

3 days ago

softword pushed to main at softword/whattsreply

  • 299473ef60 Add initial session database configuration file
  • 43873aee9e feat: implement WhatsApp client wrapper with event handling and message sending capabilities - Introduced `WaEvent` enum for event representation including message, contact updates, and errors. - Created `WaHandle` struct for sending messages and downloading images. - Implemented `start` function to initialize the WhatsApp client and handle events. - Added `Translator` struct to translate library events into `WaEvent`s. - Developed functions for handling message batches, contact updates, and history sync. - Included utility functions for message description and JID formatting. - Added tests for message handling and placeholder detection.

3 days ago

softword created new branch main at softword/whattsreply

3 days ago

softword created repository softword/whattsreply

3 days ago

softword pushed to main at softword/oh-my-skills

  • b226999982 docs(SYSTEM_PROMPT.md): add guidelines for launching background sub-agents to improve task efficiency

4 days ago

softword pushed to main at softword/oh-my-skills

  • 9b1785957d docs(SYSTEM_PROMPT.md): add guidelines for using shell commands in Windows/PowerShell to avoid command length issues

6 days ago