AI Suite.
Find a file
Rodrigo Rodriguez (Pragmatismo) 37dae7d724 feat: double-click .bas files in drive opens designer automatically
- Add isBasicFile() and openInDesigner() functions in drive.js
- Remove .bas from inline editor, redirect to designer with bucket/path params
- Update designer FileQuery to include bucket parameter
- Add load_from_drive() function to fetch .bas content from MinIO
- Fix designer initialization for HTMX dynamic loading
- Parse URL params from both query string and hash fragment
- Add parseBasicCodeToNodes() to convert BASIC code to visual nodes
- Support TALK, HEAR, SET, IF, FOR, CALL, WAIT, GET, PARAM commands
- Add saveToDrive() to save changes back to original location
- Fix createNode() to return the created node
- Add generateBasCode() for converting nodes back to BASIC
2026-01-05 11:06:38 -03:00
.github@1e56aea1ea Update .github submodule with SVG diagrams 2025-12-27 17:31:29 -03:00
botapp@5a82552a64 Update submodules: app generator, logging, knowledge base, web search, designer magic 2025-12-28 11:57:55 -03:00
botbook@e142a898f0 Fix tasks UI: WebSocket proxy, task detail, stats, and progress panel 2025-12-30 22:41:13 -03:00
botdevice@a3add8ada3 Update submodules: app generator, logging, knowledge base, web search, designer magic 2025-12-28 11:57:55 -03:00
botlib@a50d229346 Update submodules: app generator, logging, knowledge base, web search, designer magic 2025-12-28 11:57:55 -03:00
botmodels@f7690e1d81 Setup root repo with submodules for all bot components 2025-12-27 17:23:45 -03:00
botplugin@17a3caebab Setup root repo with submodules for all bot components 2025-12-27 17:23:45 -03:00
botserver@5c561f07bc feat: double-click .bas files in drive opens designer automatically 2026-01-05 11:06:38 -03:00
bottemplates@5adb6efec4 Fix tasks UI: WebSocket proxy, task detail, stats, and progress panel 2025-12-30 22:41:13 -03:00
bottest@1232b2fc65 Update submodules: app generator, logging, knowledge base, web search, designer magic 2025-12-28 11:57:55 -03:00
botui@faaabefc1c feat: double-click .bas files in drive opens designer automatically 2026-01-05 11:06:38 -03:00
config Fix tasks UI: WebSocket proxy, task detail, stats, and progress panel 2025-12-30 22:41:13 -03:00
scripts feat: double-click .bas files in drive opens designer automatically 2026-01-05 11:06:38 -03:00
.gitignore Setup root repo with submodules for all bot components 2025-12-27 17:23:45 -03:00
.gitmodules Setup root repo with submodules for all bot components 2025-12-27 17:23:45 -03:00
Cargo.toml Update PROMPT.md with security directives for new code compliance 2025-12-28 21:26:33 -03:00
I18N_STRATEGY.md feat: double-click .bas files in drive opens designer automatically 2026-01-05 11:06:38 -03:00
PENDING_TASKS.md Update submodules: app generator, logging, knowledge base, web search, designer magic 2025-12-28 11:57:55 -03:00
PROMPT.md Fix LLM provider dynamic updates and DriveMonitor startup 2025-12-28 23:20:56 -03:00
README.md Add workspace README and configuration files 2025-12-25 11:03:05 -03:00
restart.sh feat: double-click .bas files in drive opens designer automatically 2026-01-05 11:06:38 -03:00

General Bots Workspace

Version: 6.1.0
Type: Rust Workspace (Monorepo with Independent Subproject Repos)


Structure

This workspace contains multiple General Bots projects:

gb/
├── PROMPT.md          ← Workspace-level development guide (READ THIS FIRST)
├── Cargo.toml         ← Workspace configuration
├── README.md          ← This file
│
├── botapp/            ← Desktop application (Tauri)
├── botserver/         ← Main server (API + business logic)
├── botlib/            ← Shared library (types, utilities)
├── botui/             ← Web UI (HTML/CSS/JS)
├── botbook/           ← Documentation
├── bottest/           ← Integration tests
├── botdevice/         ← Device integration
├── botmodels/         ← AI models
├── botplugin/         ← Plugin system
├── bottemplates/      ← Templates
└── target/            ← Build artifacts

CRITICAL: PROMPT.md Files

Each project has a PROMPT.md that defines its development rules.

The diagnostics tool reads and respects these PROMPT.md files.

Hierarchy

  1. PROMPT.md (this directory) - Workspace-wide rules
  2. botapp/PROMPT.md - Desktop app specifics
  3. botserver/PROMPT.md - Server specifics
  4. botlib/PROMPT.md - Library specifics
  5. botui/PROMPT.md - UI specifics
  6. botbook/PROMPT.md - Documentation specifics
  7. bottest/PROMPT.md - Test specifics

ALWAYS read the relevant PROMPT.md before working on a project.


Main Directive

LOOP AND COMPACT UNTIL 0 WARNINGS - MAXIMUM YOLO

  • 0 warnings
  • 0 errors
  • Trust project diagnostics
  • Respect all rules
  • No #[allow()] in source code
  • Real code fixes only

Quick Start

cargo build
cargo test

Development Workflow

  1. Read PROMPT.md (workspace-level rules)
  2. Read <project>/PROMPT.md (project-specific rules)
  3. Use diagnostics tool to check warnings
  4. Fix all warnings with full file rewrites
  5. Verify with diagnostics after each file
  6. Never suppress warnings with #[allow()]

Git Structure

Note: Each subproject has its own git repository. This root repository only tracks workspace-level files:

  • PROMPT.md - Development guide
  • Cargo.toml - Workspace configuration
  • README.md - This file
  • .gitignore - Ignore patterns

Subprojects (botapp, botserver, etc.) are not git submodules - they are independent repositories.


Rules Summary

✅ FULL FILE REWRITES ONLY
✅ BATCH ALL FIXES BEFORE WRITING
✅ VERIFY WITH DIAGNOSTICS AFTER EACH FILE
✅ TRUST PROJECT DIAGNOSTICS
✅ RESPECT ALL RULES

❌ NEVER use #[allow()] in source code
❌ NEVER use partial edits
❌ NEVER run cargo check/clippy manually
❌ NEVER leave unused code
❌ NEVER use .unwrap()/.expect()
❌ NEVER use panic!/todo!/unimplemented!()
❌ NEVER add comments


License

See individual project repositories for license information.