waleed
3664a56fca
fix(socket): add server-side lock validation and admin-only permissions
...
1. BATCH_TOGGLE_LOCKED now requires admin role - non-admin users with
write role can no longer bypass UI restriction via direct socket
messages
2. BATCH_REMOVE_BLOCKS now validates lock status server-side - filters
out protected blocks (locked or inside locked parent) before deletion
3. Remove duplicate/outdated comment in regenerateBlockIds
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-31 20:45:40 -08:00
waleed
0eea69b07d
fix(lock): prevent duplicates inside locked containers via regenerateBlockIds
...
1. regenerateBlockIds now checks if existing parent is locked before
keeping the block inside it. If parent is locked, the duplicate
is placed outside (parentId cleared) instead of creating an
inconsistent state.
2. Remove unnecessary effectivePermissions.canAdmin and potentialParentId
from onNodeDragStart dependency array.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-31 20:17:35 -08:00
waleed
6907c88736
unlock duplicates of locked blocks
2026-01-31 17:33:02 -08:00
waleed
d533ea27e1
feat(canvas): added the ability to lock blocks
2026-01-31 15:51:14 -08:00
Waleed
dddd0c8277
fix(workflow): use panel-aware viewport center for paste and block placement ( #3024 )
2026-01-27 12:36:38 -08:00
Vikhyath Mondreti
841cb638fb
fix(edge-validation): race condition on collaborative add ( #2980 )
2026-01-24 13:19:52 -08:00
Vikhyath Mondreti
5157f0bbb2
fix(resolver): agent response format, input formats, root level ( #2925 )
...
* fix(resolvers): agent response format, input formats, root level
* fix response block initial seeding
* fix tests
2026-01-21 14:55:23 -08:00
Vikhyath Mondreti
3f1dccd6aa
fix(batch-add): on batch add persist subblock values ( #2819 )
...
* fix(batch-add): on batch add persist subblock values
* consolidate merge subblock
* consolidate more code
2026-01-14 13:01:26 -08:00
Vikhyath Mondreti
e3fa40af11
fix(sockets): redrawing edges should not lead to socket ops ( #2804 )
...
* fix(sockets): redrawing edges should not lead to socket ops
* consolidate
2026-01-13 18:45:41 -08:00
Vikhyath Mondreti
9a16e7c20f
improvement(response): only allow singleton ( #2764 )
...
* improvement(response): only allow singleton
* respect singleton triggers and blocks in copilot
* don't show dup button for response
* fix error message
2026-01-10 12:16:32 -08:00
Waleed
05bbf34265
improvement(canvas): add multi-block select, add batch handle, enabled, and edge operations ( #2738 )
...
* improvement(canvas): add multi-block select, add batch handle, enabled, and edge operations
* feat(i18n): update translations (#2732 )
Co-authored-by: icecrasher321 <icecrasher321@users.noreply.github.com >
* don't allow flip handles for subflows
* ack PR comments
* more
* fix missing handler
* remove dead subflow-specific ops
* remove unused code
* fixed subflow ops
* keep edges on subflow actions intact
* fix subflow resizing
* fix remove from subflow bulk
* improvement(canvas): add multi-block select, add batch handle, enabled, and edge operations
* don't allow flip handles for subflows
* ack PR comments
* more
* fix missing handler
* remove dead subflow-specific ops
* remove unused code
* fixed subflow ops
* fix subflow resizing
* keep edges on subflow actions intact
* fixed copy from inside subflow
* types improvement, preview fixes
* fetch varible data in deploy modal
* moved remove from subflow one position to the right
* fix subflow issues
* address greptile comment
* fix test
* improvement(preview): ui/ux
* fix(preview): subflows
* added batch add edges
* removed recovery
* use consolidated consts for sockets operations
* more
---------
Co-authored-by: icecrasher321 <icecrasher321@users.noreply.github.com >
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
Co-authored-by: Emir Karabeg <emirkarabeg@berkeley.edu >
2026-01-09 14:48:23 -08:00
Vikhyath Mondreti
bf5d0a5573
feat(copy-paste): allow cross workflow selection, paste, move for blocks ( #2649 )
...
* feat(copy-paste): allow cross workflow selection, paste, move for blocks
* fix drag options
* add keyboard and mouse controls into docs
* refactor sockets and undo/redo for batch additions and removals
* fix tests
* cleanup more code
* fix perms issue
* fix subflow copy/paste
* remove log file
* fit paste in viewport bounds
* fix deselection
2025-12-31 02:47:06 -08:00
Vikhyath Mondreti
bf8fbebe22
improvement(code-quality): centralize regex checks, normalization ( #2554 )
...
* improvement(code-quality): centralize regex checks, normalization
* simplify resolution
* fix(copilot): don't allow duplicate name blocks
* centralize uuid check
2025-12-23 15:12:04 -08:00
Waleed
f21eaf1f10
fix(vars): add socket persistence when variable names are changed, update variable name normalization to match block name normalization, added space constraint on envvar names ( #2508 )
...
* fix(vars): add socket persistence when variable names are changed, update variable name normalization to match block name normalization, added space constraint on envvar names
* removed redundant queueing, removed unused immediate flag from sockets ops
* ack PR comments
2025-12-20 20:35:28 -08:00
Siddharth Ganesan
ff768ca410
fix(copilot): fix webhook triggers unsaving in new diff store ( #2096 )
...
* Fix copilot trigger unsave
* Fix for schedules
* fix lint
* hide schedule save subblock from preview
---------
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
2025-11-24 16:06:11 -08:00
Siddharth Ganesan
769555676e
Fix start block numbering ( #1909 )
2025-11-11 17:52:04 -08:00
Siddharth Ganesan
118c477d97
fix(copilot): fix triggers unsave on edit ( #1874 )
...
* Fix copilot trigger unsave
* Fix flushing
* Lint
* Fix test
* Fix some tests
* Fix lint
2025-11-10 18:24:33 -08:00
Vikhyath Mondreti
86b3570252
fix(trigger-dup): on duplicate trigger should not point at old webhook row ( #1784 )
2025-10-31 19:39:17 -07:00
Vikhyath Mondreti
2f97782df0
feat(undo-redo): undo/redo for canvas editing ( #1392 )
...
* feat(undo-redo): support undo-redo on canvas
* fix zoom live subscribe
* progress
* fix subflows
* progress
* fix subflow logic
* pruning stacks
* centralize unique naming logic
* fix type issues
* address greptile comments
* remove timeouts
2025-09-22 16:38:13 -07:00
Waleed Latif
0414aa5f6d
refactor(imports): added aliased imports everywhere ( #799 )
...
* refactor(imports): added aliased imports everywhere
* more aliased imports
* add barrel exports
* add more barrel exports
* cleanup
---------
Co-authored-by: waleedlatif <waleedlatif@waleedlatifs-MacBook-Pro.local >
2025-07-26 16:10:32 -07:00
Adam Gough
c5727ef018
feat(tools): added microsoft excel tools/block ( #441 )
...
* got the read excel tool working
* added read manual ID insertion
* write working
* tool finished
* removed old logic
* removed logic that was causing credential error
* cleaned up
* ran bun lint
* removed logger
* added back merging logic
* fix: removed comments
* fix: added greptile changes
* ran bun lint
* removed function
* added microsoft excel docs
* fix: icon format
* fix: docs
* ran lint
---------
Co-authored-by: Adam Gough <adamgough@Adams-MacBook-Pro.local >
2025-05-30 19:11:45 -07:00
Waleed Latif
8c268e23dd
chore(biome): removed prettier, added biome ( #407 )
...
* chore: replace prettier with biome and add linting
* chore: update devcontainer settings to use biome for linting and remove eslint, prettier
* chore: update docker-compose to use Postgres 17-alpine and standardize quotes
* chore: fixed more BUT disabled most rules due to limit
* added additional rules, fixed linting & ts errors
* added additional rules
* rebased & linted
* fixed oauth
* updated biome & minor modifications
---------
Co-authored-by: Aditya Tripathi <aditya@climactic.co >
2025-05-24 03:11:38 -07:00
Waleed Latif
a92ee8bf46
feat(turbo): restructured repo to be a standard turborepo monorepo ( #341 )
...
* added turborepo
* finished turbo migration
* updated gitignore
* use dotenv & run format
* fixed error in docs
* remove standalone deployment in prod
* fix ts error, remove ignore ts errors during build
* added formatter to the end of the docs generator
2025-05-09 21:45:49 -07:00