2025-11-30 19:18:23 -03:00
|
|
|
pub mod a2a_protocol;
|
2025-11-30 15:07:29 -03:00
|
|
|
pub mod add_bot;
|
2025-11-22 01:27:29 -03:00
|
|
|
pub mod add_member;
|
`@media (prefers-color-scheme: dark)`
- ✅ Enhanced accessibility features (focus states, reduced motion)
- ✅ Added connection status component styles
- ✅ Improved responsive design
- ✅ Added utility classes for common patterns
- ✅ Added semantic HTML5 elements (`<header>`, `<main>`, `<nav>`)
- ✅ Comprehensive ARIA labels and roles for accessibility
- ✅ Keyboard navigation support (Alt+1-4 for sections, Esc for menus)
- ✅ Better event handling and state management
- ✅ Theme change subscriber with meta theme-color sync
- ✅ Online/offline connection monitoring
- ✅ Enhanced console logging with app info
- ✅ `THEMES.md` (400+ lines) - Complete theme system guide
- ✅ `README.md` (433+ lines) - Main application documentation
- ✅ `COMPONENTS.md` (773+ lines) - UI component library reference
- ✅ `QUICKSTART.md` (359+ lines) - Quick start guide for developers
- ✅ `REBUILD_NOTES.md` - This summary document
**Theme files define base colors:** ```css :root { --primary: 217 91%
60%; /* HSL: blue */ --background: 0 0% 100%; /* HSL: white */ } ```
**App.css bridges to working variables:** ```css :root { --accent-color:
hsl(var(--primary)); --primary-bg: hsl(var(--background));
--accent-light: hsla(var(--primary) / 0.1); } ```
**Components use working variables:** ```css .button { background:
var(--accent-color); color: hsl(var(--primary-foreground)); } ```
- ✅ Keyboard shortcuts (Alt+1-4, Esc)
- ✅ System dark mode detection
- ✅ Theme change event subscription
- ✅ Automatic document title updates
- ✅ Meta theme-color synchronization
- ✅ Enhanced console logging
- ✅ Better error handling
- ✅ Improved accessibility
- ✅ Theme switching via dropdown
- ✅ Theme persistence to localStorage
- ✅ Apps menu with section switching
- ✅ Dynamic section loading (Chat, Drive, Tasks, Mail)
- ✅ WebSocket chat functionality
- ✅ Alpine.js integration for other modules
- ✅ Responsive design
- ✅ Loading states
- [x] Theme switching works across all 19 themes
- [x] All sections load correctly
- [x] Keyboard shortcuts functional
- [x] Responsive on mobile/tablet/desktop
- [x] Accessibility features working
- [x] No console errors
- [x] Theme persistence works
- [x] Dark mode detection works
``` documentation/ ├── README.md # Main docs - start here ├──
QUICKSTART.md # 5-minute guide ├── THEMES.md # Theme system details ├──
COMPONENTS.md # UI component library └── REBUILD_NOTES.md # This summary
```
1. **HSL Bridge System**: Allows theme files to use shadcn-style HSL
variables while the app automatically derives working CSS properties
2. **No Breaking Changes**: All existing functionality preserved and
enhanced
3. **Developer-Friendly**: Comprehensive documentation for customization
4. **Accessibility First**: ARIA labels, keyboard navigation, focus
management
5. **Performance Optimized**: Instant theme switching, minimal reflows
- **Rebuild**: ✅ Complete
- **Testing**: ✅ Passed
- **Documentation**: ✅ Complete
- **Production Ready**: ✅ Yes
The rebuild successfully integrates the theme system throughout the UI
while maintaining all functionality and adding comprehensive
documentation for future development.
2025-11-21 09:28:02 -03:00
|
|
|
pub mod add_suggestion;
|
2025-11-30 19:18:23 -03:00
|
|
|
pub mod agent_reflection;
|
Bootstrap started! 6.1.0
- Add rss and scraper dependencies for web data keywords
- Add SMS keyword with priority support (low, normal, high, urgent)
- Add web_data keywords: RSS, SCRAPE, SCRAPE_ALL, SCRAPE_TABLE, SCRAPE_LINKS, SCRAPE_IMAGES
- Add ai_tools keywords: TRANSLATE, OCR, SENTIMENT, CLASSIFY
- Improve LLM server health check with better diagnostics and increased timeout
- Fix compilation errors and warnings
- Register SMS keywords in BASIC engine
2025-12-10 18:22:02 -03:00
|
|
|
pub mod ai_tools;
|
2025-11-30 19:18:23 -03:00
|
|
|
pub mod api_tool_generator;
|
feat(autotask): Implement AutoTask system with intent classification and app generation
- Add IntentClassifier with 7 intent types (APP_CREATE, TODO, MONITOR, ACTION, SCHEDULE, GOAL, TOOL)
- Add AppGenerator with LLM-powered app structure analysis
- Add DesignerAI for modifying apps through conversation
- Add app_server for serving generated apps with clean URLs
- Add db_api for CRUD operations on bot database tables
- Add ask_later keyword for pending info collection
- Add migration 6.1.1 with tables: pending_info, auto_tasks, execution_plans, task_approvals, task_decisions, safety_audit_log, generated_apps, intent_classifications, designer_changes
- Write apps to S3 drive and sync to SITE_ROOT for serving
- Clean URL structure: /apps/{app_name}/
- Integrate with DriveMonitor for file sync
Based on Chapter 17 - Autonomous Tasks specification
2025-12-27 21:10:09 -03:00
|
|
|
pub mod app_server;
|
Add documentation and core BASIC language functions
- Add SET_SCHEDULE.md and TEMPLATE_VARIABLES.md documentation
- Implement array functions (CONTAINS, PUSH/POP, SLICE, SORT, UNIQUE)
- Implement math functions module structure
- Implement datetime functions module structure
- Implement validation functions (ISNULL, ISEMPTY, VAL, STR, TYPEOF)
- Implement error handling functions (THROW, ERROR, ASSERT)
- Add CRM lead scoring keywords (SCORE_LEAD, AI_SCORE_LEAD)
- Add messaging keywords (SEND_TEMPLATE, CREATE_TEMPLATE)
2025-11-30 11:09:16 -03:00
|
|
|
pub mod arrays;
|
2025-11-22 01:27:29 -03:00
|
|
|
pub mod book;
|
2025-10-16 11:43:02 -03:00
|
|
|
pub mod bot_memory;
|
`@media (prefers-color-scheme: dark)`
- ✅ Enhanced accessibility features (focus states, reduced motion)
- ✅ Added connection status component styles
- ✅ Improved responsive design
- ✅ Added utility classes for common patterns
- ✅ Added semantic HTML5 elements (`<header>`, `<main>`, `<nav>`)
- ✅ Comprehensive ARIA labels and roles for accessibility
- ✅ Keyboard navigation support (Alt+1-4 for sections, Esc for menus)
- ✅ Better event handling and state management
- ✅ Theme change subscriber with meta theme-color sync
- ✅ Online/offline connection monitoring
- ✅ Enhanced console logging with app info
- ✅ `THEMES.md` (400+ lines) - Complete theme system guide
- ✅ `README.md` (433+ lines) - Main application documentation
- ✅ `COMPONENTS.md` (773+ lines) - UI component library reference
- ✅ `QUICKSTART.md` (359+ lines) - Quick start guide for developers
- ✅ `REBUILD_NOTES.md` - This summary document
**Theme files define base colors:** ```css :root { --primary: 217 91%
60%; /* HSL: blue */ --background: 0 0% 100%; /* HSL: white */ } ```
**App.css bridges to working variables:** ```css :root { --accent-color:
hsl(var(--primary)); --primary-bg: hsl(var(--background));
--accent-light: hsla(var(--primary) / 0.1); } ```
**Components use working variables:** ```css .button { background:
var(--accent-color); color: hsl(var(--primary-foreground)); } ```
- ✅ Keyboard shortcuts (Alt+1-4, Esc)
- ✅ System dark mode detection
- ✅ Theme change event subscription
- ✅ Automatic document title updates
- ✅ Meta theme-color synchronization
- ✅ Enhanced console logging
- ✅ Better error handling
- ✅ Improved accessibility
- ✅ Theme switching via dropdown
- ✅ Theme persistence to localStorage
- ✅ Apps menu with section switching
- ✅ Dynamic section loading (Chat, Drive, Tasks, Mail)
- ✅ WebSocket chat functionality
- ✅ Alpine.js integration for other modules
- ✅ Responsive design
- ✅ Loading states
- [x] Theme switching works across all 19 themes
- [x] All sections load correctly
- [x] Keyboard shortcuts functional
- [x] Responsive on mobile/tablet/desktop
- [x] Accessibility features working
- [x] No console errors
- [x] Theme persistence works
- [x] Dark mode detection works
``` documentation/ ├── README.md # Main docs - start here ├──
QUICKSTART.md # 5-minute guide ├── THEMES.md # Theme system details ├──
COMPONENTS.md # UI component library └── REBUILD_NOTES.md # This summary
```
1. **HSL Bridge System**: Allows theme files to use shadcn-style HSL
variables while the app automatically derives working CSS properties
2. **No Breaking Changes**: All existing functionality preserved and
enhanced
3. **Developer-Friendly**: Comprehensive documentation for customization
4. **Accessibility First**: ARIA labels, keyboard navigation, focus
management
5. **Performance Optimized**: Instant theme switching, minimal reflows
- **Rebuild**: ✅ Complete
- **Testing**: ✅ Passed
- **Documentation**: ✅ Complete
- **Production Ready**: ✅ Yes
The rebuild successfully integrates the theme system throughout the UI
while maintaining all functionality and adding comprehensive
documentation for future development.
2025-11-21 09:28:02 -03:00
|
|
|
pub mod clear_kb;
|
2025-10-18 18:19:08 -03:00
|
|
|
pub mod clear_tools;
|
2025-11-30 19:18:23 -03:00
|
|
|
pub mod code_sandbox;
|
Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:
1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
`SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
etc.)
Refactor BASIC keywords to use spaces instead of underscores
Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.
Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
core_functions, qrcode, sms, procedures, import_export, llm_macros,
on_form_submit
2025-11-30 10:53:59 -03:00
|
|
|
pub mod core_functions;
|
2025-11-22 01:27:29 -03:00
|
|
|
pub mod create_draft;
|
2025-10-06 10:30:17 -03:00
|
|
|
pub mod create_site;
|
2025-11-22 01:27:29 -03:00
|
|
|
pub mod create_task;
|
Add documentation and core BASIC language functions
- Add SET_SCHEDULE.md and TEMPLATE_VARIABLES.md documentation
- Implement array functions (CONTAINS, PUSH/POP, SLICE, SORT, UNIQUE)
- Implement math functions module structure
- Implement datetime functions module structure
- Implement validation functions (ISNULL, ISEMPTY, VAL, STR, TYPEOF)
- Implement error handling functions (THROW, ERROR, ASSERT)
- Add CRM lead scoring keywords (SCORE_LEAD, AI_SCORE_LEAD)
- Add messaging keywords (SEND_TEMPLATE, CREATE_TEMPLATE)
2025-11-30 11:09:16 -03:00
|
|
|
pub mod crm;
|
Add tar/flate2 deps and document new BASIC keywords
Add flate2 and tar dependencies for archive extraction support in file
operations. Update documentation with:
- New BASIC keywords: SWITCH/CASE, WEBHOOK, INSTR, IS_NUMERIC
- HTTP operations: POST, PUT, PATCH, DELETE_HTTP, GRAPHQL, SOAP
- Data operations: SAVE, INSERT, UPDATE, DELETE, MERGE, FILTER, etc.
- File operations: READ, WRITE, COMPRESS, EXTRACT, GENERATE_PDF, etc.
Simplify README and add appendices for external services and environment
variables. Add monitoring dashboard and player UI docs.
2025-11-30 07:53:58 -03:00
|
|
|
pub mod data_operations;
|
Add documentation and core BASIC language functions
- Add SET_SCHEDULE.md and TEMPLATE_VARIABLES.md documentation
- Implement array functions (CONTAINS, PUSH/POP, SLICE, SORT, UNIQUE)
- Implement math functions module structure
- Implement datetime functions module structure
- Implement validation functions (ISNULL, ISEMPTY, VAL, STR, TYPEOF)
- Implement error handling functions (THROW, ERROR, ASSERT)
- Add CRM lead scoring keywords (SCORE_LEAD, AI_SCORE_LEAD)
- Add messaging keywords (SEND_TEMPLATE, CREATE_TEMPLATE)
2025-11-30 11:09:16 -03:00
|
|
|
pub mod datetime;
|
feat(autotask): Implement AutoTask system with intent classification and app generation
- Add IntentClassifier with 7 intent types (APP_CREATE, TODO, MONITOR, ACTION, SCHEDULE, GOAL, TOOL)
- Add AppGenerator with LLM-powered app structure analysis
- Add DesignerAI for modifying apps through conversation
- Add app_server for serving generated apps with clean URLs
- Add db_api for CRUD operations on bot database tables
- Add ask_later keyword for pending info collection
- Add migration 6.1.1 with tables: pending_info, auto_tasks, execution_plans, task_approvals, task_decisions, safety_audit_log, generated_apps, intent_classifications, designer_changes
- Write apps to S3 drive and sync to SITE_ROOT for serving
- Clean URL structure: /apps/{app_name}/
- Integrate with DriveMonitor for file sync
Based on Chapter 17 - Autonomous Tasks specification
2025-12-27 21:10:09 -03:00
|
|
|
pub mod db_api;
|
2025-11-30 19:18:23 -03:00
|
|
|
pub mod episodic_memory;
|
Add documentation and core BASIC language functions
- Add SET_SCHEDULE.md and TEMPLATE_VARIABLES.md documentation
- Implement array functions (CONTAINS, PUSH/POP, SLICE, SORT, UNIQUE)
- Implement math functions module structure
- Implement datetime functions module structure
- Implement validation functions (ISNULL, ISEMPTY, VAL, STR, TYPEOF)
- Implement error handling functions (THROW, ERROR, ASSERT)
- Add CRM lead scoring keywords (SCORE_LEAD, AI_SCORE_LEAD)
- Add messaging keywords (SEND_TEMPLATE, CREATE_TEMPLATE)
2025-11-30 11:09:16 -03:00
|
|
|
pub mod errors;
|
Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules
Major additions:
- Video editing engine with AI features (transcription, captions, TTS, scene detection)
- RBAC middleware and organization management
- Security enhancements (MFA, passkey, DLP, encryption, audit)
- Billing and subscription management
- Contacts management
- Dashboards module
- Learn/LMS module
- Social features
- Compliance (SOC2, SOP middleware, vulnerability scanner)
- New migrations for RBAC, learn, and video tables
2026-01-08 13:16:17 -03:00
|
|
|
pub mod face_api;
|
Add tar/flate2 deps and document new BASIC keywords
Add flate2 and tar dependencies for archive extraction support in file
operations. Update documentation with:
- New BASIC keywords: SWITCH/CASE, WEBHOOK, INSTR, IS_NUMERIC
- HTTP operations: POST, PUT, PATCH, DELETE_HTTP, GRAPHQL, SOAP
- Data operations: SAVE, INSERT, UPDATE, DELETE, MERGE, FILTER, etc.
- File operations: READ, WRITE, COMPRESS, EXTRACT, GENERATE_PDF, etc.
Simplify README and add appendices for external services and environment
variables. Add monitoring dashboard and player UI docs.
2025-11-30 07:53:58 -03:00
|
|
|
pub mod file_operations;
|
2025-10-06 10:30:17 -03:00
|
|
|
pub mod find;
|
|
|
|
|
pub mod first;
|
|
|
|
|
pub mod for_next;
|
2025-10-07 10:53:09 -03:00
|
|
|
pub mod format;
|
2025-10-06 10:30:17 -03:00
|
|
|
pub mod get;
|
2025-10-11 12:29:03 -03:00
|
|
|
pub mod hear_talk;
|
Add tar/flate2 deps and document new BASIC keywords
Add flate2 and tar dependencies for archive extraction support in file
operations. Update documentation with:
- New BASIC keywords: SWITCH/CASE, WEBHOOK, INSTR, IS_NUMERIC
- HTTP operations: POST, PUT, PATCH, DELETE_HTTP, GRAPHQL, SOAP
- Data operations: SAVE, INSERT, UPDATE, DELETE, MERGE, FILTER, etc.
- File operations: READ, WRITE, COMPRESS, EXTRACT, GENERATE_PDF, etc.
Simplify README and add appendices for external services and environment
variables. Add monitoring dashboard and player UI docs.
2025-11-30 07:53:58 -03:00
|
|
|
pub mod http_operations;
|
2025-11-30 19:18:23 -03:00
|
|
|
pub mod human_approval;
|
Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:
1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
`SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
etc.)
Refactor BASIC keywords to use spaces instead of underscores
Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.
Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
core_functions, qrcode, sms, procedures, import_export, llm_macros,
on_form_submit
2025-11-30 10:53:59 -03:00
|
|
|
pub mod import_export;
|
2025-11-30 16:25:51 -03:00
|
|
|
pub mod kb_statistics;
|
2025-11-30 19:18:23 -03:00
|
|
|
pub mod knowledge_graph;
|
2025-10-07 10:53:09 -03:00
|
|
|
pub mod last;
|
Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:
1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
`SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
etc.)
Refactor BASIC keywords to use spaces instead of underscores
Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.
Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
core_functions, qrcode, sms, procedures, import_export, llm_macros,
on_form_submit
2025-11-30 10:53:59 -03:00
|
|
|
pub mod lead_scoring;
|
2025-10-06 10:30:17 -03:00
|
|
|
pub mod llm_keyword;
|
Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:
1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
`SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
etc.)
Refactor BASIC keywords to use spaces instead of underscores
Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.
Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
core_functions, qrcode, sms, procedures, import_export, llm_macros,
on_form_submit
2025-11-30 10:53:59 -03:00
|
|
|
pub mod llm_macros;
|
Add documentation and core BASIC language functions
- Add SET_SCHEDULE.md and TEMPLATE_VARIABLES.md documentation
- Implement array functions (CONTAINS, PUSH/POP, SLICE, SORT, UNIQUE)
- Implement math functions module structure
- Implement datetime functions module structure
- Implement validation functions (ISNULL, ISEMPTY, VAL, STR, TYPEOF)
- Implement error handling functions (THROW, ERROR, ASSERT)
- Add CRM lead scoring keywords (SCORE_LEAD, AI_SCORE_LEAD)
- Add messaging keywords (SEND_TEMPLATE, CREATE_TEMPLATE)
2025-11-30 11:09:16 -03:00
|
|
|
pub mod math;
|
2025-12-12 12:33:17 -03:00
|
|
|
pub mod mcp_client;
|
Add MCP server support via mcp.csv
- New mcp_directory.rs: McpCsvLoader to load MCP servers from mcp.csv
- CSV format: name,type,command,args,description,enabled,auth_type,auth_env
- Support for stdio, http, websocket, tcp connection types
- Support for api_key and bearer authentication
- Updated sources/mod.rs with MCP management API endpoints
- New sources/mcp.rs with helper functions
- MCP tools available to Tasks like BASIC keywords
2025-12-13 00:26:49 -03:00
|
|
|
pub mod mcp_directory;
|
Add documentation and core BASIC language functions
- Add SET_SCHEDULE.md and TEMPLATE_VARIABLES.md documentation
- Implement array functions (CONTAINS, PUSH/POP, SLICE, SORT, UNIQUE)
- Implement math functions module structure
- Implement datetime functions module structure
- Implement validation functions (ISNULL, ISEMPTY, VAL, STR, TYPEOF)
- Implement error handling functions (THROW, ERROR, ASSERT)
- Add CRM lead scoring keywords (SCORE_LEAD, AI_SCORE_LEAD)
- Add messaging keywords (SEND_TEMPLATE, CREATE_TEMPLATE)
2025-11-30 11:09:16 -03:00
|
|
|
pub mod messaging;
|
2025-11-30 19:18:23 -03:00
|
|
|
pub mod model_routing;
|
2025-11-29 20:40:08 -03:00
|
|
|
pub mod multimodal;
|
2025-10-06 10:30:17 -03:00
|
|
|
pub mod on;
|
feat: add ON EMAIL and ON CHANGE keywords for event-driven monitoring
- Add ON EMAIL keyword with FROM/SUBJECT filters
- Add ON CHANGE keyword with account:// syntax (gdrive, onedrive, dropbox, local)
- Add TriggerKind::EmailReceived (5) and FolderChange (6)
- Add migration 6.1.3_bot_hierarchy_monitors with:
- email_monitors, folder_monitors tables
- email_received_events, folder_change_events tables
- user_organizations table
- Bot hierarchy: parent_bot_id, enabled_tabs_json, inherit_parent_config
- Add 26 unit tests (12 on_email, 12 on_change, 2 trigger_kind)
- Update PROMPT.md with weekly maintenance checklist
- Zero warnings, zero errors
2025-12-18 16:17:58 -03:00
|
|
|
pub mod on_change;
|
|
|
|
|
pub mod on_email;
|
Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:
1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
`SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
etc.)
Refactor BASIC keywords to use spaces instead of underscores
Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.
Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
core_functions, qrcode, sms, procedures, import_export, llm_macros,
on_form_submit
2025-11-30 10:53:59 -03:00
|
|
|
pub mod on_form_submit;
|
2025-11-30 15:07:29 -03:00
|
|
|
pub mod play;
|
2025-10-06 10:30:17 -03:00
|
|
|
pub mod print;
|
Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:
1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
`SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
etc.)
Refactor BASIC keywords to use spaces instead of underscores
Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.
Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
core_functions, qrcode, sms, procedures, import_export, llm_macros,
on_form_submit
2025-11-30 10:53:59 -03:00
|
|
|
pub mod procedures;
|
|
|
|
|
pub mod qrcode;
|
2025-11-22 01:27:29 -03:00
|
|
|
pub mod remember;
|
|
|
|
|
pub mod save_from_unstructured;
|
2026-01-10 20:32:56 -03:00
|
|
|
pub mod security_protection;
|
2025-11-22 01:27:29 -03:00
|
|
|
pub mod send_mail;
|
Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:
1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
`SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
etc.)
Refactor BASIC keywords to use spaces instead of underscores
Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.
Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
core_functions, qrcode, sms, procedures, import_export, llm_macros,
on_form_submit
2025-11-30 10:53:59 -03:00
|
|
|
pub mod send_template;
|
2025-10-06 10:30:17 -03:00
|
|
|
pub mod set;
|
`@media (prefers-color-scheme: dark)`
- ✅ Enhanced accessibility features (focus states, reduced motion)
- ✅ Added connection status component styles
- ✅ Improved responsive design
- ✅ Added utility classes for common patterns
- ✅ Added semantic HTML5 elements (`<header>`, `<main>`, `<nav>`)
- ✅ Comprehensive ARIA labels and roles for accessibility
- ✅ Keyboard navigation support (Alt+1-4 for sections, Esc for menus)
- ✅ Better event handling and state management
- ✅ Theme change subscriber with meta theme-color sync
- ✅ Online/offline connection monitoring
- ✅ Enhanced console logging with app info
- ✅ `THEMES.md` (400+ lines) - Complete theme system guide
- ✅ `README.md` (433+ lines) - Main application documentation
- ✅ `COMPONENTS.md` (773+ lines) - UI component library reference
- ✅ `QUICKSTART.md` (359+ lines) - Quick start guide for developers
- ✅ `REBUILD_NOTES.md` - This summary document
**Theme files define base colors:** ```css :root { --primary: 217 91%
60%; /* HSL: blue */ --background: 0 0% 100%; /* HSL: white */ } ```
**App.css bridges to working variables:** ```css :root { --accent-color:
hsl(var(--primary)); --primary-bg: hsl(var(--background));
--accent-light: hsla(var(--primary) / 0.1); } ```
**Components use working variables:** ```css .button { background:
var(--accent-color); color: hsl(var(--primary-foreground)); } ```
- ✅ Keyboard shortcuts (Alt+1-4, Esc)
- ✅ System dark mode detection
- ✅ Theme change event subscription
- ✅ Automatic document title updates
- ✅ Meta theme-color synchronization
- ✅ Enhanced console logging
- ✅ Better error handling
- ✅ Improved accessibility
- ✅ Theme switching via dropdown
- ✅ Theme persistence to localStorage
- ✅ Apps menu with section switching
- ✅ Dynamic section loading (Chat, Drive, Tasks, Mail)
- ✅ WebSocket chat functionality
- ✅ Alpine.js integration for other modules
- ✅ Responsive design
- ✅ Loading states
- [x] Theme switching works across all 19 themes
- [x] All sections load correctly
- [x] Keyboard shortcuts functional
- [x] Responsive on mobile/tablet/desktop
- [x] Accessibility features working
- [x] No console errors
- [x] Theme persistence works
- [x] Dark mode detection works
``` documentation/ ├── README.md # Main docs - start here ├──
QUICKSTART.md # 5-minute guide ├── THEMES.md # Theme system details ├──
COMPONENTS.md # UI component library └── REBUILD_NOTES.md # This summary
```
1. **HSL Bridge System**: Allows theme files to use shadcn-style HSL
variables while the app automatically derives working CSS properties
2. **No Breaking Changes**: All existing functionality preserved and
enhanced
3. **Developer-Friendly**: Comprehensive documentation for customization
4. **Accessibility First**: ARIA labels, keyboard navigation, focus
management
5. **Performance Optimized**: Instant theme switching, minimal reflows
- **Rebuild**: ✅ Complete
- **Testing**: ✅ Passed
- **Documentation**: ✅ Complete
- **Production Ready**: ✅ Yes
The rebuild successfully integrates the theme system throughout the UI
while maintaining all functionality and adding comprehensive
documentation for future development.
2025-11-21 09:28:02 -03:00
|
|
|
pub mod set_context;
|
|
|
|
|
pub mod set_schedule;
|
2025-11-01 20:53:45 -03:00
|
|
|
pub mod set_user;
|
Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:
1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
`SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
etc.)
Refactor BASIC keywords to use spaces instead of underscores
Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.
Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
core_functions, qrcode, sms, procedures, import_export, llm_macros,
on_form_submit
2025-11-30 10:53:59 -03:00
|
|
|
pub mod sms;
|
Add documentation and core BASIC language functions
- Add SET_SCHEDULE.md and TEMPLATE_VARIABLES.md documentation
- Implement array functions (CONTAINS, PUSH/POP, SLICE, SORT, UNIQUE)
- Implement math functions module structure
- Implement datetime functions module structure
- Implement validation functions (ISNULL, ISEMPTY, VAL, STR, TYPEOF)
- Implement error handling functions (THROW, ERROR, ASSERT)
- Add CRM lead scoring keywords (SCORE_LEAD, AI_SCORE_LEAD)
- Add messaging keywords (SEND_TEMPLATE, CREATE_TEMPLATE)
2025-11-30 11:09:16 -03:00
|
|
|
pub mod social;
|
Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:
1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
`SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
etc.)
Refactor BASIC keywords to use spaces instead of underscores
Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.
Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
core_functions, qrcode, sms, procedures, import_export, llm_macros,
on_form_submit
2025-11-30 10:53:59 -03:00
|
|
|
pub mod social_media;
|
Add tar/flate2 deps and document new BASIC keywords
Add flate2 and tar dependencies for archive extraction support in file
operations. Update documentation with:
- New BASIC keywords: SWITCH/CASE, WEBHOOK, INSTR, IS_NUMERIC
- HTTP operations: POST, PUT, PATCH, DELETE_HTTP, GRAPHQL, SOAP
- Data operations: SAVE, INSERT, UPDATE, DELETE, MERGE, FILTER, etc.
- File operations: READ, WRITE, COMPRESS, EXTRACT, GENERATE_PDF, etc.
Simplify README and add appendices for external services and environment
variables. Add monitoring dashboard and player UI docs.
2025-11-30 07:53:58 -03:00
|
|
|
pub mod string_functions;
|
|
|
|
|
pub mod switch_case;
|
Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules
Major additions:
- Video editing engine with AI features (transcription, captions, TTS, scene detection)
- RBAC middleware and organization management
- Security enhancements (MFA, passkey, DLP, encryption, audit)
- Billing and subscription management
- Contacts management
- Dashboards module
- Learn/LMS module
- Social features
- Compliance (SOC2, SOP middleware, vulnerability scanner)
- New migrations for RBAC, learn, and video tables
2026-01-08 13:16:17 -03:00
|
|
|
pub mod synchronize;
|
2025-12-28 11:50:50 -03:00
|
|
|
pub mod table_access;
|
2025-11-30 15:07:29 -03:00
|
|
|
pub mod table_definition;
|
feat(attendance): Add LLM-assisted attendant features
- Real-time tips when customer messages arrive
- Message polishing with one click
- Smart reply generation (3 contextual suggestions)
- Auto-summary when attendant takes conversation
- LLM-powered sentiment analysis with escalation warnings
WhatsApp Attendant Commands:
- /queue, /take, /status, /transfer, /resolve
- /tips, /polish, /replies, /summary, /help
- Portuguese versions: /fila, /pegar, /dicas, /polir, /respostas, /resumo
Config options (config.csv):
- attendant-llm-tips
- attendant-polish-message
- attendant-smart-replies
- attendant-auto-summary
- attendant-sentiment-analysis
API Endpoints:
- POST /api/attendance/llm/tips
- POST /api/attendance/llm/polish
- POST /api/attendance/llm/smart-replies
- GET /api/attendance/llm/summary/{session_id}
- POST /api/attendance/llm/sentiment
- GET /api/attendance/llm/config/{bot_id}
Uses bot's system prompt for consistency between bot and human-assisted responses.
2025-12-05 13:47:15 -03:00
|
|
|
pub mod transfer_to_human;
|
2025-11-22 01:27:29 -03:00
|
|
|
pub mod universal_messaging;
|
feat: add ON EMAIL and ON CHANGE keywords for event-driven monitoring
- Add ON EMAIL keyword with FROM/SUBJECT filters
- Add ON CHANGE keyword with account:// syntax (gdrive, onedrive, dropbox, local)
- Add TriggerKind::EmailReceived (5) and FolderChange (6)
- Add migration 6.1.3_bot_hierarchy_monitors with:
- email_monitors, folder_monitors tables
- email_received_events, folder_change_events tables
- user_organizations table
- Bot hierarchy: parent_bot_id, enabled_tabs_json, inherit_parent_config
- Add 26 unit tests (12 on_email, 12 on_change, 2 trigger_kind)
- Update PROMPT.md with weekly maintenance checklist
- Zero warnings, zero errors
2025-12-18 16:17:58 -03:00
|
|
|
pub mod use_account;
|
2025-11-21 23:23:53 -03:00
|
|
|
pub mod use_kb;
|
|
|
|
|
pub mod use_tool;
|
2025-11-26 22:54:22 -03:00
|
|
|
pub mod use_website;
|
2025-11-30 19:18:23 -03:00
|
|
|
pub mod user_memory;
|
Add documentation and core BASIC language functions
- Add SET_SCHEDULE.md and TEMPLATE_VARIABLES.md documentation
- Implement array functions (CONTAINS, PUSH/POP, SLICE, SORT, UNIQUE)
- Implement math functions module structure
- Implement datetime functions module structure
- Implement validation functions (ISNULL, ISEMPTY, VAL, STR, TYPEOF)
- Implement error handling functions (THROW, ERROR, ASSERT)
- Add CRM lead scoring keywords (SCORE_LEAD, AI_SCORE_LEAD)
- Add messaging keywords (SEND_TEMPLATE, CREATE_TEMPLATE)
2025-11-30 11:09:16 -03:00
|
|
|
pub mod validation;
|
`@media (prefers-color-scheme: dark)`
- ✅ Enhanced accessibility features (focus states, reduced motion)
- ✅ Added connection status component styles
- ✅ Improved responsive design
- ✅ Added utility classes for common patterns
- ✅ Added semantic HTML5 elements (`<header>`, `<main>`, `<nav>`)
- ✅ Comprehensive ARIA labels and roles for accessibility
- ✅ Keyboard navigation support (Alt+1-4 for sections, Esc for menus)
- ✅ Better event handling and state management
- ✅ Theme change subscriber with meta theme-color sync
- ✅ Online/offline connection monitoring
- ✅ Enhanced console logging with app info
- ✅ `THEMES.md` (400+ lines) - Complete theme system guide
- ✅ `README.md` (433+ lines) - Main application documentation
- ✅ `COMPONENTS.md` (773+ lines) - UI component library reference
- ✅ `QUICKSTART.md` (359+ lines) - Quick start guide for developers
- ✅ `REBUILD_NOTES.md` - This summary document
**Theme files define base colors:** ```css :root { --primary: 217 91%
60%; /* HSL: blue */ --background: 0 0% 100%; /* HSL: white */ } ```
**App.css bridges to working variables:** ```css :root { --accent-color:
hsl(var(--primary)); --primary-bg: hsl(var(--background));
--accent-light: hsla(var(--primary) / 0.1); } ```
**Components use working variables:** ```css .button { background:
var(--accent-color); color: hsl(var(--primary-foreground)); } ```
- ✅ Keyboard shortcuts (Alt+1-4, Esc)
- ✅ System dark mode detection
- ✅ Theme change event subscription
- ✅ Automatic document title updates
- ✅ Meta theme-color synchronization
- ✅ Enhanced console logging
- ✅ Better error handling
- ✅ Improved accessibility
- ✅ Theme switching via dropdown
- ✅ Theme persistence to localStorage
- ✅ Apps menu with section switching
- ✅ Dynamic section loading (Chat, Drive, Tasks, Mail)
- ✅ WebSocket chat functionality
- ✅ Alpine.js integration for other modules
- ✅ Responsive design
- ✅ Loading states
- [x] Theme switching works across all 19 themes
- [x] All sections load correctly
- [x] Keyboard shortcuts functional
- [x] Responsive on mobile/tablet/desktop
- [x] Accessibility features working
- [x] No console errors
- [x] Theme persistence works
- [x] Dark mode detection works
``` documentation/ ├── README.md # Main docs - start here ├──
QUICKSTART.md # 5-minute guide ├── THEMES.md # Theme system details ├──
COMPONENTS.md # UI component library └── REBUILD_NOTES.md # This summary
```
1. **HSL Bridge System**: Allows theme files to use shadcn-style HSL
variables while the app automatically derives working CSS properties
2. **No Breaking Changes**: All existing functionality preserved and
enhanced
3. **Developer-Friendly**: Comprehensive documentation for customization
4. **Accessibility First**: ARIA labels, keyboard navigation, focus
management
5. **Performance Optimized**: Instant theme switching, minimal reflows
- **Rebuild**: ✅ Complete
- **Testing**: ✅ Passed
- **Documentation**: ✅ Complete
- **Production Ready**: ✅ Yes
The rebuild successfully integrates the theme system throughout the UI
while maintaining all functionality and adding comprehensive
documentation for future development.
2025-11-21 09:28:02 -03:00
|
|
|
pub mod wait;
|
2025-11-21 10:44:29 -03:00
|
|
|
pub mod weather;
|
Bootstrap started! 6.1.0
- Add rss and scraper dependencies for web data keywords
- Add SMS keyword with priority support (low, normal, high, urgent)
- Add web_data keywords: RSS, SCRAPE, SCRAPE_ALL, SCRAPE_TABLE, SCRAPE_LINKS, SCRAPE_IMAGES
- Add ai_tools keywords: TRANSLATE, OCR, SENTIMENT, CLASSIFY
- Improve LLM server health check with better diagnostics and increased timeout
- Fix compilation errors and warnings
- Register SMS keywords in BASIC engine
2025-12-10 18:22:02 -03:00
|
|
|
pub mod web_data;
|
Add tar/flate2 deps and document new BASIC keywords
Add flate2 and tar dependencies for archive extraction support in file
operations. Update documentation with:
- New BASIC keywords: SWITCH/CASE, WEBHOOK, INSTR, IS_NUMERIC
- HTTP operations: POST, PUT, PATCH, DELETE_HTTP, GRAPHQL, SOAP
- Data operations: SAVE, INSERT, UPDATE, DELETE, MERGE, FILTER, etc.
- File operations: READ, WRITE, COMPRESS, EXTRACT, GENERATE_PDF, etc.
Simplify README and add appendices for external services and environment
variables. Add monitoring dashboard and player UI docs.
2025-11-30 07:53:58 -03:00
|
|
|
pub mod webhook;
|
2025-12-12 12:33:17 -03:00
|
|
|
|
feat(autotask): Implement AutoTask system with intent classification and app generation
- Add IntentClassifier with 7 intent types (APP_CREATE, TODO, MONITOR, ACTION, SCHEDULE, GOAL, TOOL)
- Add AppGenerator with LLM-powered app structure analysis
- Add DesignerAI for modifying apps through conversation
- Add app_server for serving generated apps with clean URLs
- Add db_api for CRUD operations on bot database tables
- Add ask_later keyword for pending info collection
- Add migration 6.1.1 with tables: pending_info, auto_tasks, execution_plans, task_approvals, task_decisions, safety_audit_log, generated_apps, intent_classifications, designer_changes
- Write apps to S3 drive and sync to SITE_ROOT for serving
- Clean URL structure: /apps/{app_name}/
- Integrate with DriveMonitor for file sync
Based on Chapter 17 - Autonomous Tasks specification
2025-12-27 21:10:09 -03:00
|
|
|
pub use app_server::configure_app_server_routes;
|
|
|
|
|
pub use db_api::configure_db_routes;
|
2025-12-12 12:33:17 -03:00
|
|
|
pub use mcp_client::{McpClient, McpRequest, McpResponse, McpServer, McpTool};
|
2026-01-10 20:32:56 -03:00
|
|
|
pub use security_protection::{
|
|
|
|
|
security_get_report, security_hardening_score, security_install_tool, security_run_scan,
|
|
|
|
|
security_service_is_running, security_start_service, security_stop_service,
|
|
|
|
|
security_tool_is_installed, security_tool_status, security_update_definitions,
|
|
|
|
|
SecurityScanResult, SecurityToolResult,
|
|
|
|
|
};
|
Add MCP server support via mcp.csv
- New mcp_directory.rs: McpCsvLoader to load MCP servers from mcp.csv
- CSV format: name,type,command,args,description,enabled,auth_type,auth_env
- Support for stdio, http, websocket, tcp connection types
- Support for api_key and bearer authentication
- Updated sources/mod.rs with MCP management API endpoints
- New sources/mcp.rs with helper functions
- MCP tools available to Tasks like BASIC keywords
2025-12-13 00:26:49 -03:00
|
|
|
pub use mcp_directory::{McpDirectoryScanResult, McpDirectoryScanner, McpServerConfig};
|
2025-12-28 11:50:50 -03:00
|
|
|
pub use table_access::{
|
|
|
|
|
check_field_write_access, check_table_access, filter_fields_by_role, load_table_access_info,
|
|
|
|
|
AccessType, TableAccessInfo, UserRoles,
|
|
|
|
|
};
|
2025-12-12 12:33:17 -03:00
|
|
|
|
|
|
|
|
pub fn get_all_keywords() -> Vec<String> {
|
|
|
|
|
vec![
|
|
|
|
|
"ADD BOT".to_string(),
|
|
|
|
|
"BOT REFLECTION".to_string(),
|
|
|
|
|
"BROADCAST TO BOTS".to_string(),
|
|
|
|
|
"DELEGATE TO BOT".to_string(),
|
|
|
|
|
"TRANSFER CONVERSATION".to_string(),
|
|
|
|
|
"ADD MEMBER".to_string(),
|
|
|
|
|
"CREATE DRAFT".to_string(),
|
|
|
|
|
"SEND MAIL".to_string(),
|
|
|
|
|
"SEND TEMPLATE".to_string(),
|
|
|
|
|
"SMS".to_string(),
|
|
|
|
|
"ADD SUGGESTION".to_string(),
|
|
|
|
|
"CLEAR SUGGESTIONS".to_string(),
|
|
|
|
|
"ADD TOOL".to_string(),
|
|
|
|
|
"CLEAR TOOLS".to_string(),
|
|
|
|
|
"CREATE SITE".to_string(),
|
|
|
|
|
"CREATE TASK".to_string(),
|
|
|
|
|
"USE TOOL".to_string(),
|
|
|
|
|
"AGGREGATE".to_string(),
|
|
|
|
|
"DELETE".to_string(),
|
|
|
|
|
"FILL".to_string(),
|
|
|
|
|
"FILTER".to_string(),
|
|
|
|
|
"FIND".to_string(),
|
|
|
|
|
"FIRST".to_string(),
|
|
|
|
|
"GROUP BY".to_string(),
|
|
|
|
|
"INSERT".to_string(),
|
|
|
|
|
"JOIN".to_string(),
|
|
|
|
|
"LAST".to_string(),
|
|
|
|
|
"MAP".to_string(),
|
|
|
|
|
"MERGE".to_string(),
|
|
|
|
|
"PIVOT".to_string(),
|
|
|
|
|
"SAVE".to_string(),
|
|
|
|
|
"SAVE FROM UNSTRUCTURED".to_string(),
|
|
|
|
|
"UPDATE".to_string(),
|
|
|
|
|
"COMPRESS".to_string(),
|
|
|
|
|
"COPY".to_string(),
|
|
|
|
|
"DELETE FILE".to_string(),
|
|
|
|
|
"DOWNLOAD".to_string(),
|
|
|
|
|
"EXTRACT".to_string(),
|
|
|
|
|
"GENERATE PDF".to_string(),
|
|
|
|
|
"LIST".to_string(),
|
|
|
|
|
"MERGE PDF".to_string(),
|
|
|
|
|
"MOVE".to_string(),
|
|
|
|
|
"READ".to_string(),
|
|
|
|
|
"UPLOAD".to_string(),
|
|
|
|
|
"WRITE".to_string(),
|
|
|
|
|
"CLEAR HEADERS".to_string(),
|
|
|
|
|
"DELETE HTTP".to_string(),
|
|
|
|
|
"GET".to_string(),
|
|
|
|
|
"GRAPHQL".to_string(),
|
|
|
|
|
"PATCH".to_string(),
|
|
|
|
|
"POST".to_string(),
|
|
|
|
|
"PUT".to_string(),
|
|
|
|
|
"SET HEADER".to_string(),
|
|
|
|
|
"SOAP".to_string(),
|
|
|
|
|
"EXIT FOR".to_string(),
|
|
|
|
|
"FOR EACH".to_string(),
|
|
|
|
|
"IF".to_string(),
|
|
|
|
|
"SWITCH".to_string(),
|
|
|
|
|
"WAIT".to_string(),
|
|
|
|
|
"WHILE".to_string(),
|
|
|
|
|
"GET".to_string(),
|
|
|
|
|
"SET".to_string(),
|
|
|
|
|
"GET BOT MEMORY".to_string(),
|
|
|
|
|
"GET USER MEMORY".to_string(),
|
|
|
|
|
"REMEMBER".to_string(),
|
|
|
|
|
"SET BOT MEMORY".to_string(),
|
|
|
|
|
"SET CONTEXT".to_string(),
|
|
|
|
|
"SET USER FACT".to_string(),
|
|
|
|
|
"SET USER MEMORY".to_string(),
|
|
|
|
|
"USER FACTS".to_string(),
|
|
|
|
|
"CLEAR KB".to_string(),
|
|
|
|
|
"USE KB".to_string(),
|
feat: add ON EMAIL and ON CHANGE keywords for event-driven monitoring
- Add ON EMAIL keyword with FROM/SUBJECT filters
- Add ON CHANGE keyword with account:// syntax (gdrive, onedrive, dropbox, local)
- Add TriggerKind::EmailReceived (5) and FolderChange (6)
- Add migration 6.1.3_bot_hierarchy_monitors with:
- email_monitors, folder_monitors tables
- email_received_events, folder_change_events tables
- user_organizations table
- Bot hierarchy: parent_bot_id, enabled_tabs_json, inherit_parent_config
- Add 26 unit tests (12 on_email, 12 on_change, 2 trigger_kind)
- Update PROMPT.md with weekly maintenance checklist
- Zero warnings, zero errors
2025-12-18 16:17:58 -03:00
|
|
|
"USE ACCOUNT".to_string(),
|
2025-12-12 12:33:17 -03:00
|
|
|
"USE WEBSITE".to_string(),
|
|
|
|
|
"LLM".to_string(),
|
|
|
|
|
"SET CONTEXT".to_string(),
|
|
|
|
|
"USE MODEL".to_string(),
|
|
|
|
|
"RUN BASH".to_string(),
|
|
|
|
|
"RUN JAVASCRIPT".to_string(),
|
|
|
|
|
"RUN PYTHON".to_string(),
|
|
|
|
|
"HEAR".to_string(),
|
|
|
|
|
"TALK".to_string(),
|
|
|
|
|
"ON".to_string(),
|
feat: add ON EMAIL and ON CHANGE keywords for event-driven monitoring
- Add ON EMAIL keyword with FROM/SUBJECT filters
- Add ON CHANGE keyword with account:// syntax (gdrive, onedrive, dropbox, local)
- Add TriggerKind::EmailReceived (5) and FolderChange (6)
- Add migration 6.1.3_bot_hierarchy_monitors with:
- email_monitors, folder_monitors tables
- email_received_events, folder_change_events tables
- user_organizations table
- Bot hierarchy: parent_bot_id, enabled_tabs_json, inherit_parent_config
- Add 26 unit tests (12 on_email, 12 on_change, 2 trigger_kind)
- Update PROMPT.md with weekly maintenance checklist
- Zero warnings, zero errors
2025-12-18 16:17:58 -03:00
|
|
|
"ON EMAIL".to_string(),
|
|
|
|
|
"ON CHANGE".to_string(),
|
2025-12-12 12:33:17 -03:00
|
|
|
"SET SCHEDULE".to_string(),
|
|
|
|
|
"WEBHOOK".to_string(),
|
|
|
|
|
"SET USER".to_string(),
|
|
|
|
|
"BOOK".to_string(),
|
|
|
|
|
"WEATHER".to_string(),
|
|
|
|
|
"PRINT".to_string(),
|
|
|
|
|
"FORMAT".to_string(),
|
|
|
|
|
"INSTR".to_string(),
|
|
|
|
|
"IS NUMERIC".to_string(),
|
|
|
|
|
"REQUIRE APPROVAL".to_string(),
|
|
|
|
|
"SIMULATE IMPACT".to_string(),
|
|
|
|
|
"CHECK CONSTRAINTS".to_string(),
|
|
|
|
|
"AUDIT LOG".to_string(),
|
|
|
|
|
"PLAN START".to_string(),
|
|
|
|
|
"PLAN END".to_string(),
|
|
|
|
|
"STEP".to_string(),
|
|
|
|
|
"AUTO TASK".to_string(),
|
|
|
|
|
"USE MCP".to_string(),
|
|
|
|
|
"MCP LIST TOOLS".to_string(),
|
|
|
|
|
"MCP INVOKE".to_string(),
|
|
|
|
|
"OPTION A OR B".to_string(),
|
|
|
|
|
"DECIDE".to_string(),
|
|
|
|
|
"ESCALATE".to_string(),
|
2026-01-10 20:32:56 -03:00
|
|
|
"SECURITY TOOL STATUS".to_string(),
|
|
|
|
|
"SECURITY RUN SCAN".to_string(),
|
|
|
|
|
"SECURITY GET REPORT".to_string(),
|
|
|
|
|
"SECURITY UPDATE DEFINITIONS".to_string(),
|
|
|
|
|
"SECURITY START SERVICE".to_string(),
|
|
|
|
|
"SECURITY STOP SERVICE".to_string(),
|
|
|
|
|
"SECURITY INSTALL TOOL".to_string(),
|
|
|
|
|
"SECURITY HARDENING SCORE".to_string(),
|
2025-12-12 12:33:17 -03:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn get_keyword_categories() -> std::collections::HashMap<String, Vec<String>> {
|
|
|
|
|
let mut categories = std::collections::HashMap::new();
|
|
|
|
|
|
|
|
|
|
categories.insert(
|
|
|
|
|
"Multi-Agent".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"ADD BOT".to_string(),
|
|
|
|
|
"BOT REFLECTION".to_string(),
|
|
|
|
|
"BROADCAST TO BOTS".to_string(),
|
|
|
|
|
"DELEGATE TO BOT".to_string(),
|
|
|
|
|
"TRANSFER CONVERSATION".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
categories.insert(
|
|
|
|
|
"Communication".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"ADD MEMBER".to_string(),
|
|
|
|
|
"CREATE DRAFT".to_string(),
|
|
|
|
|
"SEND MAIL".to_string(),
|
|
|
|
|
"SEND TEMPLATE".to_string(),
|
|
|
|
|
"SMS".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
categories.insert(
|
|
|
|
|
"Data".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"AGGREGATE".to_string(),
|
|
|
|
|
"DELETE".to_string(),
|
|
|
|
|
"FILL".to_string(),
|
|
|
|
|
"FILTER".to_string(),
|
|
|
|
|
"FIND".to_string(),
|
|
|
|
|
"FIRST".to_string(),
|
|
|
|
|
"GROUP BY".to_string(),
|
|
|
|
|
"INSERT".to_string(),
|
|
|
|
|
"JOIN".to_string(),
|
|
|
|
|
"LAST".to_string(),
|
|
|
|
|
"MAP".to_string(),
|
|
|
|
|
"MERGE".to_string(),
|
|
|
|
|
"PIVOT".to_string(),
|
|
|
|
|
"SAVE".to_string(),
|
|
|
|
|
"UPDATE".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
categories.insert(
|
|
|
|
|
"HTTP".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"GET".to_string(),
|
|
|
|
|
"POST".to_string(),
|
|
|
|
|
"PUT".to_string(),
|
|
|
|
|
"PATCH".to_string(),
|
|
|
|
|
"DELETE HTTP".to_string(),
|
|
|
|
|
"GRAPHQL".to_string(),
|
|
|
|
|
"SOAP".to_string(),
|
|
|
|
|
"SET HEADER".to_string(),
|
|
|
|
|
"CLEAR HEADERS".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
categories.insert(
|
|
|
|
|
"AI".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"LLM".to_string(),
|
|
|
|
|
"SET CONTEXT".to_string(),
|
|
|
|
|
"USE MODEL".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
categories.insert(
|
|
|
|
|
"Code Execution".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"RUN PYTHON".to_string(),
|
|
|
|
|
"RUN JAVASCRIPT".to_string(),
|
|
|
|
|
"RUN BASH".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
categories.insert(
|
|
|
|
|
"Safety".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"REQUIRE APPROVAL".to_string(),
|
|
|
|
|
"SIMULATE IMPACT".to_string(),
|
|
|
|
|
"CHECK CONSTRAINTS".to_string(),
|
|
|
|
|
"AUDIT LOG".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
categories.insert(
|
|
|
|
|
"MCP".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"USE MCP".to_string(),
|
|
|
|
|
"MCP LIST TOOLS".to_string(),
|
|
|
|
|
"MCP INVOKE".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
categories.insert(
|
|
|
|
|
"Auto Task".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"PLAN START".to_string(),
|
|
|
|
|
"PLAN END".to_string(),
|
|
|
|
|
"STEP".to_string(),
|
|
|
|
|
"AUTO TASK".to_string(),
|
|
|
|
|
"OPTION A OR B".to_string(),
|
|
|
|
|
"DECIDE".to_string(),
|
|
|
|
|
"ESCALATE".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
feat: add ON EMAIL and ON CHANGE keywords for event-driven monitoring
- Add ON EMAIL keyword with FROM/SUBJECT filters
- Add ON CHANGE keyword with account:// syntax (gdrive, onedrive, dropbox, local)
- Add TriggerKind::EmailReceived (5) and FolderChange (6)
- Add migration 6.1.3_bot_hierarchy_monitors with:
- email_monitors, folder_monitors tables
- email_received_events, folder_change_events tables
- user_organizations table
- Bot hierarchy: parent_bot_id, enabled_tabs_json, inherit_parent_config
- Add 26 unit tests (12 on_email, 12 on_change, 2 trigger_kind)
- Update PROMPT.md with weekly maintenance checklist
- Zero warnings, zero errors
2025-12-18 16:17:58 -03:00
|
|
|
categories.insert(
|
|
|
|
|
"Monitors".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"ON EMAIL".to_string(),
|
|
|
|
|
"ON CHANGE".to_string(),
|
|
|
|
|
"SET SCHEDULE".to_string(),
|
|
|
|
|
"WEBHOOK".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
2026-01-10 20:32:56 -03:00
|
|
|
categories.insert(
|
|
|
|
|
"Security Protection".to_string(),
|
|
|
|
|
vec![
|
|
|
|
|
"SECURITY TOOL STATUS".to_string(),
|
|
|
|
|
"SECURITY RUN SCAN".to_string(),
|
|
|
|
|
"SECURITY GET REPORT".to_string(),
|
|
|
|
|
"SECURITY UPDATE DEFINITIONS".to_string(),
|
|
|
|
|
"SECURITY START SERVICE".to_string(),
|
|
|
|
|
"SECURITY STOP SERVICE".to_string(),
|
|
|
|
|
"SECURITY INSTALL TOOL".to_string(),
|
|
|
|
|
"SECURITY HARDENING SCORE".to_string(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
2025-12-12 12:33:17 -03:00
|
|
|
categories
|
|
|
|
|
}
|