Lowercase botserver/botbook references
This commit is contained in:
parent
734c611f2b
commit
88a2610a62
3 changed files with 905 additions and 487 deletions
31
PROMPT.md
31
PROMPT.md
|
|
@ -135,6 +135,35 @@ botbook/ # Documentation
|
|||
- NO custom JavaScript where HTMX can handle it
|
||||
```
|
||||
|
||||
### JavaScript Usage Guidelines
|
||||
|
||||
**JS is ONLY acceptable when HTMX cannot handle the requirement:**
|
||||
|
||||
| Use Case | Solution |
|
||||
|----------|----------|
|
||||
| Data fetching | HTMX `hx-get`, `hx-post` |
|
||||
| Form submission | HTMX `hx-post`, `hx-put` |
|
||||
| Real-time updates | HTMX WebSocket extension `hx-ext="ws"` |
|
||||
| Content swapping | HTMX `hx-target`, `hx-swap` |
|
||||
| Polling | HTMX `hx-trigger="every 5s"` |
|
||||
| Loading states | HTMX `hx-indicator` |
|
||||
| **Modal show/hide** | **JS required** - DOM manipulation |
|
||||
| **Toast notifications** | **JS required** - dynamic element creation |
|
||||
| **Clipboard operations** | **JS required** - `navigator.clipboard` API |
|
||||
| **Keyboard shortcuts** | **JS required** - `keydown` event handling |
|
||||
| **WebSocket state mgmt** | **JS required** - connection lifecycle |
|
||||
| **Complex animations** | **JS required** - GSAP or custom |
|
||||
| **Client-side validation** | **JS required** - before submission UX |
|
||||
|
||||
**When writing JS:**
|
||||
```
|
||||
- Keep it minimal - one function per concern
|
||||
- No frameworks (React, Vue, etc.) - vanilla JS only
|
||||
- Use vendor libs sparingly (htmx, marked, gsap, alpine)
|
||||
- All JS must work with HTMX lifecycle (htmx:afterSwap, etc.)
|
||||
- Prefer CSS for animations when possible
|
||||
```
|
||||
|
||||
### Local Assets Only
|
||||
|
||||
All external libraries are bundled locally - NEVER use CDN:
|
||||
|
|
@ -346,7 +375,7 @@ grep -r "unpkg.com\|cdnjs\|jsdelivr" ui/
|
|||
```
|
||||
src/main.rs # Entry point, mode detection
|
||||
src/lib.rs # Feature-gated exports
|
||||
src/http_client.rs # BotServerClient wrapper
|
||||
src/http_client.rs # botserverClient wrapper
|
||||
src/ui_server/mod.rs # Axum router, static files
|
||||
ui/suite/index.html # Main UI entry
|
||||
ui/suite/base.html # Base template
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
# General Bots Desktop
|
||||
|
||||
An AI-powered desktop automation tool that records and plays back user interactions useful for legacy systems and common desktop tasks. The BotDesktop automation tool fills a critical gap in the enterprise automation landscape by addressing legacy systems and desktop applications that lack modern APIs or integration capabilities. While BotServer excels at creating conversational bots for modern channels like web, mobile and messaging platforms, many organizations still rely heavily on traditional desktop applications, mainframe systems, and custom internal tools that can only be accessed through their user interface. BotDesktop's ability to record and replay user interactions provides a practical bridge between these legacy systems and modern automation needs.
|
||||
An AI-powered desktop automation tool that records and plays back user interactions useful for legacy systems and common desktop tasks. The BotDesktop automation tool fills a critical gap in the enterprise automation landscape by addressing legacy systems and desktop applications that lack modern APIs or integration capabilities. While botserver excels at creating conversational bots for modern channels like web, mobile and messaging platforms, many organizations still rely heavily on traditional desktop applications, mainframe systems, and custom internal tools that can only be accessed through their user interface. BotDesktop's ability to record and replay user interactions provides a practical bridge between these legacy systems and modern automation needs.
|
||||
|
||||
|
||||

|
||||
|
|
@ -10,10 +10,10 @@ An AI-powered desktop automation tool that records and plays back user interacti
|
|||
The tool's AI-powered approach to desktop automation represents a significant advancement over traditional robotic process automation (RPA) tools. By leveraging machine learning to understand screen elements and user interactions, BotDesktop can adapt to minor UI changes and variations that would break conventional scripted automation. This resilience is particularly valuable in enterprise environments where applications receive regular updates or where slight variations exist between different versions or installations of the same software. The AI component also simplifies the creation of automation scripts - instead of requiring complex programming, users can simply demonstrate the desired actions which BotDesktop observes and learns to replicate.
|
||||
|
||||
|
||||
From an integration perspective, BotDesktop complements BotServer by enabling end-to-end automation scenarios that span both modern and legacy systems. For example, a bot created in BotServer could collect information from users through a modern chat interface, then use BotDesktop to input that data into a legacy desktop application that lacks API access. This hybrid approach allows organizations to modernize their user interactions while still leveraging their existing IT investments. Additionally, BotDesktop can automate routine desktop tasks like file management, data entry, and application monitoring that fall outside the scope of conversational bot interactions.
|
||||
From an integration perspective, BotDesktop complements botserver by enabling end-to-end automation scenarios that span both modern and legacy systems. For example, a bot created in botserver could collect information from users through a modern chat interface, then use BotDesktop to input that data into a legacy desktop application that lacks API access. This hybrid approach allows organizations to modernize their user interactions while still leveraging their existing IT investments. Additionally, BotDesktop can automate routine desktop tasks like file management, data entry, and application monitoring that fall outside the scope of conversational bot interactions.
|
||||
|
||||
|
||||
The combined toolset of BotServer and BotDesktop provides organizations with comprehensive automation capabilities across their entire technology stack. While BotServer handles the modern, API-driven interactions with users across multiple channels, BotDesktop extends automation capabilities to the desktop environment where many critical business processes still reside. This dual approach allows organizations to progressively modernize their systems while maintaining operational efficiency through automation of both new and legacy components. The result is a more flexible and complete automation solution that can adapt to various technical environments and business needs.
|
||||
The combined toolset of botserver and BotDesktop provides organizations with comprehensive automation capabilities across their entire technology stack. While botserver handles the modern, API-driven interactions with users across multiple channels, BotDesktop extends automation capabilities to the desktop environment where many critical business processes still reside. This dual approach allows organizations to progressively modernize their systems while maintaining operational efficiency through automation of both new and legacy components. The result is a more flexible and complete automation solution that can adapt to various technical environments and business needs.
|
||||
## Setup
|
||||
|
||||
1. Install dependencies:
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue