You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shrimbly
e9abe1c3ee
feat(35-01): implement binary stripping and rich workflow context
Implement stripBinaryData() utility and enhance buildWorkflowContext():
- Strip all base64 data (image/video) from all 8 node types
- Replace with metadata placeholders: [image: 1024x768, 245KB] format
- Remove history arrays (imageHistory, videoHistory, selectedHistoryIndex)
- Remove ref fields (imageRef, outputImageRef, etc.)
- Preserve all node parameters, positions, and model settings
- Enhanced WorkflowContext with full StrippedNode data
- Updated formatContextForPrompt to render rich node context
Binary fields inventory:
- imageInput: image
- annotation: sourceImage, outputImage
- nanoBanana: inputImages, outputImage
- generateVideo: inputImages, outputVideo
- llmGenerate: inputImages
- splitGrid: sourceImage
- output: image, video
- prompt: (none)
All 22 tests passing.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
5 months ago |
| .. |
|
phases
|
docs(34-03): complete store integration and ChatPanel wiring plan
|
6 months ago |
|
ROADMAP.md
|
test(35-02): add failing tests for subgraph extraction
|
5 months ago |
|
STATE.md
|
feat(35-01): implement binary stripping and rich workflow context
|
5 months ago |