Skip to content

Botwiz debug fixes 4#262

Open
JegernOUTT wants to merge 4 commits intomainfrom
botwiz-debug-fixes-4
Open

Botwiz debug fixes 4#262
JegernOUTT wants to merge 4 commits intomainfrom
botwiz-debug-fixes-4

Conversation

@JegernOUTT
Copy link
Member

feat(botwiz): add test run functionality for bots

Implement complete bot test workflow:

  • Install bot dependencies and run install scripts
  • Support both script-based and manifest-based bots
  • Auto-create test persona in marketplace dev group
  • Frontend test run UI with progress tracking and persistence
  • "Talk to bot" and "Analyze by Bob" session navigation
  • Improved bot status detection and resource cleanup

@JegernOUTT JegernOUTT force-pushed the botwiz-debug-fixes-4 branch from 3b3d606 to ddc4bfc Compare March 23, 2026 15:26
Implement complete bot test workflow:
- Install bot dependencies and run install scripts
- Support both script-based and manifest-based bots
- Auto-create test persona in marketplace dev group
- Frontend test run UI with progress tracking and persistence
- "Talk to bot" and "Analyze by Bob" session navigation
- Improved bot status detection and resource cleanup
Add comprehensive bot publishing workflow to marketplace with GitHub auth
and Docker image building. Introduce avatar generation from style refs
using xAI Grok Imagine.

Key changes:
- `publish_marketplace` tool with build/submit_to_review modes
- `generate_avatar` tool with style bank seeding and idea-based generation
- Backend GraphQL mutations: `botwiz_marketplace_action`, avatar RPCs
- Frontend marketplace action menu and OAuth popup handling
- Improved expert reuse by fexp_id and provenance tracking
- Style bank manifest and default assets in flexus-client-kit
@JegernOUTT JegernOUTT force-pushed the botwiz-debug-fixes-4 branch from ddc4bfc to b38fa32 Compare March 25, 2026 10:06
Introduce _FULLSIZE_TARGET (1024x1536) and resize logic that:
- Scales images proportionally to fit within target dimensions
- Centers the scaled image on a transparent canvas
- Applies to both WebP conversion and direct file saving

Ensures consistent output dimensions while preserving aspect ratio.
Introduce _encode_webp_within_limit() to progressively reduce quality
from 100 down to 40 until image fits within 250KB limit, preventing
upload failures due to oversized files.

Replace direct WebP saves with this function in fullsize and 256px
avatar generation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant