Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
704d06f
v0
Sg312 Mar 22, 2026
8abb884
Fix ppt load
Sg312 Mar 22, 2026
b28556f
Fixes
Sg312 Mar 22, 2026
dde64aa
Fixes
Sg312 Mar 22, 2026
4a537ff
Fix lint
Sg312 Mar 22, 2026
aa9fc10
Fix wid
Sg312 Mar 22, 2026
5954abd
Download image
Sg312 Mar 22, 2026
77a4f2f
Update tools
Sg312 Mar 23, 2026
d071248
Fix lint
Sg312 Mar 23, 2026
844c9a2
Fix error msg
Sg312 Mar 23, 2026
46e8964
Tool fixes
Sg312 Mar 23, 2026
6549a50
Reenable subagent stream
Sg312 Mar 23, 2026
98f4dfd
Subagent stream
Sg312 Mar 23, 2026
1e7a987
Fix edit workflow hydration
Sg312 Mar 23, 2026
0b3000a
Throw func execute error on error
Sg312 Mar 23, 2026
e21a987
Sandbox PPTX generation in subprocess with vm.createContext
waleedlatif1 Mar 23, 2026
cc50d1e
upgrade deps, file viewer
waleedlatif1 Mar 23, 2026
119d5a5
Fix auth bypass, SSRF, and wrong size limit comment
waleedlatif1 Mar 23, 2026
cc214cd
Fix Buffer not assignable to BodyInit in preview route
waleedlatif1 Mar 23, 2026
c5f73a7
Fix SSRF bypass, IPv6 coverage, download size cap, and missing deps
waleedlatif1 Mar 23, 2026
ad2dab1
Replace hand-rolled SSRF guard with secureFetchWithValidation
waleedlatif1 Mar 23, 2026
51b47f1
Fix streaming preview cache ordering and patch ambiguity
waleedlatif1 Mar 23, 2026
7ab98e2
Fix subprocess env leak, unbounded preview spawning, and dead code
waleedlatif1 Mar 23, 2026
6ffb4b9
Wire abort signal through to subprocess and correct security comment
waleedlatif1 Mar 23, 2026
5de3616
Remove implementation-specific comments from pptx worker files
waleedlatif1 Mar 23, 2026
1e87ae3
Fix pre-aborted signal, pptx-worker tracing, and binary fetch cache
waleedlatif1 Mar 23, 2026
7a293c7
Lazy worker path resolution, code size cap, unused param prefix
waleedlatif1 Mar 23, 2026
5712ac4
Add cache-busting timestamp to binary file fetch
waleedlatif1 Mar 23, 2026
3c555af
Fix PPTX cache key stability and attribute-order-independent dimensio…
waleedlatif1 Mar 23, 2026
e97f163
ran lint
waleedlatif1 Mar 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix edit workflow hydration
  • Loading branch information
Sg312 committed Mar 23, 2026
commit 1e7a98741b093d675d997ee30b2e8a73159f4f36
10 changes: 3 additions & 7 deletions apps/sim/app/workspace/[workspaceId]/home/hooks/use-chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -991,19 +991,15 @@ export function useChat(
onResourceEventRef.current?.()

if (resource.type === 'workflow') {
const registry = useWorkflowRegistry.getState()
const wasRegistered = ensureWorkflowInRegistry(
resource.id,
resource.title,
workspaceId
)
if (wasAdded && wasRegistered) {
registry.setActiveWorkflow(resource.id)
} else if (
registry.activeWorkflowId !== resource.id ||
registry.hydration.phase !== 'ready'
) {
registry.loadWorkflowState(resource.id)
useWorkflowRegistry.getState().setActiveWorkflow(resource.id)
} else {
useWorkflowRegistry.getState().loadWorkflowState(resource.id)
}
}
}
Expand Down
Loading