- Added `load_source_document` tool to facilitate conversion of existing workspace files into PDFs.
- Updated document components to support download actions, including new `onDownload` props in `DocumentNode`, `FolderTreeView`, and `DocumentRightPanel`.
- Implemented download logic in `downloadFile` function to handle file retrieval from the backend.
- Enhanced tests for the new download functionality and source document loading.
- Added support for loading current deliverables and context for artifact revisions with `load_artifact_for_revision`.
- Removed the deprecated `load_artifact_source` tool.
- Enhanced documentation for artifact skills, including detailed revision instructions for DOCX, PDF, PPTX, and XLSX formats.
- Updated the Dockerfile to include the `python-docx` package for document generation.
- Adjusted artifact file roles in the database schema to exclude the source role.
Updated the SKILL.md documentation to clarify layout and formatting guidelines for PPTX slides, including margin specifications and font usage. Improved the verification process by emphasizing the importance of treating verification as a state transition, ensuring that `save_artifact` is only called after successful verification. Added local assertion checks before saving to ensure all requirements are met. Updated related tests to validate these changes.
Modified the `load_artifact_source` function to return a dictionary containing the `source_path`, `document_id`, and a `save_instruction` for in-place revisions. Updated related documentation and adjusted tests to reflect these changes, ensuring clarity on artifact revision processes across DOCX, PDF, and PPTX skills.
Move shared OOXML safety checks and rendering policies behind format adapters so PPTX can reuse the verification pipeline without inheriting document-only assumptions.
Co-authored-by: Cursor <cursoragent@cursor.com>
- Updated backend-tests.yml to include OpenSandbox integration for running tests in a sandbox environment.
- Modified docker-build.yml to support building and testing the sandbox image.
- Enhanced docker-compose files to manage sandbox image creation and configuration.
- Added PDF generation skills and scripts for the sandbox, including quality checks and rendering capabilities.
- Introduced the opensandbox-server service in docker-compose files for local sandbox execution.
- Configured environment variables and health checks for the opensandbox server.
- Added sandbox.toml configuration file for server settings.
- Created a Dockerfile for the sandbox environment with necessary dependencies and Python setup.