31 Commits
Author SHA1 Message Date
Mervin Praison 8a79913cc4 Merge pull request #228 from MervinPraison/claude/issue-222-20260715-1318
feat: Training Lab UI for praisonai-train agent sessions (STITCH-012)
2026-09-02 10:09:12 +01:00
praisonai-triage-agent[bot] 132018d123 Merge pull request #245 from MervinPraison/claude/issue-237-20260727-0911
fix: use explicit UTF-8 encoding in CLI integration test fixture
2026-07-27 12:13:41 +00:00
praisonai-triage-agent[bot] f7e19b9a13 Merge pull request #243 from MervinPraison/claude/issue-233-20260727-0904
fix: correct tracing API test paths (/api/tracing -> /api/traces)
2026-07-27 12:02:58 +00:00
praisonai-triage-agent[bot]andMervin Praison 30c34e7266 fix: use explicit UTF-8 encoding in CLI integration test fixture (fixes #237)
Test fixture wrote YAML/markdown and read JSON without encoding, defaulting
to cp1252 on Windows and breaking UTF-8 reads for the © character. Specify
encoding="utf-8" on all write_text/read_text calls for deterministic
cross-platform behaviour.

Co-authored-by: Mervin Praison <[email protected]>
2026-07-27 09:13:28 +00:00
praisonai-triage-agent[bot]andMervin Praison 5b61ece40d fix: correct tracing API test paths /api/tracing to /api/traces (fixes #233)
Co-authored-by: Mervin Praison <[email protected]>
2026-07-27 09:05:29 +00:00
praisonai-triage-agent[bot]andMervin Praison 78a8a499c1 fix: specify UTF-8 encoding for frontend source reads in tests (fixes #232)
Standardize all Path.read_text() calls in the test suite to pass
encoding="utf-8" so committed UTF-8 frontend JS/HTML bundles decode
correctly on Windows (cp1252 default locale) instead of raising
UnicodeDecodeError.

Co-authored-by: Mervin Praison <[email protected]>
2026-07-27 09:03:59 +00:00
praisonai-triage-agent[bot]andMervin Praison c66a33c5d3 feat: add Training Lab UI for praisonai-train sessions (fixes #222)
Co-authored-by: Mervin Praison <[email protected]>
2026-07-15 13:26:32 +00:00
MervinPraisonandClaude 74260cd68a feat: add plugin marketplace dashboard page (fixes #199)
Add a /marketplace dashboard view that browses, inspects permissions,
installs, and uninstalls plugins via the existing features/marketplace.py
backend. Registers the view in dashboard.js BUILTIN_VIEWS and adds the
page entry (Agent group) with the /api/marketplace/plugins endpoint.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
2026-07-14 07:26:24 +00:00
praisonai-triage-agent[bot]andMervin Praison 6afb282d76 feat: add MCP manager view and Ctrl+K command palette to dashboard (fixes #154)
Implements B-08 (MCP manager) and B-02 (command palette) from the OpenClaw
Control UI parity umbrella. MCP view lists/connects/disconnects servers via
the existing /api/mcp/* routes; command palette navigates pages via Ctrl+K.

Co-authored-by: Mervin Praison <[email protected]>
2026-06-24 09:58:56 +00:00
MervinPraison 984ddf74d2 feat: add jobs proxy configuration for external job servers
- Introduced `set_jobs_proxy` function to allow forwarding of `/api/jobs/*` requests to an external jobs server.
- Updated documentation to reflect the new proxy setup and its usage.
- Enhanced server state reset to accommodate the new jobs API configuration.
- Added tests to ensure proper functionality of the jobs API configuration and proxy settings.

This change facilitates better integration when the dashboard and jobs server operate on different ports.
2026-06-17 10:20:55 +01:00
MervinPraison 5dd3cd81e4 docs: add A2UI canvas guide and surface API references
Document chat-canvas split preview, surface CLI, coerce_a2ui_tool_messages, and empty-canvas API behaviour; fix stale 29-a2ui-canvas paths.
2026-06-15 18:56:15 +01:00
a433c483c1 fix: document bootstrap entrypoints in examples (fixes #71) (#96)
* feat: standardize bootstrap entrypoint to 'aiui run app.py' across examples

Standardizes platform bootstrap patterns across examples per issue #71:

- Update examples README table to use 'aiui run app.py' consistently
- Update docstrings in examples 10, 12, 19-21 to show 'aiui run' instead of 'python app.py'
- Remove fragmented bootstrap approaches (uvicorn.run, asyncio patterns)
- Enforce single bootstrap SSOT as designed in CLI

Co-authored-by: Mervin Praison <[email protected]>

* feat: consolidate bootstrap entrypoints - auto-detect gateway apps (fixes #71)

- Add bootstrap detection in CLI run command
- Auto-detect gateway pattern (async main + AIUIGateway imports)
- Auto-switch to praisonai backend for gateway apps
- Delegate to user-defined main() when present
- Remove sys.path hacks from example 14
- Update examples README to show unified aiui run entrypoint
- Add BOOTSTRAP.md documentation for migration patterns

Co-authored-by: Mervin Praison <[email protected]>

* fix: resolve critical bootstrap entrypoint issues

- Fix AST parsing bug in gateway auto-detection (cli.py:1419)
- Revert background bots (email-bot, agentmail-bot) to python app.py
- Revert custom UI apps (agent-dashboard) to python app.py
- Update README.md to reflect correct run commands
- Fix import formatting and remove unused imports

These changes ensure that:
1. Gateway auto-detection works correctly by properly checking ast.alias.name
2. Background bots execute their __main__ blocks and don't start unnecessary web servers
3. Custom UI apps register their custom routes in __main__ blocks
4. Documentation matches actual working run commands

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Mervin Praison <[email protected]>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mervin Praison <[email protected]>
Co-authored-by: Mervin Praison <[email protected]>
Co-authored-by: Cursor <[email protected]>
2026-06-15 16:36:35 +01:00
MervinPraison 7099e9f2ce u 2026-05-21 11:43:26 +01:00
MervinPraison 3f02c32740 feat(docs): add image preview feature for chat
Introduced documentation for a new feature allowing inline media rendering
of agent-generated images during chat. This update includes architecture
details, data flow paths, and examples for seamless integration with
existing backends. Updated related documentation to link to new feature.
2026-05-20 20:38:41 +01:00
MervinPraison a9dfc97e8c feat(chat): support inline media in chat messages
- Added support for inline media (images, videos, files) in chat messages
- Updated `ChatArea`, `ChatMessages`, and `ToolCallDisplay` components to render media
- Introduced `ImagePreviewProvider` example demonstrating dynamic image rendering
- Enhanced documentation on provider media capabilities
- Updated integration and unit tests to cover new media functionality
2026-05-20 20:03:01 +01:00
MervinPraison 5429a287e7 feat(frontend, docs): add A2UI surfaces and chat-canvas integration
- Implemented A2UI surfaces for agent-driven UI in chat/canvas.
- Enhanced documentation for architecture and agent UI features.
- Introduced new example demonstrating A2UI canvas integration.
- Updated various frontend components to support new features.
- Improved tests for A2UI and related functionalities.
2026-05-20 15:55:45 +01:00
MervinPraison a15791f35c feat(all): add Server-Driven UI shell and update workflows
- Integrated Server-Driven UI shell utilizing a Plugin/Registry Architecture in analysis and instruction workflows.
- Created a framework comparison report.
- Updated version in `pyproject.toml` to 0.3.104.
- Removed deprecated development mode command in `cli.py` to streamline commands.
- Modified various files, resulting in 429 insertions and 173 deletions across the codebase.
2026-04-15 10:43:27 +01:00
Mervin Praison df0556d6de feat(datastore): add SDK-backed DataStore support
Introduces a new `SDKFileDataStore` to unify session persistence
between AIUI and the SDK, allowing seamless session management.
The CLI default datastore is now set to `sdk`, with fallback to
JSON if the SDK is not available. Updates to configuration and
tests have been made to reflect this change.
2026-03-13 13:18:54 +00:00
Mervin Praison 0d3e084cc0 feat(release): bump version to 0.3.73 and enhance SSE tool call tests
- Updated pyproject.toml to reflect version change.
- Enhanced server.py to use an effective style variable for plugins.
- Revised index.html to simplify and remove anti-flicker scripts.
- Added comprehensive integration tests for tool call events in test_tool_call_parity.py.
2026-03-13 09:21:34 +00:00
Mervin Praison b4f37545ac feat(docker): add Docker support with deployment documentation
- Introduced a Dockerfile for building and running the AIUI application.
- Added a .dockerignore file to exclude unnecessary files.
- Created detailed deployment documentation to guide users on setting up the application using Docker.
- Improved overall structure and organization of features in the source code for better maintainability.
2026-03-11 09:02:45 +00:00
Mervin Praison 0388bc1d74 feat(gateway): add standalone gateway for minimal bot management
Introduced a new `StandaloneGateway` class that allows agent registration
and management without requiring the full `praisonai` wrapper. This
facilitates the use of channels and bots in environments where the
wrapper may not be available, improving flexibility and reducing
dependencies. Updated project dependencies and modified existing code
to integrate the new gateway functionality.
2026-03-10 11:04:40 +00:00
Mervin Praison 6691d4a0df feat(docs): enhance attachments documentation with processing details
Updated the chat attachments documentation to include automatic file
processing and detailed instructions on how uploaded files integrate
with agent prompts. Added processing information for different file
types and usage examples.
2026-03-10 07:53:34 +00:00
Mervin Praison 67b1286c67 docs: update documentation for unified runtime configuration and changes
- Added details on unified runtime config at ~/.praisonaiui/config.yaml.
- Updated API testing instructions to reflect persistence of config changes.
- Documented new "Run" button functionality on dashboard for agents.
- Included details on hot-reload feature and its relationship to config persistence.
2026-03-10 06:43:54 +00:00
Mervin Praison ccf86c2f8b feat(persistence): unify YAML persistence under a single config file
Migrate individual YAML files to a unified `config.yaml` structure for
simplified data management. Update persistence functions to load and
save data directly from sections within this config file, improving
consistency and reducing redundancy.
2026-03-09 20:45:26 +00:00
Mervin Praison 2da3150cce feat(persistence): add YAML persistence for feature states
Implement shared YAML persistence helpers to load and save feature
states. The features now can retain their configurations across server
restarts. Updated the channels and runtime config to utilize this
persistence mechanism. Version bumped to 0.3.46.
2026-03-09 20:41:20 +00:00
Mervin Praison 9d3d3b4d74 feat(api): enhance channel status management and add guardrail registration
- Updated channel status to use a combination of bot status and task completion.
- Enhanced the guardrail registration process to support LLM-based guardrails.
- Updated project version to 0.3.45.
- Added comprehensive integration tests for new features and functionalities.
2026-03-09 20:30:05 +00:00
Mervin Praison e175bf74cd fix: eliminate page flash with inline dark background
Three-layer fix:
1. Inline style='background:#0f172a' on <html> and <body> — this is the
   very first thing the browser paints, before ANY CSS files load.
   Prevents the white/transparent frame between page loads.
2. Strengthened anti-flicker CSS: now hides ALL #root children (not just
   main.flex-1 > div), preventing React's debug text from flashing.
3. Nav-intercept overlay now appears instantly with opacity:1 (no fade
   transition), eliminating the ~100ms gap where the flash was visible.
2026-03-08 05:59:17 +00:00
Mervin Praison 4b968aaf71 feat(gateway): enhance integration with gateway agents
Added functionality to validate and utilize gateway-registered agents across different features. Enhanced health checks, configuration responses, and job execution logic to include information about gateway connectivity and available agents. Updated version in `pyproject.toml` to 0.3.29.
2026-03-07 23:44:22 +00:00
Mervin Praison 34c1404c99 feat(agents): improve agent loading, syncing, and copy functionality
- Enhanced error handling during agent saving and loading with logging.
- Added support for syncing loaded agents to the gateway.
- Improved fallback mechanism to retrieve agents from the gateway.
- Updated agent creation logic to copy all fields except timestamps.
- Merged gateway-registered agents when listing agent definitions.
- Bumped version to 0.3.28 in pyproject.toml.
2026-03-07 22:28:19 +00:00
Mervin Praison 48c1bc19fa u 4 2026-03-04 07:29:15 +00:00
Mervin Praison 6b737a3d1e u 2026-03-03 14:51:28 +00:00