shrimbly
a9fe988d8a
feat(34-01): create edit operations module and context builder
Create editOperations.ts with EditOperation type union covering all 5 operation types (addNode, removeNode, updateNode, addEdge, removeEdge). Implement applyEditOperations function with batched immutable updates, proper ID generation, and validation with skip tracking. Add narrateOperations function for human-readable summaries.
Create contextBuilder.ts with WorkflowContext interface and buildWorkflowContext function that strips base64 data, history arrays, and internal state. Add formatContextForPrompt function for system prompt injection.
Both modules are pure TypeScript with no UI or API dependencies.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5 months ago
shrimbly
2b8325146d
feat(33-02): implement workflow edit safety - snapshot capture and revert UI
Tasks 1 & 2: Complete AI workflow revert feature
Changes:
- WorkflowCanvas: Call captureSnapshot() before AI loadWorkflow
- Header: Add "Revert AI Changes" button with confirmation dialog
- Button visible only when previousWorkflowSnapshot exists
- Amber styling to distinguish safety feature from destructive actions
Snapshot capture ONLY in AI generation path (not file loads/templates).
Button auto-hides after revert or 3 manual changes (store handles this).
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
8e4a121b04
docs(25): create phase plan for Template Explorer UI
Phase 25: Template Explorer UI
- 2 plans created
- 5 total tasks defined
- Ready for execution
Plan 01: Template types, TemplateCard, grid layout (3 tasks)
Plan 02: Sidebar filters, WelcomeModal integration (2 tasks + checkpoint)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
7ef0f63d53
docs(20): create integration tests phase plan
Phase 20: Integration Tests
- 2 plans created
- 6 total tasks defined
- Tests cover getConnectedInputs, validateWorkflow, topological sort,
data flow, error handling, and connection validation
- Ready for execution
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
e73dce47cd
docs(21): mark Gemini image-to-image issue as resolved
- Remove Task 1 (part ordering fix) - no longer needed
- Phase now focused on unifying MD5 hashing for deduplication
- 1 task remaining
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
321ec769a6
docs(17): update roadmap with phase 17 plan details
- 11 plans covering all 34 components
- Updated progress table
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
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
shrimbly
712da6ccf6
docs(09-01): complete video history plan
- Create 09-01-SUMMARY.md with implementation details
- Update STATE.md with current position and metrics
- Update ROADMAP.md to mark Phase 9 complete
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago
shrimbly
38d7e55cde
docs(09): create phase plan
Phase 09: Video History
- 1 plan created
- 3 total tasks defined
- Ready for execution
6 months ago
shrimbly
62ae30ab55
docs(08-01): complete error display plan
Tasks completed: 4/4
- Update Toast component for error notifications
- Add error overlay to GenerateImageNode
- Add error overlay to GenerateVideoNode
- UAT verification with visual refinements
SUMMARY: .planning/phases/08-error-display/08-01-SUMMARY.md
6 months ago