Replace useDirectoryStore.currentDirectory with useEffectiveDirectory() in both TaskToolSummary and ToolPartContent to align the directory key used for ContextPanel tab storage/lookup. Previously ToolPart used the global project root while ContextPanel resolved session/worktree-scoped directories via useEffectiveDirectory(), causing a key mismatch that left the iframe blank when opening sub-tasks from chat messages.