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
shrimbly
abcabd3408
docs(34-03): complete store integration and ChatPanel wiring plan
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5 months ago
shrimbly
85236c4043
docs(34-02): complete enhanced chat API route plan
Create SUMMARY.md documenting plan execution and update STATE.md
with current position and accumulated decisions.
Summary includes:
- Task completion: enhanced chat API route with tool calling
- Deviation: changed maxSteps to stopWhen: stepCountIs(3) (AI SDK v6 API)
- Key decisions: tool pattern, context injection, multi-step reasoning
- Verification: TypeScript passes, streaming works correctly
STATE.md updates:
- Current position: Plan 2 of phase 34
- Performance metrics: 2/? plans, 13 min total, 6.5 min avg
- Recent trend: 5-8 min execution
- Accumulated context: 4 new decisions about chat API and tool calling
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5 months ago
shrimbly
7602dac670
feat(34-02): enhance chat API route with tool-based intent routing
Rewrite /api/chat route to accept workflow context from client and use
AI SDK tool calling for multi-modal agent routing.
Changes:
- Accept optional workflowState (nodes/edges) in request body
- Build workflow context using buildWorkflowContext from contextBuilder
- Generate context-aware system prompt using buildEditSystemPrompt
- Create chat tools (answerQuestion, createWorkflow, editWorkflow) with
current node IDs for validation
- Configure streamText with tools, toolChoice: 'auto', and stopWhen for
multi-step reasoning (up to 3 steps)
- Stream results back via toUIMessageStreamResponse for useChat hook
compatibility
LLM now automatically routes to the correct tool based on user intent.
Tool results stream back to client for application in Plan 03.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5 months ago
shrimbly
250859b353
Update STATE.md with recent activity and decisions; enhance QuickstartTemplatesView tests for community workflow downloads
- Updated last activity date and details in STATE.md to reflect completion of quick-001.
- Added recent decisions regarding dynamicInputs type and behavior.
- Enhanced tests in QuickstartTemplatesView to handle new download URL structure for community workflows, ensuring proper response handling for both API and direct download scenarios.
6 months ago
shrimbly
b8ab2aacd9
docs(33-01): add summary and update STATE.md
Create 33-01-SUMMARY.md documenting snapshot infrastructure
implementation. Update STATE.md with current position and
decisions about snapshot behavior.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
97854edf7d
docs(32-02): phase 32 complete - chat UI foundation
All tasks completed:
- Task 1: Build Workflow button in ChatPanel with conversation extraction
- Task 2: Workflow generation integration in WorkflowCanvas
- Task 3: External loading state (completed in Task 1)
Created SUMMARY.md and updated STATE.md (.planning/ in .gitignore).
Phase 32 complete. Chat-to-workflow flow fully functional.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
9e2b981f93
fix(32-01): fix chat panel scroll by adding overflow-hidden to container
- Add overflow-hidden to outer container for proper flexbox scrolling
- Ensures messages area scrolls correctly within fixed height
6 months ago
shrimbly
e72b9fbde2
docs(31-02): complete chat infrastructure plan
Tasks completed: 4/4
- Install Vercel AI SDK packages
- Create chat types
- Create streaming chat endpoint
- Update type exports
SUMMARY: .planning/phases/31-workflow-proposal-system/31-02-SUMMARY.md
6 months ago
shrimbly
dcdfae88aa
chore: remove .planning docs from git tracking
These are local planning documents that should not be in the repo.
6 months ago
shrimbly
1f1e342ad5
docs(24-03): complete CostDialog UI plan
Tasks completed: 4/4
- Restructure CostDialog for provider-grouped breakdown
- Update pricing reference section
- Update CostDialog tests (33 tests passing)
- Human verification approved
Simplified based on user feedback:
- Removed unreliable fal.ai pricing API calls
- External providers show model links instead of prices
- Header always shows $x.xx (Gemini costs only)
SUMMARY: .planning/phases/24-improved-cost-summary/24-03-SUMMARY.md
6 months ago
shrimbly
ac6e953d3b
fix(24-03): remove fal.ai pricing API calls causing 429 errors
6 months ago
shrimbly
0d9ea4847e
docs(25-02): complete sidebar filters plan
Phase 25 Template Explorer UI complete (2/2 plans).
Key patterns established:
- onWheelCapture for isolating modal scroll from React Flow
- min-h-0 on flexbox containers enables overflow scrolling
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
a992c463e9
docs(25-01): complete template explorer UI components plan
Tasks completed: 3/3
- Extend template types with rich metadata
- Create TemplateCard component
- Create TemplateExplorerView with grid layout
SUMMARY: .planning/phases/25-template-explorer-ui/25-01-SUMMARY.md
6 months ago
shrimbly
8d867803da
chore: remove .planning docs from git tracking
These planning phase documents are local development artifacts
that don't need to be shared in the repo. They remain in .gitignore.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
a313a376c6
docs(20-02): complete workflow execution tests plan
Tasks completed: 3/3
- Add workflow execution data flow tests
- Add error handling and edge case tests
- Add connection validation integration tests
SUMMARY: .planning/phases/20-integration-tests/20-02-SUMMARY.md
6 months ago
shrimbly
071a03e8e4
test(20-02): add workflow execution data flow tests
- Image data flow through node chains (imageInput, annotation, nanoBanana)
- Text data flow through node chains (prompt, llmGenerate)
- Dynamic inputs from schema-mapped connections
- State updates during execution (status, outputImage)
- Mixed image and text data flow
6 months ago
shrimbly
c2ac696637
docs(23-01): complete model browser improvements plan
Tasks completed: 3/3
- Add recently used models tracking and storage
- Add Gemini models to /api/models endpoint
- Add icon-based provider filter and recently used section
SUMMARY: .planning/phases/23-model-browser-improvements/23-01-SUMMARY.md
6 months ago
shrimbly
2bd826289b
docs(19-02): complete type extraction plan
Phase 19 complete. All types now organized into 7 domain files:
annotation, nodes, providers, models, workflow, api, quickstart.
index.ts is a pure re-export hub.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
b69398c3a9
docs(19-01): complete type extraction plan
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
7e6c39a7d5
docs(19): create phase plan
Phase 19: Type Refactoring
- 2 plans created
- 6 tasks total defined
- Ready for execution
6 months ago
shrimbly
4c83d72245
docs(22-01): complete generate node dynamic input tests plan
Tasks completed: 4/4 (1 pre-existing)
- ModelParameters tests (already existed)
- GenerateImageNode dynamic handle tests (+10 tests)
- GenerateVideoNode dynamic handle tests (+7 tests)
- API route parameters tests (+4 tests)
SUMMARY: .planning/phases/22-generate-node-dynamic-input-tests/22-01-SUMMARY.md
6 months ago
shrimbly
0161a823dc
docs(21): create phase plan
Phase 21: Fix Image Input & Deduplication Issues
- 1 plan created
- 2 tasks + 1 checkpoint defined
- Ready for execution
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
943d0f5099
docs(22): create phase plan
Phase 22: Generate Node Dynamic Input Tests
- 1 plan created (22-01-PLAN.md)
- 3 tasks defined: ModelParameters tests, GenerateImageNode/GenerateVideoNode dynamic handle tests
- Ready for execution
6 months ago
shrimbly
dfd3d2e4d8
docs(18-05): complete models route tests plan
Tasks completed: 2/2 (combined)
- Create models route tests for basic functionality
- Add models route tests for caching and error handling
SUMMARY: .planning/phases/18-api-route-tests/18-05-SUMMARY.md
6 months ago
shrimbly
ebe0158a09
docs(18-04): complete generate route Replicate/fal.ai tests plan
Tasks completed: 2/2
- Add generate route tests for Replicate provider
- Add generate route tests for fal.ai provider
SUMMARY: .planning/phases/18-api-route-tests/18-04-SUMMARY.md
6 months ago
shrimbly
f4cc2e021a
docs(18-03): complete generate route Gemini tests plan
Tasks completed: 2/2
- Gemini provider tests (20 tests)
- Validation and edge case tests (11 tests)
SUMMARY: .planning/phases/18-api-route-tests/18-03-SUMMARY.md
6 months ago
shrimbly
7494a0c551
docs(18-02): complete LLM route tests plan
Tasks completed: 2/2
- Google provider tests (9 tests)
- OpenAI provider tests (9 tests)
SUMMARY: .planning/phases/18-api-route-tests/18-02-SUMMARY.md
6 months ago
shrimbly
9b691894ba
docs(18-01): complete file I/O routes tests plan
Tasks completed: 2/2
- Workflow route tests (14 tests)
- Save-generation route tests (15 tests)
SUMMARY: .planning/phases/18-api-route-tests/18-01-SUMMARY.md
6 months ago
shrimbly
ecd73e61bb
docs(18): create API route tests plan
Phase 18: API Route Tests
- 5 plans created covering:
- 18-01: File I/O routes (workflow, save-generation)
- 18-02: LLM route (Google, OpenAI providers)
- 18-03: Generate route (Gemini provider)
- 18-04: Generate route (Replicate, fal.ai providers)
- 18-05: Models route (caching, aggregation)
- 10 total tasks defined
- Ready for execution
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
5931648b7c
docs(17-11): complete utility component tests plan - PHASE 17 COMPLETE
Tasks completed: 2/2
- Add GlobalImageHistory component tests (30 tests)
- Add GroupsOverlay and ModelParameters tests (54 tests)
Phase 17 Summary:
- 11 plans executed
- ~560 new component tests added
- Total: 997 tests passing
SUMMARY: .planning/phases/17-component-tests/17-11-SUMMARY.md
6 months ago
shrimbly
00f149ab06
docs(17-10): complete quickstart component tests plan
Tasks completed: 2/2
- Add WelcomeModal and QuickstartInitialView tests (29 tests)
- Add remaining quickstart component tests (54 tests)
SUMMARY: .planning/phases/17-component-tests/17-10-SUMMARY.md
6 months ago
shrimbly
863221a95f
docs(17-09): complete editor modals component tests plan
Tasks completed: 2/2
- Add PromptEditorModal component tests (30 tests)
- Add SplitGridSettingsModal and AnnotationModal tests (69 tests)
SUMMARY: .planning/phases/17-component-tests/17-09-SUMMARY.md
6 months ago
shrimbly
e41b045632
docs(17-08): complete core modals component tests plan
Tasks completed: 2/2
- Add ModelSearchDialog component tests (31 tests)
- Add ProjectSetupModal and CostDialog tests (57 tests)
SUMMARY: .planning/phases/17-component-tests/17-08-SUMMARY.md
6 months ago
shrimbly
34cfbee7fe
docs(17-07): complete menus and notifications component tests plan
Tasks completed: 2/2
- Add ConnectionDropMenu component tests (22 tests)
- Add Toast and CostIndicator tests (47 tests)
SUMMARY: .planning/phases/17-component-tests/17-07-SUMMARY.md
6 months ago
shrimbly
068c2811e7
docs(17-06): complete canvas and edge component tests plan
Tasks completed: 2/2
- Add WorkflowCanvas component tests (31 tests)
- Add edge component tests (43 tests)
SUMMARY: .planning/phases/17-component-tests/17-06-SUMMARY.md
6 months ago
shrimbly
ea898cb663
docs(17-05): complete toolbar component tests plan
Tasks completed: 2/2
- Add Header component tests (31 tests)
- Add FloatingActionBar and MultiSelectToolbar tests (58 tests)
SUMMARY: .planning/phases/17-component-tests/17-05-SUMMARY.md
6 months ago
shrimbly
9b38380f27
docs(17-04): complete processing nodes component tests plan
Tasks completed: 2/2
- Add LLMGenerateNode component tests (25 tests)
- Add AnnotationNode component tests (24 tests)
SUMMARY: .planning/phases/17-component-tests/17-04-SUMMARY.md
6 months ago
shrimbly
fb6dddd462
docs(17-03): complete generate nodes component tests plan
Tasks completed: 2/2
- Add GenerateImageNode component tests (36 tests)
- Add GenerateVideoNode component tests (38 tests)
SUMMARY: .planning/phases/17-component-tests/17-03-SUMMARY.md
6 months ago
shrimbly
2938c6584d
docs(17-02): complete display nodes component tests plan
Tasks completed: 2/2
- Add OutputNode component tests (31 tests)
- Add SplitGridNode and GroupNode tests (51 tests)
SUMMARY: .planning/phases/17-component-tests/17-02-SUMMARY.md
6 months ago
shrimbly
9e4f2f8dc6
docs(17-01): complete core nodes component tests plan
Tasks completed: 2/2
- Add BaseNode component tests (35 tests)
- Extend PromptNode tests and add ImageInputNode tests (24 tests)
SUMMARY: .planning/phases/17-component-tests/17-01-SUMMARY.md
6 months ago
shrimbly
92355faec1
docs(17): update state for phase 17 planning complete
- 11 plans created for component tests
- Ready for execution
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
b9cf6042f4
docs(16-01): complete extract localStorage and node defaults plan
Tasks completed: 3/3
- Create store utilities module (localStorage.ts)
- Create node defaults module (nodeDefaults.ts)
- Add unit tests for extracted modules
SUMMARY: .planning/phases/16-store-modularization/16-01-SUMMARY.md
Reduced workflowStore.ts by 239 lines (2786 → 2547)
Added 35 new tests (total: 147)
6 months ago
shrimbly
9e636402cf
remove docs from tracking
6 months ago
shrimbly
be2387e1e8
docs(14-01): complete fix drag-connect node creation bugs plan
Phase 14 complete - Milestone v1.1 finished
Tasks completed:
- Normalize dynamic handle IDs to standard values
- Update connection validation for normalized handles
- Map normalized handles to schema names in execution
- Add placeholder handles for unused input types
SUMMARY: .planning/phases/14-fix-drag-connect-bugs/14-01-SUMMARY.md
Co-Authored-By: Claude <noreply@anthropic.com>
6 months ago
shrimbly
878e7f5a08
docs(13-01): complete content deduplication plan
Tasks completed: 2/2
- Add content hashing to save-generation API
- Add duplicate detection response handling
SUMMARY: .planning/phases/13-fix-duplicate-generations/13-01-SUMMARY.md
6 months ago
shrimbly
68f1dbdcc3
fix(12-01): resolve parameter passing and image input detection
- Fix isImageInput() to use word-boundary checks instead of substring
matching, preventing num_images from being misclassified as image input
- Fix stale node data in workflow execution by getting fresh data from
store instead of using captured array references
- Add missing parameters to regenerateNode request bodies for both
nanoBanana and generateVideo nodes
- Update fal.ai schema fetch to use Model Search API endpoint
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
58eddbc897
docs(11-01): complete UI Polish phase
- Create 11-01-SUMMARY.md with phase completion details
- Update STATE.md: Phase 11 complete, 20 plans total
- Update ROADMAP.md: Mark Phase 11 complete
- Add decisions: provider badges, titlePrefix prop, header alignment
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
c0425faa5c
docs(11): create UI polish phase plan
Phase 11: UI Polish
- 1 plan created
- 3 tasks defined (2 auto + 1 verification)
- Resolved UAT-001 (provider icons now use real logos)
- Ready for execution
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
451de74834
docs(10-01): complete node autosizing plan
Tasks completed: 2/2
- Create node dimension calculation utility
- Auto-resize generate nodes on output
SUMMARY: .planning/phases/10-node-autosizing/10-01-SUMMARY.md
6 months ago