Skip to content

Conversation

@roomote
Copy link
Collaborator

@roomote roomote commented Jun 20, 2025

  • Created jupyter-notebook-handler.ts with utilities for parsing and handling .ipynb files
  • Modified applyDiffTool.ts to extract cell content for editing and reconstruct notebook JSON
  • Modified multiApplyDiffTool.ts to handle Jupyter notebooks in batch operations
  • Modified writeToFileTool.ts to detect and properly handle notebook content vs raw JSON
  • Added comprehensive test suite for all notebook operations
  • Prevents notebook corruption by maintaining proper JSON structure
  • Supports both extracted content editing and direct JSON editing workflows

…rite_to_file tools

- Created jupyter-notebook-handler.ts with utilities for parsing and handling .ipynb files
- Modified applyDiffTool.ts to extract cell content for editing and reconstruct notebook JSON
- Modified multiApplyDiffTool.ts to handle Jupyter notebooks in batch operations
- Modified writeToFileTool.ts to detect and properly handle notebook content vs raw JSON
- Added comprehensive test suite for all notebook operations
- Prevents notebook corruption by maintaining proper JSON structure
- Supports both extracted content editing and direct JSON editing workflows
@roomote roomote requested review from cte, jr and mrubens as code owners June 20, 2025 23:28
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. enhancement New feature or request labels Jun 20, 2025
@ellipsis-dev
Copy link
Contributor

ellipsis-dev bot commented Jun 20, 2025

⚠️ This PR is too big for Ellipsis, but support for larger PRs is coming soon. If you want us to prioritize this feature, let us know at [email protected]


Generated with ❤️ by ellipsis.dev

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Jun 20, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Prelim Review] in Roo Code Roadmap Jun 21, 2025
@hannesrudolph hannesrudolph added PR - Needs Preliminary Review and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Jun 21, 2025
@daniel-lxs
Copy link
Member

Closing for now since we still don't have enough info to go for, this seems to be trying to address the symptoms rather than the cause.

It is probable that the actual problem lies in the tools formatting or model limitations/hallucinations.

@daniel-lxs daniel-lxs closed this Jun 22, 2025
@github-project-automation github-project-automation bot moved this from PR [Needs Prelim Review] to Done in Roo Code Roadmap Jun 22, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request PR - Needs Preliminary Review size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants